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_form_ops_t swig_types[2]
2469 #define SWIGTYPE_p_int swig_types[3]
2470 #define SWIGTYPE_p_long 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_wxAcceleratorEntry swig_types[9]
2476 #define SWIGTYPE_p_wxAcceleratorTable swig_types[10]
2477 #define SWIGTYPE_p_wxActivateEvent swig_types[11]
2478 #define SWIGTYPE_p_wxAppTraits swig_types[12]
2479 #define SWIGTYPE_p_wxArrayString swig_types[13]
2480 #define SWIGTYPE_p_wxBMPHandler swig_types[14]
2481 #define SWIGTYPE_p_wxBitmap swig_types[15]
2482 #define SWIGTYPE_p_wxBoxSizer swig_types[16]
2483 #define SWIGTYPE_p_wxButton swig_types[17]
2484 #define SWIGTYPE_p_wxCURHandler swig_types[18]
2485 #define SWIGTYPE_p_wxCaret swig_types[19]
2486 #define SWIGTYPE_p_wxChildFocusEvent swig_types[20]
2487 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[21]
2488 #define SWIGTYPE_p_wxCloseEvent swig_types[22]
2489 #define SWIGTYPE_p_wxColour swig_types[23]
2490 #define SWIGTYPE_p_wxCommandEvent swig_types[24]
2491 #define SWIGTYPE_p_wxContextMenuEvent swig_types[25]
2492 #define SWIGTYPE_p_wxControl swig_types[26]
2493 #define SWIGTYPE_p_wxControlWithItems swig_types[27]
2494 #define SWIGTYPE_p_wxCursor swig_types[28]
2495 #define SWIGTYPE_p_wxDC swig_types[29]
2496 #define SWIGTYPE_p_wxDateEvent swig_types[30]
2497 #define SWIGTYPE_p_wxDateTime swig_types[31]
2498 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[32]
2499 #define SWIGTYPE_p_wxDropFilesEvent swig_types[33]
2500 #define SWIGTYPE_p_wxDuplexMode swig_types[34]
2501 #define SWIGTYPE_p_wxEraseEvent swig_types[35]
2502 #define SWIGTYPE_p_wxEvent swig_types[36]
2503 #define SWIGTYPE_p_wxEventLoop swig_types[37]
2504 #define SWIGTYPE_p_wxEventLoopActivator swig_types[38]
2505 #define SWIGTYPE_p_wxEvtHandler swig_types[39]
2506 #define SWIGTYPE_p_wxFSFile swig_types[40]
2507 #define SWIGTYPE_p_wxFileSystem swig_types[41]
2508 #define SWIGTYPE_p_wxFileSystemHandler swig_types[42]
2509 #define SWIGTYPE_p_wxFlexGridSizer swig_types[43]
2510 #define SWIGTYPE_p_wxFocusEvent swig_types[44]
2511 #define SWIGTYPE_p_wxFont swig_types[45]
2512 #define SWIGTYPE_p_wxFrame swig_types[46]
2513 #define SWIGTYPE_p_wxGBPosition swig_types[47]
2514 #define SWIGTYPE_p_wxGBSizerItem swig_types[48]
2515 #define SWIGTYPE_p_wxGBSpan swig_types[49]
2516 #define SWIGTYPE_p_wxGIFHandler swig_types[50]
2517 #define SWIGTYPE_p_wxGridBagSizer swig_types[51]
2518 #define SWIGTYPE_p_wxGridSizer swig_types[52]
2519 #define SWIGTYPE_p_wxHelpEvent__Origin swig_types[53]
2520 #define SWIGTYPE_p_wxICOHandler swig_types[54]
2521 #define SWIGTYPE_p_wxIconizeEvent swig_types[55]
2522 #define SWIGTYPE_p_wxIdleEvent swig_types[56]
2523 #define SWIGTYPE_p_wxImage swig_types[57]
2524 #define SWIGTYPE_p_wxImageHandler swig_types[58]
2525 #define SWIGTYPE_p_wxImageHistogram swig_types[59]
2526 #define SWIGTYPE_p_wxImage_HSVValue swig_types[60]
2527 #define SWIGTYPE_p_wxImage_RGBValue swig_types[61]
2528 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[62]
2529 #define SWIGTYPE_p_wxInitDialogEvent swig_types[63]
2530 #define SWIGTYPE_p_wxInputStream swig_types[64]
2531 #define SWIGTYPE_p_wxInternetFSHandler swig_types[65]
2532 #define SWIGTYPE_p_wxItemContainer swig_types[66]
2533 #define SWIGTYPE_p_wxJPEGHandler swig_types[67]
2534 #define SWIGTYPE_p_wxKeyEvent swig_types[68]
2535 #define SWIGTYPE_p_wxLayoutConstraints swig_types[69]
2536 #define SWIGTYPE_p_wxMaximizeEvent swig_types[70]
2537 #define SWIGTYPE_p_wxMemoryFSHandler swig_types[71]
2538 #define SWIGTYPE_p_wxMenu swig_types[72]
2539 #define SWIGTYPE_p_wxMenuBar swig_types[73]
2540 #define SWIGTYPE_p_wxMenuBarBase swig_types[74]
2541 #define SWIGTYPE_p_wxMenuEvent swig_types[75]
2542 #define SWIGTYPE_p_wxMenuItem swig_types[76]
2543 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[77]
2544 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[78]
2545 #define SWIGTYPE_p_wxMouseEvent swig_types[79]
2546 #define SWIGTYPE_p_wxMoveEvent swig_types[80]
2547 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[81]
2548 #define SWIGTYPE_p_wxNcPaintEvent swig_types[82]
2549 #define SWIGTYPE_p_wxNotifyEvent swig_types[83]
2550 #define SWIGTYPE_p_wxObject swig_types[84]
2551 #define SWIGTYPE_p_wxOutputStream swig_types[85]
2552 #define SWIGTYPE_p_wxPCXHandler swig_types[86]
2553 #define SWIGTYPE_p_wxPNGHandler swig_types[87]
2554 #define SWIGTYPE_p_wxPNMHandler swig_types[88]
2555 #define SWIGTYPE_p_wxPaintEvent swig_types[89]
2556 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[90]
2557 #define SWIGTYPE_p_wxPaperSize swig_types[91]
2558 #define SWIGTYPE_p_wxPoint swig_types[92]
2559 #define SWIGTYPE_p_wxPoint2D swig_types[93]
2560 #define SWIGTYPE_p_wxPropagateOnce swig_types[94]
2561 #define SWIGTYPE_p_wxPropagationDisabler swig_types[95]
2562 #define SWIGTYPE_p_wxPyApp swig_types[96]
2563 #define SWIGTYPE_p_wxPyCommandEvent swig_types[97]
2564 #define SWIGTYPE_p_wxPyDropTarget swig_types[98]
2565 #define SWIGTYPE_p_wxPyEvent swig_types[99]
2566 #define SWIGTYPE_p_wxPyFileSystemHandler swig_types[100]
2567 #define SWIGTYPE_p_wxPyImageHandler swig_types[101]
2568 #define SWIGTYPE_p_wxPyInputStream swig_types[102]
2569 #define SWIGTYPE_p_wxPySizer swig_types[103]
2570 #define SWIGTYPE_p_wxPyValidator swig_types[104]
2571 #define SWIGTYPE_p_wxQuantize swig_types[105]
2572 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[106]
2573 #define SWIGTYPE_p_wxRealPoint swig_types[107]
2574 #define SWIGTYPE_p_wxRect swig_types[108]
2575 #define SWIGTYPE_p_wxRegion swig_types[109]
2576 #define SWIGTYPE_p_wxScrollEvent swig_types[110]
2577 #define SWIGTYPE_p_wxScrollWinEvent swig_types[111]
2578 #define SWIGTYPE_p_wxSetCursorEvent swig_types[112]
2579 #define SWIGTYPE_p_wxShowEvent swig_types[113]
2580 #define SWIGTYPE_p_wxSize swig_types[114]
2581 #define SWIGTYPE_p_wxSizeEvent swig_types[115]
2582 #define SWIGTYPE_p_wxSizer swig_types[116]
2583 #define SWIGTYPE_p_wxSizerItem swig_types[117]
2584 #define SWIGTYPE_p_wxStaticBox swig_types[118]
2585 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[119]
2586 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[120]
2587 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[121]
2588 #define SWIGTYPE_p_wxTIFFHandler swig_types[122]
2589 #define SWIGTYPE_p_wxToolTip swig_types[123]
2590 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[124]
2591 #define SWIGTYPE_p_wxValidator swig_types[125]
2592 #define SWIGTYPE_p_wxVisualAttributes swig_types[126]
2593 #define SWIGTYPE_p_wxWindow swig_types[127]
2594 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[128]
2595 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[129]
2596 #define SWIGTYPE_p_wxXPMHandler swig_types[130]
2597 #define SWIGTYPE_p_wxZipFSHandler swig_types[131]
2598 static swig_type_info
*swig_types
[133];
2599 static swig_module_info swig_module
= {swig_types
, 132, 0, 0, 0, 0};
2600 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2601 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2603 /* -------- TYPES TABLE (END) -------- */
2605 #if (PY_VERSION_HEX <= 0x02000000)
2606 # if !defined(SWIG_PYTHON_CLASSIC)
2607 # error "This python version requires to use swig with the '-classic' option"
2610 #if (PY_VERSION_HEX <= 0x02020000)
2611 # error "This python version requires to use swig with the '-nomodern' option"
2613 #if (PY_VERSION_HEX <= 0x02020000)
2614 # error "This python version requires to use swig with the '-nomodernargs' option"
2617 # error "This python version requires to use swig with the '-nofastunpack' option"
2620 /*-----------------------------------------------
2621 @(target):= _core_.so
2622 ------------------------------------------------*/
2623 #define SWIG_init init_core_
2625 #define SWIG_name "_core_"
2627 #define SWIGVERSION 0x010329
2630 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2631 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2634 #include <stdexcept>
2638 class PyObject_ptr
{
2643 PyObject_ptr() :_obj(0)
2647 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2652 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2654 if (initial_ref
) Py_XINCREF(_obj
);
2657 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2659 Py_XINCREF(item
._obj
);
2670 operator PyObject
*() const
2675 PyObject
*operator->() const
2684 struct PyObject_var
: PyObject_ptr
{
2685 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2687 PyObject_var
& operator = (PyObject
* obj
)
2697 #include "wx/wxPython/wxPython_int.h"
2698 #include "wx/wxPython/pyclasses.h"
2699 #include "wx/wxPython/twoitem.h"
2702 #ifndef wxPyUSE_EXPORT
2703 // Helper functions for dealing with SWIG objects and such. These are
2704 // located here so they know about the SWIG types and functions declared
2705 // in the wrapper code.
2707 #include <wx/hashmap.h>
2708 WX_DECLARE_STRING_HASH_MAP( swig_type_info
*, wxPyTypeInfoHashMap
);
2711 // Maintains a hashmap of className to swig_type_info pointers. Given the
2712 // name of a class either looks up the type info in the cache, or scans the
2713 // SWIG tables for it.
2714 extern PyObject
* wxPyPtrTypeMap
;
2716 swig_type_info
* wxPyFindSwigType(const wxChar
* className
) {
2718 static wxPyTypeInfoHashMap
* typeInfoCache
= NULL
;
2720 if (typeInfoCache
== NULL
)
2721 typeInfoCache
= new wxPyTypeInfoHashMap
;
2723 wxString
name(className
);
2724 swig_type_info
* swigType
= (*typeInfoCache
)[name
];
2727 // it wasn't in the cache, so look it up from SWIG
2728 name
.Append(wxT(" *"));
2729 swigType
= SWIG_TypeQuery(name
.mb_str());
2731 // if it still wasn't found, try looking for a mapped name
2736 if ((item
= PyDict_GetItemString(wxPyPtrTypeMap
,
2737 (char*)(const char*)name
.mbc_str())) != NULL
) {
2738 name
= wxString(PyString_AsString(item
), *wxConvCurrent
);
2739 name
.Append(wxT(" *"));
2740 swigType
= SWIG_TypeQuery(name
.mb_str());
2744 // and add it to the map if found
2745 (*typeInfoCache
)[className
] = swigType
;
2752 // Check if a class name is a type known to SWIG
2753 bool wxPyCheckSwigType(const wxChar
* className
) {
2755 swig_type_info
* swigType
= wxPyFindSwigType(className
);
2756 return swigType
!= NULL
;
2760 // Given a pointer to a C++ object and a class name, construct a Python proxy
2762 PyObject
* wxPyConstructObject(void* ptr
,
2763 const wxChar
* className
,
2766 swig_type_info
* swigType
= wxPyFindSwigType(className
);
2767 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConstructObject"));
2769 return SWIG_Python_NewPointerObj(ptr
, swigType
, setThisOwn
);
2773 // Extract a pointer to the wrapped C++ object from a Python proxy object.
2774 // Ensures that the proxy object is of the specified (or derived) type. If
2775 // not able to perform the conversion then a Python exception is set and the
2776 // error should be handled properly in the caller. Returns True on success.
2777 bool wxPyConvertSwigPtr(PyObject
* obj
, void **ptr
,
2778 const wxChar
* className
) {
2780 swig_type_info
* swigType
= wxPyFindSwigType(className
);
2781 wxCHECK_MSG(swigType
!= NULL
, false, wxT("Unknown type in wxPyConvertSwigPtr"));
2783 return SWIG_Python_ConvertPtr(obj
, ptr
, swigType
, SWIG_POINTER_EXCEPTION
) != -1;
2788 // Make a SWIGified pointer object suitable for a .this attribute
2789 PyObject
* wxPyMakeSwigPtr(void* ptr
, const wxChar
* className
) {
2791 PyObject
* robj
= NULL
;
2793 swig_type_info
* swigType
= wxPyFindSwigType(className
);
2794 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyMakeSwigPtr"));
2796 robj
= PySwigObject_New(ptr
, swigType
, 0);
2801 // Python's PyInstance_Check does not return True for instances of new-style
2802 // classes. This should get close enough for both new and old classes but I
2803 // should re-evaluate the need for doing instance checks...
2804 bool wxPyInstance_Check(PyObject
* obj
) {
2805 return PyObject_HasAttrString(obj
, "__class__") != 0;
2809 // This one checks if the object is an instance of a SWIG proxy class (it has
2810 // a .this attribute, and the .this attribute is a PySwigObject.)
2811 bool wxPySwigInstance_Check(PyObject
* obj
) {
2812 static PyObject
* this_str
= NULL
;
2813 if (this_str
== NULL
)
2814 this_str
= PyString_FromString("this");
2816 PyObject
* this_attr
= PyObject_GetAttr(obj
, this_str
);
2818 bool retval
= (PySwigObject_Check(this_attr
) != 0);
2819 Py_DECREF(this_attr
);
2828 // Export a C API in a struct. Other modules will be able to load this from
2829 // the wx._core_ module and will then have safe access to these functions,
2830 // even if they are located in another shared library.
2831 static wxPyCoreAPI API
= {
2834 wxPyConstructObject
,
2838 wxPyBeginAllowThreads
,
2839 wxPyEndAllowThreads
,
2840 wxPyBeginBlockThreads
,
2841 wxPyEndBlockThreads
,
2853 wxPoint_LIST_helper
,
2854 wxBitmap_LIST_helper
,
2855 wxString_LIST_helper
,
2856 wxAcceleratorEntry_LIST_helper
,
2865 wxPySimple_typecheck
,
2868 wxPyCBH_setCallbackInfo
,
2869 wxPyCBH_findCallback
,
2870 wxPyCBH_callCallback
,
2871 wxPyCBH_callCallbackObj
,
2877 wxPy2int_seq_helper
,
2878 wxPy4int_seq_helper
,
2879 wxArrayString2PyList_helper
,
2880 wxArrayInt2PyList_helper
,
2882 wxPyClientData_dtor
,
2884 wxPyOORClientData_dtor
,
2886 wxPyCBInputStream_create
,
2887 wxPyCBInputStream_copy
,
2890 wxPySwigInstance_Check
,
2894 wxArrayDouble2PyList_helper
,
2895 wxPoint2D_LIST_helper
2901 #if !WXWIN_COMPATIBILITY_2_4
2902 #define wxHIDE_READONLY 0
2906 #define SWIG_From_long PyInt_FromLong
2909 SWIGINTERNINLINE PyObject
*
2910 SWIG_From_int (int value
)
2912 return SWIG_From_long (value
);
2915 static const wxString
wxPyEmptyString(wxEmptyString
);
2916 SWIGINTERN wxString
wxObject_GetClassName(wxObject
*self
){
2917 return self
->GetClassInfo()->GetClassName();
2919 SWIGINTERN
void wxObject_Destroy(wxObject
*self
){
2924 #define wxCURSOR_COPY_ARROW wxCURSOR_ARROW
2930 # define LLONG_MIN LONG_LONG_MIN
2933 # define LLONG_MAX LONG_LONG_MAX
2936 # define ULLONG_MAX ULONG_LONG_MAX
2941 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2943 if (PyNumber_Check(obj
)) {
2944 if (val
) *val
= PyInt_AsLong(obj
);
2947 return SWIG_TypeError
;
2952 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2955 int res
= SWIG_AsVal_long (obj
, &v
);
2956 if (SWIG_IsOK(res
)) {
2957 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2958 return SWIG_OverflowError
;
2960 if (val
) *val
= static_cast< int >(v
);
2966 SWIGINTERN
bool wxSize___eq__(wxSize
*self
,PyObject
*other
){
2967 wxSize temp
, *obj
= &temp
;
2968 if ( other
== Py_None
) return false;
2969 if ( ! wxSize_helper(other
, &obj
) ) {
2973 return self
->operator==(*obj
);
2975 SWIGINTERN
bool wxSize___ne__(wxSize
*self
,PyObject
*other
){
2976 wxSize temp
, *obj
= &temp
;
2977 if ( other
== Py_None
) return true;
2978 if ( ! wxSize_helper(other
, &obj
)) {
2982 return self
->operator!=(*obj
);
2989 SWIG_AsVal_double (PyObject
*obj
, double* val
)
2991 if (PyNumber_Check(obj
)) {
2992 if (val
) *val
= PyFloat_AsDouble(obj
);
2995 return SWIG_TypeError
;
3000 SWIG_AsVal_float (PyObject
* obj
, float *val
)
3003 int res
= SWIG_AsVal_double (obj
, &v
);
3004 if (SWIG_IsOK(res
)) {
3005 if ((v
< -FLT_MAX
|| v
> FLT_MAX
)) {
3006 return SWIG_OverflowError
;
3008 if (val
) *val
= static_cast< float >(v
);
3014 SWIGINTERN PyObject
*wxSize_Get(wxSize
*self
){
3015 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3016 PyObject
* tup
= PyTuple_New(2);
3017 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
3018 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
3019 wxPyEndBlockThreads(blocked
);
3023 #define SWIG_From_double PyFloat_FromDouble
3025 SWIGINTERN
bool wxRealPoint___eq__(wxRealPoint
*self
,PyObject
*other
){
3026 wxRealPoint temp
, *obj
= &temp
;
3027 if ( other
== Py_None
) return false;
3028 if ( ! wxRealPoint_helper(other
, &obj
) ) {
3032 return self
->operator==(*obj
);
3034 SWIGINTERN
bool wxRealPoint___ne__(wxRealPoint
*self
,PyObject
*other
){
3035 wxRealPoint temp
, *obj
= &temp
;
3036 if ( other
== Py_None
) return true;
3037 if ( ! wxRealPoint_helper(other
, &obj
)) {
3041 return self
->operator!=(*obj
);
3043 SWIGINTERN
void wxRealPoint_Set(wxRealPoint
*self
,double x
,double y
){
3047 SWIGINTERN PyObject
*wxRealPoint_Get(wxRealPoint
*self
){
3048 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3049 PyObject
* tup
= PyTuple_New(2);
3050 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->x
));
3051 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->y
));
3052 wxPyEndBlockThreads(blocked
);
3055 SWIGINTERN
bool wxPoint___eq__(wxPoint
*self
,PyObject
*other
){
3056 wxPoint temp
, *obj
= &temp
;
3057 if ( other
== Py_None
) return false;
3058 if ( ! wxPoint_helper(other
, &obj
) ) {
3062 return self
->operator==(*obj
);
3064 SWIGINTERN
bool wxPoint___ne__(wxPoint
*self
,PyObject
*other
){
3065 wxPoint temp
, *obj
= &temp
;
3066 if ( other
== Py_None
) return true;
3067 if ( ! wxPoint_helper(other
, &obj
)) {
3071 return self
->operator!=(*obj
);
3073 SWIGINTERN
void wxPoint_Set(wxPoint
*self
,long x
,long y
){
3077 SWIGINTERN PyObject
*wxPoint_Get(wxPoint
*self
){
3078 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3079 PyObject
* tup
= PyTuple_New(2);
3080 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
3081 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
3082 wxPyEndBlockThreads(blocked
);
3085 SWIGINTERN
bool wxRect___eq__(wxRect
*self
,PyObject
*other
){
3086 wxRect temp
, *obj
= &temp
;
3087 if ( other
== Py_None
) return false;
3088 if ( ! wxRect_helper(other
, &obj
) ) {
3092 return self
->operator==(*obj
);
3094 SWIGINTERN
bool wxRect___ne__(wxRect
*self
,PyObject
*other
){
3095 wxRect temp
, *obj
= &temp
;
3096 if ( other
== Py_None
) return true;
3097 if ( ! wxRect_helper(other
, &obj
)) {
3101 return self
->operator!=(*obj
);
3103 SWIGINTERN
void wxRect_Set(wxRect
*self
,int x
=0,int y
=0,int width
=0,int height
=0){
3106 self
->width
= width
;
3107 self
->height
= height
;
3109 SWIGINTERN PyObject
*wxRect_Get(wxRect
*self
){
3110 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3111 PyObject
* tup
= PyTuple_New(4);
3112 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
3113 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
3114 PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(self
->width
));
3115 PyTuple_SET_ITEM(tup
, 3, PyInt_FromLong(self
->height
));
3116 wxPyEndBlockThreads(blocked
);
3120 PyObject
* wxIntersectRect(wxRect
* r1
, wxRect
* r2
) {
3123 wxRect
dest(0,0,0,0);
3126 reg1
.Intersect(reg2
);
3127 dest
= reg1
.GetBox();
3129 if (dest
!= wxRect(0,0,0,0)) {
3130 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3131 wxRect
* newRect
= new wxRect(dest
);
3132 obj
= wxPyConstructObject((void*)newRect
, wxT("wxRect"), true);
3133 wxPyEndBlockThreads(blocked
);
3140 SWIGINTERN
bool wxPoint2D___eq__(wxPoint2D
*self
,PyObject
*other
){
3141 wxPoint2D temp
, *obj
= &temp
;
3142 if ( other
== Py_None
) return false;
3143 if ( ! wxPoint2D_helper(other
, &obj
) ) {
3147 return self
->operator==(*obj
);
3149 SWIGINTERN
bool wxPoint2D___ne__(wxPoint2D
*self
,PyObject
*other
){
3150 wxPoint2D temp
, *obj
= &temp
;
3151 if ( other
== Py_None
) return true;
3152 if ( ! wxPoint2D_helper(other
, &obj
)) {
3156 return self
->operator!=(*obj
);
3158 SWIGINTERN
void wxPoint2D_Set(wxPoint2D
*self
,double x
=0,double y
=0){
3162 SWIGINTERN PyObject
*wxPoint2D_Get(wxPoint2D
*self
){
3163 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3164 PyObject
* tup
= PyTuple_New(2);
3165 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->m_x
));
3166 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->m_y
));
3167 wxPyEndBlockThreads(blocked
);
3171 #include "wx/wxPython/pyistream.h"
3173 SWIGINTERN wxPyInputStream
*new_wxPyInputStream(PyObject
*p
){
3174 wxInputStream
* wxis
= wxPyCBInputStream::create(p
);
3176 return new wxPyInputStream(wxis
);
3181 SWIGINTERN swig_type_info
*
3182 SWIG_pchar_descriptor()
3184 static int init
= 0;
3185 static swig_type_info
* info
= 0;
3187 info
= SWIG_TypeQuery("_p_char");
3194 SWIGINTERNINLINE PyObject
*
3195 SWIG_FromCharPtrAndSize(const char* carray
, size_t size
)
3198 if (size
> INT_MAX
) {
3199 swig_type_info
* pchar_descriptor
= SWIG_pchar_descriptor();
3200 return pchar_descriptor
?
3201 SWIG_NewPointerObj(const_cast< char * >(carray
), pchar_descriptor
, 0) : SWIG_Py_Void();
3203 return PyString_FromStringAndSize(carray
, static_cast< int >(size
));
3206 return SWIG_Py_Void();
3211 SWIGINTERNINLINE PyObject
*
3212 SWIG_From_char (char c
)
3214 return SWIG_FromCharPtrAndSize(&c
,1);
3218 SWIGINTERNINLINE PyObject
*
3219 SWIG_From_unsigned_SS_long (unsigned long value
)
3221 return (value
> LONG_MAX
) ?
3222 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
3226 SWIGINTERNINLINE PyObject
*
3227 SWIG_From_size_t (size_t value
)
3229 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
3234 SWIG_AsCharPtrAndSize(PyObject
*obj
, char** cptr
, size_t* psize
, int *alloc
)
3236 if (PyString_Check(obj
)) {
3237 char *cstr
; Py_ssize_t len
;
3238 PyString_AsStringAndSize(obj
, &cstr
, &len
);
3242 In python the user should not be able to modify the inner
3243 string representation. To warranty that, if you define
3244 SWIG_PYTHON_SAFE_CSTRINGS, a new/copy of the python string
3245 buffer is always returned.
3247 The default behavior is just to return the pointer value,
3250 #if defined(SWIG_PYTHON_SAFE_CSTRINGS)
3251 if (*alloc
!= SWIG_OLDOBJ
)
3253 if (*alloc
== SWIG_NEWOBJ
)
3256 *cptr
= reinterpret_cast< char* >(memcpy((new char[len
+ 1]), cstr
, sizeof(char)*(len
+ 1)));
3257 *alloc
= SWIG_NEWOBJ
;
3261 *alloc
= SWIG_OLDOBJ
;
3264 *cptr
= PyString_AsString(obj
);
3267 if (psize
) *psize
= len
+ 1;
3270 swig_type_info
* pchar_descriptor
= SWIG_pchar_descriptor();
3271 if (pchar_descriptor
) {
3273 if (SWIG_ConvertPtr(obj
, &vptr
, pchar_descriptor
, 0) == SWIG_OK
) {
3274 if (cptr
) *cptr
= (char *) vptr
;
3275 if (psize
) *psize
= vptr
? (strlen((char *)vptr
) + 1) : 0;
3276 if (alloc
) *alloc
= SWIG_OLDOBJ
;
3281 return SWIG_TypeError
;
3286 SWIG_AsCharArray(PyObject
* obj
, char *val
, size_t size
)
3288 char* cptr
= 0; size_t csize
= 0; int alloc
= SWIG_OLDOBJ
;
3289 int res
= SWIG_AsCharPtrAndSize(obj
, &cptr
, &csize
, &alloc
);
3290 if (SWIG_IsOK(res
)) {
3291 if ((csize
== size
+ 1) && cptr
&& !(cptr
[csize
-1])) --csize
;
3292 if (csize
<= size
) {
3294 if (csize
) memcpy(val
, cptr
, csize
*sizeof(char));
3295 if (csize
< size
) memset(val
+ csize
, 0, (size
- csize
)*sizeof(char));
3297 if (alloc
== SWIG_NEWOBJ
) {
3299 res
= SWIG_DelNewMask(res
);
3303 if (alloc
== SWIG_NEWOBJ
) delete[] cptr
;
3305 return SWIG_TypeError
;
3310 SWIG_AsVal_char (PyObject
* obj
, char *val
)
3312 int res
= SWIG_AsCharArray(obj
, val
, 1);
3313 if (!SWIG_IsOK(res
)) {
3315 res
= SWIG_AddCast(SWIG_AsVal_long (obj
, &v
));
3316 if (SWIG_IsOK(res
)) {
3317 if ((CHAR_MIN
<= v
) && (v
<= CHAR_MAX
)) {
3318 if (val
) *val
= static_cast< char >(v
);
3320 res
= SWIG_OverflowError
;
3327 SWIGINTERN
void wxOutputStream_write(wxOutputStream
*self
,PyObject
*obj
){
3328 // We use only strings for the streams, not unicode
3329 PyObject
* str
= PyObject_Str(obj
);
3331 PyErr_SetString(PyExc_TypeError
, "Unable to convert to string");
3334 self
->Write(PyString_AS_STRING(str
),
3335 PyString_GET_SIZE(str
));
3339 #include "wx/wxPython/pyistream.h"
3342 class wxPyFileSystemHandler
: public wxFileSystemHandler
3345 wxPyFileSystemHandler() : wxFileSystemHandler() {}
3347 DEC_PYCALLBACK_BOOL_STRING_pure(CanOpen
);
3348 DEC_PYCALLBACK_FSF_FSSTRING_pure(OpenFile
);
3349 DEC_PYCALLBACK_STRING_STRINGINT_pure(FindFirst
);
3350 DEC_PYCALLBACK_STRING__pure(FindNext
);
3352 wxString
GetProtocol(const wxString
& location
) {
3353 return wxFileSystemHandler::GetProtocol(location
);
3356 wxString
GetLeftLocation(const wxString
& location
) {
3357 return wxFileSystemHandler::GetLeftLocation(location
);
3360 wxString
GetAnchor(const wxString
& location
) {
3361 return wxFileSystemHandler::GetAnchor(location
);
3364 wxString
GetRightLocation(const wxString
& location
) {
3365 return wxFileSystemHandler::GetRightLocation(location
);
3368 wxString
GetMimeTypeFromExt(const wxString
& location
) {
3369 return wxFileSystemHandler::GetMimeTypeFromExt(location
);
3376 IMP_PYCALLBACK_BOOL_STRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, CanOpen
);
3377 IMP_PYCALLBACK_FSF_FSSTRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, OpenFile
);
3378 IMP_PYCALLBACK_STRING_STRINGINT_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindFirst
);
3379 IMP_PYCALLBACK_STRING__pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindNext
);
3383 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
3385 if (obj
== Py_True
) {
3386 if (val
) *val
= true;
3388 } else if (obj
== Py_False
) {
3389 if (val
) *val
= false;
3393 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
3394 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
3399 SWIGINTERN wxString
wxFileSystem_URLToFileName(wxString
const &url
){
3400 wxFileName fname
= wxFileSystem::URLToFileName(url
);
3401 return fname
.GetFullPath();
3404 void __wxMemoryFSHandler_AddFile_wxImage(const wxString
& filename
,
3407 wxMemoryFSHandler::AddFile(filename
, image
, type
);
3410 void __wxMemoryFSHandler_AddFile_wxBitmap(const wxString
& filename
,
3411 const wxBitmap
& bitmap
,
3413 wxMemoryFSHandler::AddFile(filename
, bitmap
, type
);
3416 void __wxMemoryFSHandler_AddFile_Data(const wxString
& filename
,
3418 if (! PyString_Check(data
)) {
3419 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
3420 "Expected string object"));
3424 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3425 void* ptr
= (void*)PyString_AsString(data
);
3426 size_t size
= PyString_Size(data
);
3427 wxPyEndBlockThreads(blocked
);
3429 wxMemoryFSHandler::AddFile(filename
, ptr
, size
);
3433 #include "wx/wxPython/pyistream.h"
3437 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
3440 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
3441 return SWIG_TypeError
;
3444 *val
= (unsigned long)v
;
3450 SWIG_AsVal_unsigned_SS_char (PyObject
* obj
, unsigned char *val
)
3453 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
3454 if (SWIG_IsOK(res
)) {
3455 if ((v
> UCHAR_MAX
)) {
3456 return SWIG_OverflowError
;
3458 if (val
) *val
= static_cast< unsigned char >(v
);
3465 SWIGINTERNINLINE PyObject
*
3466 SWIG_From_unsigned_SS_char (unsigned char value
)
3468 return SWIG_From_unsigned_SS_long (value
);
3471 SWIGINTERN
unsigned long wxImageHistogram_GetCount(wxImageHistogram
*self
,unsigned long key
){
3472 wxImageHistogramEntry e
= (*self
)[key
];
3475 SWIGINTERN
unsigned long wxImageHistogram_GetCountRGB(wxImageHistogram
*self
,byte r
,byte g
,byte b
){
3476 unsigned long key
= wxImageHistogram::MakeKey(r
, g
, b
);
3477 wxImageHistogramEntry e
= (*self
)[key
];
3480 SWIGINTERN
unsigned long wxImageHistogram_GetCountColour(wxImageHistogram
*self
,wxColour
const &colour
){
3481 unsigned long key
= wxImageHistogram::MakeKey(colour
.Red(),
3484 wxImageHistogramEntry e
= (*self
)[key
];
3488 // Pull the nested class out to the top level for SWIG's sake
3489 #define wxImage_RGBValue wxImage::RGBValue
3490 #define wxImage_HSVValue wxImage::HSVValue
3492 SWIGINTERN wxImage
*new_wxImage(int width
=0,int height
=0,bool clear
=true){
3493 if (width
> 0 && height
> 0)
3494 return new wxImage(width
, height
, clear
);
3498 SWIGINTERN wxImage
*new_wxImage(wxBitmap
const &bitmap
){
3499 return new wxImage(bitmap
.ConvertToImage());
3501 SWIGINTERN wxImage
*new_wxImage(int width
,int height
,buffer data
,int DATASIZE
){
3502 if (DATASIZE
!= width
*height
*3) {
3503 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3507 // Copy the source data so the wxImage can clean it up later
3508 buffer copy
= (buffer
)malloc(DATASIZE
);
3510 wxPyBLOCK_THREADS(PyErr_NoMemory());
3513 memcpy(copy
, data
, DATASIZE
);
3514 return new wxImage(width
, height
, copy
, false);
3516 SWIGINTERN wxImage
*new_wxImage(int width
,int height
,buffer data
,int DATASIZE
,buffer alpha
,int ALPHASIZE
){
3517 if (DATASIZE
!= width
*height
*3) {
3518 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3521 if (ALPHASIZE
!= width
*height
) {
3522 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
3526 // Copy the source data so the wxImage can clean it up later
3527 buffer dcopy
= (buffer
)malloc(DATASIZE
);
3528 if (dcopy
== NULL
) {
3529 wxPyBLOCK_THREADS(PyErr_NoMemory());
3532 memcpy(dcopy
, data
, DATASIZE
);
3534 buffer acopy
= (buffer
)malloc(ALPHASIZE
);
3535 if (acopy
== NULL
) {
3536 wxPyBLOCK_THREADS(PyErr_NoMemory());
3539 memcpy(acopy
, alpha
, ALPHASIZE
);
3541 return new wxImage(width
, height
, dcopy
, acopy
, false);
3543 SWIGINTERN wxSize
wxImage_GetSize(wxImage
*self
){
3544 wxSize
size(self
->GetWidth(), self
->GetHeight());
3547 SWIGINTERN PyObject
*wxImage_GetData(wxImage
*self
){
3548 buffer data
= self
->GetData();
3549 int len
= self
->GetWidth() * self
->GetHeight() * 3;
3551 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
));
3554 SWIGINTERN
void wxImage_SetData(wxImage
*self
,buffer data
,int DATASIZE
){
3555 if (DATASIZE
!= self
->GetWidth() * self
->GetHeight() * 3) {
3556 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3559 buffer copy
= (buffer
)malloc(DATASIZE
);
3561 wxPyBLOCK_THREADS(PyErr_NoMemory());
3564 memcpy(copy
, data
, DATASIZE
);
3565 self
->SetData(copy
, false);
3566 // wxImage takes ownership of copy...
3568 SWIGINTERN PyObject
*wxImage_GetDataBuffer(wxImage
*self
){
3569 buffer data
= self
->GetData();
3570 int len
= self
->GetWidth() * self
->GetHeight() * 3;
3572 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
3575 SWIGINTERN
void wxImage_SetDataBuffer(wxImage
*self
,buffer data
,int DATASIZE
){
3576 if (DATASIZE
!= self
->GetWidth() * self
->GetHeight() * 3) {
3577 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3580 self
->SetData(data
, true);
3582 SWIGINTERN PyObject
*wxImage_GetAlphaData(wxImage
*self
){
3583 buffer data
= self
->GetAlpha();
3587 int len
= self
->GetWidth() * self
->GetHeight();
3589 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
) );
3593 SWIGINTERN
void wxImage_SetAlphaData(wxImage
*self
,buffer alpha
,int ALPHASIZE
){
3594 if (ALPHASIZE
!= self
->GetWidth() * self
->GetHeight()) {
3595 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
3598 buffer acopy
= (buffer
)malloc(ALPHASIZE
);
3599 if (acopy
== NULL
) {
3600 wxPyBLOCK_THREADS(PyErr_NoMemory());
3603 memcpy(acopy
, alpha
, ALPHASIZE
);
3604 self
->SetAlpha(acopy
, false);
3605 // wxImage takes ownership of acopy...
3607 SWIGINTERN PyObject
*wxImage_GetAlphaBuffer(wxImage
*self
){
3608 buffer data
= self
->GetAlpha();
3609 int len
= self
->GetWidth() * self
->GetHeight();
3611 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
3614 SWIGINTERN
void wxImage_SetAlphaBuffer(wxImage
*self
,buffer alpha
,int ALPHASIZE
){
3615 if (ALPHASIZE
!= self
->GetWidth() * self
->GetHeight()) {
3616 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
3619 self
->SetAlpha(alpha
, true);
3621 SWIGINTERN PyObject
*wxImage_GetHandlers(){
3622 wxList
& list
= wxImage::GetHandlers();
3623 return wxPy_ConvertList(&list
);
3625 SWIGINTERN wxBitmap
wxImage_ConvertToBitmap(wxImage
*self
,int depth
=-1){
3626 wxBitmap
bitmap(*self
, depth
);
3629 SWIGINTERN wxBitmap
wxImage_ConvertToMonoBitmap(wxImage
*self
,byte red
,byte green
,byte blue
){
3630 wxImage mono
= self
->ConvertToMono( red
, green
, blue
);
3631 wxBitmap
bitmap( mono
, 1 );
3635 wxImage
* _ImageFromBuffer(int width
, int height
,
3636 buffer data
, int DATASIZE
,
3637 buffer alpha
=NULL
, int ALPHASIZE
=0)
3639 if (DATASIZE
!= width
*height
*3) {
3640 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3643 if (alpha
!= NULL
) {
3644 if (ALPHASIZE
!= width
*height
) {
3645 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
3648 return new wxImage(width
, height
, data
, alpha
, true);
3650 return new wxImage(width
, height
, data
, true);
3653 static const wxString
wxPyIMAGE_OPTION_FILENAME(wxIMAGE_OPTION_FILENAME
);
3654 static const wxString
wxPyIMAGE_OPTION_BMP_FORMAT(wxIMAGE_OPTION_BMP_FORMAT
);
3655 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_X(wxIMAGE_OPTION_CUR_HOTSPOT_X
);
3656 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_Y(wxIMAGE_OPTION_CUR_HOTSPOT_Y
);
3657 static const wxString
wxPyIMAGE_OPTION_RESOLUTION(wxIMAGE_OPTION_RESOLUTION
);
3658 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONX(wxIMAGE_OPTION_RESOLUTIONX
);
3659 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONY(wxIMAGE_OPTION_RESOLUTIONY
);
3660 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONUNIT(wxIMAGE_OPTION_RESOLUTIONUNIT
);
3661 static const wxString
wxPyIMAGE_OPTION_QUALITY(wxIMAGE_OPTION_QUALITY
);
3662 static const wxString
wxPyIMAGE_OPTION_BITSPERSAMPLE(wxIMAGE_OPTION_BITSPERSAMPLE
);
3663 static const wxString
wxPyIMAGE_OPTION_SAMPLESPERPIXEL(wxIMAGE_OPTION_SAMPLESPERPIXEL
);
3664 static const wxString
wxPyIMAGE_OPTION_COMPRESSION(wxIMAGE_OPTION_COMPRESSION
);
3665 static const wxString
wxPyIMAGE_OPTION_IMAGEDESCRIPTOR(wxIMAGE_OPTION_IMAGEDESCRIPTOR
);
3666 static const wxString
wxPyIMAGE_OPTION_PNG_FORMAT(wxIMAGE_OPTION_PNG_FORMAT
);
3667 static const wxString
wxPyIMAGE_OPTION_PNG_BITDEPTH(wxIMAGE_OPTION_PNG_BITDEPTH
);
3669 #include <wx/quantize.h>
3671 SWIGINTERN
bool wxQuantize_Quantize(wxImage
const &src
,wxImage
&dest
,int desiredNoColours
=236,int flags
=wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
|wxQUANTIZE_FILL_DESTINATION_IMAGE
){
3672 return wxQuantize::Quantize(src
, dest
,
3675 NULL
, // eightBitData
3678 SWIGINTERN
void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
*func
){
3679 if (PyCallable_Check(func
)) {
3680 self
->Connect(id
, lastId
, eventType
,
3681 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
3682 new wxPyCallback(func
));
3684 else if (func
== Py_None
) {
3685 self
->Disconnect(id
, lastId
, eventType
,
3686 (wxObjectEventFunction
)
3687 &wxPyCallback::EventThunker
);
3691 PyErr_SetString(PyExc_TypeError
, "Expected callable object or None."));
3694 SWIGINTERN
bool wxEvtHandler_Disconnect(wxEvtHandler
*self
,int id
,int lastId
=-1,wxEventType eventType
=wxEVT_NULL
){
3695 return self
->Disconnect(id
, lastId
, eventType
,
3696 (wxObjectEventFunction
)
3697 &wxPyCallback::EventThunker
);
3699 SWIGINTERN
void wxEvtHandler__setOORInfo(wxEvtHandler
*self
,PyObject
*_self
,bool incref
=true){
3700 if (_self
&& _self
!= Py_None
) {
3701 self
->SetClientObject(new wxPyOORClientData(_self
, incref
));
3704 wxPyOORClientData
* data
= (wxPyOORClientData
*)self
->GetClientObject();
3706 self
->SetClientObject(NULL
); // This will delete it too
3712 #define wxEVT_HOTKEY -9999
3715 SWIGINTERN PyObject
*wxCommandEvent_GetClientData(wxCommandEvent
*self
){
3716 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject();
3718 Py_INCREF(data
->m_obj
);
3725 SWIGINTERN
void wxCommandEvent_SetClientData(wxCommandEvent
*self
,PyObject
*clientData
){
3726 wxPyClientData
* data
= new wxPyClientData(clientData
);
3727 self
->SetClientObject(data
);
3729 SWIGINTERN
int wxKeyEvent_GetUnicodeKey(wxKeyEvent
*self
){
3731 return self
->GetUnicodeKey();
3736 SWIGINTERN
void wxKeyEvent_SetUnicodeKey(wxKeyEvent
*self
,int uniChar
){
3738 self
->m_uniChar
= uniChar
;
3742 SWIGINTERNINLINE PyObject
*
3743 SWIG_From_unsigned_SS_int (unsigned int value
)
3745 return SWIG_From_unsigned_SS_long (value
);
3750 SWIG_AsVal_unsigned_SS_int (PyObject
* obj
, unsigned int *val
)
3753 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
3754 if (SWIG_IsOK(res
)) {
3755 if ((v
> UINT_MAX
)) {
3756 return SWIG_OverflowError
;
3758 if (val
) *val
= static_cast< unsigned int >(v
);
3764 SWIGINTERN
void wxSizeEvent_SetSize(wxSizeEvent
*self
,wxSize size
){
3765 self
->m_size
= size
;
3767 SWIGINTERN PyObject
*wxDropFilesEvent_GetFiles(wxDropFilesEvent
*self
){
3768 int count
= self
->GetNumberOfFiles();
3769 wxString
* files
= self
->GetFiles();
3770 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3771 PyObject
* list
= PyList_New(count
);
3774 PyErr_SetString(PyExc_MemoryError
, "Can't allocate list of files!");
3775 wxPyEndBlockThreads(blocked
);
3779 for (int i
=0; i
<count
; i
++) {
3780 PyList_SetItem(list
, i
, wx2PyString(files
[i
]));
3782 wxPyEndBlockThreads(blocked
);
3787 SWIGINTERN wxPyApp
*new_wxPyApp(){
3788 wxPythonApp
= new wxPyApp();
3791 SWIGINTERN
bool wxPyApp_IsDisplayAvailable(){
3792 return wxPyTestDisplayAvailable();
3795 void wxApp_CleanUp() {
3800 wxPyApp
* wxPyGetApp() { return (wxPyApp
*)wxTheApp
; }
3806 SWIGINTERNINLINE PyObject
*
3807 SWIG_FromCharPtr(const char *cptr
)
3809 return SWIG_FromCharPtrAndSize(cptr
, (cptr
? strlen(cptr
) : 0));
3813 #if 0 // #ifdef __WXMAC__
3815 // A dummy class that raises an exception if used...
3819 wxEventLoop() { wxPyRaiseNotImplemented(); }
3820 int Run() { return 0; }
3821 void Exit(int rc
= 0) {}
3822 bool Pending() const { return false; }
3823 bool Dispatch() { return false; }
3824 bool IsRunning() const { return false; }
3825 static wxEventLoop
*GetActive() { wxPyRaiseNotImplemented(); return NULL
; }
3826 static void SetActive(wxEventLoop
* loop
) { wxPyRaiseNotImplemented(); }
3831 #include <wx/evtloop.h>
3837 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
3838 SWIGINTERN wxVisualAttributes
*new_wxVisualAttributes(){ return new wxVisualAttributes
; }
3839 SWIGINTERN
void delete_wxVisualAttributes(wxVisualAttributes
*self
){ delete self
; }
3840 SWIGINTERN PyObject
*wxWindow_GetChildren(wxWindow
*self
){
3841 wxWindowList
& list
= self
->GetChildren();
3842 return wxPy_ConvertList(&list
);
3844 SWIGINTERN
void wxWindow_SetDoubleBuffered(wxWindow
*self
,bool on
){}
3845 SWIGINTERN
bool wxWindow_RegisterHotKey(wxWindow
*self
,int hotkeyId
,int modifiers
,int keycode
){
3847 return self
->RegisterHotKey(hotkeyId
, modifiers
, keycode
);
3852 SWIGINTERN
bool wxWindow_UnregisterHotKey(wxWindow
*self
,int hotkeyId
){
3859 SWIGINTERN
long wxWindow_GetHandle(wxWindow
*self
){
3860 return wxPyGetWinHandle(self
);
3862 SWIGINTERN
void wxWindow_AssociateHandle(wxWindow
*self
,long handle
){
3863 self
->AssociateHandle((WXWidget
)handle
);
3866 wxWindow
* wxFindWindowById( long id
, const wxWindow
*parent
= NULL
) {
3867 return wxWindow::FindWindowById(id
, parent
);
3870 wxWindow
* wxFindWindowByName( const wxString
& name
,
3871 const wxWindow
*parent
= NULL
) {
3872 return wxWindow::FindWindowByName(name
, parent
);
3875 wxWindow
* wxFindWindowByLabel( const wxString
& label
,
3876 const wxWindow
*parent
= NULL
) {
3877 return wxWindow::FindWindowByLabel(label
, parent
);
3882 #include <wx/msw/private.h> // to get wxGetWindowId
3886 wxWindow
* wxWindow_FromHWND(wxWindow
* parent
, unsigned long _hWnd
) {
3888 WXHWND hWnd
= (WXHWND
)_hWnd
;
3889 long id
= wxGetWindowId(hWnd
);
3890 wxWindow
* win
= new wxWindow
;
3892 parent
->AddChild(win
);
3893 win
->SetEventHandler(win
);
3896 win
->SubclassWin(hWnd
);
3897 win
->AdoptAttributesFromHWND();
3898 win
->SetupColours();
3901 wxPyRaiseNotImplemented();
3907 PyObject
* GetTopLevelWindows() {
3908 return wxPy_ConvertList(&wxTopLevelWindows
);
3912 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
3913 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
3914 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
3916 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
3919 SWIGINTERNINLINE
int
3920 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
3923 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
3924 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3928 SWIGINTERN
void wxMenu_Destroy(wxMenu
*self
){ delete self
; }
3929 SWIGINTERN PyObject
*wxMenu_GetMenuItems(wxMenu
*self
){
3930 wxMenuItemList
& list
= self
->GetMenuItems();
3931 return wxPy_ConvertList(&list
);
3933 SWIGINTERN
void wxMenuBar_SetAutoWindowMenu(bool enable
){}
3934 SWIGINTERN
bool wxMenuBar_GetAutoWindowMenu(){ return false; }
3935 static const wxString
wxPyControlNameStr(wxControlNameStr
);
3936 SWIGINTERN
int wxItemContainer_Append(wxItemContainer
*self
,wxString
const &item
,PyObject
*clientData
=NULL
){
3938 wxPyClientData
* data
= new wxPyClientData(clientData
);
3939 return self
->Append(item
, data
);
3941 return self
->Append(item
);
3943 SWIGINTERN
int wxItemContainer_Insert(wxItemContainer
*self
,wxString
const &item
,unsigned int pos
,PyObject
*clientData
=NULL
){
3945 wxPyClientData
* data
= new wxPyClientData(clientData
);
3946 return self
->Insert(item
, pos
, data
);
3948 return self
->Insert(item
, pos
);
3950 SWIGINTERN PyObject
*wxItemContainer_GetClientData(wxItemContainer
*self
,unsigned int n
){
3951 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
3953 Py_INCREF(data
->m_obj
);
3960 SWIGINTERN
void wxItemContainer_SetClientData(wxItemContainer
*self
,unsigned int n
,PyObject
*clientData
){
3961 wxPyClientData
* data
= new wxPyClientData(clientData
);
3962 self
->SetClientObject(n
, data
);
3966 SWIGINTERN wxSizerItem
*new_wxSizerItem(wxWindow
*window
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
3967 wxPyUserData
* data
= NULL
;
3969 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3970 data
= new wxPyUserData(userData
);
3971 wxPyEndBlockThreads(blocked
);
3973 return new wxSizerItem(window
, proportion
, flag
, border
, data
);
3975 SWIGINTERN wxSizerItem
*new_wxSizerItem(int width
,int height
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
3976 wxPyUserData
* data
= NULL
;
3978 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3979 data
= new wxPyUserData(userData
);
3980 wxPyEndBlockThreads(blocked
);
3982 return new wxSizerItem(width
, height
, proportion
, flag
, border
, data
);
3984 SWIGINTERN wxSizerItem
*new_wxSizerItem(wxSizer
*sizer
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
3985 wxPyUserData
* data
= NULL
;
3987 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3988 data
= new wxPyUserData(userData
);
3989 wxPyEndBlockThreads(blocked
);
3991 return new wxSizerItem(sizer
, proportion
, flag
, border
, data
);
3994 SWIGINTERNINLINE PyObject
*
3995 SWIG_From_float (float value
)
3997 return SWIG_From_double (value
);
4000 SWIGINTERN PyObject
*wxSizerItem_GetUserData(wxSizerItem
*self
){
4001 wxPyUserData
* data
= (wxPyUserData
*)self
->GetUserData();
4003 Py_INCREF(data
->m_obj
);
4010 SWIGINTERN
void wxSizerItem_SetUserData(wxSizerItem
*self
,PyObject
*userData
){
4011 wxPyUserData
* data
= NULL
;
4013 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4014 data
= new wxPyUserData(userData
);
4015 wxPyEndBlockThreads(blocked
);
4017 self
->SetUserData(data
);
4020 // Figure out the type of the sizer item
4022 struct wxPySizerItemInfo
{
4024 : window(NULL
), sizer(NULL
), gotSize(false),
4025 size(wxDefaultSize
), gotPos(false), pos(-1)
4036 static wxPySizerItemInfo
wxPySizerItemTypeHelper(PyObject
* item
, bool checkSize
, bool checkIdx
) {
4038 wxPySizerItemInfo info
;
4040 wxSize
* sizePtr
= &size
;
4042 // Find out what the type of the item is
4044 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.window
, wxT("wxWindow")) ) {
4049 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.sizer
, wxT("wxSizer")) ) {
4053 // try wxSize or (w,h)
4054 if ( checkSize
&& wxSize_helper(item
, &sizePtr
)) {
4055 info
.size
= *sizePtr
;
4056 info
.gotSize
= true;
4060 if (checkIdx
&& PyInt_Check(item
)) {
4061 info
.pos
= PyInt_AsLong(item
);
4067 if ( !(info
.window
|| info
.sizer
|| (checkSize
&& info
.gotSize
) || (checkIdx
&& info
.gotPos
)) ) {
4068 // no expected type, figure out what kind of error message to generate
4069 if ( !checkSize
&& !checkIdx
)
4070 PyErr_SetString(PyExc_TypeError
, "wx.Window or wx.Sizer expected for item");
4071 else if ( checkSize
&& !checkIdx
)
4072 PyErr_SetString(PyExc_TypeError
, "wx.Window, wx.Sizer, wx.Size, or (w,h) expected for item");
4073 else if ( !checkSize
&& checkIdx
)
4074 PyErr_SetString(PyExc_TypeError
, "wx.Window, wx.Sizer or int (position) expected for item");
4076 // can this one happen?
4077 PyErr_SetString(PyExc_TypeError
, "wx.Window, wx.Sizer, wx.Size, or (w,h) or int (position) expected for item");
4083 SWIGINTERN
void wxSizer__setOORInfo(wxSizer
*self
,PyObject
*_self
){
4084 if (!self
->GetClientObject())
4085 self
->SetClientObject(new wxPyOORClientData(_self
));
4087 SWIGINTERN wxSizerItem
*wxSizer_Add(wxSizer
*self
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
4089 wxPyUserData
* data
= NULL
;
4090 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4091 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
4092 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
4093 data
= new wxPyUserData(userData
);
4095 PyObject_SetAttrString(item
,"thisown",Py_False
);
4096 wxPyEndBlockThreads(blocked
);
4098 // Now call the real Add method if a valid item type was found
4100 return self
->Add(info
.window
, proportion
, flag
, border
, data
);
4101 else if ( info
.sizer
)
4102 return self
->Add(info
.sizer
, proportion
, flag
, border
, data
);
4103 else if (info
.gotSize
)
4104 return self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
4105 proportion
, flag
, border
, data
);
4109 SWIGINTERN wxSizerItem
*wxSizer_Insert(wxSizer
*self
,int before
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
4111 wxPyUserData
* data
= NULL
;
4112 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4113 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
4114 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
4115 data
= new wxPyUserData(userData
);
4117 PyObject_SetAttrString(item
,"thisown",Py_False
);
4118 wxPyEndBlockThreads(blocked
);
4120 // Now call the real Insert method if a valid item type was found
4122 return self
->Insert(before
, info
.window
, proportion
, flag
, border
, data
);
4123 else if ( info
.sizer
)
4124 return self
->Insert(before
, info
.sizer
, proportion
, flag
, border
, data
);
4125 else if (info
.gotSize
)
4126 return self
->Insert(before
, info
.size
.GetWidth(), info
.size
.GetHeight(),
4127 proportion
, flag
, border
, data
);
4131 SWIGINTERN wxSizerItem
*wxSizer_Prepend(wxSizer
*self
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
4133 wxPyUserData
* data
= NULL
;
4134 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4135 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
4136 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
4137 data
= new wxPyUserData(userData
);
4139 PyObject_SetAttrString(item
,"thisown",Py_False
);
4140 wxPyEndBlockThreads(blocked
);
4142 // Now call the real Prepend method if a valid item type was found
4144 return self
->Prepend(info
.window
, proportion
, flag
, border
, data
);
4145 else if ( info
.sizer
)
4146 return self
->Prepend(info
.sizer
, proportion
, flag
, border
, data
);
4147 else if (info
.gotSize
)
4148 return self
->Prepend(info
.size
.GetWidth(), info
.size
.GetHeight(),
4149 proportion
, flag
, border
, data
);
4153 SWIGINTERN
bool wxSizer_Remove(wxSizer
*self
,PyObject
*item
){
4154 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4155 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
4156 wxPyEndBlockThreads(blocked
);
4158 return self
->Remove(info
.window
);
4159 else if ( info
.sizer
)
4160 return self
->Remove(info
.sizer
);
4161 else if ( info
.gotPos
)
4162 return self
->Remove(info
.pos
);
4166 SWIGINTERN
bool wxSizer_Detach(wxSizer
*self
,PyObject
*item
){
4167 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4168 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
4169 wxPyEndBlockThreads(blocked
);
4171 return self
->Detach(info
.window
);
4172 else if ( info
.sizer
)
4173 return self
->Detach(info
.sizer
);
4174 else if ( info
.gotPos
)
4175 return self
->Detach(info
.pos
);
4179 SWIGINTERN wxSizerItem
*wxSizer_GetItem(wxSizer
*self
,PyObject
*item
){
4180 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4181 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
4182 wxPyEndBlockThreads(blocked
);
4184 return self
->GetItem(info
.window
);
4185 else if ( info
.sizer
)
4186 return self
->GetItem(info
.sizer
);
4187 else if ( info
.gotPos
)
4188 return self
->GetItem(info
.pos
);
4192 SWIGINTERN
void wxSizer__SetItemMinSize(wxSizer
*self
,PyObject
*item
,wxSize
const &size
){
4193 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4194 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
4195 wxPyEndBlockThreads(blocked
);
4197 self
->SetItemMinSize(info
.window
, size
);
4198 else if ( info
.sizer
)
4199 self
->SetItemMinSize(info
.sizer
, size
);
4200 else if ( info
.gotPos
)
4201 self
->SetItemMinSize(info
.pos
, size
);
4203 SWIGINTERN PyObject
*wxSizer_GetChildren(wxSizer
*self
){
4204 wxSizerItemList
& list
= self
->GetChildren();
4205 return wxPy_ConvertList(&list
);
4207 SWIGINTERN
bool wxSizer_Show(wxSizer
*self
,PyObject
*item
,bool show
=true,bool recursive
=false){
4208 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4209 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
4210 wxPyEndBlockThreads(blocked
);
4212 return self
->Show(info
.window
, show
, recursive
);
4213 else if ( info
.sizer
)
4214 return self
->Show(info
.sizer
, show
, recursive
);
4215 else if ( info
.gotPos
)
4216 return self
->Show(info
.pos
, show
);
4220 SWIGINTERN
bool wxSizer_IsShown(wxSizer
*self
,PyObject
*item
){
4221 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4222 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, false);
4223 wxPyEndBlockThreads(blocked
);
4225 return self
->IsShown(info
.window
);
4226 else if ( info
.sizer
)
4227 return self
->IsShown(info
.sizer
);
4228 else if ( info
.gotPos
)
4229 return self
->IsShown(info
.pos
);
4235 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
4236 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
4237 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
4242 bool wxGBPosition_helper(PyObject
* source
, wxGBPosition
** obj
)
4244 if (source
== Py_None
) {
4245 **obj
= wxGBPosition(-1,-1);
4248 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBPosition"));
4251 bool wxGBSpan_helper(PyObject
* source
, wxGBSpan
** obj
)
4253 if (source
== Py_None
) {
4254 **obj
= wxGBSpan(-1,-1);
4257 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBSpan"));
4261 SWIGINTERN
bool wxGBPosition___eq__(wxGBPosition
*self
,PyObject
*other
){
4262 wxGBPosition temp
, *obj
= &temp
;
4263 if ( other
== Py_None
) return false;
4264 if ( ! wxGBPosition_helper(other
, &obj
) ) {
4268 return self
->operator==(*obj
);
4270 SWIGINTERN
bool wxGBPosition___ne__(wxGBPosition
*self
,PyObject
*other
){
4271 wxGBPosition temp
, *obj
= &temp
;
4272 if ( other
== Py_None
) return true;
4273 if ( ! wxGBPosition_helper(other
, &obj
)) {
4277 return self
->operator!=(*obj
);
4279 SWIGINTERN
void wxGBPosition_Set(wxGBPosition
*self
,int row
=0,int col
=0){
4283 SWIGINTERN PyObject
*wxGBPosition_Get(wxGBPosition
*self
){
4284 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4285 PyObject
* tup
= PyTuple_New(2);
4286 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
4287 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
4288 wxPyEndBlockThreads(blocked
);
4291 SWIGINTERN
bool wxGBSpan___eq__(wxGBSpan
*self
,PyObject
*other
){
4292 wxGBSpan temp
, *obj
= &temp
;
4293 if ( other
== Py_None
) return false;
4294 if ( ! wxGBSpan_helper(other
, &obj
) ) {
4298 return self
->operator==(*obj
);
4300 SWIGINTERN
bool wxGBSpan___ne__(wxGBSpan
*self
,PyObject
*other
){
4301 wxGBSpan temp
, *obj
= &temp
;
4302 if ( other
== Py_None
) return true;
4303 if ( ! wxGBSpan_helper(other
, &obj
)) {
4307 return self
->operator!=(*obj
);
4309 SWIGINTERN
void wxGBSpan_Set(wxGBSpan
*self
,int rowspan
=1,int colspan
=1){
4310 self
->SetRowspan(rowspan
);
4311 self
->SetColspan(colspan
);
4313 SWIGINTERN PyObject
*wxGBSpan_Get(wxGBSpan
*self
){
4314 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4315 PyObject
* tup
= PyTuple_New(2);
4316 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRowspan()));
4317 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetColspan()));
4318 wxPyEndBlockThreads(blocked
);
4321 SWIGINTERN wxGBSizerItem
*new_wxGBSizerItem(wxWindow
*window
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
4322 wxPyUserData
* data
= NULL
;
4324 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4325 data
= new wxPyUserData(userData
);
4326 wxPyEndBlockThreads(blocked
);
4328 return new wxGBSizerItem(window
, pos
, span
, flag
, border
, data
);
4330 SWIGINTERN wxGBSizerItem
*new_wxGBSizerItem(wxSizer
*sizer
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
4331 wxPyUserData
* data
= NULL
;
4333 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4334 data
= new wxPyUserData(userData
);
4335 wxPyEndBlockThreads(blocked
);
4337 return new wxGBSizerItem(sizer
, pos
, span
, flag
, border
, data
);
4339 SWIGINTERN wxGBSizerItem
*new_wxGBSizerItem(int width
,int height
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
4340 wxPyUserData
* data
= NULL
;
4342 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4343 data
= new wxPyUserData(userData
);
4344 wxPyEndBlockThreads(blocked
);
4346 return new wxGBSizerItem(width
, height
, pos
, span
, flag
, border
, data
);
4348 SWIGINTERN wxGBPosition
wxGBSizerItem_GetEndPos(wxGBSizerItem
*self
){
4350 self
->GetEndPos(row
, col
);
4351 return wxGBPosition(row
, col
);
4353 SWIGINTERN wxGBSizerItem
*wxGridBagSizer_Add(wxGridBagSizer
*self
,PyObject
*item
,wxGBPosition
const &pos
,wxGBSpan
const &span
=wxDefaultSpan
,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
4355 wxPyUserData
* data
= NULL
;
4356 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4357 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
4358 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
4359 data
= new wxPyUserData(userData
);
4361 PyObject_SetAttrString(item
,"thisown",Py_False
);
4362 wxPyEndBlockThreads(blocked
);
4364 // Now call the real Add method if a valid item type was found
4366 return (wxGBSizerItem
*)self
->Add(info
.window
, pos
, span
, flag
, border
, data
);
4367 else if ( info
.sizer
)
4368 return (wxGBSizerItem
*)self
->Add(info
.sizer
, pos
, span
, flag
, border
, data
);
4369 else if (info
.gotSize
)
4370 return (wxGBSizerItem
*)self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
4371 pos
, span
, flag
, border
, data
);
4379 SWIGINTERN
int EmptyString_set(PyObject
*) {
4380 SWIG_Error(SWIG_AttributeError
,"Variable EmptyString is read-only.");
4385 SWIGINTERN PyObject
*EmptyString_get(void) {
4386 PyObject
*pyobj
= 0;
4390 pyobj
= PyUnicode_FromWideChar((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
4392 pyobj
= PyString_FromStringAndSize((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
4399 SWIGINTERN PyObject
*_wrap_Object_GetClassName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4400 PyObject
*resultobj
= 0;
4401 wxObject
*arg1
= (wxObject
*) 0 ;
4405 PyObject
*swig_obj
[1] ;
4407 if (!args
) SWIG_fail
;
4409 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
4410 if (!SWIG_IsOK(res1
)) {
4411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Object_GetClassName" "', expected argument " "1"" of type '" "wxObject *""'");
4413 arg1
= reinterpret_cast< wxObject
* >(argp1
);
4415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4416 result
= wxObject_GetClassName(arg1
);
4417 wxPyEndAllowThreads(__tstate
);
4418 if (PyErr_Occurred()) SWIG_fail
;
4422 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4424 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4433 SWIGINTERN PyObject
*_wrap_Object_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4434 PyObject
*resultobj
= 0;
4435 wxObject
*arg1
= (wxObject
*) 0 ;
4438 PyObject
*swig_obj
[1] ;
4440 if (!args
) SWIG_fail
;
4442 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
4443 if (!SWIG_IsOK(res1
)) {
4444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Object_Destroy" "', expected argument " "1"" of type '" "wxObject *""'");
4446 arg1
= reinterpret_cast< wxObject
* >(argp1
);
4448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4449 wxObject_Destroy(arg1
);
4450 wxPyEndAllowThreads(__tstate
);
4451 if (PyErr_Occurred()) SWIG_fail
;
4453 resultobj
= SWIG_Py_Void();
4460 SWIGINTERN PyObject
*Object_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4462 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4463 SWIG_TypeNewClientData(SWIGTYPE_p_wxObject
, SWIG_NewClientData(obj
));
4464 return SWIG_Py_Void();
4467 SWIGINTERN PyObject
*_wrap_Size_width_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4468 PyObject
*resultobj
= 0;
4469 wxSize
*arg1
= (wxSize
*) 0 ;
4475 PyObject
*swig_obj
[2] ;
4477 if (!SWIG_Python_UnpackTuple(args
,"Size_width_set",2,2,swig_obj
)) SWIG_fail
;
4478 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4479 if (!SWIG_IsOK(res1
)) {
4480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_width_set" "', expected argument " "1"" of type '" "wxSize *""'");
4482 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4483 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4484 if (!SWIG_IsOK(ecode2
)) {
4485 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Size_width_set" "', expected argument " "2"" of type '" "int""'");
4487 arg2
= static_cast< int >(val2
);
4488 if (arg1
) (arg1
)->x
= arg2
;
4490 resultobj
= SWIG_Py_Void();
4497 SWIGINTERN PyObject
*_wrap_Size_width_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4498 PyObject
*resultobj
= 0;
4499 wxSize
*arg1
= (wxSize
*) 0 ;
4503 PyObject
*swig_obj
[1] ;
4505 if (!args
) SWIG_fail
;
4507 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4508 if (!SWIG_IsOK(res1
)) {
4509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_width_get" "', expected argument " "1"" of type '" "wxSize *""'");
4511 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4512 result
= (int) ((arg1
)->x
);
4513 resultobj
= SWIG_From_int(static_cast< int >(result
));
4520 SWIGINTERN PyObject
*_wrap_Size_height_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4521 PyObject
*resultobj
= 0;
4522 wxSize
*arg1
= (wxSize
*) 0 ;
4528 PyObject
*swig_obj
[2] ;
4530 if (!SWIG_Python_UnpackTuple(args
,"Size_height_set",2,2,swig_obj
)) SWIG_fail
;
4531 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4532 if (!SWIG_IsOK(res1
)) {
4533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_height_set" "', expected argument " "1"" of type '" "wxSize *""'");
4535 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4536 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4537 if (!SWIG_IsOK(ecode2
)) {
4538 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Size_height_set" "', expected argument " "2"" of type '" "int""'");
4540 arg2
= static_cast< int >(val2
);
4541 if (arg1
) (arg1
)->y
= arg2
;
4543 resultobj
= SWIG_Py_Void();
4550 SWIGINTERN PyObject
*_wrap_Size_height_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4551 PyObject
*resultobj
= 0;
4552 wxSize
*arg1
= (wxSize
*) 0 ;
4556 PyObject
*swig_obj
[1] ;
4558 if (!args
) SWIG_fail
;
4560 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4561 if (!SWIG_IsOK(res1
)) {
4562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_height_get" "', expected argument " "1"" of type '" "wxSize *""'");
4564 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4565 result
= (int) ((arg1
)->y
);
4566 resultobj
= SWIG_From_int(static_cast< int >(result
));
4573 SWIGINTERN PyObject
*_wrap_new_Size(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4574 PyObject
*resultobj
= 0;
4575 int arg1
= (int) 0 ;
4576 int arg2
= (int) 0 ;
4577 wxSize
*result
= 0 ;
4582 PyObject
* obj0
= 0 ;
4583 PyObject
* obj1
= 0 ;
4584 char * kwnames
[] = {
4585 (char *) "w",(char *) "h", NULL
4588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Size",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4590 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4591 if (!SWIG_IsOK(ecode1
)) {
4592 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Size" "', expected argument " "1"" of type '" "int""'");
4594 arg1
= static_cast< int >(val1
);
4597 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4598 if (!SWIG_IsOK(ecode2
)) {
4599 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Size" "', expected argument " "2"" of type '" "int""'");
4601 arg2
= static_cast< int >(val2
);
4604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4605 result
= (wxSize
*)new wxSize(arg1
,arg2
);
4606 wxPyEndAllowThreads(__tstate
);
4607 if (PyErr_Occurred()) SWIG_fail
;
4609 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSize
, SWIG_POINTER_NEW
| 0 );
4616 SWIGINTERN PyObject
*_wrap_delete_Size(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4617 PyObject
*resultobj
= 0;
4618 wxSize
*arg1
= (wxSize
*) 0 ;
4621 PyObject
*swig_obj
[1] ;
4623 if (!args
) SWIG_fail
;
4625 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSize
, SWIG_POINTER_DISOWN
| 0 );
4626 if (!SWIG_IsOK(res1
)) {
4627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Size" "', expected argument " "1"" of type '" "wxSize *""'");
4629 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4634 wxPyEndAllowThreads(__tstate
);
4635 if (PyErr_Occurred()) SWIG_fail
;
4637 resultobj
= SWIG_Py_Void();
4644 SWIGINTERN PyObject
*_wrap_Size___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4645 PyObject
*resultobj
= 0;
4646 wxSize
*arg1
= (wxSize
*) 0 ;
4647 PyObject
*arg2
= (PyObject
*) 0 ;
4651 PyObject
* obj0
= 0 ;
4652 PyObject
* obj1
= 0 ;
4653 char * kwnames
[] = {
4654 (char *) "self",(char *) "other", NULL
4657 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4658 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4659 if (!SWIG_IsOK(res1
)) {
4660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size___eq__" "', expected argument " "1"" of type '" "wxSize *""'");
4662 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4665 result
= (bool)wxSize___eq__(arg1
,arg2
);
4666 if (PyErr_Occurred()) SWIG_fail
;
4669 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4677 SWIGINTERN PyObject
*_wrap_Size___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4678 PyObject
*resultobj
= 0;
4679 wxSize
*arg1
= (wxSize
*) 0 ;
4680 PyObject
*arg2
= (PyObject
*) 0 ;
4684 PyObject
* obj0
= 0 ;
4685 PyObject
* obj1
= 0 ;
4686 char * kwnames
[] = {
4687 (char *) "self",(char *) "other", NULL
4690 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4691 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4692 if (!SWIG_IsOK(res1
)) {
4693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size___ne__" "', expected argument " "1"" of type '" "wxSize *""'");
4695 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4698 result
= (bool)wxSize___ne__(arg1
,arg2
);
4699 if (PyErr_Occurred()) SWIG_fail
;
4702 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4710 SWIGINTERN PyObject
*_wrap_Size___add__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4711 PyObject
*resultobj
= 0;
4712 wxSize
*arg1
= (wxSize
*) 0 ;
4718 PyObject
* obj0
= 0 ;
4719 PyObject
* obj1
= 0 ;
4720 char * kwnames
[] = {
4721 (char *) "self",(char *) "sz", NULL
4724 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___add__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4725 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4726 if (!SWIG_IsOK(res1
)) {
4727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size___add__" "', expected argument " "1"" of type '" "wxSize *""'");
4729 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4732 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4736 result
= (arg1
)->operator +((wxSize
const &)*arg2
);
4737 wxPyEndAllowThreads(__tstate
);
4738 if (PyErr_Occurred()) SWIG_fail
;
4740 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
4747 SWIGINTERN PyObject
*_wrap_Size___sub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4748 PyObject
*resultobj
= 0;
4749 wxSize
*arg1
= (wxSize
*) 0 ;
4755 PyObject
* obj0
= 0 ;
4756 PyObject
* obj1
= 0 ;
4757 char * kwnames
[] = {
4758 (char *) "self",(char *) "sz", NULL
4761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___sub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4763 if (!SWIG_IsOK(res1
)) {
4764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size___sub__" "', expected argument " "1"" of type '" "wxSize *""'");
4766 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4769 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4773 result
= (arg1
)->operator -((wxSize
const &)*arg2
);
4774 wxPyEndAllowThreads(__tstate
);
4775 if (PyErr_Occurred()) SWIG_fail
;
4777 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
4784 SWIGINTERN PyObject
*_wrap_Size_IncTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4785 PyObject
*resultobj
= 0;
4786 wxSize
*arg1
= (wxSize
*) 0 ;
4791 PyObject
* obj0
= 0 ;
4792 PyObject
* obj1
= 0 ;
4793 char * kwnames
[] = {
4794 (char *) "self",(char *) "sz", NULL
4797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_IncTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4798 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4799 if (!SWIG_IsOK(res1
)) {
4800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_IncTo" "', expected argument " "1"" of type '" "wxSize *""'");
4802 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4805 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4809 (arg1
)->IncTo((wxSize
const &)*arg2
);
4810 wxPyEndAllowThreads(__tstate
);
4811 if (PyErr_Occurred()) SWIG_fail
;
4813 resultobj
= SWIG_Py_Void();
4820 SWIGINTERN PyObject
*_wrap_Size_DecTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4821 PyObject
*resultobj
= 0;
4822 wxSize
*arg1
= (wxSize
*) 0 ;
4827 PyObject
* obj0
= 0 ;
4828 PyObject
* obj1
= 0 ;
4829 char * kwnames
[] = {
4830 (char *) "self",(char *) "sz", NULL
4833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_DecTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4834 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4835 if (!SWIG_IsOK(res1
)) {
4836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_DecTo" "', expected argument " "1"" of type '" "wxSize *""'");
4838 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4841 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4845 (arg1
)->DecTo((wxSize
const &)*arg2
);
4846 wxPyEndAllowThreads(__tstate
);
4847 if (PyErr_Occurred()) SWIG_fail
;
4849 resultobj
= SWIG_Py_Void();
4856 SWIGINTERN PyObject
*_wrap_Size_IncBy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4857 PyObject
*resultobj
= 0;
4858 wxSize
*arg1
= (wxSize
*) 0 ;
4867 PyObject
* obj0
= 0 ;
4868 PyObject
* obj1
= 0 ;
4869 PyObject
* obj2
= 0 ;
4870 char * kwnames
[] = {
4871 (char *) "self",(char *) "dx",(char *) "dy", NULL
4874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_IncBy",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4876 if (!SWIG_IsOK(res1
)) {
4877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_IncBy" "', expected argument " "1"" of type '" "wxSize *""'");
4879 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4880 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4881 if (!SWIG_IsOK(ecode2
)) {
4882 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Size_IncBy" "', expected argument " "2"" of type '" "int""'");
4884 arg2
= static_cast< int >(val2
);
4885 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4886 if (!SWIG_IsOK(ecode3
)) {
4887 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Size_IncBy" "', expected argument " "3"" of type '" "int""'");
4889 arg3
= static_cast< int >(val3
);
4891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4892 (arg1
)->IncBy(arg2
,arg3
);
4893 wxPyEndAllowThreads(__tstate
);
4894 if (PyErr_Occurred()) SWIG_fail
;
4896 resultobj
= SWIG_Py_Void();
4903 SWIGINTERN PyObject
*_wrap_Size_DecBy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4904 PyObject
*resultobj
= 0;
4905 wxSize
*arg1
= (wxSize
*) 0 ;
4914 PyObject
* obj0
= 0 ;
4915 PyObject
* obj1
= 0 ;
4916 PyObject
* obj2
= 0 ;
4917 char * kwnames
[] = {
4918 (char *) "self",(char *) "dx",(char *) "dy", NULL
4921 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_DecBy",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4922 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4923 if (!SWIG_IsOK(res1
)) {
4924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_DecBy" "', expected argument " "1"" of type '" "wxSize *""'");
4926 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4927 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4928 if (!SWIG_IsOK(ecode2
)) {
4929 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Size_DecBy" "', expected argument " "2"" of type '" "int""'");
4931 arg2
= static_cast< int >(val2
);
4932 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4933 if (!SWIG_IsOK(ecode3
)) {
4934 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Size_DecBy" "', expected argument " "3"" of type '" "int""'");
4936 arg3
= static_cast< int >(val3
);
4938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4939 (arg1
)->DecBy(arg2
,arg3
);
4940 wxPyEndAllowThreads(__tstate
);
4941 if (PyErr_Occurred()) SWIG_fail
;
4943 resultobj
= SWIG_Py_Void();
4950 SWIGINTERN PyObject
*_wrap_Size_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4951 PyObject
*resultobj
= 0;
4952 wxSize
*arg1
= (wxSize
*) 0 ;
4961 PyObject
* obj0
= 0 ;
4962 PyObject
* obj1
= 0 ;
4963 PyObject
* obj2
= 0 ;
4964 char * kwnames
[] = {
4965 (char *) "self",(char *) "xscale",(char *) "yscale", NULL
4968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4969 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4970 if (!SWIG_IsOK(res1
)) {
4971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_Scale" "', expected argument " "1"" of type '" "wxSize *""'");
4973 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4974 ecode2
= SWIG_AsVal_float(obj1
, &val2
);
4975 if (!SWIG_IsOK(ecode2
)) {
4976 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Size_Scale" "', expected argument " "2"" of type '" "float""'");
4978 arg2
= static_cast< float >(val2
);
4979 ecode3
= SWIG_AsVal_float(obj2
, &val3
);
4980 if (!SWIG_IsOK(ecode3
)) {
4981 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Size_Scale" "', expected argument " "3"" of type '" "float""'");
4983 arg3
= static_cast< float >(val3
);
4985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4986 (arg1
)->Scale(arg2
,arg3
);
4987 wxPyEndAllowThreads(__tstate
);
4988 if (PyErr_Occurred()) SWIG_fail
;
4990 resultobj
= SWIG_Py_Void();
4997 SWIGINTERN PyObject
*_wrap_Size_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4998 PyObject
*resultobj
= 0;
4999 wxSize
*arg1
= (wxSize
*) 0 ;
5008 PyObject
* obj0
= 0 ;
5009 PyObject
* obj1
= 0 ;
5010 PyObject
* obj2
= 0 ;
5011 char * kwnames
[] = {
5012 (char *) "self",(char *) "w",(char *) "h", NULL
5015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_Set",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5016 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
5017 if (!SWIG_IsOK(res1
)) {
5018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_Set" "', expected argument " "1"" of type '" "wxSize *""'");
5020 arg1
= reinterpret_cast< wxSize
* >(argp1
);
5021 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5022 if (!SWIG_IsOK(ecode2
)) {
5023 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Size_Set" "', expected argument " "2"" of type '" "int""'");
5025 arg2
= static_cast< int >(val2
);
5026 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5027 if (!SWIG_IsOK(ecode3
)) {
5028 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Size_Set" "', expected argument " "3"" of type '" "int""'");
5030 arg3
= static_cast< int >(val3
);
5032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5033 (arg1
)->Set(arg2
,arg3
);
5034 wxPyEndAllowThreads(__tstate
);
5035 if (PyErr_Occurred()) SWIG_fail
;
5037 resultobj
= SWIG_Py_Void();
5044 SWIGINTERN PyObject
*_wrap_Size_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5045 PyObject
*resultobj
= 0;
5046 wxSize
*arg1
= (wxSize
*) 0 ;
5052 PyObject
* obj0
= 0 ;
5053 PyObject
* obj1
= 0 ;
5054 char * kwnames
[] = {
5055 (char *) "self",(char *) "w", NULL
5058 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5059 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
5060 if (!SWIG_IsOK(res1
)) {
5061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_SetWidth" "', expected argument " "1"" of type '" "wxSize *""'");
5063 arg1
= reinterpret_cast< wxSize
* >(argp1
);
5064 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5065 if (!SWIG_IsOK(ecode2
)) {
5066 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Size_SetWidth" "', expected argument " "2"" of type '" "int""'");
5068 arg2
= static_cast< int >(val2
);
5070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5071 (arg1
)->SetWidth(arg2
);
5072 wxPyEndAllowThreads(__tstate
);
5073 if (PyErr_Occurred()) SWIG_fail
;
5075 resultobj
= SWIG_Py_Void();
5082 SWIGINTERN PyObject
*_wrap_Size_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5083 PyObject
*resultobj
= 0;
5084 wxSize
*arg1
= (wxSize
*) 0 ;
5090 PyObject
* obj0
= 0 ;
5091 PyObject
* obj1
= 0 ;
5092 char * kwnames
[] = {
5093 (char *) "self",(char *) "h", NULL
5096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
5098 if (!SWIG_IsOK(res1
)) {
5099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_SetHeight" "', expected argument " "1"" of type '" "wxSize *""'");
5101 arg1
= reinterpret_cast< wxSize
* >(argp1
);
5102 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5103 if (!SWIG_IsOK(ecode2
)) {
5104 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Size_SetHeight" "', expected argument " "2"" of type '" "int""'");
5106 arg2
= static_cast< int >(val2
);
5108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5109 (arg1
)->SetHeight(arg2
);
5110 wxPyEndAllowThreads(__tstate
);
5111 if (PyErr_Occurred()) SWIG_fail
;
5113 resultobj
= SWIG_Py_Void();
5120 SWIGINTERN PyObject
*_wrap_Size_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5121 PyObject
*resultobj
= 0;
5122 wxSize
*arg1
= (wxSize
*) 0 ;
5126 PyObject
*swig_obj
[1] ;
5128 if (!args
) SWIG_fail
;
5130 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
5131 if (!SWIG_IsOK(res1
)) {
5132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_GetWidth" "', expected argument " "1"" of type '" "wxSize const *""'");
5134 arg1
= reinterpret_cast< wxSize
* >(argp1
);
5136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5137 result
= (int)((wxSize
const *)arg1
)->GetWidth();
5138 wxPyEndAllowThreads(__tstate
);
5139 if (PyErr_Occurred()) SWIG_fail
;
5141 resultobj
= SWIG_From_int(static_cast< int >(result
));
5148 SWIGINTERN PyObject
*_wrap_Size_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5149 PyObject
*resultobj
= 0;
5150 wxSize
*arg1
= (wxSize
*) 0 ;
5154 PyObject
*swig_obj
[1] ;
5156 if (!args
) SWIG_fail
;
5158 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
5159 if (!SWIG_IsOK(res1
)) {
5160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_GetHeight" "', expected argument " "1"" of type '" "wxSize const *""'");
5162 arg1
= reinterpret_cast< wxSize
* >(argp1
);
5164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5165 result
= (int)((wxSize
const *)arg1
)->GetHeight();
5166 wxPyEndAllowThreads(__tstate
);
5167 if (PyErr_Occurred()) SWIG_fail
;
5169 resultobj
= SWIG_From_int(static_cast< int >(result
));
5176 SWIGINTERN PyObject
*_wrap_Size_IsFullySpecified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5177 PyObject
*resultobj
= 0;
5178 wxSize
*arg1
= (wxSize
*) 0 ;
5182 PyObject
*swig_obj
[1] ;
5184 if (!args
) SWIG_fail
;
5186 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
5187 if (!SWIG_IsOK(res1
)) {
5188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_IsFullySpecified" "', expected argument " "1"" of type '" "wxSize const *""'");
5190 arg1
= reinterpret_cast< wxSize
* >(argp1
);
5192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5193 result
= (bool)((wxSize
const *)arg1
)->IsFullySpecified();
5194 wxPyEndAllowThreads(__tstate
);
5195 if (PyErr_Occurred()) SWIG_fail
;
5198 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5206 SWIGINTERN PyObject
*_wrap_Size_SetDefaults(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5207 PyObject
*resultobj
= 0;
5208 wxSize
*arg1
= (wxSize
*) 0 ;
5213 PyObject
* obj0
= 0 ;
5214 PyObject
* obj1
= 0 ;
5215 char * kwnames
[] = {
5216 (char *) "self",(char *) "size", NULL
5219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetDefaults",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5220 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
5221 if (!SWIG_IsOK(res1
)) {
5222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_SetDefaults" "', expected argument " "1"" of type '" "wxSize *""'");
5224 arg1
= reinterpret_cast< wxSize
* >(argp1
);
5227 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5231 (arg1
)->SetDefaults((wxSize
const &)*arg2
);
5232 wxPyEndAllowThreads(__tstate
);
5233 if (PyErr_Occurred()) SWIG_fail
;
5235 resultobj
= SWIG_Py_Void();
5242 SWIGINTERN PyObject
*_wrap_Size_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5243 PyObject
*resultobj
= 0;
5244 wxSize
*arg1
= (wxSize
*) 0 ;
5245 PyObject
*result
= 0 ;
5248 PyObject
*swig_obj
[1] ;
5250 if (!args
) SWIG_fail
;
5252 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
5253 if (!SWIG_IsOK(res1
)) {
5254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_Get" "', expected argument " "1"" of type '" "wxSize *""'");
5256 arg1
= reinterpret_cast< wxSize
* >(argp1
);
5258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5259 result
= (PyObject
*)wxSize_Get(arg1
);
5260 wxPyEndAllowThreads(__tstate
);
5261 if (PyErr_Occurred()) SWIG_fail
;
5270 SWIGINTERN PyObject
*Size_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5272 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5273 SWIG_TypeNewClientData(SWIGTYPE_p_wxSize
, SWIG_NewClientData(obj
));
5274 return SWIG_Py_Void();
5277 SWIGINTERN PyObject
*Size_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5278 return SWIG_Python_InitShadowInstance(args
);
5281 SWIGINTERN PyObject
*_wrap_RealPoint_x_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5282 PyObject
*resultobj
= 0;
5283 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
5289 PyObject
*swig_obj
[2] ;
5291 if (!SWIG_Python_UnpackTuple(args
,"RealPoint_x_set",2,2,swig_obj
)) SWIG_fail
;
5292 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRealPoint
, 0 | 0 );
5293 if (!SWIG_IsOK(res1
)) {
5294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RealPoint_x_set" "', expected argument " "1"" of type '" "wxRealPoint *""'");
5296 arg1
= reinterpret_cast< wxRealPoint
* >(argp1
);
5297 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
5298 if (!SWIG_IsOK(ecode2
)) {
5299 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RealPoint_x_set" "', expected argument " "2"" of type '" "double""'");
5301 arg2
= static_cast< double >(val2
);
5302 if (arg1
) (arg1
)->x
= arg2
;
5304 resultobj
= SWIG_Py_Void();
5311 SWIGINTERN PyObject
*_wrap_RealPoint_x_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5312 PyObject
*resultobj
= 0;
5313 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
5317 PyObject
*swig_obj
[1] ;
5319 if (!args
) SWIG_fail
;
5321 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRealPoint
, 0 | 0 );
5322 if (!SWIG_IsOK(res1
)) {
5323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RealPoint_x_get" "', expected argument " "1"" of type '" "wxRealPoint *""'");
5325 arg1
= reinterpret_cast< wxRealPoint
* >(argp1
);
5326 result
= (double) ((arg1
)->x
);
5327 resultobj
= SWIG_From_double(static_cast< double >(result
));
5334 SWIGINTERN PyObject
*_wrap_RealPoint_y_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5335 PyObject
*resultobj
= 0;
5336 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
5342 PyObject
*swig_obj
[2] ;
5344 if (!SWIG_Python_UnpackTuple(args
,"RealPoint_y_set",2,2,swig_obj
)) SWIG_fail
;
5345 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRealPoint
, 0 | 0 );
5346 if (!SWIG_IsOK(res1
)) {
5347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RealPoint_y_set" "', expected argument " "1"" of type '" "wxRealPoint *""'");
5349 arg1
= reinterpret_cast< wxRealPoint
* >(argp1
);
5350 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
5351 if (!SWIG_IsOK(ecode2
)) {
5352 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RealPoint_y_set" "', expected argument " "2"" of type '" "double""'");
5354 arg2
= static_cast< double >(val2
);
5355 if (arg1
) (arg1
)->y
= arg2
;
5357 resultobj
= SWIG_Py_Void();
5364 SWIGINTERN PyObject
*_wrap_RealPoint_y_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5365 PyObject
*resultobj
= 0;
5366 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
5370 PyObject
*swig_obj
[1] ;
5372 if (!args
) SWIG_fail
;
5374 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRealPoint
, 0 | 0 );
5375 if (!SWIG_IsOK(res1
)) {
5376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RealPoint_y_get" "', expected argument " "1"" of type '" "wxRealPoint *""'");
5378 arg1
= reinterpret_cast< wxRealPoint
* >(argp1
);
5379 result
= (double) ((arg1
)->y
);
5380 resultobj
= SWIG_From_double(static_cast< double >(result
));
5387 SWIGINTERN PyObject
*_wrap_new_RealPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5388 PyObject
*resultobj
= 0;
5389 double arg1
= (double) 0.0 ;
5390 double arg2
= (double) 0.0 ;
5391 wxRealPoint
*result
= 0 ;
5396 PyObject
* obj0
= 0 ;
5397 PyObject
* obj1
= 0 ;
5398 char * kwnames
[] = {
5399 (char *) "x",(char *) "y", NULL
5402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RealPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5404 ecode1
= SWIG_AsVal_double(obj0
, &val1
);
5405 if (!SWIG_IsOK(ecode1
)) {
5406 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RealPoint" "', expected argument " "1"" of type '" "double""'");
5408 arg1
= static_cast< double >(val1
);
5411 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
5412 if (!SWIG_IsOK(ecode2
)) {
5413 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RealPoint" "', expected argument " "2"" of type '" "double""'");
5415 arg2
= static_cast< double >(val2
);
5418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5419 result
= (wxRealPoint
*)new wxRealPoint(arg1
,arg2
);
5420 wxPyEndAllowThreads(__tstate
);
5421 if (PyErr_Occurred()) SWIG_fail
;
5423 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_NEW
| 0 );
5430 SWIGINTERN PyObject
*_wrap_delete_RealPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5431 PyObject
*resultobj
= 0;
5432 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
5435 PyObject
*swig_obj
[1] ;
5437 if (!args
) SWIG_fail
;
5439 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_DISOWN
| 0 );
5440 if (!SWIG_IsOK(res1
)) {
5441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RealPoint" "', expected argument " "1"" of type '" "wxRealPoint *""'");
5443 arg1
= reinterpret_cast< wxRealPoint
* >(argp1
);
5445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5448 wxPyEndAllowThreads(__tstate
);
5449 if (PyErr_Occurred()) SWIG_fail
;
5451 resultobj
= SWIG_Py_Void();
5458 SWIGINTERN PyObject
*_wrap_RealPoint___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5459 PyObject
*resultobj
= 0;
5460 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
5461 PyObject
*arg2
= (PyObject
*) 0 ;
5465 PyObject
* obj0
= 0 ;
5466 PyObject
* obj1
= 0 ;
5467 char * kwnames
[] = {
5468 (char *) "self",(char *) "other", NULL
5471 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5472 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRealPoint
, 0 | 0 );
5473 if (!SWIG_IsOK(res1
)) {
5474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RealPoint___eq__" "', expected argument " "1"" of type '" "wxRealPoint *""'");
5476 arg1
= reinterpret_cast< wxRealPoint
* >(argp1
);
5479 result
= (bool)wxRealPoint___eq__(arg1
,arg2
);
5480 if (PyErr_Occurred()) SWIG_fail
;
5483 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5491 SWIGINTERN PyObject
*_wrap_RealPoint___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5492 PyObject
*resultobj
= 0;
5493 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
5494 PyObject
*arg2
= (PyObject
*) 0 ;
5498 PyObject
* obj0
= 0 ;
5499 PyObject
* obj1
= 0 ;
5500 char * kwnames
[] = {
5501 (char *) "self",(char *) "other", NULL
5504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5505 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRealPoint
, 0 | 0 );
5506 if (!SWIG_IsOK(res1
)) {
5507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RealPoint___ne__" "', expected argument " "1"" of type '" "wxRealPoint *""'");
5509 arg1
= reinterpret_cast< wxRealPoint
* >(argp1
);
5512 result
= (bool)wxRealPoint___ne__(arg1
,arg2
);
5513 if (PyErr_Occurred()) SWIG_fail
;
5516 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5524 SWIGINTERN PyObject
*_wrap_RealPoint___add__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5525 PyObject
*resultobj
= 0;
5526 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
5527 wxRealPoint
*arg2
= 0 ;
5532 PyObject
* obj0
= 0 ;
5533 PyObject
* obj1
= 0 ;
5534 char * kwnames
[] = {
5535 (char *) "self",(char *) "pt", NULL
5538 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___add__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5539 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRealPoint
, 0 | 0 );
5540 if (!SWIG_IsOK(res1
)) {
5541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RealPoint___add__" "', expected argument " "1"" of type '" "wxRealPoint *""'");
5543 arg1
= reinterpret_cast< wxRealPoint
* >(argp1
);
5546 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5550 result
= (arg1
)->operator +((wxRealPoint
const &)*arg2
);
5551 wxPyEndAllowThreads(__tstate
);
5552 if (PyErr_Occurred()) SWIG_fail
;
5554 resultobj
= SWIG_NewPointerObj((new wxRealPoint(static_cast< const wxRealPoint
& >(result
))), SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_OWN
| 0 );
5561 SWIGINTERN PyObject
*_wrap_RealPoint___sub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5562 PyObject
*resultobj
= 0;
5563 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
5564 wxRealPoint
*arg2
= 0 ;
5569 PyObject
* obj0
= 0 ;
5570 PyObject
* obj1
= 0 ;
5571 char * kwnames
[] = {
5572 (char *) "self",(char *) "pt", NULL
5575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___sub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5576 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRealPoint
, 0 | 0 );
5577 if (!SWIG_IsOK(res1
)) {
5578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RealPoint___sub__" "', expected argument " "1"" of type '" "wxRealPoint *""'");
5580 arg1
= reinterpret_cast< wxRealPoint
* >(argp1
);
5583 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5587 result
= (arg1
)->operator -((wxRealPoint
const &)*arg2
);
5588 wxPyEndAllowThreads(__tstate
);
5589 if (PyErr_Occurred()) SWIG_fail
;
5591 resultobj
= SWIG_NewPointerObj((new wxRealPoint(static_cast< const wxRealPoint
& >(result
))), SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_OWN
| 0 );
5598 SWIGINTERN PyObject
*_wrap_RealPoint_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5599 PyObject
*resultobj
= 0;
5600 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
5609 PyObject
* obj0
= 0 ;
5610 PyObject
* obj1
= 0 ;
5611 PyObject
* obj2
= 0 ;
5612 char * kwnames
[] = {
5613 (char *) "self",(char *) "x",(char *) "y", NULL
5616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RealPoint_Set",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRealPoint
, 0 | 0 );
5618 if (!SWIG_IsOK(res1
)) {
5619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RealPoint_Set" "', expected argument " "1"" of type '" "wxRealPoint *""'");
5621 arg1
= reinterpret_cast< wxRealPoint
* >(argp1
);
5622 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
5623 if (!SWIG_IsOK(ecode2
)) {
5624 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RealPoint_Set" "', expected argument " "2"" of type '" "double""'");
5626 arg2
= static_cast< double >(val2
);
5627 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
5628 if (!SWIG_IsOK(ecode3
)) {
5629 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RealPoint_Set" "', expected argument " "3"" of type '" "double""'");
5631 arg3
= static_cast< double >(val3
);
5633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5634 wxRealPoint_Set(arg1
,arg2
,arg3
);
5635 wxPyEndAllowThreads(__tstate
);
5636 if (PyErr_Occurred()) SWIG_fail
;
5638 resultobj
= SWIG_Py_Void();
5645 SWIGINTERN PyObject
*_wrap_RealPoint_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5646 PyObject
*resultobj
= 0;
5647 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
5648 PyObject
*result
= 0 ;
5651 PyObject
*swig_obj
[1] ;
5653 if (!args
) SWIG_fail
;
5655 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRealPoint
, 0 | 0 );
5656 if (!SWIG_IsOK(res1
)) {
5657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RealPoint_Get" "', expected argument " "1"" of type '" "wxRealPoint *""'");
5659 arg1
= reinterpret_cast< wxRealPoint
* >(argp1
);
5661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5662 result
= (PyObject
*)wxRealPoint_Get(arg1
);
5663 wxPyEndAllowThreads(__tstate
);
5664 if (PyErr_Occurred()) SWIG_fail
;
5673 SWIGINTERN PyObject
*RealPoint_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5675 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5676 SWIG_TypeNewClientData(SWIGTYPE_p_wxRealPoint
, SWIG_NewClientData(obj
));
5677 return SWIG_Py_Void();
5680 SWIGINTERN PyObject
*RealPoint_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5681 return SWIG_Python_InitShadowInstance(args
);
5684 SWIGINTERN PyObject
*_wrap_Point_x_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5685 PyObject
*resultobj
= 0;
5686 wxPoint
*arg1
= (wxPoint
*) 0 ;
5692 PyObject
*swig_obj
[2] ;
5694 if (!SWIG_Python_UnpackTuple(args
,"Point_x_set",2,2,swig_obj
)) SWIG_fail
;
5695 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint
, 0 | 0 );
5696 if (!SWIG_IsOK(res1
)) {
5697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point_x_set" "', expected argument " "1"" of type '" "wxPoint *""'");
5699 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
5700 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
5701 if (!SWIG_IsOK(ecode2
)) {
5702 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Point_x_set" "', expected argument " "2"" of type '" "int""'");
5704 arg2
= static_cast< int >(val2
);
5705 if (arg1
) (arg1
)->x
= arg2
;
5707 resultobj
= SWIG_Py_Void();
5714 SWIGINTERN PyObject
*_wrap_Point_x_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5715 PyObject
*resultobj
= 0;
5716 wxPoint
*arg1
= (wxPoint
*) 0 ;
5720 PyObject
*swig_obj
[1] ;
5722 if (!args
) SWIG_fail
;
5724 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint
, 0 | 0 );
5725 if (!SWIG_IsOK(res1
)) {
5726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point_x_get" "', expected argument " "1"" of type '" "wxPoint *""'");
5728 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
5729 result
= (int) ((arg1
)->x
);
5730 resultobj
= SWIG_From_int(static_cast< int >(result
));
5737 SWIGINTERN PyObject
*_wrap_Point_y_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5738 PyObject
*resultobj
= 0;
5739 wxPoint
*arg1
= (wxPoint
*) 0 ;
5745 PyObject
*swig_obj
[2] ;
5747 if (!SWIG_Python_UnpackTuple(args
,"Point_y_set",2,2,swig_obj
)) SWIG_fail
;
5748 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint
, 0 | 0 );
5749 if (!SWIG_IsOK(res1
)) {
5750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point_y_set" "', expected argument " "1"" of type '" "wxPoint *""'");
5752 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
5753 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
5754 if (!SWIG_IsOK(ecode2
)) {
5755 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Point_y_set" "', expected argument " "2"" of type '" "int""'");
5757 arg2
= static_cast< int >(val2
);
5758 if (arg1
) (arg1
)->y
= arg2
;
5760 resultobj
= SWIG_Py_Void();
5767 SWIGINTERN PyObject
*_wrap_Point_y_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5768 PyObject
*resultobj
= 0;
5769 wxPoint
*arg1
= (wxPoint
*) 0 ;
5773 PyObject
*swig_obj
[1] ;
5775 if (!args
) SWIG_fail
;
5777 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint
, 0 | 0 );
5778 if (!SWIG_IsOK(res1
)) {
5779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point_y_get" "', expected argument " "1"" of type '" "wxPoint *""'");
5781 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
5782 result
= (int) ((arg1
)->y
);
5783 resultobj
= SWIG_From_int(static_cast< int >(result
));
5790 SWIGINTERN PyObject
*_wrap_new_Point(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5791 PyObject
*resultobj
= 0;
5792 int arg1
= (int) 0 ;
5793 int arg2
= (int) 0 ;
5794 wxPoint
*result
= 0 ;
5799 PyObject
* obj0
= 0 ;
5800 PyObject
* obj1
= 0 ;
5801 char * kwnames
[] = {
5802 (char *) "x",(char *) "y", NULL
5805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5807 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5808 if (!SWIG_IsOK(ecode1
)) {
5809 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Point" "', expected argument " "1"" of type '" "int""'");
5811 arg1
= static_cast< int >(val1
);
5814 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5815 if (!SWIG_IsOK(ecode2
)) {
5816 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Point" "', expected argument " "2"" of type '" "int""'");
5818 arg2
= static_cast< int >(val2
);
5821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5822 result
= (wxPoint
*)new wxPoint(arg1
,arg2
);
5823 wxPyEndAllowThreads(__tstate
);
5824 if (PyErr_Occurred()) SWIG_fail
;
5826 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, SWIG_POINTER_NEW
| 0 );
5833 SWIGINTERN PyObject
*_wrap_delete_Point(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5834 PyObject
*resultobj
= 0;
5835 wxPoint
*arg1
= (wxPoint
*) 0 ;
5838 PyObject
*swig_obj
[1] ;
5840 if (!args
) SWIG_fail
;
5842 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint
, SWIG_POINTER_DISOWN
| 0 );
5843 if (!SWIG_IsOK(res1
)) {
5844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Point" "', expected argument " "1"" of type '" "wxPoint *""'");
5846 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
5848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5851 wxPyEndAllowThreads(__tstate
);
5852 if (PyErr_Occurred()) SWIG_fail
;
5854 resultobj
= SWIG_Py_Void();
5861 SWIGINTERN PyObject
*_wrap_Point___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5862 PyObject
*resultobj
= 0;
5863 wxPoint
*arg1
= (wxPoint
*) 0 ;
5864 PyObject
*arg2
= (PyObject
*) 0 ;
5868 PyObject
* obj0
= 0 ;
5869 PyObject
* obj1
= 0 ;
5870 char * kwnames
[] = {
5871 (char *) "self",(char *) "other", NULL
5874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint
, 0 | 0 );
5876 if (!SWIG_IsOK(res1
)) {
5877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point___eq__" "', expected argument " "1"" of type '" "wxPoint *""'");
5879 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
5882 result
= (bool)wxPoint___eq__(arg1
,arg2
);
5883 if (PyErr_Occurred()) SWIG_fail
;
5886 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5894 SWIGINTERN PyObject
*_wrap_Point___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5895 PyObject
*resultobj
= 0;
5896 wxPoint
*arg1
= (wxPoint
*) 0 ;
5897 PyObject
*arg2
= (PyObject
*) 0 ;
5901 PyObject
* obj0
= 0 ;
5902 PyObject
* obj1
= 0 ;
5903 char * kwnames
[] = {
5904 (char *) "self",(char *) "other", NULL
5907 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5908 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint
, 0 | 0 );
5909 if (!SWIG_IsOK(res1
)) {
5910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point___ne__" "', expected argument " "1"" of type '" "wxPoint *""'");
5912 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
5915 result
= (bool)wxPoint___ne__(arg1
,arg2
);
5916 if (PyErr_Occurred()) SWIG_fail
;
5919 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5927 SWIGINTERN PyObject
*_wrap_Point___add__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5928 PyObject
*resultobj
= 0;
5929 wxPoint
*arg1
= (wxPoint
*) 0 ;
5935 PyObject
* obj0
= 0 ;
5936 PyObject
* obj1
= 0 ;
5937 char * kwnames
[] = {
5938 (char *) "self",(char *) "pt", NULL
5941 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___add__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5942 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint
, 0 | 0 );
5943 if (!SWIG_IsOK(res1
)) {
5944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point___add__" "', expected argument " "1"" of type '" "wxPoint *""'");
5946 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
5949 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5953 result
= (arg1
)->operator +((wxPoint
const &)*arg2
);
5954 wxPyEndAllowThreads(__tstate
);
5955 if (PyErr_Occurred()) SWIG_fail
;
5957 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
5964 SWIGINTERN PyObject
*_wrap_Point___sub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5965 PyObject
*resultobj
= 0;
5966 wxPoint
*arg1
= (wxPoint
*) 0 ;
5972 PyObject
* obj0
= 0 ;
5973 PyObject
* obj1
= 0 ;
5974 char * kwnames
[] = {
5975 (char *) "self",(char *) "pt", NULL
5978 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___sub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5979 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint
, 0 | 0 );
5980 if (!SWIG_IsOK(res1
)) {
5981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point___sub__" "', expected argument " "1"" of type '" "wxPoint *""'");
5983 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
5986 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5990 result
= (arg1
)->operator -((wxPoint
const &)*arg2
);
5991 wxPyEndAllowThreads(__tstate
);
5992 if (PyErr_Occurred()) SWIG_fail
;
5994 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
6001 SWIGINTERN PyObject
*_wrap_Point___iadd__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6002 PyObject
*resultobj
= 0;
6003 wxPoint
*arg1
= (wxPoint
*) 0 ;
6005 wxPoint
*result
= 0 ;
6009 PyObject
* obj0
= 0 ;
6010 PyObject
* obj1
= 0 ;
6011 char * kwnames
[] = {
6012 (char *) "self",(char *) "pt", NULL
6015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___iadd__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6016 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint
, SWIG_POINTER_DISOWN
| 0 );
6017 if (!SWIG_IsOK(res1
)) {
6018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point___iadd__" "', expected argument " "1"" of type '" "wxPoint *""'");
6020 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
6023 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6028 wxPoint
&_result_ref
= (arg1
)->operator +=((wxPoint
const &)*arg2
);
6029 result
= (wxPoint
*) &_result_ref
;
6031 wxPyEndAllowThreads(__tstate
);
6032 if (PyErr_Occurred()) SWIG_fail
;
6034 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
6041 SWIGINTERN PyObject
*_wrap_Point___isub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6042 PyObject
*resultobj
= 0;
6043 wxPoint
*arg1
= (wxPoint
*) 0 ;
6045 wxPoint
*result
= 0 ;
6049 PyObject
* obj0
= 0 ;
6050 PyObject
* obj1
= 0 ;
6051 char * kwnames
[] = {
6052 (char *) "self",(char *) "pt", NULL
6055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___isub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6056 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint
, SWIG_POINTER_DISOWN
| 0 );
6057 if (!SWIG_IsOK(res1
)) {
6058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point___isub__" "', expected argument " "1"" of type '" "wxPoint *""'");
6060 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
6063 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6068 wxPoint
&_result_ref
= (arg1
)->operator -=((wxPoint
const &)*arg2
);
6069 result
= (wxPoint
*) &_result_ref
;
6071 wxPyEndAllowThreads(__tstate
);
6072 if (PyErr_Occurred()) SWIG_fail
;
6074 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
6081 SWIGINTERN PyObject
*_wrap_Point_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6082 PyObject
*resultobj
= 0;
6083 wxPoint
*arg1
= (wxPoint
*) 0 ;
6092 PyObject
* obj0
= 0 ;
6093 PyObject
* obj1
= 0 ;
6094 PyObject
* obj2
= 0 ;
6095 char * kwnames
[] = {
6096 (char *) "self",(char *) "x",(char *) "y", NULL
6099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Point_Set",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6100 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint
, 0 | 0 );
6101 if (!SWIG_IsOK(res1
)) {
6102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point_Set" "', expected argument " "1"" of type '" "wxPoint *""'");
6104 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
6105 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6106 if (!SWIG_IsOK(ecode2
)) {
6107 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Point_Set" "', expected argument " "2"" of type '" "long""'");
6109 arg2
= static_cast< long >(val2
);
6110 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6111 if (!SWIG_IsOK(ecode3
)) {
6112 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Point_Set" "', expected argument " "3"" of type '" "long""'");
6114 arg3
= static_cast< long >(val3
);
6116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6117 wxPoint_Set(arg1
,arg2
,arg3
);
6118 wxPyEndAllowThreads(__tstate
);
6119 if (PyErr_Occurred()) SWIG_fail
;
6121 resultobj
= SWIG_Py_Void();
6128 SWIGINTERN PyObject
*_wrap_Point_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6129 PyObject
*resultobj
= 0;
6130 wxPoint
*arg1
= (wxPoint
*) 0 ;
6131 PyObject
*result
= 0 ;
6134 PyObject
*swig_obj
[1] ;
6136 if (!args
) SWIG_fail
;
6138 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint
, 0 | 0 );
6139 if (!SWIG_IsOK(res1
)) {
6140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point_Get" "', expected argument " "1"" of type '" "wxPoint *""'");
6142 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
6144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6145 result
= (PyObject
*)wxPoint_Get(arg1
);
6146 wxPyEndAllowThreads(__tstate
);
6147 if (PyErr_Occurred()) SWIG_fail
;
6156 SWIGINTERN PyObject
*Point_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6158 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6159 SWIG_TypeNewClientData(SWIGTYPE_p_wxPoint
, SWIG_NewClientData(obj
));
6160 return SWIG_Py_Void();
6163 SWIGINTERN PyObject
*Point_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6164 return SWIG_Python_InitShadowInstance(args
);
6167 SWIGINTERN PyObject
*_wrap_new_Rect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6168 PyObject
*resultobj
= 0;
6169 int arg1
= (int) 0 ;
6170 int arg2
= (int) 0 ;
6171 int arg3
= (int) 0 ;
6172 int arg4
= (int) 0 ;
6173 wxRect
*result
= 0 ;
6182 PyObject
* obj0
= 0 ;
6183 PyObject
* obj1
= 0 ;
6184 PyObject
* obj2
= 0 ;
6185 PyObject
* obj3
= 0 ;
6186 char * kwnames
[] = {
6187 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
6190 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Rect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6192 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6193 if (!SWIG_IsOK(ecode1
)) {
6194 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Rect" "', expected argument " "1"" of type '" "int""'");
6196 arg1
= static_cast< int >(val1
);
6199 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6200 if (!SWIG_IsOK(ecode2
)) {
6201 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Rect" "', expected argument " "2"" of type '" "int""'");
6203 arg2
= static_cast< int >(val2
);
6206 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6207 if (!SWIG_IsOK(ecode3
)) {
6208 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Rect" "', expected argument " "3"" of type '" "int""'");
6210 arg3
= static_cast< int >(val3
);
6213 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6214 if (!SWIG_IsOK(ecode4
)) {
6215 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Rect" "', expected argument " "4"" of type '" "int""'");
6217 arg4
= static_cast< int >(val4
);
6220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6221 result
= (wxRect
*)new wxRect(arg1
,arg2
,arg3
,arg4
);
6222 wxPyEndAllowThreads(__tstate
);
6223 if (PyErr_Occurred()) SWIG_fail
;
6225 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRect
, SWIG_POINTER_NEW
| 0 );
6232 SWIGINTERN PyObject
*_wrap_new_RectPP(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6233 PyObject
*resultobj
= 0;
6236 wxRect
*result
= 0 ;
6239 PyObject
* obj0
= 0 ;
6240 PyObject
* obj1
= 0 ;
6241 char * kwnames
[] = {
6242 (char *) "topLeft",(char *) "bottomRight", NULL
6245 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPP",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6248 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
6252 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6256 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxPoint
const &)*arg2
);
6257 wxPyEndAllowThreads(__tstate
);
6258 if (PyErr_Occurred()) SWIG_fail
;
6260 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
6267 SWIGINTERN PyObject
*_wrap_new_RectPS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6268 PyObject
*resultobj
= 0;
6271 wxRect
*result
= 0 ;
6274 PyObject
* obj0
= 0 ;
6275 PyObject
* obj1
= 0 ;
6276 char * kwnames
[] = {
6277 (char *) "pos",(char *) "size", NULL
6280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6283 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
6287 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6291 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxSize
const &)*arg2
);
6292 wxPyEndAllowThreads(__tstate
);
6293 if (PyErr_Occurred()) SWIG_fail
;
6295 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
6302 SWIGINTERN PyObject
*_wrap_new_RectS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6303 PyObject
*resultobj
= 0;
6305 wxRect
*result
= 0 ;
6307 PyObject
* obj0
= 0 ;
6308 char * kwnames
[] = {
6309 (char *) "size", NULL
6312 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RectS",kwnames
,&obj0
)) SWIG_fail
;
6315 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
6318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6319 result
= (wxRect
*)new wxRect((wxSize
const &)*arg1
);
6320 wxPyEndAllowThreads(__tstate
);
6321 if (PyErr_Occurred()) SWIG_fail
;
6323 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
6330 SWIGINTERN PyObject
*_wrap_delete_Rect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6331 PyObject
*resultobj
= 0;
6332 wxRect
*arg1
= (wxRect
*) 0 ;
6335 PyObject
*swig_obj
[1] ;
6337 if (!args
) SWIG_fail
;
6339 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, SWIG_POINTER_DISOWN
| 0 );
6340 if (!SWIG_IsOK(res1
)) {
6341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Rect" "', expected argument " "1"" of type '" "wxRect *""'");
6343 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6348 wxPyEndAllowThreads(__tstate
);
6349 if (PyErr_Occurred()) SWIG_fail
;
6351 resultobj
= SWIG_Py_Void();
6358 SWIGINTERN PyObject
*_wrap_Rect_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6359 PyObject
*resultobj
= 0;
6360 wxRect
*arg1
= (wxRect
*) 0 ;
6364 PyObject
*swig_obj
[1] ;
6366 if (!args
) SWIG_fail
;
6368 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6369 if (!SWIG_IsOK(res1
)) {
6370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetX" "', expected argument " "1"" of type '" "wxRect const *""'");
6372 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6375 result
= (int)((wxRect
const *)arg1
)->GetX();
6376 wxPyEndAllowThreads(__tstate
);
6377 if (PyErr_Occurred()) SWIG_fail
;
6379 resultobj
= SWIG_From_int(static_cast< int >(result
));
6386 SWIGINTERN PyObject
*_wrap_Rect_SetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6387 PyObject
*resultobj
= 0;
6388 wxRect
*arg1
= (wxRect
*) 0 ;
6394 PyObject
* obj0
= 0 ;
6395 PyObject
* obj1
= 0 ;
6396 char * kwnames
[] = {
6397 (char *) "self",(char *) "x", NULL
6400 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6401 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6402 if (!SWIG_IsOK(res1
)) {
6403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetX" "', expected argument " "1"" of type '" "wxRect *""'");
6405 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6406 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6407 if (!SWIG_IsOK(ecode2
)) {
6408 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_SetX" "', expected argument " "2"" of type '" "int""'");
6410 arg2
= static_cast< int >(val2
);
6412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6414 wxPyEndAllowThreads(__tstate
);
6415 if (PyErr_Occurred()) SWIG_fail
;
6417 resultobj
= SWIG_Py_Void();
6424 SWIGINTERN PyObject
*_wrap_Rect_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6425 PyObject
*resultobj
= 0;
6426 wxRect
*arg1
= (wxRect
*) 0 ;
6430 PyObject
*swig_obj
[1] ;
6432 if (!args
) SWIG_fail
;
6434 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6435 if (!SWIG_IsOK(res1
)) {
6436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetY" "', expected argument " "1"" of type '" "wxRect *""'");
6438 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6441 result
= (int)(arg1
)->GetY();
6442 wxPyEndAllowThreads(__tstate
);
6443 if (PyErr_Occurred()) SWIG_fail
;
6445 resultobj
= SWIG_From_int(static_cast< int >(result
));
6452 SWIGINTERN PyObject
*_wrap_Rect_SetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6453 PyObject
*resultobj
= 0;
6454 wxRect
*arg1
= (wxRect
*) 0 ;
6460 PyObject
* obj0
= 0 ;
6461 PyObject
* obj1
= 0 ;
6462 char * kwnames
[] = {
6463 (char *) "self",(char *) "y", NULL
6466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6467 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6468 if (!SWIG_IsOK(res1
)) {
6469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetY" "', expected argument " "1"" of type '" "wxRect *""'");
6471 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6472 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6473 if (!SWIG_IsOK(ecode2
)) {
6474 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_SetY" "', expected argument " "2"" of type '" "int""'");
6476 arg2
= static_cast< int >(val2
);
6478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6480 wxPyEndAllowThreads(__tstate
);
6481 if (PyErr_Occurred()) SWIG_fail
;
6483 resultobj
= SWIG_Py_Void();
6490 SWIGINTERN PyObject
*_wrap_Rect_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6491 PyObject
*resultobj
= 0;
6492 wxRect
*arg1
= (wxRect
*) 0 ;
6496 PyObject
*swig_obj
[1] ;
6498 if (!args
) SWIG_fail
;
6500 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6501 if (!SWIG_IsOK(res1
)) {
6502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetWidth" "', expected argument " "1"" of type '" "wxRect const *""'");
6504 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6507 result
= (int)((wxRect
const *)arg1
)->GetWidth();
6508 wxPyEndAllowThreads(__tstate
);
6509 if (PyErr_Occurred()) SWIG_fail
;
6511 resultobj
= SWIG_From_int(static_cast< int >(result
));
6518 SWIGINTERN PyObject
*_wrap_Rect_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6519 PyObject
*resultobj
= 0;
6520 wxRect
*arg1
= (wxRect
*) 0 ;
6526 PyObject
* obj0
= 0 ;
6527 PyObject
* obj1
= 0 ;
6528 char * kwnames
[] = {
6529 (char *) "self",(char *) "w", NULL
6532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6533 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6534 if (!SWIG_IsOK(res1
)) {
6535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetWidth" "', expected argument " "1"" of type '" "wxRect *""'");
6537 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6538 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6539 if (!SWIG_IsOK(ecode2
)) {
6540 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_SetWidth" "', expected argument " "2"" of type '" "int""'");
6542 arg2
= static_cast< int >(val2
);
6544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6545 (arg1
)->SetWidth(arg2
);
6546 wxPyEndAllowThreads(__tstate
);
6547 if (PyErr_Occurred()) SWIG_fail
;
6549 resultobj
= SWIG_Py_Void();
6556 SWIGINTERN PyObject
*_wrap_Rect_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6557 PyObject
*resultobj
= 0;
6558 wxRect
*arg1
= (wxRect
*) 0 ;
6562 PyObject
*swig_obj
[1] ;
6564 if (!args
) SWIG_fail
;
6566 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6567 if (!SWIG_IsOK(res1
)) {
6568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetHeight" "', expected argument " "1"" of type '" "wxRect const *""'");
6570 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6573 result
= (int)((wxRect
const *)arg1
)->GetHeight();
6574 wxPyEndAllowThreads(__tstate
);
6575 if (PyErr_Occurred()) SWIG_fail
;
6577 resultobj
= SWIG_From_int(static_cast< int >(result
));
6584 SWIGINTERN PyObject
*_wrap_Rect_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6585 PyObject
*resultobj
= 0;
6586 wxRect
*arg1
= (wxRect
*) 0 ;
6592 PyObject
* obj0
= 0 ;
6593 PyObject
* obj1
= 0 ;
6594 char * kwnames
[] = {
6595 (char *) "self",(char *) "h", NULL
6598 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6599 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6600 if (!SWIG_IsOK(res1
)) {
6601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetHeight" "', expected argument " "1"" of type '" "wxRect *""'");
6603 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6604 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6605 if (!SWIG_IsOK(ecode2
)) {
6606 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_SetHeight" "', expected argument " "2"" of type '" "int""'");
6608 arg2
= static_cast< int >(val2
);
6610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6611 (arg1
)->SetHeight(arg2
);
6612 wxPyEndAllowThreads(__tstate
);
6613 if (PyErr_Occurred()) SWIG_fail
;
6615 resultobj
= SWIG_Py_Void();
6622 SWIGINTERN PyObject
*_wrap_Rect_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6623 PyObject
*resultobj
= 0;
6624 wxRect
*arg1
= (wxRect
*) 0 ;
6628 PyObject
*swig_obj
[1] ;
6630 if (!args
) SWIG_fail
;
6632 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6633 if (!SWIG_IsOK(res1
)) {
6634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetPosition" "', expected argument " "1"" of type '" "wxRect const *""'");
6636 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6639 result
= ((wxRect
const *)arg1
)->GetPosition();
6640 wxPyEndAllowThreads(__tstate
);
6641 if (PyErr_Occurred()) SWIG_fail
;
6643 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
6650 SWIGINTERN PyObject
*_wrap_Rect_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6651 PyObject
*resultobj
= 0;
6652 wxRect
*arg1
= (wxRect
*) 0 ;
6657 PyObject
* obj0
= 0 ;
6658 PyObject
* obj1
= 0 ;
6659 char * kwnames
[] = {
6660 (char *) "self",(char *) "p", NULL
6663 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6664 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6665 if (!SWIG_IsOK(res1
)) {
6666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetPosition" "', expected argument " "1"" of type '" "wxRect *""'");
6668 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6671 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6675 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
6676 wxPyEndAllowThreads(__tstate
);
6677 if (PyErr_Occurred()) SWIG_fail
;
6679 resultobj
= SWIG_Py_Void();
6686 SWIGINTERN PyObject
*_wrap_Rect_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6687 PyObject
*resultobj
= 0;
6688 wxRect
*arg1
= (wxRect
*) 0 ;
6692 PyObject
*swig_obj
[1] ;
6694 if (!args
) SWIG_fail
;
6696 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6697 if (!SWIG_IsOK(res1
)) {
6698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetSize" "', expected argument " "1"" of type '" "wxRect const *""'");
6700 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6703 result
= ((wxRect
const *)arg1
)->GetSize();
6704 wxPyEndAllowThreads(__tstate
);
6705 if (PyErr_Occurred()) SWIG_fail
;
6707 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6714 SWIGINTERN PyObject
*_wrap_Rect_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6715 PyObject
*resultobj
= 0;
6716 wxRect
*arg1
= (wxRect
*) 0 ;
6721 PyObject
* obj0
= 0 ;
6722 PyObject
* obj1
= 0 ;
6723 char * kwnames
[] = {
6724 (char *) "self",(char *) "s", NULL
6727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6728 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6729 if (!SWIG_IsOK(res1
)) {
6730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetSize" "', expected argument " "1"" of type '" "wxRect *""'");
6732 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6735 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6739 (arg1
)->SetSize((wxSize
const &)*arg2
);
6740 wxPyEndAllowThreads(__tstate
);
6741 if (PyErr_Occurred()) SWIG_fail
;
6743 resultobj
= SWIG_Py_Void();
6750 SWIGINTERN PyObject
*_wrap_Rect_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6751 PyObject
*resultobj
= 0;
6752 wxRect
*arg1
= (wxRect
*) 0 ;
6756 PyObject
*swig_obj
[1] ;
6758 if (!args
) SWIG_fail
;
6760 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6761 if (!SWIG_IsOK(res1
)) {
6762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_IsEmpty" "', expected argument " "1"" of type '" "wxRect const *""'");
6764 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6767 result
= (bool)((wxRect
const *)arg1
)->IsEmpty();
6768 wxPyEndAllowThreads(__tstate
);
6769 if (PyErr_Occurred()) SWIG_fail
;
6772 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6780 SWIGINTERN PyObject
*_wrap_Rect_GetTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6781 PyObject
*resultobj
= 0;
6782 wxRect
*arg1
= (wxRect
*) 0 ;
6786 PyObject
*swig_obj
[1] ;
6788 if (!args
) SWIG_fail
;
6790 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6791 if (!SWIG_IsOK(res1
)) {
6792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetTopLeft" "', expected argument " "1"" of type '" "wxRect const *""'");
6794 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6797 result
= ((wxRect
const *)arg1
)->GetTopLeft();
6798 wxPyEndAllowThreads(__tstate
);
6799 if (PyErr_Occurred()) SWIG_fail
;
6801 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
6808 SWIGINTERN PyObject
*_wrap_Rect_SetTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6809 PyObject
*resultobj
= 0;
6810 wxRect
*arg1
= (wxRect
*) 0 ;
6815 PyObject
* obj0
= 0 ;
6816 PyObject
* obj1
= 0 ;
6817 char * kwnames
[] = {
6818 (char *) "self",(char *) "p", NULL
6821 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6822 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6823 if (!SWIG_IsOK(res1
)) {
6824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetTopLeft" "', expected argument " "1"" of type '" "wxRect *""'");
6826 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6829 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6833 (arg1
)->SetTopLeft((wxPoint
const &)*arg2
);
6834 wxPyEndAllowThreads(__tstate
);
6835 if (PyErr_Occurred()) SWIG_fail
;
6837 resultobj
= SWIG_Py_Void();
6844 SWIGINTERN PyObject
*_wrap_Rect_GetBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6845 PyObject
*resultobj
= 0;
6846 wxRect
*arg1
= (wxRect
*) 0 ;
6850 PyObject
*swig_obj
[1] ;
6852 if (!args
) SWIG_fail
;
6854 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6855 if (!SWIG_IsOK(res1
)) {
6856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetBottomRight" "', expected argument " "1"" of type '" "wxRect const *""'");
6858 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6861 result
= ((wxRect
const *)arg1
)->GetBottomRight();
6862 wxPyEndAllowThreads(__tstate
);
6863 if (PyErr_Occurred()) SWIG_fail
;
6865 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
6872 SWIGINTERN PyObject
*_wrap_Rect_SetBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6873 PyObject
*resultobj
= 0;
6874 wxRect
*arg1
= (wxRect
*) 0 ;
6879 PyObject
* obj0
= 0 ;
6880 PyObject
* obj1
= 0 ;
6881 char * kwnames
[] = {
6882 (char *) "self",(char *) "p", NULL
6885 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6886 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6887 if (!SWIG_IsOK(res1
)) {
6888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetBottomRight" "', expected argument " "1"" of type '" "wxRect *""'");
6890 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6893 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6897 (arg1
)->SetBottomRight((wxPoint
const &)*arg2
);
6898 wxPyEndAllowThreads(__tstate
);
6899 if (PyErr_Occurred()) SWIG_fail
;
6901 resultobj
= SWIG_Py_Void();
6908 SWIGINTERN PyObject
*_wrap_Rect_GetTopRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6909 PyObject
*resultobj
= 0;
6910 wxRect
*arg1
= (wxRect
*) 0 ;
6914 PyObject
*swig_obj
[1] ;
6916 if (!args
) SWIG_fail
;
6918 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6919 if (!SWIG_IsOK(res1
)) {
6920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetTopRight" "', expected argument " "1"" of type '" "wxRect const *""'");
6922 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6925 result
= ((wxRect
const *)arg1
)->GetTopRight();
6926 wxPyEndAllowThreads(__tstate
);
6927 if (PyErr_Occurred()) SWIG_fail
;
6929 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
6936 SWIGINTERN PyObject
*_wrap_Rect_SetTopRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6937 PyObject
*resultobj
= 0;
6938 wxRect
*arg1
= (wxRect
*) 0 ;
6943 PyObject
* obj0
= 0 ;
6944 PyObject
* obj1
= 0 ;
6945 char * kwnames
[] = {
6946 (char *) "self",(char *) "p", NULL
6949 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTopRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6950 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6951 if (!SWIG_IsOK(res1
)) {
6952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetTopRight" "', expected argument " "1"" of type '" "wxRect *""'");
6954 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6957 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6961 (arg1
)->SetTopRight((wxPoint
const &)*arg2
);
6962 wxPyEndAllowThreads(__tstate
);
6963 if (PyErr_Occurred()) SWIG_fail
;
6965 resultobj
= SWIG_Py_Void();
6972 SWIGINTERN PyObject
*_wrap_Rect_GetBottomLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6973 PyObject
*resultobj
= 0;
6974 wxRect
*arg1
= (wxRect
*) 0 ;
6978 PyObject
*swig_obj
[1] ;
6980 if (!args
) SWIG_fail
;
6982 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6983 if (!SWIG_IsOK(res1
)) {
6984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetBottomLeft" "', expected argument " "1"" of type '" "wxRect const *""'");
6986 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6989 result
= ((wxRect
const *)arg1
)->GetBottomLeft();
6990 wxPyEndAllowThreads(__tstate
);
6991 if (PyErr_Occurred()) SWIG_fail
;
6993 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
7000 SWIGINTERN PyObject
*_wrap_Rect_SetBottomLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7001 PyObject
*resultobj
= 0;
7002 wxRect
*arg1
= (wxRect
*) 0 ;
7007 PyObject
* obj0
= 0 ;
7008 PyObject
* obj1
= 0 ;
7009 char * kwnames
[] = {
7010 (char *) "self",(char *) "p", NULL
7013 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottomLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7014 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7015 if (!SWIG_IsOK(res1
)) {
7016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetBottomLeft" "', expected argument " "1"" of type '" "wxRect *""'");
7018 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7021 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
7024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7025 (arg1
)->SetBottomLeft((wxPoint
const &)*arg2
);
7026 wxPyEndAllowThreads(__tstate
);
7027 if (PyErr_Occurred()) SWIG_fail
;
7029 resultobj
= SWIG_Py_Void();
7036 SWIGINTERN PyObject
*_wrap_Rect_GetLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7037 PyObject
*resultobj
= 0;
7038 wxRect
*arg1
= (wxRect
*) 0 ;
7042 PyObject
*swig_obj
[1] ;
7044 if (!args
) SWIG_fail
;
7046 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7047 if (!SWIG_IsOK(res1
)) {
7048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetLeft" "', expected argument " "1"" of type '" "wxRect const *""'");
7050 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7053 result
= (int)((wxRect
const *)arg1
)->GetLeft();
7054 wxPyEndAllowThreads(__tstate
);
7055 if (PyErr_Occurred()) SWIG_fail
;
7057 resultobj
= SWIG_From_int(static_cast< int >(result
));
7064 SWIGINTERN PyObject
*_wrap_Rect_GetTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7065 PyObject
*resultobj
= 0;
7066 wxRect
*arg1
= (wxRect
*) 0 ;
7070 PyObject
*swig_obj
[1] ;
7072 if (!args
) SWIG_fail
;
7074 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7075 if (!SWIG_IsOK(res1
)) {
7076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetTop" "', expected argument " "1"" of type '" "wxRect const *""'");
7078 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7081 result
= (int)((wxRect
const *)arg1
)->GetTop();
7082 wxPyEndAllowThreads(__tstate
);
7083 if (PyErr_Occurred()) SWIG_fail
;
7085 resultobj
= SWIG_From_int(static_cast< int >(result
));
7092 SWIGINTERN PyObject
*_wrap_Rect_GetBottom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7093 PyObject
*resultobj
= 0;
7094 wxRect
*arg1
= (wxRect
*) 0 ;
7098 PyObject
*swig_obj
[1] ;
7100 if (!args
) SWIG_fail
;
7102 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7103 if (!SWIG_IsOK(res1
)) {
7104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetBottom" "', expected argument " "1"" of type '" "wxRect const *""'");
7106 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7109 result
= (int)((wxRect
const *)arg1
)->GetBottom();
7110 wxPyEndAllowThreads(__tstate
);
7111 if (PyErr_Occurred()) SWIG_fail
;
7113 resultobj
= SWIG_From_int(static_cast< int >(result
));
7120 SWIGINTERN PyObject
*_wrap_Rect_GetRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7121 PyObject
*resultobj
= 0;
7122 wxRect
*arg1
= (wxRect
*) 0 ;
7126 PyObject
*swig_obj
[1] ;
7128 if (!args
) SWIG_fail
;
7130 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7131 if (!SWIG_IsOK(res1
)) {
7132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetRight" "', expected argument " "1"" of type '" "wxRect const *""'");
7134 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7137 result
= (int)((wxRect
const *)arg1
)->GetRight();
7138 wxPyEndAllowThreads(__tstate
);
7139 if (PyErr_Occurred()) SWIG_fail
;
7141 resultobj
= SWIG_From_int(static_cast< int >(result
));
7148 SWIGINTERN PyObject
*_wrap_Rect_SetLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7149 PyObject
*resultobj
= 0;
7150 wxRect
*arg1
= (wxRect
*) 0 ;
7156 PyObject
* obj0
= 0 ;
7157 PyObject
* obj1
= 0 ;
7158 char * kwnames
[] = {
7159 (char *) "self",(char *) "left", NULL
7162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7163 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7164 if (!SWIG_IsOK(res1
)) {
7165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetLeft" "', expected argument " "1"" of type '" "wxRect *""'");
7167 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7168 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7169 if (!SWIG_IsOK(ecode2
)) {
7170 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_SetLeft" "', expected argument " "2"" of type '" "int""'");
7172 arg2
= static_cast< int >(val2
);
7174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7175 (arg1
)->SetLeft(arg2
);
7176 wxPyEndAllowThreads(__tstate
);
7177 if (PyErr_Occurred()) SWIG_fail
;
7179 resultobj
= SWIG_Py_Void();
7186 SWIGINTERN PyObject
*_wrap_Rect_SetRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7187 PyObject
*resultobj
= 0;
7188 wxRect
*arg1
= (wxRect
*) 0 ;
7194 PyObject
* obj0
= 0 ;
7195 PyObject
* obj1
= 0 ;
7196 char * kwnames
[] = {
7197 (char *) "self",(char *) "right", NULL
7200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7201 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7202 if (!SWIG_IsOK(res1
)) {
7203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetRight" "', expected argument " "1"" of type '" "wxRect *""'");
7205 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7206 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7207 if (!SWIG_IsOK(ecode2
)) {
7208 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_SetRight" "', expected argument " "2"" of type '" "int""'");
7210 arg2
= static_cast< int >(val2
);
7212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7213 (arg1
)->SetRight(arg2
);
7214 wxPyEndAllowThreads(__tstate
);
7215 if (PyErr_Occurred()) SWIG_fail
;
7217 resultobj
= SWIG_Py_Void();
7224 SWIGINTERN PyObject
*_wrap_Rect_SetTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7225 PyObject
*resultobj
= 0;
7226 wxRect
*arg1
= (wxRect
*) 0 ;
7232 PyObject
* obj0
= 0 ;
7233 PyObject
* obj1
= 0 ;
7234 char * kwnames
[] = {
7235 (char *) "self",(char *) "top", NULL
7238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7239 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7240 if (!SWIG_IsOK(res1
)) {
7241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetTop" "', expected argument " "1"" of type '" "wxRect *""'");
7243 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7244 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7245 if (!SWIG_IsOK(ecode2
)) {
7246 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_SetTop" "', expected argument " "2"" of type '" "int""'");
7248 arg2
= static_cast< int >(val2
);
7250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7251 (arg1
)->SetTop(arg2
);
7252 wxPyEndAllowThreads(__tstate
);
7253 if (PyErr_Occurred()) SWIG_fail
;
7255 resultobj
= SWIG_Py_Void();
7262 SWIGINTERN PyObject
*_wrap_Rect_SetBottom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7263 PyObject
*resultobj
= 0;
7264 wxRect
*arg1
= (wxRect
*) 0 ;
7270 PyObject
* obj0
= 0 ;
7271 PyObject
* obj1
= 0 ;
7272 char * kwnames
[] = {
7273 (char *) "self",(char *) "bottom", NULL
7276 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7277 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7278 if (!SWIG_IsOK(res1
)) {
7279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetBottom" "', expected argument " "1"" of type '" "wxRect *""'");
7281 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7282 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7283 if (!SWIG_IsOK(ecode2
)) {
7284 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_SetBottom" "', expected argument " "2"" of type '" "int""'");
7286 arg2
= static_cast< int >(val2
);
7288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7289 (arg1
)->SetBottom(arg2
);
7290 wxPyEndAllowThreads(__tstate
);
7291 if (PyErr_Occurred()) SWIG_fail
;
7293 resultobj
= SWIG_Py_Void();
7300 SWIGINTERN PyObject
*_wrap_Rect_Inflate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7301 PyObject
*resultobj
= 0;
7302 wxRect
*arg1
= (wxRect
*) 0 ;
7305 wxRect
*result
= 0 ;
7312 PyObject
* obj0
= 0 ;
7313 PyObject
* obj1
= 0 ;
7314 PyObject
* obj2
= 0 ;
7315 char * kwnames
[] = {
7316 (char *) "self",(char *) "dx",(char *) "dy", NULL
7319 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Inflate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7320 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7321 if (!SWIG_IsOK(res1
)) {
7322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_Inflate" "', expected argument " "1"" of type '" "wxRect *""'");
7324 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7325 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7326 if (!SWIG_IsOK(ecode2
)) {
7327 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_Inflate" "', expected argument " "2"" of type '" "int""'");
7329 arg2
= static_cast< int >(val2
);
7330 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7331 if (!SWIG_IsOK(ecode3
)) {
7332 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Rect_Inflate" "', expected argument " "3"" of type '" "int""'");
7334 arg3
= static_cast< int >(val3
);
7336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7338 wxRect
&_result_ref
= (arg1
)->Inflate(arg2
,arg3
);
7339 result
= (wxRect
*) &_result_ref
;
7341 wxPyEndAllowThreads(__tstate
);
7342 if (PyErr_Occurred()) SWIG_fail
;
7344 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRect
, 0 | 0 );
7351 SWIGINTERN PyObject
*_wrap_Rect_Deflate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7352 PyObject
*resultobj
= 0;
7353 wxRect
*arg1
= (wxRect
*) 0 ;
7356 wxRect
*result
= 0 ;
7363 PyObject
* obj0
= 0 ;
7364 PyObject
* obj1
= 0 ;
7365 PyObject
* obj2
= 0 ;
7366 char * kwnames
[] = {
7367 (char *) "self",(char *) "dx",(char *) "dy", NULL
7370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Deflate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7371 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7372 if (!SWIG_IsOK(res1
)) {
7373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_Deflate" "', expected argument " "1"" of type '" "wxRect *""'");
7375 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7376 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7377 if (!SWIG_IsOK(ecode2
)) {
7378 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_Deflate" "', expected argument " "2"" of type '" "int""'");
7380 arg2
= static_cast< int >(val2
);
7381 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7382 if (!SWIG_IsOK(ecode3
)) {
7383 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Rect_Deflate" "', expected argument " "3"" of type '" "int""'");
7385 arg3
= static_cast< int >(val3
);
7387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7389 wxRect
&_result_ref
= (arg1
)->Deflate(arg2
,arg3
);
7390 result
= (wxRect
*) &_result_ref
;
7392 wxPyEndAllowThreads(__tstate
);
7393 if (PyErr_Occurred()) SWIG_fail
;
7395 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRect
, 0 | 0 );
7402 SWIGINTERN PyObject
*_wrap_Rect_OffsetXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7403 PyObject
*resultobj
= 0;
7404 wxRect
*arg1
= (wxRect
*) 0 ;
7413 PyObject
* obj0
= 0 ;
7414 PyObject
* obj1
= 0 ;
7415 PyObject
* obj2
= 0 ;
7416 char * kwnames
[] = {
7417 (char *) "self",(char *) "dx",(char *) "dy", NULL
7420 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_OffsetXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7421 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7422 if (!SWIG_IsOK(res1
)) {
7423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_OffsetXY" "', expected argument " "1"" of type '" "wxRect *""'");
7425 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7426 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7427 if (!SWIG_IsOK(ecode2
)) {
7428 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_OffsetXY" "', expected argument " "2"" of type '" "int""'");
7430 arg2
= static_cast< int >(val2
);
7431 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7432 if (!SWIG_IsOK(ecode3
)) {
7433 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Rect_OffsetXY" "', expected argument " "3"" of type '" "int""'");
7435 arg3
= static_cast< int >(val3
);
7437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7438 (arg1
)->Offset(arg2
,arg3
);
7439 wxPyEndAllowThreads(__tstate
);
7440 if (PyErr_Occurred()) SWIG_fail
;
7442 resultobj
= SWIG_Py_Void();
7449 SWIGINTERN PyObject
*_wrap_Rect_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7450 PyObject
*resultobj
= 0;
7451 wxRect
*arg1
= (wxRect
*) 0 ;
7456 PyObject
* obj0
= 0 ;
7457 PyObject
* obj1
= 0 ;
7458 char * kwnames
[] = {
7459 (char *) "self",(char *) "pt", NULL
7462 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Offset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7463 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7464 if (!SWIG_IsOK(res1
)) {
7465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_Offset" "', expected argument " "1"" of type '" "wxRect *""'");
7467 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7470 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
7473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7474 (arg1
)->Offset((wxPoint
const &)*arg2
);
7475 wxPyEndAllowThreads(__tstate
);
7476 if (PyErr_Occurred()) SWIG_fail
;
7478 resultobj
= SWIG_Py_Void();
7485 SWIGINTERN PyObject
*_wrap_Rect_Intersect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7486 PyObject
*resultobj
= 0;
7487 wxRect
*arg1
= (wxRect
*) 0 ;
7493 PyObject
* obj0
= 0 ;
7494 PyObject
* obj1
= 0 ;
7495 char * kwnames
[] = {
7496 (char *) "self",(char *) "rect", NULL
7499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7501 if (!SWIG_IsOK(res1
)) {
7502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_Intersect" "', expected argument " "1"" of type '" "wxRect *""'");
7504 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7507 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7511 result
= (arg1
)->Intersect((wxRect
const &)*arg2
);
7512 wxPyEndAllowThreads(__tstate
);
7513 if (PyErr_Occurred()) SWIG_fail
;
7515 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
7522 SWIGINTERN PyObject
*_wrap_Rect_Union(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7523 PyObject
*resultobj
= 0;
7524 wxRect
*arg1
= (wxRect
*) 0 ;
7530 PyObject
* obj0
= 0 ;
7531 PyObject
* obj1
= 0 ;
7532 char * kwnames
[] = {
7533 (char *) "self",(char *) "rect", NULL
7536 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Union",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7537 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7538 if (!SWIG_IsOK(res1
)) {
7539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_Union" "', expected argument " "1"" of type '" "wxRect *""'");
7541 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7544 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7548 result
= (arg1
)->Union((wxRect
const &)*arg2
);
7549 wxPyEndAllowThreads(__tstate
);
7550 if (PyErr_Occurred()) SWIG_fail
;
7552 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
7559 SWIGINTERN PyObject
*_wrap_Rect___add__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7560 PyObject
*resultobj
= 0;
7561 wxRect
*arg1
= (wxRect
*) 0 ;
7567 PyObject
* obj0
= 0 ;
7568 PyObject
* obj1
= 0 ;
7569 char * kwnames
[] = {
7570 (char *) "self",(char *) "rect", NULL
7573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___add__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7574 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7575 if (!SWIG_IsOK(res1
)) {
7576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect___add__" "', expected argument " "1"" of type '" "wxRect const *""'");
7578 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7581 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7585 result
= ((wxRect
const *)arg1
)->operator +((wxRect
const &)*arg2
);
7586 wxPyEndAllowThreads(__tstate
);
7587 if (PyErr_Occurred()) SWIG_fail
;
7589 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
7596 SWIGINTERN PyObject
*_wrap_Rect___iadd__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7597 PyObject
*resultobj
= 0;
7598 wxRect
*arg1
= (wxRect
*) 0 ;
7600 wxRect
*result
= 0 ;
7604 PyObject
* obj0
= 0 ;
7605 PyObject
* obj1
= 0 ;
7606 char * kwnames
[] = {
7607 (char *) "self",(char *) "rect", NULL
7610 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___iadd__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7611 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, SWIG_POINTER_DISOWN
| 0 );
7612 if (!SWIG_IsOK(res1
)) {
7613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect___iadd__" "', expected argument " "1"" of type '" "wxRect *""'");
7615 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7618 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7623 wxRect
&_result_ref
= (arg1
)->operator +=((wxRect
const &)*arg2
);
7624 result
= (wxRect
*) &_result_ref
;
7626 wxPyEndAllowThreads(__tstate
);
7627 if (PyErr_Occurred()) SWIG_fail
;
7629 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
7636 SWIGINTERN PyObject
*_wrap_Rect___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7637 PyObject
*resultobj
= 0;
7638 wxRect
*arg1
= (wxRect
*) 0 ;
7639 PyObject
*arg2
= (PyObject
*) 0 ;
7643 PyObject
* obj0
= 0 ;
7644 PyObject
* obj1
= 0 ;
7645 char * kwnames
[] = {
7646 (char *) "self",(char *) "other", NULL
7649 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7650 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7651 if (!SWIG_IsOK(res1
)) {
7652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect___eq__" "', expected argument " "1"" of type '" "wxRect *""'");
7654 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7657 result
= (bool)wxRect___eq__(arg1
,arg2
);
7658 if (PyErr_Occurred()) SWIG_fail
;
7661 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7669 SWIGINTERN PyObject
*_wrap_Rect___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7670 PyObject
*resultobj
= 0;
7671 wxRect
*arg1
= (wxRect
*) 0 ;
7672 PyObject
*arg2
= (PyObject
*) 0 ;
7676 PyObject
* obj0
= 0 ;
7677 PyObject
* obj1
= 0 ;
7678 char * kwnames
[] = {
7679 (char *) "self",(char *) "other", NULL
7682 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7683 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7684 if (!SWIG_IsOK(res1
)) {
7685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect___ne__" "', expected argument " "1"" of type '" "wxRect *""'");
7687 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7690 result
= (bool)wxRect___ne__(arg1
,arg2
);
7691 if (PyErr_Occurred()) SWIG_fail
;
7694 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7702 SWIGINTERN PyObject
*_wrap_Rect_ContainsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7703 PyObject
*resultobj
= 0;
7704 wxRect
*arg1
= (wxRect
*) 0 ;
7714 PyObject
* obj0
= 0 ;
7715 PyObject
* obj1
= 0 ;
7716 PyObject
* obj2
= 0 ;
7717 char * kwnames
[] = {
7718 (char *) "self",(char *) "x",(char *) "y", NULL
7721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_ContainsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7722 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7723 if (!SWIG_IsOK(res1
)) {
7724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_ContainsXY" "', expected argument " "1"" of type '" "wxRect const *""'");
7726 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7727 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7728 if (!SWIG_IsOK(ecode2
)) {
7729 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_ContainsXY" "', expected argument " "2"" of type '" "int""'");
7731 arg2
= static_cast< int >(val2
);
7732 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7733 if (!SWIG_IsOK(ecode3
)) {
7734 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Rect_ContainsXY" "', expected argument " "3"" of type '" "int""'");
7736 arg3
= static_cast< int >(val3
);
7738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7739 result
= (bool)((wxRect
const *)arg1
)->Contains(arg2
,arg3
);
7740 wxPyEndAllowThreads(__tstate
);
7741 if (PyErr_Occurred()) SWIG_fail
;
7744 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7752 SWIGINTERN PyObject
*_wrap_Rect_Contains(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7753 PyObject
*resultobj
= 0;
7754 wxRect
*arg1
= (wxRect
*) 0 ;
7760 PyObject
* obj0
= 0 ;
7761 PyObject
* obj1
= 0 ;
7762 char * kwnames
[] = {
7763 (char *) "self",(char *) "pt", NULL
7766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Contains",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7767 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7768 if (!SWIG_IsOK(res1
)) {
7769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_Contains" "', expected argument " "1"" of type '" "wxRect const *""'");
7771 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7774 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
7777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7778 result
= (bool)((wxRect
const *)arg1
)->Contains((wxPoint
const &)*arg2
);
7779 wxPyEndAllowThreads(__tstate
);
7780 if (PyErr_Occurred()) SWIG_fail
;
7783 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7791 SWIGINTERN PyObject
*_wrap_Rect_ContainsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7792 PyObject
*resultobj
= 0;
7793 wxRect
*arg1
= (wxRect
*) 0 ;
7799 PyObject
* obj0
= 0 ;
7800 PyObject
* obj1
= 0 ;
7801 char * kwnames
[] = {
7802 (char *) "self",(char *) "rect", NULL
7805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_ContainsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7806 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7807 if (!SWIG_IsOK(res1
)) {
7808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_ContainsRect" "', expected argument " "1"" of type '" "wxRect const *""'");
7810 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7813 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7817 result
= (bool)((wxRect
const *)arg1
)->Contains((wxRect
const &)*arg2
);
7818 wxPyEndAllowThreads(__tstate
);
7819 if (PyErr_Occurred()) SWIG_fail
;
7822 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7830 SWIGINTERN PyObject
*_wrap_Rect_Intersects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7831 PyObject
*resultobj
= 0;
7832 wxRect
*arg1
= (wxRect
*) 0 ;
7838 PyObject
* obj0
= 0 ;
7839 PyObject
* obj1
= 0 ;
7840 char * kwnames
[] = {
7841 (char *) "self",(char *) "rect", NULL
7844 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersects",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7845 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7846 if (!SWIG_IsOK(res1
)) {
7847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_Intersects" "', expected argument " "1"" of type '" "wxRect const *""'");
7849 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7852 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7856 result
= (bool)((wxRect
const *)arg1
)->Intersects((wxRect
const &)*arg2
);
7857 wxPyEndAllowThreads(__tstate
);
7858 if (PyErr_Occurred()) SWIG_fail
;
7861 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7869 SWIGINTERN PyObject
*_wrap_Rect_CenterIn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7870 PyObject
*resultobj
= 0;
7871 wxRect
*arg1
= (wxRect
*) 0 ;
7873 int arg3
= (int) wxBOTH
;
7880 PyObject
* obj0
= 0 ;
7881 PyObject
* obj1
= 0 ;
7882 PyObject
* obj2
= 0 ;
7883 char * kwnames
[] = {
7884 (char *) "self",(char *) "r",(char *) "dir", NULL
7887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Rect_CenterIn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7888 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7889 if (!SWIG_IsOK(res1
)) {
7890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_CenterIn" "', expected argument " "1"" of type '" "wxRect *""'");
7892 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7895 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7898 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7899 if (!SWIG_IsOK(ecode3
)) {
7900 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Rect_CenterIn" "', expected argument " "3"" of type '" "int""'");
7902 arg3
= static_cast< int >(val3
);
7905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7906 result
= (arg1
)->CenterIn((wxRect
const &)*arg2
,arg3
);
7907 wxPyEndAllowThreads(__tstate
);
7908 if (PyErr_Occurred()) SWIG_fail
;
7910 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
7917 SWIGINTERN PyObject
*_wrap_Rect_x_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7918 PyObject
*resultobj
= 0;
7919 wxRect
*arg1
= (wxRect
*) 0 ;
7925 PyObject
*swig_obj
[2] ;
7927 if (!SWIG_Python_UnpackTuple(args
,"Rect_x_set",2,2,swig_obj
)) SWIG_fail
;
7928 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7929 if (!SWIG_IsOK(res1
)) {
7930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_x_set" "', expected argument " "1"" of type '" "wxRect *""'");
7932 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7933 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
7934 if (!SWIG_IsOK(ecode2
)) {
7935 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_x_set" "', expected argument " "2"" of type '" "int""'");
7937 arg2
= static_cast< int >(val2
);
7938 if (arg1
) (arg1
)->x
= arg2
;
7940 resultobj
= SWIG_Py_Void();
7947 SWIGINTERN PyObject
*_wrap_Rect_x_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7948 PyObject
*resultobj
= 0;
7949 wxRect
*arg1
= (wxRect
*) 0 ;
7953 PyObject
*swig_obj
[1] ;
7955 if (!args
) SWIG_fail
;
7957 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7958 if (!SWIG_IsOK(res1
)) {
7959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_x_get" "', expected argument " "1"" of type '" "wxRect *""'");
7961 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7962 result
= (int) ((arg1
)->x
);
7963 resultobj
= SWIG_From_int(static_cast< int >(result
));
7970 SWIGINTERN PyObject
*_wrap_Rect_y_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7971 PyObject
*resultobj
= 0;
7972 wxRect
*arg1
= (wxRect
*) 0 ;
7978 PyObject
*swig_obj
[2] ;
7980 if (!SWIG_Python_UnpackTuple(args
,"Rect_y_set",2,2,swig_obj
)) SWIG_fail
;
7981 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7982 if (!SWIG_IsOK(res1
)) {
7983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_y_set" "', expected argument " "1"" of type '" "wxRect *""'");
7985 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7986 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
7987 if (!SWIG_IsOK(ecode2
)) {
7988 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_y_set" "', expected argument " "2"" of type '" "int""'");
7990 arg2
= static_cast< int >(val2
);
7991 if (arg1
) (arg1
)->y
= arg2
;
7993 resultobj
= SWIG_Py_Void();
8000 SWIGINTERN PyObject
*_wrap_Rect_y_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8001 PyObject
*resultobj
= 0;
8002 wxRect
*arg1
= (wxRect
*) 0 ;
8006 PyObject
*swig_obj
[1] ;
8008 if (!args
) SWIG_fail
;
8010 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
8011 if (!SWIG_IsOK(res1
)) {
8012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_y_get" "', expected argument " "1"" of type '" "wxRect *""'");
8014 arg1
= reinterpret_cast< wxRect
* >(argp1
);
8015 result
= (int) ((arg1
)->y
);
8016 resultobj
= SWIG_From_int(static_cast< int >(result
));
8023 SWIGINTERN PyObject
*_wrap_Rect_width_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8024 PyObject
*resultobj
= 0;
8025 wxRect
*arg1
= (wxRect
*) 0 ;
8031 PyObject
*swig_obj
[2] ;
8033 if (!SWIG_Python_UnpackTuple(args
,"Rect_width_set",2,2,swig_obj
)) SWIG_fail
;
8034 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
8035 if (!SWIG_IsOK(res1
)) {
8036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_width_set" "', expected argument " "1"" of type '" "wxRect *""'");
8038 arg1
= reinterpret_cast< wxRect
* >(argp1
);
8039 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
8040 if (!SWIG_IsOK(ecode2
)) {
8041 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_width_set" "', expected argument " "2"" of type '" "int""'");
8043 arg2
= static_cast< int >(val2
);
8044 if (arg1
) (arg1
)->width
= arg2
;
8046 resultobj
= SWIG_Py_Void();
8053 SWIGINTERN PyObject
*_wrap_Rect_width_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8054 PyObject
*resultobj
= 0;
8055 wxRect
*arg1
= (wxRect
*) 0 ;
8059 PyObject
*swig_obj
[1] ;
8061 if (!args
) SWIG_fail
;
8063 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
8064 if (!SWIG_IsOK(res1
)) {
8065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_width_get" "', expected argument " "1"" of type '" "wxRect *""'");
8067 arg1
= reinterpret_cast< wxRect
* >(argp1
);
8068 result
= (int) ((arg1
)->width
);
8069 resultobj
= SWIG_From_int(static_cast< int >(result
));
8076 SWIGINTERN PyObject
*_wrap_Rect_height_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8077 PyObject
*resultobj
= 0;
8078 wxRect
*arg1
= (wxRect
*) 0 ;
8084 PyObject
*swig_obj
[2] ;
8086 if (!SWIG_Python_UnpackTuple(args
,"Rect_height_set",2,2,swig_obj
)) SWIG_fail
;
8087 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
8088 if (!SWIG_IsOK(res1
)) {
8089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_height_set" "', expected argument " "1"" of type '" "wxRect *""'");
8091 arg1
= reinterpret_cast< wxRect
* >(argp1
);
8092 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
8093 if (!SWIG_IsOK(ecode2
)) {
8094 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_height_set" "', expected argument " "2"" of type '" "int""'");
8096 arg2
= static_cast< int >(val2
);
8097 if (arg1
) (arg1
)->height
= arg2
;
8099 resultobj
= SWIG_Py_Void();
8106 SWIGINTERN PyObject
*_wrap_Rect_height_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8107 PyObject
*resultobj
= 0;
8108 wxRect
*arg1
= (wxRect
*) 0 ;
8112 PyObject
*swig_obj
[1] ;
8114 if (!args
) SWIG_fail
;
8116 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
8117 if (!SWIG_IsOK(res1
)) {
8118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_height_get" "', expected argument " "1"" of type '" "wxRect *""'");
8120 arg1
= reinterpret_cast< wxRect
* >(argp1
);
8121 result
= (int) ((arg1
)->height
);
8122 resultobj
= SWIG_From_int(static_cast< int >(result
));
8129 SWIGINTERN PyObject
*_wrap_Rect_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8130 PyObject
*resultobj
= 0;
8131 wxRect
*arg1
= (wxRect
*) 0 ;
8132 int arg2
= (int) 0 ;
8133 int arg3
= (int) 0 ;
8134 int arg4
= (int) 0 ;
8135 int arg5
= (int) 0 ;
8146 PyObject
* obj0
= 0 ;
8147 PyObject
* obj1
= 0 ;
8148 PyObject
* obj2
= 0 ;
8149 PyObject
* obj3
= 0 ;
8150 PyObject
* obj4
= 0 ;
8151 char * kwnames
[] = {
8152 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
8155 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Rect_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8156 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
8157 if (!SWIG_IsOK(res1
)) {
8158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_Set" "', expected argument " "1"" of type '" "wxRect *""'");
8160 arg1
= reinterpret_cast< wxRect
* >(argp1
);
8162 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8163 if (!SWIG_IsOK(ecode2
)) {
8164 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_Set" "', expected argument " "2"" of type '" "int""'");
8166 arg2
= static_cast< int >(val2
);
8169 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8170 if (!SWIG_IsOK(ecode3
)) {
8171 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Rect_Set" "', expected argument " "3"" of type '" "int""'");
8173 arg3
= static_cast< int >(val3
);
8176 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8177 if (!SWIG_IsOK(ecode4
)) {
8178 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Rect_Set" "', expected argument " "4"" of type '" "int""'");
8180 arg4
= static_cast< int >(val4
);
8183 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8184 if (!SWIG_IsOK(ecode5
)) {
8185 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Rect_Set" "', expected argument " "5"" of type '" "int""'");
8187 arg5
= static_cast< int >(val5
);
8190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8191 wxRect_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
8192 wxPyEndAllowThreads(__tstate
);
8193 if (PyErr_Occurred()) SWIG_fail
;
8195 resultobj
= SWIG_Py_Void();
8202 SWIGINTERN PyObject
*_wrap_Rect_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8203 PyObject
*resultobj
= 0;
8204 wxRect
*arg1
= (wxRect
*) 0 ;
8205 PyObject
*result
= 0 ;
8208 PyObject
*swig_obj
[1] ;
8210 if (!args
) SWIG_fail
;
8212 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
8213 if (!SWIG_IsOK(res1
)) {
8214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_Get" "', expected argument " "1"" of type '" "wxRect *""'");
8216 arg1
= reinterpret_cast< wxRect
* >(argp1
);
8218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8219 result
= (PyObject
*)wxRect_Get(arg1
);
8220 wxPyEndAllowThreads(__tstate
);
8221 if (PyErr_Occurred()) SWIG_fail
;
8230 SWIGINTERN PyObject
*Rect_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8232 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8233 SWIG_TypeNewClientData(SWIGTYPE_p_wxRect
, SWIG_NewClientData(obj
));
8234 return SWIG_Py_Void();
8237 SWIGINTERN PyObject
*Rect_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8238 return SWIG_Python_InitShadowInstance(args
);
8241 SWIGINTERN PyObject
*_wrap_IntersectRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8242 PyObject
*resultobj
= 0;
8243 wxRect
*arg1
= (wxRect
*) 0 ;
8244 wxRect
*arg2
= (wxRect
*) 0 ;
8245 PyObject
*result
= 0 ;
8250 PyObject
* obj0
= 0 ;
8251 PyObject
* obj1
= 0 ;
8252 char * kwnames
[] = {
8253 (char *) "r1",(char *) "r2", NULL
8256 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IntersectRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8257 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
8258 if (!SWIG_IsOK(res1
)) {
8259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IntersectRect" "', expected argument " "1"" of type '" "wxRect *""'");
8261 arg1
= reinterpret_cast< wxRect
* >(argp1
);
8262 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
8263 if (!SWIG_IsOK(res2
)) {
8264 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IntersectRect" "', expected argument " "2"" of type '" "wxRect *""'");
8266 arg2
= reinterpret_cast< wxRect
* >(argp2
);
8268 if (!wxPyCheckForApp()) SWIG_fail
;
8269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8270 result
= (PyObject
*)wxIntersectRect(arg1
,arg2
);
8271 wxPyEndAllowThreads(__tstate
);
8272 if (PyErr_Occurred()) SWIG_fail
;
8281 SWIGINTERN PyObject
*_wrap_new_Point2D(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8282 PyObject
*resultobj
= 0;
8283 double arg1
= (double) 0.0 ;
8284 double arg2
= (double) 0.0 ;
8285 wxPoint2D
*result
= 0 ;
8290 PyObject
* obj0
= 0 ;
8291 PyObject
* obj1
= 0 ;
8292 char * kwnames
[] = {
8293 (char *) "x",(char *) "y", NULL
8296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point2D",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8298 ecode1
= SWIG_AsVal_double(obj0
, &val1
);
8299 if (!SWIG_IsOK(ecode1
)) {
8300 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Point2D" "', expected argument " "1"" of type '" "double""'");
8302 arg1
= static_cast< double >(val1
);
8305 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
8306 if (!SWIG_IsOK(ecode2
)) {
8307 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Point2D" "', expected argument " "2"" of type '" "double""'");
8309 arg2
= static_cast< double >(val2
);
8312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8313 result
= (wxPoint2D
*)new wxPoint2D(arg1
,arg2
);
8314 wxPyEndAllowThreads(__tstate
);
8315 if (PyErr_Occurred()) SWIG_fail
;
8317 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_NEW
| 0 );
8324 SWIGINTERN PyObject
*_wrap_new_Point2DCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8325 PyObject
*resultobj
= 0;
8326 wxPoint2D
*arg1
= 0 ;
8327 wxPoint2D
*result
= 0 ;
8329 PyObject
* obj0
= 0 ;
8330 char * kwnames
[] = {
8334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DCopy",kwnames
,&obj0
)) SWIG_fail
;
8337 if ( ! wxPoint2D_helper(obj0
, &arg1
)) SWIG_fail
;
8340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8341 result
= (wxPoint2D
*)new wxPoint2D((wxPoint2D
const &)*arg1
);
8342 wxPyEndAllowThreads(__tstate
);
8343 if (PyErr_Occurred()) SWIG_fail
;
8345 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
8352 SWIGINTERN PyObject
*_wrap_new_Point2DFromPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8353 PyObject
*resultobj
= 0;
8355 wxPoint2D
*result
= 0 ;
8357 PyObject
* obj0
= 0 ;
8358 char * kwnames
[] = {
8362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DFromPoint",kwnames
,&obj0
)) SWIG_fail
;
8365 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
8368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8369 result
= (wxPoint2D
*)new wxPoint2D((wxPoint
const &)*arg1
);
8370 wxPyEndAllowThreads(__tstate
);
8371 if (PyErr_Occurred()) SWIG_fail
;
8373 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
8380 SWIGINTERN PyObject
*_wrap_delete_Point2D(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8381 PyObject
*resultobj
= 0;
8382 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8385 PyObject
*swig_obj
[1] ;
8387 if (!args
) SWIG_fail
;
8389 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_DISOWN
| 0 );
8390 if (!SWIG_IsOK(res1
)) {
8391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Point2D" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8393 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8398 wxPyEndAllowThreads(__tstate
);
8399 if (PyErr_Occurred()) SWIG_fail
;
8401 resultobj
= SWIG_Py_Void();
8408 SWIGINTERN PyObject
*_wrap_Point2D_GetFloor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8409 PyObject
*resultobj
= 0;
8410 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8411 int *arg2
= (int *) 0 ;
8412 int *arg3
= (int *) 0 ;
8416 int res2
= SWIG_TMPOBJ
;
8418 int res3
= SWIG_TMPOBJ
;
8419 PyObject
*swig_obj
[1] ;
8423 if (!args
) SWIG_fail
;
8425 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8426 if (!SWIG_IsOK(res1
)) {
8427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_GetFloor" "', expected argument " "1"" of type '" "wxPoint2D const *""'");
8429 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8432 ((wxPoint2D
const *)arg1
)->GetFloor(arg2
,arg3
);
8433 wxPyEndAllowThreads(__tstate
);
8434 if (PyErr_Occurred()) SWIG_fail
;
8436 resultobj
= SWIG_Py_Void();
8437 if (SWIG_IsTmpObj(res2
)) {
8438 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
8440 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8441 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
8443 if (SWIG_IsTmpObj(res3
)) {
8444 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
8446 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8447 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
8455 SWIGINTERN PyObject
*_wrap_Point2D_GetRounded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8456 PyObject
*resultobj
= 0;
8457 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8458 int *arg2
= (int *) 0 ;
8459 int *arg3
= (int *) 0 ;
8463 int res2
= SWIG_TMPOBJ
;
8465 int res3
= SWIG_TMPOBJ
;
8466 PyObject
*swig_obj
[1] ;
8470 if (!args
) SWIG_fail
;
8472 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8473 if (!SWIG_IsOK(res1
)) {
8474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_GetRounded" "', expected argument " "1"" of type '" "wxPoint2D const *""'");
8476 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8479 ((wxPoint2D
const *)arg1
)->GetRounded(arg2
,arg3
);
8480 wxPyEndAllowThreads(__tstate
);
8481 if (PyErr_Occurred()) SWIG_fail
;
8483 resultobj
= SWIG_Py_Void();
8484 if (SWIG_IsTmpObj(res2
)) {
8485 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
8487 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8488 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
8490 if (SWIG_IsTmpObj(res3
)) {
8491 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
8493 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8494 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
8502 SWIGINTERN PyObject
*_wrap_Point2D_GetVectorLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8503 PyObject
*resultobj
= 0;
8504 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8508 PyObject
*swig_obj
[1] ;
8510 if (!args
) SWIG_fail
;
8512 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8513 if (!SWIG_IsOK(res1
)) {
8514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_GetVectorLength" "', expected argument " "1"" of type '" "wxPoint2D const *""'");
8516 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8519 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorLength();
8520 wxPyEndAllowThreads(__tstate
);
8521 if (PyErr_Occurred()) SWIG_fail
;
8523 resultobj
= SWIG_From_double(static_cast< double >(result
));
8530 SWIGINTERN PyObject
*_wrap_Point2D_GetVectorAngle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8531 PyObject
*resultobj
= 0;
8532 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8536 PyObject
*swig_obj
[1] ;
8538 if (!args
) SWIG_fail
;
8540 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8541 if (!SWIG_IsOK(res1
)) {
8542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_GetVectorAngle" "', expected argument " "1"" of type '" "wxPoint2D const *""'");
8544 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8547 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorAngle();
8548 wxPyEndAllowThreads(__tstate
);
8549 if (PyErr_Occurred()) SWIG_fail
;
8551 resultobj
= SWIG_From_double(static_cast< double >(result
));
8558 SWIGINTERN PyObject
*_wrap_Point2D_SetVectorLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8559 PyObject
*resultobj
= 0;
8560 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8566 PyObject
* obj0
= 0 ;
8567 PyObject
* obj1
= 0 ;
8568 char * kwnames
[] = {
8569 (char *) "self",(char *) "length", NULL
8572 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8573 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8574 if (!SWIG_IsOK(res1
)) {
8575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_SetVectorLength" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8577 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8578 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
8579 if (!SWIG_IsOK(ecode2
)) {
8580 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Point2D_SetVectorLength" "', expected argument " "2"" of type '" "double""'");
8582 arg2
= static_cast< double >(val2
);
8584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8585 (arg1
)->SetVectorLength(arg2
);
8586 wxPyEndAllowThreads(__tstate
);
8587 if (PyErr_Occurred()) SWIG_fail
;
8589 resultobj
= SWIG_Py_Void();
8596 SWIGINTERN PyObject
*_wrap_Point2D_SetVectorAngle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8597 PyObject
*resultobj
= 0;
8598 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8604 PyObject
* obj0
= 0 ;
8605 PyObject
* obj1
= 0 ;
8606 char * kwnames
[] = {
8607 (char *) "self",(char *) "degrees", NULL
8610 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorAngle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8611 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8612 if (!SWIG_IsOK(res1
)) {
8613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_SetVectorAngle" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8615 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8616 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
8617 if (!SWIG_IsOK(ecode2
)) {
8618 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Point2D_SetVectorAngle" "', expected argument " "2"" of type '" "double""'");
8620 arg2
= static_cast< double >(val2
);
8622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8623 (arg1
)->SetVectorAngle(arg2
);
8624 wxPyEndAllowThreads(__tstate
);
8625 if (PyErr_Occurred()) SWIG_fail
;
8627 resultobj
= SWIG_Py_Void();
8634 SWIGINTERN PyObject
*_wrap_Point2D_GetDistance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8635 PyObject
*resultobj
= 0;
8636 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8637 wxPoint2D
*arg2
= 0 ;
8642 PyObject
* obj0
= 0 ;
8643 PyObject
* obj1
= 0 ;
8644 char * kwnames
[] = {
8645 (char *) "self",(char *) "pt", NULL
8648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistance",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8649 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8650 if (!SWIG_IsOK(res1
)) {
8651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_GetDistance" "', expected argument " "1"" of type '" "wxPoint2D const *""'");
8653 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8656 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
8659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8660 result
= (double)((wxPoint2D
const *)arg1
)->GetDistance((wxPoint2D
const &)*arg2
);
8661 wxPyEndAllowThreads(__tstate
);
8662 if (PyErr_Occurred()) SWIG_fail
;
8664 resultobj
= SWIG_From_double(static_cast< double >(result
));
8671 SWIGINTERN PyObject
*_wrap_Point2D_GetDistanceSquare(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8672 PyObject
*resultobj
= 0;
8673 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8674 wxPoint2D
*arg2
= 0 ;
8679 PyObject
* obj0
= 0 ;
8680 PyObject
* obj1
= 0 ;
8681 char * kwnames
[] = {
8682 (char *) "self",(char *) "pt", NULL
8685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistanceSquare",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8686 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8687 if (!SWIG_IsOK(res1
)) {
8688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_GetDistanceSquare" "', expected argument " "1"" of type '" "wxPoint2D const *""'");
8690 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8693 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
8696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8697 result
= (double)((wxPoint2D
const *)arg1
)->GetDistanceSquare((wxPoint2D
const &)*arg2
);
8698 wxPyEndAllowThreads(__tstate
);
8699 if (PyErr_Occurred()) SWIG_fail
;
8701 resultobj
= SWIG_From_double(static_cast< double >(result
));
8708 SWIGINTERN PyObject
*_wrap_Point2D_GetDotProduct(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8709 PyObject
*resultobj
= 0;
8710 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8711 wxPoint2D
*arg2
= 0 ;
8716 PyObject
* obj0
= 0 ;
8717 PyObject
* obj1
= 0 ;
8718 char * kwnames
[] = {
8719 (char *) "self",(char *) "vec", NULL
8722 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDotProduct",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8723 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8724 if (!SWIG_IsOK(res1
)) {
8725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_GetDotProduct" "', expected argument " "1"" of type '" "wxPoint2D const *""'");
8727 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8730 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
8733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8734 result
= (double)((wxPoint2D
const *)arg1
)->GetDotProduct((wxPoint2D
const &)*arg2
);
8735 wxPyEndAllowThreads(__tstate
);
8736 if (PyErr_Occurred()) SWIG_fail
;
8738 resultobj
= SWIG_From_double(static_cast< double >(result
));
8745 SWIGINTERN PyObject
*_wrap_Point2D_GetCrossProduct(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8746 PyObject
*resultobj
= 0;
8747 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8748 wxPoint2D
*arg2
= 0 ;
8753 PyObject
* obj0
= 0 ;
8754 PyObject
* obj1
= 0 ;
8755 char * kwnames
[] = {
8756 (char *) "self",(char *) "vec", NULL
8759 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetCrossProduct",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8760 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8761 if (!SWIG_IsOK(res1
)) {
8762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_GetCrossProduct" "', expected argument " "1"" of type '" "wxPoint2D const *""'");
8764 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8767 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
8770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8771 result
= (double)((wxPoint2D
const *)arg1
)->GetCrossProduct((wxPoint2D
const &)*arg2
);
8772 wxPyEndAllowThreads(__tstate
);
8773 if (PyErr_Occurred()) SWIG_fail
;
8775 resultobj
= SWIG_From_double(static_cast< double >(result
));
8782 SWIGINTERN PyObject
*_wrap_Point2D___neg__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8783 PyObject
*resultobj
= 0;
8784 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8788 PyObject
*swig_obj
[1] ;
8790 if (!args
) SWIG_fail
;
8792 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8793 if (!SWIG_IsOK(res1
)) {
8794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D___neg__" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8796 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8799 result
= (arg1
)->operator -();
8800 wxPyEndAllowThreads(__tstate
);
8801 if (PyErr_Occurred()) SWIG_fail
;
8803 resultobj
= SWIG_NewPointerObj((new wxPoint2D(static_cast< const wxPoint2D
& >(result
))), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
8810 SWIGINTERN PyObject
*_wrap_Point2D___iadd__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8811 PyObject
*resultobj
= 0;
8812 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8813 wxPoint2D
*arg2
= 0 ;
8814 wxPoint2D
*result
= 0 ;
8818 PyObject
* obj0
= 0 ;
8819 PyObject
* obj1
= 0 ;
8820 char * kwnames
[] = {
8821 (char *) "self",(char *) "pt", NULL
8824 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___iadd__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8825 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_DISOWN
| 0 );
8826 if (!SWIG_IsOK(res1
)) {
8827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D___iadd__" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8829 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8832 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
8835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8837 wxPoint2D
&_result_ref
= (arg1
)->operator +=((wxPoint2D
const &)*arg2
);
8838 result
= (wxPoint2D
*) &_result_ref
;
8840 wxPyEndAllowThreads(__tstate
);
8841 if (PyErr_Occurred()) SWIG_fail
;
8843 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
8850 SWIGINTERN PyObject
*_wrap_Point2D___isub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8851 PyObject
*resultobj
= 0;
8852 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8853 wxPoint2D
*arg2
= 0 ;
8854 wxPoint2D
*result
= 0 ;
8858 PyObject
* obj0
= 0 ;
8859 PyObject
* obj1
= 0 ;
8860 char * kwnames
[] = {
8861 (char *) "self",(char *) "pt", NULL
8864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___isub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8865 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_DISOWN
| 0 );
8866 if (!SWIG_IsOK(res1
)) {
8867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D___isub__" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8869 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8872 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
8875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8877 wxPoint2D
&_result_ref
= (arg1
)->operator -=((wxPoint2D
const &)*arg2
);
8878 result
= (wxPoint2D
*) &_result_ref
;
8880 wxPyEndAllowThreads(__tstate
);
8881 if (PyErr_Occurred()) SWIG_fail
;
8883 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
8890 SWIGINTERN PyObject
*_wrap_Point2D___imul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8891 PyObject
*resultobj
= 0;
8892 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8893 wxPoint2D
*arg2
= 0 ;
8894 wxPoint2D
*result
= 0 ;
8898 PyObject
* obj0
= 0 ;
8899 PyObject
* obj1
= 0 ;
8900 char * kwnames
[] = {
8901 (char *) "self",(char *) "pt", NULL
8904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___imul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8905 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_DISOWN
| 0 );
8906 if (!SWIG_IsOK(res1
)) {
8907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D___imul__" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8909 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8912 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
8915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8917 wxPoint2D
&_result_ref
= (arg1
)->operator *=((wxPoint2D
const &)*arg2
);
8918 result
= (wxPoint2D
*) &_result_ref
;
8920 wxPyEndAllowThreads(__tstate
);
8921 if (PyErr_Occurred()) SWIG_fail
;
8923 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
8930 SWIGINTERN PyObject
*_wrap_Point2D___idiv__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8931 PyObject
*resultobj
= 0;
8932 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8933 wxPoint2D
*arg2
= 0 ;
8934 wxPoint2D
*result
= 0 ;
8938 PyObject
* obj0
= 0 ;
8939 PyObject
* obj1
= 0 ;
8940 char * kwnames
[] = {
8941 (char *) "self",(char *) "pt", NULL
8944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___idiv__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8945 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_DISOWN
| 0 );
8946 if (!SWIG_IsOK(res1
)) {
8947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D___idiv__" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8949 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8952 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
8955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8957 wxPoint2D
&_result_ref
= (arg1
)->operator /=((wxPoint2D
const &)*arg2
);
8958 result
= (wxPoint2D
*) &_result_ref
;
8960 wxPyEndAllowThreads(__tstate
);
8961 if (PyErr_Occurred()) SWIG_fail
;
8963 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
8970 SWIGINTERN PyObject
*_wrap_Point2D___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8971 PyObject
*resultobj
= 0;
8972 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8973 PyObject
*arg2
= (PyObject
*) 0 ;
8977 PyObject
* obj0
= 0 ;
8978 PyObject
* obj1
= 0 ;
8979 char * kwnames
[] = {
8980 (char *) "self",(char *) "other", NULL
8983 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8984 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8985 if (!SWIG_IsOK(res1
)) {
8986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D___eq__" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8988 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8991 result
= (bool)wxPoint2D___eq__(arg1
,arg2
);
8992 if (PyErr_Occurred()) SWIG_fail
;
8995 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9003 SWIGINTERN PyObject
*_wrap_Point2D___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9004 PyObject
*resultobj
= 0;
9005 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
9006 PyObject
*arg2
= (PyObject
*) 0 ;
9010 PyObject
* obj0
= 0 ;
9011 PyObject
* obj1
= 0 ;
9012 char * kwnames
[] = {
9013 (char *) "self",(char *) "other", NULL
9016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9017 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
9018 if (!SWIG_IsOK(res1
)) {
9019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D___ne__" "', expected argument " "1"" of type '" "wxPoint2D *""'");
9021 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
9024 result
= (bool)wxPoint2D___ne__(arg1
,arg2
);
9025 if (PyErr_Occurred()) SWIG_fail
;
9028 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9036 SWIGINTERN PyObject
*_wrap_Point2D_x_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9037 PyObject
*resultobj
= 0;
9038 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
9044 PyObject
*swig_obj
[2] ;
9046 if (!SWIG_Python_UnpackTuple(args
,"Point2D_x_set",2,2,swig_obj
)) SWIG_fail
;
9047 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
9048 if (!SWIG_IsOK(res1
)) {
9049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_x_set" "', expected argument " "1"" of type '" "wxPoint2D *""'");
9051 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
9052 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
9053 if (!SWIG_IsOK(ecode2
)) {
9054 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Point2D_x_set" "', expected argument " "2"" of type '" "double""'");
9056 arg2
= static_cast< double >(val2
);
9057 if (arg1
) (arg1
)->m_x
= arg2
;
9059 resultobj
= SWIG_Py_Void();
9066 SWIGINTERN PyObject
*_wrap_Point2D_x_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9067 PyObject
*resultobj
= 0;
9068 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
9072 PyObject
*swig_obj
[1] ;
9074 if (!args
) SWIG_fail
;
9076 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
9077 if (!SWIG_IsOK(res1
)) {
9078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_x_get" "', expected argument " "1"" of type '" "wxPoint2D *""'");
9080 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
9081 result
= (double) ((arg1
)->m_x
);
9082 resultobj
= SWIG_From_double(static_cast< double >(result
));
9089 SWIGINTERN PyObject
*_wrap_Point2D_y_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9090 PyObject
*resultobj
= 0;
9091 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
9097 PyObject
*swig_obj
[2] ;
9099 if (!SWIG_Python_UnpackTuple(args
,"Point2D_y_set",2,2,swig_obj
)) SWIG_fail
;
9100 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
9101 if (!SWIG_IsOK(res1
)) {
9102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_y_set" "', expected argument " "1"" of type '" "wxPoint2D *""'");
9104 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
9105 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
9106 if (!SWIG_IsOK(ecode2
)) {
9107 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Point2D_y_set" "', expected argument " "2"" of type '" "double""'");
9109 arg2
= static_cast< double >(val2
);
9110 if (arg1
) (arg1
)->m_y
= arg2
;
9112 resultobj
= SWIG_Py_Void();
9119 SWIGINTERN PyObject
*_wrap_Point2D_y_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9120 PyObject
*resultobj
= 0;
9121 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
9125 PyObject
*swig_obj
[1] ;
9127 if (!args
) SWIG_fail
;
9129 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
9130 if (!SWIG_IsOK(res1
)) {
9131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_y_get" "', expected argument " "1"" of type '" "wxPoint2D *""'");
9133 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
9134 result
= (double) ((arg1
)->m_y
);
9135 resultobj
= SWIG_From_double(static_cast< double >(result
));
9142 SWIGINTERN PyObject
*_wrap_Point2D_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9143 PyObject
*resultobj
= 0;
9144 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
9145 double arg2
= (double) 0 ;
9146 double arg3
= (double) 0 ;
9153 PyObject
* obj0
= 0 ;
9154 PyObject
* obj1
= 0 ;
9155 PyObject
* obj2
= 0 ;
9156 char * kwnames
[] = {
9157 (char *) "self",(char *) "x",(char *) "y", NULL
9160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Point2D_Set",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9161 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
9162 if (!SWIG_IsOK(res1
)) {
9163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_Set" "', expected argument " "1"" of type '" "wxPoint2D *""'");
9165 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
9167 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
9168 if (!SWIG_IsOK(ecode2
)) {
9169 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Point2D_Set" "', expected argument " "2"" of type '" "double""'");
9171 arg2
= static_cast< double >(val2
);
9174 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
9175 if (!SWIG_IsOK(ecode3
)) {
9176 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Point2D_Set" "', expected argument " "3"" of type '" "double""'");
9178 arg3
= static_cast< double >(val3
);
9181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9182 wxPoint2D_Set(arg1
,arg2
,arg3
);
9183 wxPyEndAllowThreads(__tstate
);
9184 if (PyErr_Occurred()) SWIG_fail
;
9186 resultobj
= SWIG_Py_Void();
9193 SWIGINTERN PyObject
*_wrap_Point2D_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9194 PyObject
*resultobj
= 0;
9195 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
9196 PyObject
*result
= 0 ;
9199 PyObject
*swig_obj
[1] ;
9201 if (!args
) SWIG_fail
;
9203 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
9204 if (!SWIG_IsOK(res1
)) {
9205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_Get" "', expected argument " "1"" of type '" "wxPoint2D *""'");
9207 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
9209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9210 result
= (PyObject
*)wxPoint2D_Get(arg1
);
9211 wxPyEndAllowThreads(__tstate
);
9212 if (PyErr_Occurred()) SWIG_fail
;
9221 SWIGINTERN PyObject
*Point2D_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9223 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9224 SWIG_TypeNewClientData(SWIGTYPE_p_wxPoint2D
, SWIG_NewClientData(obj
));
9225 return SWIG_Py_Void();
9228 SWIGINTERN PyObject
*Point2D_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9229 return SWIG_Python_InitShadowInstance(args
);
9232 SWIGINTERN
int DefaultPosition_set(PyObject
*) {
9233 SWIG_Error(SWIG_AttributeError
,"Variable DefaultPosition is read-only.");
9238 SWIGINTERN PyObject
*DefaultPosition_get(void) {
9239 PyObject
*pyobj
= 0;
9241 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxDefaultPosition
), SWIGTYPE_p_wxPoint
, 0 );
9246 SWIGINTERN
int DefaultSize_set(PyObject
*) {
9247 SWIG_Error(SWIG_AttributeError
,"Variable DefaultSize is read-only.");
9252 SWIGINTERN PyObject
*DefaultSize_get(void) {
9253 PyObject
*pyobj
= 0;
9255 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxDefaultSize
), SWIGTYPE_p_wxSize
, 0 );
9260 SWIGINTERN PyObject
*_wrap_new_InputStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9261 PyObject
*resultobj
= 0;
9262 PyObject
*arg1
= (PyObject
*) 0 ;
9263 wxPyInputStream
*result
= 0 ;
9264 PyObject
* obj0
= 0 ;
9265 char * kwnames
[] = {
9269 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_InputStream",kwnames
,&obj0
)) SWIG_fail
;
9272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9273 result
= (wxPyInputStream
*)new_wxPyInputStream(arg1
);
9274 wxPyEndAllowThreads(__tstate
);
9275 if (PyErr_Occurred()) SWIG_fail
;
9277 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_NEW
| 0 );
9284 SWIGINTERN PyObject
*_wrap_delete_InputStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9285 PyObject
*resultobj
= 0;
9286 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
9289 PyObject
*swig_obj
[1] ;
9291 if (!args
) SWIG_fail
;
9293 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_DISOWN
| 0 );
9294 if (!SWIG_IsOK(res1
)) {
9295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_InputStream" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
9297 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
9299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9302 wxPyEndAllowThreads(__tstate
);
9303 if (PyErr_Occurred()) SWIG_fail
;
9305 resultobj
= SWIG_Py_Void();
9312 SWIGINTERN PyObject
*_wrap_InputStream_close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9313 PyObject
*resultobj
= 0;
9314 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
9317 PyObject
*swig_obj
[1] ;
9319 if (!args
) SWIG_fail
;
9321 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
9322 if (!SWIG_IsOK(res1
)) {
9323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_close" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
9325 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
9327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9329 wxPyEndAllowThreads(__tstate
);
9330 if (PyErr_Occurred()) SWIG_fail
;
9332 resultobj
= SWIG_Py_Void();
9339 SWIGINTERN PyObject
*_wrap_InputStream_flush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9340 PyObject
*resultobj
= 0;
9341 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
9344 PyObject
*swig_obj
[1] ;
9346 if (!args
) SWIG_fail
;
9348 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
9349 if (!SWIG_IsOK(res1
)) {
9350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_flush" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
9352 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
9354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9356 wxPyEndAllowThreads(__tstate
);
9357 if (PyErr_Occurred()) SWIG_fail
;
9359 resultobj
= SWIG_Py_Void();
9366 SWIGINTERN PyObject
*_wrap_InputStream_eof(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9367 PyObject
*resultobj
= 0;
9368 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
9372 PyObject
*swig_obj
[1] ;
9374 if (!args
) SWIG_fail
;
9376 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
9377 if (!SWIG_IsOK(res1
)) {
9378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_eof" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
9380 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
9382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9383 result
= (bool)(arg1
)->eof();
9384 wxPyEndAllowThreads(__tstate
);
9385 if (PyErr_Occurred()) SWIG_fail
;
9388 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9396 SWIGINTERN PyObject
*_wrap_InputStream_read(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9397 PyObject
*resultobj
= 0;
9398 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
9399 int arg2
= (int) -1 ;
9400 PyObject
*result
= 0 ;
9405 PyObject
* obj0
= 0 ;
9406 PyObject
* obj1
= 0 ;
9407 char * kwnames
[] = {
9408 (char *) "self",(char *) "size", NULL
9411 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_read",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9412 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
9413 if (!SWIG_IsOK(res1
)) {
9414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_read" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
9416 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
9418 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9419 if (!SWIG_IsOK(ecode2
)) {
9420 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "InputStream_read" "', expected argument " "2"" of type '" "int""'");
9422 arg2
= static_cast< int >(val2
);
9425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9426 result
= (PyObject
*)(arg1
)->read(arg2
);
9427 wxPyEndAllowThreads(__tstate
);
9428 if (PyErr_Occurred()) SWIG_fail
;
9437 SWIGINTERN PyObject
*_wrap_InputStream_readline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9438 PyObject
*resultobj
= 0;
9439 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
9440 int arg2
= (int) -1 ;
9441 PyObject
*result
= 0 ;
9446 PyObject
* obj0
= 0 ;
9447 PyObject
* obj1
= 0 ;
9448 char * kwnames
[] = {
9449 (char *) "self",(char *) "size", NULL
9452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9453 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
9454 if (!SWIG_IsOK(res1
)) {
9455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_readline" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
9457 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
9459 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9460 if (!SWIG_IsOK(ecode2
)) {
9461 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "InputStream_readline" "', expected argument " "2"" of type '" "int""'");
9463 arg2
= static_cast< int >(val2
);
9466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9467 result
= (PyObject
*)(arg1
)->readline(arg2
);
9468 wxPyEndAllowThreads(__tstate
);
9469 if (PyErr_Occurred()) SWIG_fail
;
9478 SWIGINTERN PyObject
*_wrap_InputStream_readlines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9479 PyObject
*resultobj
= 0;
9480 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
9481 int arg2
= (int) -1 ;
9482 PyObject
*result
= 0 ;
9487 PyObject
* obj0
= 0 ;
9488 PyObject
* obj1
= 0 ;
9489 char * kwnames
[] = {
9490 (char *) "self",(char *) "sizehint", NULL
9493 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readlines",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9494 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
9495 if (!SWIG_IsOK(res1
)) {
9496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_readlines" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
9498 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
9500 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9501 if (!SWIG_IsOK(ecode2
)) {
9502 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "InputStream_readlines" "', expected argument " "2"" of type '" "int""'");
9504 arg2
= static_cast< int >(val2
);
9507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9508 result
= (PyObject
*)(arg1
)->readlines(arg2
);
9509 wxPyEndAllowThreads(__tstate
);
9510 if (PyErr_Occurred()) SWIG_fail
;
9519 SWIGINTERN PyObject
*_wrap_InputStream_seek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9520 PyObject
*resultobj
= 0;
9521 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
9523 int arg3
= (int) 0 ;
9530 PyObject
* obj0
= 0 ;
9531 PyObject
* obj1
= 0 ;
9532 PyObject
* obj2
= 0 ;
9533 char * kwnames
[] = {
9534 (char *) "self",(char *) "offset",(char *) "whence", NULL
9537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_seek",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9538 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
9539 if (!SWIG_IsOK(res1
)) {
9540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_seek" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
9542 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
9543 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9544 if (!SWIG_IsOK(ecode2
)) {
9545 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "InputStream_seek" "', expected argument " "2"" of type '" "int""'");
9547 arg2
= static_cast< int >(val2
);
9549 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9550 if (!SWIG_IsOK(ecode3
)) {
9551 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "InputStream_seek" "', expected argument " "3"" of type '" "int""'");
9553 arg3
= static_cast< int >(val3
);
9556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9557 (arg1
)->seek(arg2
,arg3
);
9558 wxPyEndAllowThreads(__tstate
);
9559 if (PyErr_Occurred()) SWIG_fail
;
9561 resultobj
= SWIG_Py_Void();
9568 SWIGINTERN PyObject
*_wrap_InputStream_tell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9569 PyObject
*resultobj
= 0;
9570 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
9574 PyObject
*swig_obj
[1] ;
9576 if (!args
) SWIG_fail
;
9578 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
9579 if (!SWIG_IsOK(res1
)) {
9580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_tell" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
9582 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
9584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9585 result
= (int)(arg1
)->tell();
9586 wxPyEndAllowThreads(__tstate
);
9587 if (PyErr_Occurred()) SWIG_fail
;
9589 resultobj
= SWIG_From_int(static_cast< int >(result
));
9596 SWIGINTERN PyObject
*_wrap_InputStream_Peek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9597 PyObject
*resultobj
= 0;
9598 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
9602 PyObject
*swig_obj
[1] ;
9604 if (!args
) SWIG_fail
;
9606 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
9607 if (!SWIG_IsOK(res1
)) {
9608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_Peek" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
9610 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
9612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9613 result
= (char)(arg1
)->Peek();
9614 wxPyEndAllowThreads(__tstate
);
9615 if (PyErr_Occurred()) SWIG_fail
;
9617 resultobj
= SWIG_From_char(static_cast< char >(result
));
9624 SWIGINTERN PyObject
*_wrap_InputStream_GetC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9625 PyObject
*resultobj
= 0;
9626 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
9630 PyObject
*swig_obj
[1] ;
9632 if (!args
) SWIG_fail
;
9634 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
9635 if (!SWIG_IsOK(res1
)) {
9636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_GetC" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
9638 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
9640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9641 result
= (char)(arg1
)->GetC();
9642 wxPyEndAllowThreads(__tstate
);
9643 if (PyErr_Occurred()) SWIG_fail
;
9645 resultobj
= SWIG_From_char(static_cast< char >(result
));
9652 SWIGINTERN PyObject
*_wrap_InputStream_LastRead(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9653 PyObject
*resultobj
= 0;
9654 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
9658 PyObject
*swig_obj
[1] ;
9660 if (!args
) SWIG_fail
;
9662 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
9663 if (!SWIG_IsOK(res1
)) {
9664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_LastRead" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
9666 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
9668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9669 result
= (size_t)(arg1
)->LastRead();
9670 wxPyEndAllowThreads(__tstate
);
9671 if (PyErr_Occurred()) SWIG_fail
;
9673 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
9680 SWIGINTERN PyObject
*_wrap_InputStream_CanRead(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9681 PyObject
*resultobj
= 0;
9682 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
9686 PyObject
*swig_obj
[1] ;
9688 if (!args
) SWIG_fail
;
9690 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
9691 if (!SWIG_IsOK(res1
)) {
9692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_CanRead" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
9694 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
9696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9697 result
= (bool)(arg1
)->CanRead();
9698 wxPyEndAllowThreads(__tstate
);
9699 if (PyErr_Occurred()) SWIG_fail
;
9702 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9710 SWIGINTERN PyObject
*_wrap_InputStream_Eof(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9711 PyObject
*resultobj
= 0;
9712 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
9716 PyObject
*swig_obj
[1] ;
9718 if (!args
) SWIG_fail
;
9720 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
9721 if (!SWIG_IsOK(res1
)) {
9722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_Eof" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
9724 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
9726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9727 result
= (bool)(arg1
)->Eof();
9728 wxPyEndAllowThreads(__tstate
);
9729 if (PyErr_Occurred()) SWIG_fail
;
9732 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9740 SWIGINTERN PyObject
*_wrap_InputStream_Ungetch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9741 PyObject
*resultobj
= 0;
9742 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
9749 PyObject
* obj0
= 0 ;
9750 PyObject
* obj1
= 0 ;
9751 char * kwnames
[] = {
9752 (char *) "self",(char *) "c", NULL
9755 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InputStream_Ungetch",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9756 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
9757 if (!SWIG_IsOK(res1
)) {
9758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_Ungetch" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
9760 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
9761 ecode2
= SWIG_AsVal_char(obj1
, &val2
);
9762 if (!SWIG_IsOK(ecode2
)) {
9763 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "InputStream_Ungetch" "', expected argument " "2"" of type '" "char""'");
9765 arg2
= static_cast< char >(val2
);
9767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9768 result
= (bool)(arg1
)->Ungetch(arg2
);
9769 wxPyEndAllowThreads(__tstate
);
9770 if (PyErr_Occurred()) SWIG_fail
;
9773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9781 SWIGINTERN PyObject
*_wrap_InputStream_SeekI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9782 PyObject
*resultobj
= 0;
9783 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
9785 wxSeekMode arg3
= (wxSeekMode
) wxFromStart
;
9793 PyObject
* obj0
= 0 ;
9794 PyObject
* obj1
= 0 ;
9795 PyObject
* obj2
= 0 ;
9796 char * kwnames
[] = {
9797 (char *) "self",(char *) "pos",(char *) "mode", NULL
9800 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_SeekI",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9801 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
9802 if (!SWIG_IsOK(res1
)) {
9803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_SeekI" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
9805 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
9806 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9807 if (!SWIG_IsOK(ecode2
)) {
9808 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "InputStream_SeekI" "', expected argument " "2"" of type '" "long""'");
9810 arg2
= static_cast< long >(val2
);
9812 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9813 if (!SWIG_IsOK(ecode3
)) {
9814 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "InputStream_SeekI" "', expected argument " "3"" of type '" "wxSeekMode""'");
9816 arg3
= static_cast< wxSeekMode
>(val3
);
9819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9820 result
= (long)(arg1
)->SeekI(arg2
,arg3
);
9821 wxPyEndAllowThreads(__tstate
);
9822 if (PyErr_Occurred()) SWIG_fail
;
9824 resultobj
= SWIG_From_long(static_cast< long >(result
));
9831 SWIGINTERN PyObject
*_wrap_InputStream_TellI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9832 PyObject
*resultobj
= 0;
9833 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
9837 PyObject
*swig_obj
[1] ;
9839 if (!args
) SWIG_fail
;
9841 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
9842 if (!SWIG_IsOK(res1
)) {
9843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_TellI" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
9845 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
9847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9848 result
= (long)(arg1
)->TellI();
9849 wxPyEndAllowThreads(__tstate
);
9850 if (PyErr_Occurred()) SWIG_fail
;
9852 resultobj
= SWIG_From_long(static_cast< long >(result
));
9859 SWIGINTERN PyObject
*InputStream_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9861 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9862 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyInputStream
, SWIG_NewClientData(obj
));
9863 return SWIG_Py_Void();
9866 SWIGINTERN PyObject
*InputStream_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9867 return SWIG_Python_InitShadowInstance(args
);
9870 SWIGINTERN PyObject
*_wrap_OutputStream_write(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9871 PyObject
*resultobj
= 0;
9872 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
9873 PyObject
*arg2
= (PyObject
*) 0 ;
9876 PyObject
* obj0
= 0 ;
9877 PyObject
* obj1
= 0 ;
9878 char * kwnames
[] = {
9879 (char *) "self",(char *) "obj", NULL
9882 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:OutputStream_write",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9883 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxOutputStream
, 0 | 0 );
9884 if (!SWIG_IsOK(res1
)) {
9885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "OutputStream_write" "', expected argument " "1"" of type '" "wxOutputStream *""'");
9887 arg1
= reinterpret_cast< wxOutputStream
* >(argp1
);
9890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9891 wxOutputStream_write(arg1
,arg2
);
9892 wxPyEndAllowThreads(__tstate
);
9893 if (PyErr_Occurred()) SWIG_fail
;
9895 resultobj
= SWIG_Py_Void();
9902 SWIGINTERN PyObject
*_wrap_OutputStream_LastWrite(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9903 PyObject
*resultobj
= 0;
9904 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
9908 PyObject
*swig_obj
[1] ;
9910 if (!args
) SWIG_fail
;
9912 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOutputStream
, 0 | 0 );
9913 if (!SWIG_IsOK(res1
)) {
9914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "OutputStream_LastWrite" "', expected argument " "1"" of type '" "wxOutputStream const *""'");
9916 arg1
= reinterpret_cast< wxOutputStream
* >(argp1
);
9918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9919 result
= (size_t)((wxOutputStream
const *)arg1
)->LastWrite();
9920 wxPyEndAllowThreads(__tstate
);
9921 if (PyErr_Occurred()) SWIG_fail
;
9923 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
9930 SWIGINTERN PyObject
*OutputStream_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9932 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9933 SWIG_TypeNewClientData(SWIGTYPE_p_wxOutputStream
, SWIG_NewClientData(obj
));
9934 return SWIG_Py_Void();
9937 SWIGINTERN PyObject
*_wrap_new_FSFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9938 PyObject
*resultobj
= 0;
9939 wxInputStream
*arg1
= (wxInputStream
*) 0 ;
9940 wxString
*arg2
= 0 ;
9941 wxString
*arg3
= 0 ;
9942 wxString
*arg4
= 0 ;
9944 wxFSFile
*result
= 0 ;
9945 wxPyInputStream
*temp1
;
9946 bool temp2
= false ;
9947 bool temp3
= false ;
9948 bool temp4
= false ;
9951 PyObject
* obj0
= 0 ;
9952 PyObject
* obj1
= 0 ;
9953 PyObject
* obj2
= 0 ;
9954 PyObject
* obj3
= 0 ;
9955 PyObject
* obj4
= 0 ;
9956 char * kwnames
[] = {
9957 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
9960 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_FSFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
9962 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
9963 arg1
= wxPyCBInputStream_copy((wxPyCBInputStream
*)temp1
->m_wxis
);
9965 PyErr_Clear(); // clear the failure of the wxPyConvert above
9966 arg1
= wxPyCBInputStream_create(obj0
, true);
9968 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
9974 arg2
= wxString_in_helper(obj1
);
9975 if (arg2
== NULL
) SWIG_fail
;
9979 arg3
= wxString_in_helper(obj2
);
9980 if (arg3
== NULL
) SWIG_fail
;
9984 arg4
= wxString_in_helper(obj3
);
9985 if (arg4
== NULL
) SWIG_fail
;
9989 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxDateTime
, 0 | 0);
9990 if (!SWIG_IsOK(res5
)) {
9991 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "new_FSFile" "', expected argument " "5"" of type '" "wxDateTime""'");
9994 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FSFile" "', expected argument " "5"" of type '" "wxDateTime""'");
9996 wxDateTime
* temp
= reinterpret_cast< wxDateTime
* >(argp5
);
9998 if (SWIG_IsNewObj(res5
)) delete temp
;
10002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10003 result
= (wxFSFile
*)new wxFSFile(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
10004 wxPyEndAllowThreads(__tstate
);
10005 if (PyErr_Occurred()) SWIG_fail
;
10007 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFSFile
, SWIG_POINTER_NEW
| 0 );
10038 SWIGINTERN PyObject
*_wrap_delete_FSFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10039 PyObject
*resultobj
= 0;
10040 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
10043 PyObject
*swig_obj
[1] ;
10045 if (!args
) SWIG_fail
;
10046 swig_obj
[0] = args
;
10047 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFSFile
, SWIG_POINTER_DISOWN
| 0 );
10048 if (!SWIG_IsOK(res1
)) {
10049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FSFile" "', expected argument " "1"" of type '" "wxFSFile *""'");
10051 arg1
= reinterpret_cast< wxFSFile
* >(argp1
);
10053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10056 wxPyEndAllowThreads(__tstate
);
10057 if (PyErr_Occurred()) SWIG_fail
;
10059 resultobj
= SWIG_Py_Void();
10066 SWIGINTERN PyObject
*_wrap_FSFile_GetStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10067 PyObject
*resultobj
= 0;
10068 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
10069 wxInputStream
*result
= 0 ;
10072 PyObject
*swig_obj
[1] ;
10074 if (!args
) SWIG_fail
;
10075 swig_obj
[0] = args
;
10076 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFSFile
, 0 | 0 );
10077 if (!SWIG_IsOK(res1
)) {
10078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FSFile_GetStream" "', expected argument " "1"" of type '" "wxFSFile *""'");
10080 arg1
= reinterpret_cast< wxFSFile
* >(argp1
);
10082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10083 result
= (wxInputStream
*)(arg1
)->GetStream();
10084 wxPyEndAllowThreads(__tstate
);
10085 if (PyErr_Occurred()) SWIG_fail
;
10088 wxPyInputStream
* _ptr
= NULL
;
10091 _ptr
= new wxPyInputStream(result
);
10093 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
10101 SWIGINTERN PyObject
*_wrap_FSFile_DetachStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10102 PyObject
*resultobj
= 0;
10103 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
10106 PyObject
*swig_obj
[1] ;
10108 if (!args
) SWIG_fail
;
10109 swig_obj
[0] = args
;
10110 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFSFile
, 0 | 0 );
10111 if (!SWIG_IsOK(res1
)) {
10112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FSFile_DetachStream" "', expected argument " "1"" of type '" "wxFSFile *""'");
10114 arg1
= reinterpret_cast< wxFSFile
* >(argp1
);
10116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10117 (arg1
)->DetachStream();
10118 wxPyEndAllowThreads(__tstate
);
10119 if (PyErr_Occurred()) SWIG_fail
;
10121 resultobj
= SWIG_Py_Void();
10128 SWIGINTERN PyObject
*_wrap_FSFile_GetMimeType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10129 PyObject
*resultobj
= 0;
10130 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
10131 wxString
*result
= 0 ;
10134 PyObject
*swig_obj
[1] ;
10136 if (!args
) SWIG_fail
;
10137 swig_obj
[0] = args
;
10138 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFSFile
, 0 | 0 );
10139 if (!SWIG_IsOK(res1
)) {
10140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FSFile_GetMimeType" "', expected argument " "1"" of type '" "wxFSFile *""'");
10142 arg1
= reinterpret_cast< wxFSFile
* >(argp1
);
10144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10146 wxString
const &_result_ref
= (arg1
)->GetMimeType();
10147 result
= (wxString
*) &_result_ref
;
10149 wxPyEndAllowThreads(__tstate
);
10150 if (PyErr_Occurred()) SWIG_fail
;
10154 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
10156 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
10165 SWIGINTERN PyObject
*_wrap_FSFile_GetLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10166 PyObject
*resultobj
= 0;
10167 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
10168 wxString
*result
= 0 ;
10171 PyObject
*swig_obj
[1] ;
10173 if (!args
) SWIG_fail
;
10174 swig_obj
[0] = args
;
10175 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFSFile
, 0 | 0 );
10176 if (!SWIG_IsOK(res1
)) {
10177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FSFile_GetLocation" "', expected argument " "1"" of type '" "wxFSFile *""'");
10179 arg1
= reinterpret_cast< wxFSFile
* >(argp1
);
10181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10183 wxString
const &_result_ref
= (arg1
)->GetLocation();
10184 result
= (wxString
*) &_result_ref
;
10186 wxPyEndAllowThreads(__tstate
);
10187 if (PyErr_Occurred()) SWIG_fail
;
10191 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
10193 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
10202 SWIGINTERN PyObject
*_wrap_FSFile_GetAnchor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10203 PyObject
*resultobj
= 0;
10204 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
10205 wxString
*result
= 0 ;
10208 PyObject
*swig_obj
[1] ;
10210 if (!args
) SWIG_fail
;
10211 swig_obj
[0] = args
;
10212 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFSFile
, 0 | 0 );
10213 if (!SWIG_IsOK(res1
)) {
10214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FSFile_GetAnchor" "', expected argument " "1"" of type '" "wxFSFile *""'");
10216 arg1
= reinterpret_cast< wxFSFile
* >(argp1
);
10218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10220 wxString
const &_result_ref
= (arg1
)->GetAnchor();
10221 result
= (wxString
*) &_result_ref
;
10223 wxPyEndAllowThreads(__tstate
);
10224 if (PyErr_Occurred()) SWIG_fail
;
10228 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
10230 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
10239 SWIGINTERN PyObject
*_wrap_FSFile_GetModificationTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10240 PyObject
*resultobj
= 0;
10241 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
10245 PyObject
*swig_obj
[1] ;
10247 if (!args
) SWIG_fail
;
10248 swig_obj
[0] = args
;
10249 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFSFile
, 0 | 0 );
10250 if (!SWIG_IsOK(res1
)) {
10251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FSFile_GetModificationTime" "', expected argument " "1"" of type '" "wxFSFile *""'");
10253 arg1
= reinterpret_cast< wxFSFile
* >(argp1
);
10255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10256 result
= (arg1
)->GetModificationTime();
10257 wxPyEndAllowThreads(__tstate
);
10258 if (PyErr_Occurred()) SWIG_fail
;
10260 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
10267 SWIGINTERN PyObject
*FSFile_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10269 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10270 SWIG_TypeNewClientData(SWIGTYPE_p_wxFSFile
, SWIG_NewClientData(obj
));
10271 return SWIG_Py_Void();
10274 SWIGINTERN PyObject
*FSFile_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10275 return SWIG_Python_InitShadowInstance(args
);
10278 SWIGINTERN PyObject
*_wrap_delete_CPPFileSystemHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10279 PyObject
*resultobj
= 0;
10280 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
10283 PyObject
*swig_obj
[1] ;
10285 if (!args
) SWIG_fail
;
10286 swig_obj
[0] = args
;
10287 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileSystemHandler
, SWIG_POINTER_DISOWN
| 0 );
10288 if (!SWIG_IsOK(res1
)) {
10289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_CPPFileSystemHandler" "', expected argument " "1"" of type '" "wxFileSystemHandler *""'");
10291 arg1
= reinterpret_cast< wxFileSystemHandler
* >(argp1
);
10293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10296 wxPyEndAllowThreads(__tstate
);
10297 if (PyErr_Occurred()) SWIG_fail
;
10299 resultobj
= SWIG_Py_Void();
10306 SWIGINTERN PyObject
*CPPFileSystemHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10308 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10309 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileSystemHandler
, SWIG_NewClientData(obj
));
10310 return SWIG_Py_Void();
10313 SWIGINTERN PyObject
*_wrap_new_FileSystemHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10314 PyObject
*resultobj
= 0;
10315 wxPyFileSystemHandler
*result
= 0 ;
10317 if (!SWIG_Python_UnpackTuple(args
,"new_FileSystemHandler",0,0,0)) SWIG_fail
;
10319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10320 result
= (wxPyFileSystemHandler
*)new wxPyFileSystemHandler();
10321 wxPyEndAllowThreads(__tstate
);
10322 if (PyErr_Occurred()) SWIG_fail
;
10324 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_NEW
| 0 );
10331 SWIGINTERN PyObject
*_wrap_FileSystemHandler__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10332 PyObject
*resultobj
= 0;
10333 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
10334 PyObject
*arg2
= (PyObject
*) 0 ;
10335 PyObject
*arg3
= (PyObject
*) 0 ;
10338 PyObject
* obj0
= 0 ;
10339 PyObject
* obj1
= 0 ;
10340 PyObject
* obj2
= 0 ;
10341 char * kwnames
[] = {
10342 (char *) "self",(char *) "self",(char *) "_class", NULL
10345 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10346 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileSystemHandler
, 0 | 0 );
10347 if (!SWIG_IsOK(res1
)) {
10348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystemHandler__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFileSystemHandler *""'");
10350 arg1
= reinterpret_cast< wxPyFileSystemHandler
* >(argp1
);
10354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10355 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10356 wxPyEndAllowThreads(__tstate
);
10357 if (PyErr_Occurred()) SWIG_fail
;
10359 resultobj
= SWIG_Py_Void();
10366 SWIGINTERN PyObject
*_wrap_FileSystemHandler_CanOpen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10367 PyObject
*resultobj
= 0;
10368 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
10369 wxString
*arg2
= 0 ;
10373 bool temp2
= false ;
10374 PyObject
* obj0
= 0 ;
10375 PyObject
* obj1
= 0 ;
10376 char * kwnames
[] = {
10377 (char *) "self",(char *) "location", NULL
10380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_CanOpen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10381 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileSystemHandler
, 0 | 0 );
10382 if (!SWIG_IsOK(res1
)) {
10383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystemHandler_CanOpen" "', expected argument " "1"" of type '" "wxPyFileSystemHandler *""'");
10385 arg1
= reinterpret_cast< wxPyFileSystemHandler
* >(argp1
);
10387 arg2
= wxString_in_helper(obj1
);
10388 if (arg2
== NULL
) SWIG_fail
;
10392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10393 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
10394 wxPyEndAllowThreads(__tstate
);
10395 if (PyErr_Occurred()) SWIG_fail
;
10398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10414 SWIGINTERN PyObject
*_wrap_FileSystemHandler_OpenFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10415 PyObject
*resultobj
= 0;
10416 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
10417 wxFileSystem
*arg2
= 0 ;
10418 wxString
*arg3
= 0 ;
10419 wxFSFile
*result
= 0 ;
10424 bool temp3
= false ;
10425 PyObject
* obj0
= 0 ;
10426 PyObject
* obj1
= 0 ;
10427 PyObject
* obj2
= 0 ;
10428 char * kwnames
[] = {
10429 (char *) "self",(char *) "fs",(char *) "location", NULL
10432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10433 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileSystemHandler
, 0 | 0 );
10434 if (!SWIG_IsOK(res1
)) {
10435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystemHandler_OpenFile" "', expected argument " "1"" of type '" "wxPyFileSystemHandler *""'");
10437 arg1
= reinterpret_cast< wxPyFileSystemHandler
* >(argp1
);
10438 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFileSystem
, 0 );
10439 if (!SWIG_IsOK(res2
)) {
10440 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileSystemHandler_OpenFile" "', expected argument " "2"" of type '" "wxFileSystem &""'");
10443 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FileSystemHandler_OpenFile" "', expected argument " "2"" of type '" "wxFileSystem &""'");
10445 arg2
= reinterpret_cast< wxFileSystem
* >(argp2
);
10447 arg3
= wxString_in_helper(obj2
);
10448 if (arg3
== NULL
) SWIG_fail
;
10452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10453 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
10454 wxPyEndAllowThreads(__tstate
);
10455 if (PyErr_Occurred()) SWIG_fail
;
10458 resultobj
= wxPyMake_wxObject(result
, SWIG_POINTER_OWN
);
10474 SWIGINTERN PyObject
*_wrap_FileSystemHandler_FindFirst(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10475 PyObject
*resultobj
= 0;
10476 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
10477 wxString
*arg2
= 0 ;
10478 int arg3
= (int) 0 ;
10482 bool temp2
= false ;
10485 PyObject
* obj0
= 0 ;
10486 PyObject
* obj1
= 0 ;
10487 PyObject
* obj2
= 0 ;
10488 char * kwnames
[] = {
10489 (char *) "self",(char *) "spec",(char *) "flags", NULL
10492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10493 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileSystemHandler
, 0 | 0 );
10494 if (!SWIG_IsOK(res1
)) {
10495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystemHandler_FindFirst" "', expected argument " "1"" of type '" "wxPyFileSystemHandler *""'");
10497 arg1
= reinterpret_cast< wxPyFileSystemHandler
* >(argp1
);
10499 arg2
= wxString_in_helper(obj1
);
10500 if (arg2
== NULL
) SWIG_fail
;
10504 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10505 if (!SWIG_IsOK(ecode3
)) {
10506 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileSystemHandler_FindFirst" "', expected argument " "3"" of type '" "int""'");
10508 arg3
= static_cast< int >(val3
);
10511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10512 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
10513 wxPyEndAllowThreads(__tstate
);
10514 if (PyErr_Occurred()) SWIG_fail
;
10518 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10520 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10537 SWIGINTERN PyObject
*_wrap_FileSystemHandler_FindNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10538 PyObject
*resultobj
= 0;
10539 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
10543 PyObject
*swig_obj
[1] ;
10545 if (!args
) SWIG_fail
;
10546 swig_obj
[0] = args
;
10547 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFileSystemHandler
, 0 | 0 );
10548 if (!SWIG_IsOK(res1
)) {
10549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystemHandler_FindNext" "', expected argument " "1"" of type '" "wxPyFileSystemHandler *""'");
10551 arg1
= reinterpret_cast< wxPyFileSystemHandler
* >(argp1
);
10553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10554 result
= (arg1
)->FindNext();
10555 wxPyEndAllowThreads(__tstate
);
10556 if (PyErr_Occurred()) SWIG_fail
;
10560 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10562 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10571 SWIGINTERN PyObject
*_wrap_FileSystemHandler_GetProtocol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10572 PyObject
*resultobj
= 0;
10573 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
10574 wxString
*arg2
= 0 ;
10578 bool temp2
= false ;
10579 PyObject
* obj0
= 0 ;
10580 PyObject
* obj1
= 0 ;
10581 char * kwnames
[] = {
10582 (char *) "self",(char *) "location", NULL
10585 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetProtocol",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10586 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileSystemHandler
, 0 | 0 );
10587 if (!SWIG_IsOK(res1
)) {
10588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystemHandler_GetProtocol" "', expected argument " "1"" of type '" "wxPyFileSystemHandler *""'");
10590 arg1
= reinterpret_cast< wxPyFileSystemHandler
* >(argp1
);
10592 arg2
= wxString_in_helper(obj1
);
10593 if (arg2
== NULL
) SWIG_fail
;
10597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10598 result
= (arg1
)->GetProtocol((wxString
const &)*arg2
);
10599 wxPyEndAllowThreads(__tstate
);
10600 if (PyErr_Occurred()) SWIG_fail
;
10604 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10606 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10623 SWIGINTERN PyObject
*_wrap_FileSystemHandler_GetLeftLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10624 PyObject
*resultobj
= 0;
10625 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
10626 wxString
*arg2
= 0 ;
10630 bool temp2
= false ;
10631 PyObject
* obj0
= 0 ;
10632 PyObject
* obj1
= 0 ;
10633 char * kwnames
[] = {
10634 (char *) "self",(char *) "location", NULL
10637 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10638 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileSystemHandler
, 0 | 0 );
10639 if (!SWIG_IsOK(res1
)) {
10640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystemHandler_GetLeftLocation" "', expected argument " "1"" of type '" "wxPyFileSystemHandler *""'");
10642 arg1
= reinterpret_cast< wxPyFileSystemHandler
* >(argp1
);
10644 arg2
= wxString_in_helper(obj1
);
10645 if (arg2
== NULL
) SWIG_fail
;
10649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10650 result
= (arg1
)->GetLeftLocation((wxString
const &)*arg2
);
10651 wxPyEndAllowThreads(__tstate
);
10652 if (PyErr_Occurred()) SWIG_fail
;
10656 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10658 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10675 SWIGINTERN PyObject
*_wrap_FileSystemHandler_GetAnchor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10676 PyObject
*resultobj
= 0;
10677 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
10678 wxString
*arg2
= 0 ;
10682 bool temp2
= false ;
10683 PyObject
* obj0
= 0 ;
10684 PyObject
* obj1
= 0 ;
10685 char * kwnames
[] = {
10686 (char *) "self",(char *) "location", NULL
10689 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetAnchor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10690 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileSystemHandler
, 0 | 0 );
10691 if (!SWIG_IsOK(res1
)) {
10692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystemHandler_GetAnchor" "', expected argument " "1"" of type '" "wxPyFileSystemHandler *""'");
10694 arg1
= reinterpret_cast< wxPyFileSystemHandler
* >(argp1
);
10696 arg2
= wxString_in_helper(obj1
);
10697 if (arg2
== NULL
) SWIG_fail
;
10701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10702 result
= (arg1
)->GetAnchor((wxString
const &)*arg2
);
10703 wxPyEndAllowThreads(__tstate
);
10704 if (PyErr_Occurred()) SWIG_fail
;
10708 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10710 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10727 SWIGINTERN PyObject
*_wrap_FileSystemHandler_GetRightLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10728 PyObject
*resultobj
= 0;
10729 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
10730 wxString
*arg2
= 0 ;
10734 bool temp2
= false ;
10735 PyObject
* obj0
= 0 ;
10736 PyObject
* obj1
= 0 ;
10737 char * kwnames
[] = {
10738 (char *) "self",(char *) "location", NULL
10741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10742 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileSystemHandler
, 0 | 0 );
10743 if (!SWIG_IsOK(res1
)) {
10744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystemHandler_GetRightLocation" "', expected argument " "1"" of type '" "wxPyFileSystemHandler *""'");
10746 arg1
= reinterpret_cast< wxPyFileSystemHandler
* >(argp1
);
10748 arg2
= wxString_in_helper(obj1
);
10749 if (arg2
== NULL
) SWIG_fail
;
10753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10754 result
= (arg1
)->GetRightLocation((wxString
const &)*arg2
);
10755 wxPyEndAllowThreads(__tstate
);
10756 if (PyErr_Occurred()) SWIG_fail
;
10760 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10762 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10779 SWIGINTERN PyObject
*_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10780 PyObject
*resultobj
= 0;
10781 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
10782 wxString
*arg2
= 0 ;
10786 bool temp2
= false ;
10787 PyObject
* obj0
= 0 ;
10788 PyObject
* obj1
= 0 ;
10789 char * kwnames
[] = {
10790 (char *) "self",(char *) "location", NULL
10793 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10794 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileSystemHandler
, 0 | 0 );
10795 if (!SWIG_IsOK(res1
)) {
10796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystemHandler_GetMimeTypeFromExt" "', expected argument " "1"" of type '" "wxPyFileSystemHandler *""'");
10798 arg1
= reinterpret_cast< wxPyFileSystemHandler
* >(argp1
);
10800 arg2
= wxString_in_helper(obj1
);
10801 if (arg2
== NULL
) SWIG_fail
;
10805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10806 result
= (arg1
)->GetMimeTypeFromExt((wxString
const &)*arg2
);
10807 wxPyEndAllowThreads(__tstate
);
10808 if (PyErr_Occurred()) SWIG_fail
;
10812 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10814 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10831 SWIGINTERN PyObject
*FileSystemHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10833 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10834 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_NewClientData(obj
));
10835 return SWIG_Py_Void();
10838 SWIGINTERN PyObject
*FileSystemHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10839 return SWIG_Python_InitShadowInstance(args
);
10842 SWIGINTERN PyObject
*_wrap_new_FileSystem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10843 PyObject
*resultobj
= 0;
10844 wxFileSystem
*result
= 0 ;
10846 if (!SWIG_Python_UnpackTuple(args
,"new_FileSystem",0,0,0)) SWIG_fail
;
10848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10849 result
= (wxFileSystem
*)new wxFileSystem();
10850 wxPyEndAllowThreads(__tstate
);
10851 if (PyErr_Occurred()) SWIG_fail
;
10854 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_NEW
);
10862 SWIGINTERN PyObject
*_wrap_delete_FileSystem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10863 PyObject
*resultobj
= 0;
10864 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
10867 PyObject
*swig_obj
[1] ;
10869 if (!args
) SWIG_fail
;
10870 swig_obj
[0] = args
;
10871 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_DISOWN
| 0 );
10872 if (!SWIG_IsOK(res1
)) {
10873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FileSystem" "', expected argument " "1"" of type '" "wxFileSystem *""'");
10875 arg1
= reinterpret_cast< wxFileSystem
* >(argp1
);
10877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10880 wxPyEndAllowThreads(__tstate
);
10881 if (PyErr_Occurred()) SWIG_fail
;
10883 resultobj
= SWIG_Py_Void();
10890 SWIGINTERN PyObject
*_wrap_FileSystem_ChangePathTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10891 PyObject
*resultobj
= 0;
10892 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
10893 wxString
*arg2
= 0 ;
10894 bool arg3
= (bool) false ;
10897 bool temp2
= false ;
10900 PyObject
* obj0
= 0 ;
10901 PyObject
* obj1
= 0 ;
10902 PyObject
* obj2
= 0 ;
10903 char * kwnames
[] = {
10904 (char *) "self",(char *) "location",(char *) "is_dir", NULL
10907 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_ChangePathTo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10908 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileSystem
, 0 | 0 );
10909 if (!SWIG_IsOK(res1
)) {
10910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystem_ChangePathTo" "', expected argument " "1"" of type '" "wxFileSystem *""'");
10912 arg1
= reinterpret_cast< wxFileSystem
* >(argp1
);
10914 arg2
= wxString_in_helper(obj1
);
10915 if (arg2
== NULL
) SWIG_fail
;
10919 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10920 if (!SWIG_IsOK(ecode3
)) {
10921 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileSystem_ChangePathTo" "', expected argument " "3"" of type '" "bool""'");
10923 arg3
= static_cast< bool >(val3
);
10926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10927 (arg1
)->ChangePathTo((wxString
const &)*arg2
,arg3
);
10928 wxPyEndAllowThreads(__tstate
);
10929 if (PyErr_Occurred()) SWIG_fail
;
10931 resultobj
= SWIG_Py_Void();
10946 SWIGINTERN PyObject
*_wrap_FileSystem_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10947 PyObject
*resultobj
= 0;
10948 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
10952 PyObject
*swig_obj
[1] ;
10954 if (!args
) SWIG_fail
;
10955 swig_obj
[0] = args
;
10956 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileSystem
, 0 | 0 );
10957 if (!SWIG_IsOK(res1
)) {
10958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystem_GetPath" "', expected argument " "1"" of type '" "wxFileSystem *""'");
10960 arg1
= reinterpret_cast< wxFileSystem
* >(argp1
);
10962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10963 result
= (arg1
)->GetPath();
10964 wxPyEndAllowThreads(__tstate
);
10965 if (PyErr_Occurred()) SWIG_fail
;
10969 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10971 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10980 SWIGINTERN PyObject
*_wrap_FileSystem_OpenFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10981 PyObject
*resultobj
= 0;
10982 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
10983 wxString
*arg2
= 0 ;
10984 wxFSFile
*result
= 0 ;
10987 bool temp2
= false ;
10988 PyObject
* obj0
= 0 ;
10989 PyObject
* obj1
= 0 ;
10990 char * kwnames
[] = {
10991 (char *) "self",(char *) "location", NULL
10994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystem_OpenFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileSystem
, 0 | 0 );
10996 if (!SWIG_IsOK(res1
)) {
10997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystem_OpenFile" "', expected argument " "1"" of type '" "wxFileSystem *""'");
10999 arg1
= reinterpret_cast< wxFileSystem
* >(argp1
);
11001 arg2
= wxString_in_helper(obj1
);
11002 if (arg2
== NULL
) SWIG_fail
;
11006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11007 result
= (wxFSFile
*)(arg1
)->OpenFile((wxString
const &)*arg2
);
11008 wxPyEndAllowThreads(__tstate
);
11009 if (PyErr_Occurred()) SWIG_fail
;
11012 resultobj
= wxPyMake_wxObject(result
, SWIG_POINTER_OWN
);
11028 SWIGINTERN PyObject
*_wrap_FileSystem_FindFirst(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11029 PyObject
*resultobj
= 0;
11030 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
11031 wxString
*arg2
= 0 ;
11032 int arg3
= (int) 0 ;
11036 bool temp2
= false ;
11039 PyObject
* obj0
= 0 ;
11040 PyObject
* obj1
= 0 ;
11041 PyObject
* obj2
= 0 ;
11042 char * kwnames
[] = {
11043 (char *) "self",(char *) "spec",(char *) "flags", NULL
11046 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11047 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileSystem
, 0 | 0 );
11048 if (!SWIG_IsOK(res1
)) {
11049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystem_FindFirst" "', expected argument " "1"" of type '" "wxFileSystem *""'");
11051 arg1
= reinterpret_cast< wxFileSystem
* >(argp1
);
11053 arg2
= wxString_in_helper(obj1
);
11054 if (arg2
== NULL
) SWIG_fail
;
11058 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11059 if (!SWIG_IsOK(ecode3
)) {
11060 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileSystem_FindFirst" "', expected argument " "3"" of type '" "int""'");
11062 arg3
= static_cast< int >(val3
);
11065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11066 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
11067 wxPyEndAllowThreads(__tstate
);
11068 if (PyErr_Occurred()) SWIG_fail
;
11072 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11074 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11091 SWIGINTERN PyObject
*_wrap_FileSystem_FindNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11092 PyObject
*resultobj
= 0;
11093 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
11097 PyObject
*swig_obj
[1] ;
11099 if (!args
) SWIG_fail
;
11100 swig_obj
[0] = args
;
11101 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileSystem
, 0 | 0 );
11102 if (!SWIG_IsOK(res1
)) {
11103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystem_FindNext" "', expected argument " "1"" of type '" "wxFileSystem *""'");
11105 arg1
= reinterpret_cast< wxFileSystem
* >(argp1
);
11107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11108 result
= (arg1
)->FindNext();
11109 wxPyEndAllowThreads(__tstate
);
11110 if (PyErr_Occurred()) SWIG_fail
;
11114 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11116 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11125 SWIGINTERN PyObject
*_wrap_FileSystem_AddHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11126 PyObject
*resultobj
= 0;
11127 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
11129 PyObject
* obj0
= 0 ;
11130 char * kwnames
[] = {
11131 (char *) "handler", NULL
11134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_AddHandler",kwnames
,&obj0
)) SWIG_fail
;
11135 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxFileSystemHandler
, SWIG_POINTER_DISOWN
| 0 );
11136 if (!SWIG_IsOK(res1
)) {
11137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystem_AddHandler" "', expected argument " "1"" of type '" "wxFileSystemHandler *""'");
11140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11141 wxFileSystem::AddHandler(arg1
);
11142 wxPyEndAllowThreads(__tstate
);
11143 if (PyErr_Occurred()) SWIG_fail
;
11145 resultobj
= SWIG_Py_Void();
11152 SWIGINTERN PyObject
*_wrap_FileSystem_RemoveHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11153 PyObject
*resultobj
= 0;
11154 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
11155 wxFileSystemHandler
*result
= 0 ;
11158 PyObject
* obj0
= 0 ;
11159 char * kwnames
[] = {
11160 (char *) "handler", NULL
11163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_RemoveHandler",kwnames
,&obj0
)) SWIG_fail
;
11164 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileSystemHandler
, 0 | 0 );
11165 if (!SWIG_IsOK(res1
)) {
11166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystem_RemoveHandler" "', expected argument " "1"" of type '" "wxFileSystemHandler *""'");
11168 arg1
= reinterpret_cast< wxFileSystemHandler
* >(argp1
);
11170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11171 result
= (wxFileSystemHandler
*)wxFileSystem::RemoveHandler(arg1
);
11172 wxPyEndAllowThreads(__tstate
);
11173 if (PyErr_Occurred()) SWIG_fail
;
11175 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileSystemHandler
, SWIG_POINTER_OWN
| 0 );
11182 SWIGINTERN PyObject
*_wrap_FileSystem_CleanUpHandlers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11183 PyObject
*resultobj
= 0;
11185 if (!SWIG_Python_UnpackTuple(args
,"FileSystem_CleanUpHandlers",0,0,0)) SWIG_fail
;
11187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11188 wxFileSystem::CleanUpHandlers();
11189 wxPyEndAllowThreads(__tstate
);
11190 if (PyErr_Occurred()) SWIG_fail
;
11192 resultobj
= SWIG_Py_Void();
11199 SWIGINTERN PyObject
*_wrap_FileSystem_FileNameToURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11200 PyObject
*resultobj
= 0;
11201 wxString
*arg1
= 0 ;
11203 bool temp1
= false ;
11204 PyObject
* obj0
= 0 ;
11205 char * kwnames
[] = {
11206 (char *) "filename", NULL
11209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FileNameToURL",kwnames
,&obj0
)) SWIG_fail
;
11211 arg1
= wxString_in_helper(obj0
);
11212 if (arg1
== NULL
) SWIG_fail
;
11216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11217 result
= wxFileSystem::FileNameToURL((wxString
const &)*arg1
);
11218 wxPyEndAllowThreads(__tstate
);
11219 if (PyErr_Occurred()) SWIG_fail
;
11223 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11225 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11242 SWIGINTERN PyObject
*_wrap_FileSystem_URLToFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11243 PyObject
*resultobj
= 0;
11244 wxString
*arg1
= 0 ;
11246 bool temp1
= false ;
11247 PyObject
* obj0
= 0 ;
11248 char * kwnames
[] = {
11249 (char *) "url", NULL
11252 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_URLToFileName",kwnames
,&obj0
)) SWIG_fail
;
11254 arg1
= wxString_in_helper(obj0
);
11255 if (arg1
== NULL
) SWIG_fail
;
11259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11260 result
= wxFileSystem_URLToFileName((wxString
const &)*arg1
);
11261 wxPyEndAllowThreads(__tstate
);
11262 if (PyErr_Occurred()) SWIG_fail
;
11266 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11268 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11285 SWIGINTERN PyObject
*FileSystem_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11287 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11288 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileSystem
, SWIG_NewClientData(obj
));
11289 return SWIG_Py_Void();
11292 SWIGINTERN PyObject
*FileSystem_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11293 return SWIG_Python_InitShadowInstance(args
);
11296 SWIGINTERN PyObject
*_wrap_new_InternetFSHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11297 PyObject
*resultobj
= 0;
11298 wxInternetFSHandler
*result
= 0 ;
11300 if (!SWIG_Python_UnpackTuple(args
,"new_InternetFSHandler",0,0,0)) SWIG_fail
;
11302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11303 result
= (wxInternetFSHandler
*)new wxInternetFSHandler();
11304 wxPyEndAllowThreads(__tstate
);
11305 if (PyErr_Occurred()) SWIG_fail
;
11307 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxInternetFSHandler
, SWIG_POINTER_NEW
| 0 );
11314 SWIGINTERN PyObject
*_wrap_InternetFSHandler_CanOpen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11315 PyObject
*resultobj
= 0;
11316 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
11317 wxString
*arg2
= 0 ;
11321 bool temp2
= false ;
11322 PyObject
* obj0
= 0 ;
11323 PyObject
* obj1
= 0 ;
11324 char * kwnames
[] = {
11325 (char *) "self",(char *) "location", NULL
11328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InternetFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11329 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxInternetFSHandler
, 0 | 0 );
11330 if (!SWIG_IsOK(res1
)) {
11331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InternetFSHandler_CanOpen" "', expected argument " "1"" of type '" "wxInternetFSHandler *""'");
11333 arg1
= reinterpret_cast< wxInternetFSHandler
* >(argp1
);
11335 arg2
= wxString_in_helper(obj1
);
11336 if (arg2
== NULL
) SWIG_fail
;
11340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11341 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
11342 wxPyEndAllowThreads(__tstate
);
11343 if (PyErr_Occurred()) SWIG_fail
;
11346 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11362 SWIGINTERN PyObject
*_wrap_InternetFSHandler_OpenFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11363 PyObject
*resultobj
= 0;
11364 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
11365 wxFileSystem
*arg2
= 0 ;
11366 wxString
*arg3
= 0 ;
11367 wxFSFile
*result
= 0 ;
11372 bool temp3
= false ;
11373 PyObject
* obj0
= 0 ;
11374 PyObject
* obj1
= 0 ;
11375 PyObject
* obj2
= 0 ;
11376 char * kwnames
[] = {
11377 (char *) "self",(char *) "fs",(char *) "location", NULL
11380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:InternetFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11381 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxInternetFSHandler
, 0 | 0 );
11382 if (!SWIG_IsOK(res1
)) {
11383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InternetFSHandler_OpenFile" "', expected argument " "1"" of type '" "wxInternetFSHandler *""'");
11385 arg1
= reinterpret_cast< wxInternetFSHandler
* >(argp1
);
11386 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFileSystem
, 0 );
11387 if (!SWIG_IsOK(res2
)) {
11388 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "InternetFSHandler_OpenFile" "', expected argument " "2"" of type '" "wxFileSystem &""'");
11391 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "InternetFSHandler_OpenFile" "', expected argument " "2"" of type '" "wxFileSystem &""'");
11393 arg2
= reinterpret_cast< wxFileSystem
* >(argp2
);
11395 arg3
= wxString_in_helper(obj2
);
11396 if (arg3
== NULL
) SWIG_fail
;
11400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11401 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
11402 wxPyEndAllowThreads(__tstate
);
11403 if (PyErr_Occurred()) SWIG_fail
;
11406 resultobj
= wxPyMake_wxObject(result
, SWIG_POINTER_OWN
);
11422 SWIGINTERN PyObject
*InternetFSHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11424 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11425 SWIG_TypeNewClientData(SWIGTYPE_p_wxInternetFSHandler
, SWIG_NewClientData(obj
));
11426 return SWIG_Py_Void();
11429 SWIGINTERN PyObject
*InternetFSHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11430 return SWIG_Python_InitShadowInstance(args
);
11433 SWIGINTERN PyObject
*_wrap_new_ZipFSHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11434 PyObject
*resultobj
= 0;
11435 wxZipFSHandler
*result
= 0 ;
11437 if (!SWIG_Python_UnpackTuple(args
,"new_ZipFSHandler",0,0,0)) SWIG_fail
;
11439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11440 result
= (wxZipFSHandler
*)new wxZipFSHandler();
11441 wxPyEndAllowThreads(__tstate
);
11442 if (PyErr_Occurred()) SWIG_fail
;
11444 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_NEW
| 0 );
11451 SWIGINTERN PyObject
*_wrap_ZipFSHandler_CanOpen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11452 PyObject
*resultobj
= 0;
11453 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
11454 wxString
*arg2
= 0 ;
11458 bool temp2
= false ;
11459 PyObject
* obj0
= 0 ;
11460 PyObject
* obj1
= 0 ;
11461 char * kwnames
[] = {
11462 (char *) "self",(char *) "location", NULL
11465 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ZipFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11466 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxZipFSHandler
, 0 | 0 );
11467 if (!SWIG_IsOK(res1
)) {
11468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ZipFSHandler_CanOpen" "', expected argument " "1"" of type '" "wxZipFSHandler *""'");
11470 arg1
= reinterpret_cast< wxZipFSHandler
* >(argp1
);
11472 arg2
= wxString_in_helper(obj1
);
11473 if (arg2
== NULL
) SWIG_fail
;
11477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11478 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
11479 wxPyEndAllowThreads(__tstate
);
11480 if (PyErr_Occurred()) SWIG_fail
;
11483 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11499 SWIGINTERN PyObject
*_wrap_ZipFSHandler_OpenFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11500 PyObject
*resultobj
= 0;
11501 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
11502 wxFileSystem
*arg2
= 0 ;
11503 wxString
*arg3
= 0 ;
11504 wxFSFile
*result
= 0 ;
11509 bool temp3
= false ;
11510 PyObject
* obj0
= 0 ;
11511 PyObject
* obj1
= 0 ;
11512 PyObject
* obj2
= 0 ;
11513 char * kwnames
[] = {
11514 (char *) "self",(char *) "fs",(char *) "location", NULL
11517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ZipFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11518 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxZipFSHandler
, 0 | 0 );
11519 if (!SWIG_IsOK(res1
)) {
11520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ZipFSHandler_OpenFile" "', expected argument " "1"" of type '" "wxZipFSHandler *""'");
11522 arg1
= reinterpret_cast< wxZipFSHandler
* >(argp1
);
11523 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFileSystem
, 0 );
11524 if (!SWIG_IsOK(res2
)) {
11525 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ZipFSHandler_OpenFile" "', expected argument " "2"" of type '" "wxFileSystem &""'");
11528 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ZipFSHandler_OpenFile" "', expected argument " "2"" of type '" "wxFileSystem &""'");
11530 arg2
= reinterpret_cast< wxFileSystem
* >(argp2
);
11532 arg3
= wxString_in_helper(obj2
);
11533 if (arg3
== NULL
) SWIG_fail
;
11537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11538 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
11539 wxPyEndAllowThreads(__tstate
);
11540 if (PyErr_Occurred()) SWIG_fail
;
11543 resultobj
= wxPyMake_wxObject(result
, SWIG_POINTER_OWN
);
11559 SWIGINTERN PyObject
*_wrap_ZipFSHandler_FindFirst(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11560 PyObject
*resultobj
= 0;
11561 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
11562 wxString
*arg2
= 0 ;
11563 int arg3
= (int) 0 ;
11567 bool temp2
= false ;
11570 PyObject
* obj0
= 0 ;
11571 PyObject
* obj1
= 0 ;
11572 PyObject
* obj2
= 0 ;
11573 char * kwnames
[] = {
11574 (char *) "self",(char *) "spec",(char *) "flags", NULL
11577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11578 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxZipFSHandler
, 0 | 0 );
11579 if (!SWIG_IsOK(res1
)) {
11580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ZipFSHandler_FindFirst" "', expected argument " "1"" of type '" "wxZipFSHandler *""'");
11582 arg1
= reinterpret_cast< wxZipFSHandler
* >(argp1
);
11584 arg2
= wxString_in_helper(obj1
);
11585 if (arg2
== NULL
) SWIG_fail
;
11589 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11590 if (!SWIG_IsOK(ecode3
)) {
11591 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ZipFSHandler_FindFirst" "', expected argument " "3"" of type '" "int""'");
11593 arg3
= static_cast< int >(val3
);
11596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11597 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
11598 wxPyEndAllowThreads(__tstate
);
11599 if (PyErr_Occurred()) SWIG_fail
;
11603 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11605 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11622 SWIGINTERN PyObject
*_wrap_ZipFSHandler_FindNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11623 PyObject
*resultobj
= 0;
11624 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
11628 PyObject
*swig_obj
[1] ;
11630 if (!args
) SWIG_fail
;
11631 swig_obj
[0] = args
;
11632 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxZipFSHandler
, 0 | 0 );
11633 if (!SWIG_IsOK(res1
)) {
11634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ZipFSHandler_FindNext" "', expected argument " "1"" of type '" "wxZipFSHandler *""'");
11636 arg1
= reinterpret_cast< wxZipFSHandler
* >(argp1
);
11638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11639 result
= (arg1
)->FindNext();
11640 wxPyEndAllowThreads(__tstate
);
11641 if (PyErr_Occurred()) SWIG_fail
;
11645 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11647 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11656 SWIGINTERN PyObject
*ZipFSHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11658 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11659 SWIG_TypeNewClientData(SWIGTYPE_p_wxZipFSHandler
, SWIG_NewClientData(obj
));
11660 return SWIG_Py_Void();
11663 SWIGINTERN PyObject
*ZipFSHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11664 return SWIG_Python_InitShadowInstance(args
);
11667 SWIGINTERN PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11668 PyObject
*resultobj
= 0;
11669 wxString
*arg1
= 0 ;
11670 wxImage
*arg2
= 0 ;
11672 bool temp1
= false ;
11677 PyObject
* obj0
= 0 ;
11678 PyObject
* obj1
= 0 ;
11679 PyObject
* obj2
= 0 ;
11680 char * kwnames
[] = {
11681 (char *) "filename",(char *) "image",(char *) "type", NULL
11684 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11686 arg1
= wxString_in_helper(obj0
);
11687 if (arg1
== NULL
) SWIG_fail
;
11690 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxImage
, 0 );
11691 if (!SWIG_IsOK(res2
)) {
11692 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "__wxMemoryFSHandler_AddFile_wxImage" "', expected argument " "2"" of type '" "wxImage &""'");
11695 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "__wxMemoryFSHandler_AddFile_wxImage" "', expected argument " "2"" of type '" "wxImage &""'");
11697 arg2
= reinterpret_cast< wxImage
* >(argp2
);
11698 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
11699 if (!SWIG_IsOK(ecode3
)) {
11700 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "__wxMemoryFSHandler_AddFile_wxImage" "', expected argument " "3"" of type '" "long""'");
11702 arg3
= static_cast< long >(val3
);
11704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11705 __wxMemoryFSHandler_AddFile_wxImage((wxString
const &)*arg1
,*arg2
,arg3
);
11706 wxPyEndAllowThreads(__tstate
);
11707 if (PyErr_Occurred()) SWIG_fail
;
11709 resultobj
= SWIG_Py_Void();
11724 SWIGINTERN PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11725 PyObject
*resultobj
= 0;
11726 wxString
*arg1
= 0 ;
11727 wxBitmap
*arg2
= 0 ;
11729 bool temp1
= false ;
11734 PyObject
* obj0
= 0 ;
11735 PyObject
* obj1
= 0 ;
11736 PyObject
* obj2
= 0 ;
11737 char * kwnames
[] = {
11738 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
11741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11743 arg1
= wxString_in_helper(obj0
);
11744 if (arg1
== NULL
) SWIG_fail
;
11747 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11748 if (!SWIG_IsOK(res2
)) {
11749 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "__wxMemoryFSHandler_AddFile_wxBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11752 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "__wxMemoryFSHandler_AddFile_wxBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11754 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11755 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
11756 if (!SWIG_IsOK(ecode3
)) {
11757 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "__wxMemoryFSHandler_AddFile_wxBitmap" "', expected argument " "3"" of type '" "long""'");
11759 arg3
= static_cast< long >(val3
);
11761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11762 __wxMemoryFSHandler_AddFile_wxBitmap((wxString
const &)*arg1
,(wxBitmap
const &)*arg2
,arg3
);
11763 wxPyEndAllowThreads(__tstate
);
11764 if (PyErr_Occurred()) SWIG_fail
;
11766 resultobj
= SWIG_Py_Void();
11781 SWIGINTERN PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11782 PyObject
*resultobj
= 0;
11783 wxString
*arg1
= 0 ;
11784 PyObject
*arg2
= (PyObject
*) 0 ;
11785 bool temp1
= false ;
11786 PyObject
* obj0
= 0 ;
11787 PyObject
* obj1
= 0 ;
11788 char * kwnames
[] = {
11789 (char *) "filename",(char *) "data", NULL
11792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11794 arg1
= wxString_in_helper(obj0
);
11795 if (arg1
== NULL
) SWIG_fail
;
11800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11801 __wxMemoryFSHandler_AddFile_Data((wxString
const &)*arg1
,arg2
);
11802 wxPyEndAllowThreads(__tstate
);
11803 if (PyErr_Occurred()) SWIG_fail
;
11805 resultobj
= SWIG_Py_Void();
11820 SWIGINTERN PyObject
*_wrap_new_MemoryFSHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11821 PyObject
*resultobj
= 0;
11822 wxMemoryFSHandler
*result
= 0 ;
11824 if (!SWIG_Python_UnpackTuple(args
,"new_MemoryFSHandler",0,0,0)) SWIG_fail
;
11826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11827 result
= (wxMemoryFSHandler
*)new wxMemoryFSHandler();
11828 wxPyEndAllowThreads(__tstate
);
11829 if (PyErr_Occurred()) SWIG_fail
;
11831 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_NEW
| 0 );
11838 SWIGINTERN PyObject
*_wrap_MemoryFSHandler_RemoveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11839 PyObject
*resultobj
= 0;
11840 wxString
*arg1
= 0 ;
11841 bool temp1
= false ;
11842 PyObject
* obj0
= 0 ;
11843 char * kwnames
[] = {
11844 (char *) "filename", NULL
11847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_RemoveFile",kwnames
,&obj0
)) SWIG_fail
;
11849 arg1
= wxString_in_helper(obj0
);
11850 if (arg1
== NULL
) SWIG_fail
;
11854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11855 wxMemoryFSHandler::RemoveFile((wxString
const &)*arg1
);
11856 wxPyEndAllowThreads(__tstate
);
11857 if (PyErr_Occurred()) SWIG_fail
;
11859 resultobj
= SWIG_Py_Void();
11874 SWIGINTERN PyObject
*_wrap_MemoryFSHandler_CanOpen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11875 PyObject
*resultobj
= 0;
11876 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
11877 wxString
*arg2
= 0 ;
11881 bool temp2
= false ;
11882 PyObject
* obj0
= 0 ;
11883 PyObject
* obj1
= 0 ;
11884 char * kwnames
[] = {
11885 (char *) "self",(char *) "location", NULL
11888 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11889 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryFSHandler
, 0 | 0 );
11890 if (!SWIG_IsOK(res1
)) {
11891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryFSHandler_CanOpen" "', expected argument " "1"" of type '" "wxMemoryFSHandler *""'");
11893 arg1
= reinterpret_cast< wxMemoryFSHandler
* >(argp1
);
11895 arg2
= wxString_in_helper(obj1
);
11896 if (arg2
== NULL
) SWIG_fail
;
11900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11901 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
11902 wxPyEndAllowThreads(__tstate
);
11903 if (PyErr_Occurred()) SWIG_fail
;
11906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11922 SWIGINTERN PyObject
*_wrap_MemoryFSHandler_OpenFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11923 PyObject
*resultobj
= 0;
11924 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
11925 wxFileSystem
*arg2
= 0 ;
11926 wxString
*arg3
= 0 ;
11927 wxFSFile
*result
= 0 ;
11932 bool temp3
= false ;
11933 PyObject
* obj0
= 0 ;
11934 PyObject
* obj1
= 0 ;
11935 PyObject
* obj2
= 0 ;
11936 char * kwnames
[] = {
11937 (char *) "self",(char *) "fs",(char *) "location", NULL
11940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11941 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryFSHandler
, 0 | 0 );
11942 if (!SWIG_IsOK(res1
)) {
11943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryFSHandler_OpenFile" "', expected argument " "1"" of type '" "wxMemoryFSHandler *""'");
11945 arg1
= reinterpret_cast< wxMemoryFSHandler
* >(argp1
);
11946 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFileSystem
, 0 );
11947 if (!SWIG_IsOK(res2
)) {
11948 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryFSHandler_OpenFile" "', expected argument " "2"" of type '" "wxFileSystem &""'");
11951 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryFSHandler_OpenFile" "', expected argument " "2"" of type '" "wxFileSystem &""'");
11953 arg2
= reinterpret_cast< wxFileSystem
* >(argp2
);
11955 arg3
= wxString_in_helper(obj2
);
11956 if (arg3
== NULL
) SWIG_fail
;
11960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11961 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
11962 wxPyEndAllowThreads(__tstate
);
11963 if (PyErr_Occurred()) SWIG_fail
;
11966 resultobj
= wxPyMake_wxObject(result
, SWIG_POINTER_OWN
);
11982 SWIGINTERN PyObject
*_wrap_MemoryFSHandler_FindFirst(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11983 PyObject
*resultobj
= 0;
11984 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
11985 wxString
*arg2
= 0 ;
11986 int arg3
= (int) 0 ;
11990 bool temp2
= false ;
11993 PyObject
* obj0
= 0 ;
11994 PyObject
* obj1
= 0 ;
11995 PyObject
* obj2
= 0 ;
11996 char * kwnames
[] = {
11997 (char *) "self",(char *) "spec",(char *) "flags", NULL
12000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12001 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryFSHandler
, 0 | 0 );
12002 if (!SWIG_IsOK(res1
)) {
12003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryFSHandler_FindFirst" "', expected argument " "1"" of type '" "wxMemoryFSHandler *""'");
12005 arg1
= reinterpret_cast< wxMemoryFSHandler
* >(argp1
);
12007 arg2
= wxString_in_helper(obj1
);
12008 if (arg2
== NULL
) SWIG_fail
;
12012 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12013 if (!SWIG_IsOK(ecode3
)) {
12014 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MemoryFSHandler_FindFirst" "', expected argument " "3"" of type '" "int""'");
12016 arg3
= static_cast< int >(val3
);
12019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12020 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
12021 wxPyEndAllowThreads(__tstate
);
12022 if (PyErr_Occurred()) SWIG_fail
;
12026 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12028 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12045 SWIGINTERN PyObject
*_wrap_MemoryFSHandler_FindNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12046 PyObject
*resultobj
= 0;
12047 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
12051 PyObject
*swig_obj
[1] ;
12053 if (!args
) SWIG_fail
;
12054 swig_obj
[0] = args
;
12055 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMemoryFSHandler
, 0 | 0 );
12056 if (!SWIG_IsOK(res1
)) {
12057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryFSHandler_FindNext" "', expected argument " "1"" of type '" "wxMemoryFSHandler *""'");
12059 arg1
= reinterpret_cast< wxMemoryFSHandler
* >(argp1
);
12061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12062 result
= (arg1
)->FindNext();
12063 wxPyEndAllowThreads(__tstate
);
12064 if (PyErr_Occurred()) SWIG_fail
;
12068 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12070 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12079 SWIGINTERN PyObject
*MemoryFSHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12081 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12082 SWIG_TypeNewClientData(SWIGTYPE_p_wxMemoryFSHandler
, SWIG_NewClientData(obj
));
12083 return SWIG_Py_Void();
12086 SWIGINTERN PyObject
*MemoryFSHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12087 return SWIG_Python_InitShadowInstance(args
);
12090 SWIGINTERN PyObject
*_wrap_ImageHandler_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12091 PyObject
*resultobj
= 0;
12092 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
12096 PyObject
*swig_obj
[1] ;
12098 if (!args
) SWIG_fail
;
12099 swig_obj
[0] = args
;
12100 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
12101 if (!SWIG_IsOK(res1
)) {
12102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHandler_GetName" "', expected argument " "1"" of type '" "wxImageHandler *""'");
12104 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
12106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12107 result
= (arg1
)->GetName();
12108 wxPyEndAllowThreads(__tstate
);
12109 if (PyErr_Occurred()) SWIG_fail
;
12113 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12115 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12124 SWIGINTERN PyObject
*_wrap_ImageHandler_GetExtension(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12125 PyObject
*resultobj
= 0;
12126 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
12130 PyObject
*swig_obj
[1] ;
12132 if (!args
) SWIG_fail
;
12133 swig_obj
[0] = args
;
12134 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
12135 if (!SWIG_IsOK(res1
)) {
12136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHandler_GetExtension" "', expected argument " "1"" of type '" "wxImageHandler *""'");
12138 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
12140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12141 result
= (arg1
)->GetExtension();
12142 wxPyEndAllowThreads(__tstate
);
12143 if (PyErr_Occurred()) SWIG_fail
;
12147 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12149 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12158 SWIGINTERN PyObject
*_wrap_ImageHandler_GetType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12159 PyObject
*resultobj
= 0;
12160 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
12164 PyObject
*swig_obj
[1] ;
12166 if (!args
) SWIG_fail
;
12167 swig_obj
[0] = args
;
12168 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
12169 if (!SWIG_IsOK(res1
)) {
12170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHandler_GetType" "', expected argument " "1"" of type '" "wxImageHandler *""'");
12172 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
12174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12175 result
= (long)(arg1
)->GetType();
12176 wxPyEndAllowThreads(__tstate
);
12177 if (PyErr_Occurred()) SWIG_fail
;
12179 resultobj
= SWIG_From_long(static_cast< long >(result
));
12186 SWIGINTERN PyObject
*_wrap_ImageHandler_GetMimeType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12187 PyObject
*resultobj
= 0;
12188 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
12192 PyObject
*swig_obj
[1] ;
12194 if (!args
) SWIG_fail
;
12195 swig_obj
[0] = args
;
12196 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
12197 if (!SWIG_IsOK(res1
)) {
12198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHandler_GetMimeType" "', expected argument " "1"" of type '" "wxImageHandler *""'");
12200 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
12202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12203 result
= (arg1
)->GetMimeType();
12204 wxPyEndAllowThreads(__tstate
);
12205 if (PyErr_Occurred()) SWIG_fail
;
12209 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12211 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12220 SWIGINTERN PyObject
*_wrap_ImageHandler_CanRead(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12221 PyObject
*resultobj
= 0;
12222 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
12223 wxString
*arg2
= 0 ;
12227 bool temp2
= false ;
12228 PyObject
* obj0
= 0 ;
12229 PyObject
* obj1
= 0 ;
12230 char * kwnames
[] = {
12231 (char *) "self",(char *) "name", NULL
12234 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanRead",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12235 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
12236 if (!SWIG_IsOK(res1
)) {
12237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHandler_CanRead" "', expected argument " "1"" of type '" "wxImageHandler *""'");
12239 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
12241 arg2
= wxString_in_helper(obj1
);
12242 if (arg2
== NULL
) SWIG_fail
;
12246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12247 result
= (bool)(arg1
)->CanRead((wxString
const &)*arg2
);
12248 wxPyEndAllowThreads(__tstate
);
12249 if (PyErr_Occurred()) SWIG_fail
;
12252 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12268 SWIGINTERN PyObject
*_wrap_ImageHandler_CanReadStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12269 PyObject
*resultobj
= 0;
12270 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
12271 wxInputStream
*arg2
= 0 ;
12275 wxPyInputStream
*temp2
;
12277 PyObject
* obj0
= 0 ;
12278 PyObject
* obj1
= 0 ;
12279 char * kwnames
[] = {
12280 (char *) "self",(char *) "stream", NULL
12283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanReadStream",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
12285 if (!SWIG_IsOK(res1
)) {
12286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHandler_CanReadStream" "', expected argument " "1"" of type '" "wxImageHandler *""'");
12288 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
12290 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
12291 arg2
= temp2
->m_wxis
;
12294 PyErr_Clear(); // clear the failure of the wxPyConvert above
12295 arg2
= wxPyCBInputStream_create(obj1
, false);
12296 if (arg2
== NULL
) {
12297 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
12304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12305 result
= (bool)(arg1
)->CanRead(*arg2
);
12306 wxPyEndAllowThreads(__tstate
);
12307 if (PyErr_Occurred()) SWIG_fail
;
12310 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12313 if (created2
) delete arg2
;
12318 if (created2
) delete arg2
;
12324 SWIGINTERN PyObject
*_wrap_ImageHandler_SetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12325 PyObject
*resultobj
= 0;
12326 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
12327 wxString
*arg2
= 0 ;
12330 bool temp2
= false ;
12331 PyObject
* obj0
= 0 ;
12332 PyObject
* obj1
= 0 ;
12333 char * kwnames
[] = {
12334 (char *) "self",(char *) "name", NULL
12337 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12338 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
12339 if (!SWIG_IsOK(res1
)) {
12340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHandler_SetName" "', expected argument " "1"" of type '" "wxImageHandler *""'");
12342 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
12344 arg2
= wxString_in_helper(obj1
);
12345 if (arg2
== NULL
) SWIG_fail
;
12349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12350 (arg1
)->SetName((wxString
const &)*arg2
);
12351 wxPyEndAllowThreads(__tstate
);
12352 if (PyErr_Occurred()) SWIG_fail
;
12354 resultobj
= SWIG_Py_Void();
12369 SWIGINTERN PyObject
*_wrap_ImageHandler_SetExtension(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12370 PyObject
*resultobj
= 0;
12371 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
12372 wxString
*arg2
= 0 ;
12375 bool temp2
= false ;
12376 PyObject
* obj0
= 0 ;
12377 PyObject
* obj1
= 0 ;
12378 char * kwnames
[] = {
12379 (char *) "self",(char *) "extension", NULL
12382 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetExtension",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12383 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
12384 if (!SWIG_IsOK(res1
)) {
12385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHandler_SetExtension" "', expected argument " "1"" of type '" "wxImageHandler *""'");
12387 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
12389 arg2
= wxString_in_helper(obj1
);
12390 if (arg2
== NULL
) SWIG_fail
;
12394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12395 (arg1
)->SetExtension((wxString
const &)*arg2
);
12396 wxPyEndAllowThreads(__tstate
);
12397 if (PyErr_Occurred()) SWIG_fail
;
12399 resultobj
= SWIG_Py_Void();
12414 SWIGINTERN PyObject
*_wrap_ImageHandler_SetType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12415 PyObject
*resultobj
= 0;
12416 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
12422 PyObject
* obj0
= 0 ;
12423 PyObject
* obj1
= 0 ;
12424 char * kwnames
[] = {
12425 (char *) "self",(char *) "type", NULL
12428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12429 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
12430 if (!SWIG_IsOK(res1
)) {
12431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHandler_SetType" "', expected argument " "1"" of type '" "wxImageHandler *""'");
12433 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
12434 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12435 if (!SWIG_IsOK(ecode2
)) {
12436 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageHandler_SetType" "', expected argument " "2"" of type '" "long""'");
12438 arg2
= static_cast< long >(val2
);
12440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12441 (arg1
)->SetType(arg2
);
12442 wxPyEndAllowThreads(__tstate
);
12443 if (PyErr_Occurred()) SWIG_fail
;
12445 resultobj
= SWIG_Py_Void();
12452 SWIGINTERN PyObject
*_wrap_ImageHandler_SetMimeType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12453 PyObject
*resultobj
= 0;
12454 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
12455 wxString
*arg2
= 0 ;
12458 bool temp2
= false ;
12459 PyObject
* obj0
= 0 ;
12460 PyObject
* obj1
= 0 ;
12461 char * kwnames
[] = {
12462 (char *) "self",(char *) "mimetype", NULL
12465 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetMimeType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12466 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
12467 if (!SWIG_IsOK(res1
)) {
12468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHandler_SetMimeType" "', expected argument " "1"" of type '" "wxImageHandler *""'");
12470 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
12472 arg2
= wxString_in_helper(obj1
);
12473 if (arg2
== NULL
) SWIG_fail
;
12477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12478 (arg1
)->SetMimeType((wxString
const &)*arg2
);
12479 wxPyEndAllowThreads(__tstate
);
12480 if (PyErr_Occurred()) SWIG_fail
;
12482 resultobj
= SWIG_Py_Void();
12497 SWIGINTERN PyObject
*ImageHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12499 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12500 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageHandler
, SWIG_NewClientData(obj
));
12501 return SWIG_Py_Void();
12504 SWIGINTERN PyObject
*_wrap_new_PyImageHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12505 PyObject
*resultobj
= 0;
12506 wxPyImageHandler
*result
= 0 ;
12508 if (!SWIG_Python_UnpackTuple(args
,"new_PyImageHandler",0,0,0)) SWIG_fail
;
12510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12511 result
= (wxPyImageHandler
*)new wxPyImageHandler();
12512 wxPyEndAllowThreads(__tstate
);
12513 if (PyErr_Occurred()) SWIG_fail
;
12515 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyImageHandler
, SWIG_POINTER_NEW
| 0 );
12522 SWIGINTERN PyObject
*_wrap_PyImageHandler__SetSelf(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12523 PyObject
*resultobj
= 0;
12524 wxPyImageHandler
*arg1
= (wxPyImageHandler
*) 0 ;
12525 PyObject
*arg2
= (PyObject
*) 0 ;
12528 PyObject
* obj0
= 0 ;
12529 PyObject
* obj1
= 0 ;
12530 char * kwnames
[] = {
12531 (char *) "self",(char *) "self", NULL
12534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyImageHandler__SetSelf",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12535 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyImageHandler
, 0 | 0 );
12536 if (!SWIG_IsOK(res1
)) {
12537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyImageHandler__SetSelf" "', expected argument " "1"" of type '" "wxPyImageHandler *""'");
12539 arg1
= reinterpret_cast< wxPyImageHandler
* >(argp1
);
12542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12543 (arg1
)->_SetSelf(arg2
);
12544 wxPyEndAllowThreads(__tstate
);
12545 if (PyErr_Occurred()) SWIG_fail
;
12547 resultobj
= SWIG_Py_Void();
12554 SWIGINTERN PyObject
*PyImageHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12556 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12557 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyImageHandler
, SWIG_NewClientData(obj
));
12558 return SWIG_Py_Void();
12561 SWIGINTERN PyObject
*PyImageHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12562 return SWIG_Python_InitShadowInstance(args
);
12565 SWIGINTERN PyObject
*_wrap_new_ImageHistogram(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12566 PyObject
*resultobj
= 0;
12567 wxImageHistogram
*result
= 0 ;
12569 if (!SWIG_Python_UnpackTuple(args
,"new_ImageHistogram",0,0,0)) SWIG_fail
;
12571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12572 result
= (wxImageHistogram
*)new wxImageHistogram();
12573 wxPyEndAllowThreads(__tstate
);
12574 if (PyErr_Occurred()) SWIG_fail
;
12576 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_NEW
| 0 );
12583 SWIGINTERN PyObject
*_wrap_ImageHistogram_MakeKey(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12584 PyObject
*resultobj
= 0;
12588 unsigned long result
;
12589 unsigned char val1
;
12591 unsigned char val2
;
12593 unsigned char val3
;
12595 PyObject
* obj0
= 0 ;
12596 PyObject
* obj1
= 0 ;
12597 PyObject
* obj2
= 0 ;
12598 char * kwnames
[] = {
12599 (char *) "r",(char *) "g",(char *) "b", NULL
12602 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageHistogram_MakeKey",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12603 ecode1
= SWIG_AsVal_unsigned_SS_char(obj0
, &val1
);
12604 if (!SWIG_IsOK(ecode1
)) {
12605 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ImageHistogram_MakeKey" "', expected argument " "1"" of type '" "byte""'");
12607 arg1
= static_cast< byte
>(val1
);
12608 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
12609 if (!SWIG_IsOK(ecode2
)) {
12610 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageHistogram_MakeKey" "', expected argument " "2"" of type '" "byte""'");
12612 arg2
= static_cast< byte
>(val2
);
12613 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
12614 if (!SWIG_IsOK(ecode3
)) {
12615 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ImageHistogram_MakeKey" "', expected argument " "3"" of type '" "byte""'");
12617 arg3
= static_cast< byte
>(val3
);
12619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12620 result
= (unsigned long)wxImageHistogram::MakeKey(arg1
,arg2
,arg3
);
12621 wxPyEndAllowThreads(__tstate
);
12622 if (PyErr_Occurred()) SWIG_fail
;
12624 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
12631 SWIGINTERN PyObject
*_wrap_ImageHistogram_FindFirstUnusedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12632 PyObject
*resultobj
= 0;
12633 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
12634 byte
*arg2
= (byte
*) 0 ;
12635 byte
*arg3
= (byte
*) 0 ;
12636 byte
*arg4
= (byte
*) 0 ;
12637 byte arg5
= (byte
) 1 ;
12638 byte arg6
= (byte
) 0 ;
12639 byte arg7
= (byte
) 0 ;
12644 int res2
= SWIG_TMPOBJ
;
12646 int res3
= SWIG_TMPOBJ
;
12648 int res4
= SWIG_TMPOBJ
;
12649 unsigned char val5
;
12651 unsigned char val6
;
12653 unsigned char val7
;
12655 PyObject
* obj0
= 0 ;
12656 PyObject
* obj1
= 0 ;
12657 PyObject
* obj2
= 0 ;
12658 PyObject
* obj3
= 0 ;
12659 char * kwnames
[] = {
12660 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
12666 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12667 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHistogram
, 0 | 0 );
12668 if (!SWIG_IsOK(res1
)) {
12669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHistogram_FindFirstUnusedColour" "', expected argument " "1"" of type '" "wxImageHistogram const *""'");
12671 arg1
= reinterpret_cast< wxImageHistogram
* >(argp1
);
12673 ecode5
= SWIG_AsVal_unsigned_SS_char(obj1
, &val5
);
12674 if (!SWIG_IsOK(ecode5
)) {
12675 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ImageHistogram_FindFirstUnusedColour" "', expected argument " "5"" of type '" "byte""'");
12677 arg5
= static_cast< byte
>(val5
);
12680 ecode6
= SWIG_AsVal_unsigned_SS_char(obj2
, &val6
);
12681 if (!SWIG_IsOK(ecode6
)) {
12682 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ImageHistogram_FindFirstUnusedColour" "', expected argument " "6"" of type '" "byte""'");
12684 arg6
= static_cast< byte
>(val6
);
12687 ecode7
= SWIG_AsVal_unsigned_SS_char(obj3
, &val7
);
12688 if (!SWIG_IsOK(ecode7
)) {
12689 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ImageHistogram_FindFirstUnusedColour" "', expected argument " "7"" of type '" "byte""'");
12691 arg7
= static_cast< byte
>(val7
);
12694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12695 result
= (bool)((wxImageHistogram
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
12696 wxPyEndAllowThreads(__tstate
);
12697 if (PyErr_Occurred()) SWIG_fail
;
12700 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12702 if (SWIG_IsTmpObj(res2
)) {
12703 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg2
)));
12705 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12706 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, new_flags
));
12708 if (SWIG_IsTmpObj(res3
)) {
12709 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
12711 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12712 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
12714 if (SWIG_IsTmpObj(res4
)) {
12715 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
12717 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12718 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
12726 SWIGINTERN PyObject
*_wrap_ImageHistogram_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12727 PyObject
*resultobj
= 0;
12728 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
12729 unsigned long arg2
;
12730 unsigned long result
;
12733 unsigned long val2
;
12735 PyObject
* obj0
= 0 ;
12736 PyObject
* obj1
= 0 ;
12737 char * kwnames
[] = {
12738 (char *) "self",(char *) "key", NULL
12741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHistogram_GetCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12742 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHistogram
, 0 | 0 );
12743 if (!SWIG_IsOK(res1
)) {
12744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHistogram_GetCount" "', expected argument " "1"" of type '" "wxImageHistogram *""'");
12746 arg1
= reinterpret_cast< wxImageHistogram
* >(argp1
);
12747 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
12748 if (!SWIG_IsOK(ecode2
)) {
12749 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageHistogram_GetCount" "', expected argument " "2"" of type '" "unsigned long""'");
12751 arg2
= static_cast< unsigned long >(val2
);
12753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12754 result
= (unsigned long)wxImageHistogram_GetCount(arg1
,arg2
);
12755 wxPyEndAllowThreads(__tstate
);
12756 if (PyErr_Occurred()) SWIG_fail
;
12758 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
12765 SWIGINTERN PyObject
*_wrap_ImageHistogram_GetCountRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12766 PyObject
*resultobj
= 0;
12767 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
12771 unsigned long result
;
12774 unsigned char val2
;
12776 unsigned char val3
;
12778 unsigned char val4
;
12780 PyObject
* obj0
= 0 ;
12781 PyObject
* obj1
= 0 ;
12782 PyObject
* obj2
= 0 ;
12783 PyObject
* obj3
= 0 ;
12784 char * kwnames
[] = {
12785 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
12788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ImageHistogram_GetCountRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12789 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHistogram
, 0 | 0 );
12790 if (!SWIG_IsOK(res1
)) {
12791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHistogram_GetCountRGB" "', expected argument " "1"" of type '" "wxImageHistogram *""'");
12793 arg1
= reinterpret_cast< wxImageHistogram
* >(argp1
);
12794 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
12795 if (!SWIG_IsOK(ecode2
)) {
12796 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageHistogram_GetCountRGB" "', expected argument " "2"" of type '" "byte""'");
12798 arg2
= static_cast< byte
>(val2
);
12799 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
12800 if (!SWIG_IsOK(ecode3
)) {
12801 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ImageHistogram_GetCountRGB" "', expected argument " "3"" of type '" "byte""'");
12803 arg3
= static_cast< byte
>(val3
);
12804 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
12805 if (!SWIG_IsOK(ecode4
)) {
12806 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ImageHistogram_GetCountRGB" "', expected argument " "4"" of type '" "byte""'");
12808 arg4
= static_cast< byte
>(val4
);
12810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12811 result
= (unsigned long)wxImageHistogram_GetCountRGB(arg1
,arg2
,arg3
,arg4
);
12812 wxPyEndAllowThreads(__tstate
);
12813 if (PyErr_Occurred()) SWIG_fail
;
12815 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
12822 SWIGINTERN PyObject
*_wrap_ImageHistogram_GetCountColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12823 PyObject
*resultobj
= 0;
12824 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
12825 wxColour
*arg2
= 0 ;
12826 unsigned long result
;
12830 PyObject
* obj0
= 0 ;
12831 PyObject
* obj1
= 0 ;
12832 char * kwnames
[] = {
12833 (char *) "self",(char *) "colour", NULL
12836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHistogram_GetCountColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12837 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHistogram
, 0 | 0 );
12838 if (!SWIG_IsOK(res1
)) {
12839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHistogram_GetCountColour" "', expected argument " "1"" of type '" "wxImageHistogram *""'");
12841 arg1
= reinterpret_cast< wxImageHistogram
* >(argp1
);
12844 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12848 result
= (unsigned long)wxImageHistogram_GetCountColour(arg1
,(wxColour
const &)*arg2
);
12849 wxPyEndAllowThreads(__tstate
);
12850 if (PyErr_Occurred()) SWIG_fail
;
12852 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
12859 SWIGINTERN PyObject
*ImageHistogram_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12861 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12862 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageHistogram
, SWIG_NewClientData(obj
));
12863 return SWIG_Py_Void();
12866 SWIGINTERN PyObject
*ImageHistogram_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12867 return SWIG_Python_InitShadowInstance(args
);
12870 SWIGINTERN PyObject
*_wrap_new_Image_RGBValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12871 PyObject
*resultobj
= 0;
12872 byte arg1
= (byte
) 0 ;
12873 byte arg2
= (byte
) 0 ;
12874 byte arg3
= (byte
) 0 ;
12875 wxImage_RGBValue
*result
= 0 ;
12876 unsigned char val1
;
12878 unsigned char val2
;
12880 unsigned char val3
;
12882 PyObject
* obj0
= 0 ;
12883 PyObject
* obj1
= 0 ;
12884 PyObject
* obj2
= 0 ;
12885 char * kwnames
[] = {
12886 (char *) "r",(char *) "g",(char *) "b", NULL
12889 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Image_RGBValue",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12891 ecode1
= SWIG_AsVal_unsigned_SS_char(obj0
, &val1
);
12892 if (!SWIG_IsOK(ecode1
)) {
12893 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Image_RGBValue" "', expected argument " "1"" of type '" "byte""'");
12895 arg1
= static_cast< byte
>(val1
);
12898 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
12899 if (!SWIG_IsOK(ecode2
)) {
12900 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Image_RGBValue" "', expected argument " "2"" of type '" "byte""'");
12902 arg2
= static_cast< byte
>(val2
);
12905 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
12906 if (!SWIG_IsOK(ecode3
)) {
12907 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Image_RGBValue" "', expected argument " "3"" of type '" "byte""'");
12909 arg3
= static_cast< byte
>(val3
);
12912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12913 result
= (wxImage_RGBValue
*)new wxImage_RGBValue(arg1
,arg2
,arg3
);
12914 wxPyEndAllowThreads(__tstate
);
12915 if (PyErr_Occurred()) SWIG_fail
;
12917 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage_RGBValue
, SWIG_POINTER_NEW
| 0 );
12924 SWIGINTERN PyObject
*_wrap_Image_RGBValue_red_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12925 PyObject
*resultobj
= 0;
12926 wxImage_RGBValue
*arg1
= (wxImage_RGBValue
*) 0 ;
12930 unsigned char val2
;
12932 PyObject
*swig_obj
[2] ;
12934 if (!SWIG_Python_UnpackTuple(args
,"Image_RGBValue_red_set",2,2,swig_obj
)) SWIG_fail
;
12935 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_RGBValue
, 0 | 0 );
12936 if (!SWIG_IsOK(res1
)) {
12937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_RGBValue_red_set" "', expected argument " "1"" of type '" "wxImage_RGBValue *""'");
12939 arg1
= reinterpret_cast< wxImage_RGBValue
* >(argp1
);
12940 ecode2
= SWIG_AsVal_unsigned_SS_char(swig_obj
[1], &val2
);
12941 if (!SWIG_IsOK(ecode2
)) {
12942 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_RGBValue_red_set" "', expected argument " "2"" of type '" "byte""'");
12944 arg2
= static_cast< byte
>(val2
);
12945 if (arg1
) (arg1
)->red
= arg2
;
12947 resultobj
= SWIG_Py_Void();
12954 SWIGINTERN PyObject
*_wrap_Image_RGBValue_red_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12955 PyObject
*resultobj
= 0;
12956 wxImage_RGBValue
*arg1
= (wxImage_RGBValue
*) 0 ;
12960 PyObject
*swig_obj
[1] ;
12962 if (!args
) SWIG_fail
;
12963 swig_obj
[0] = args
;
12964 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_RGBValue
, 0 | 0 );
12965 if (!SWIG_IsOK(res1
)) {
12966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_RGBValue_red_get" "', expected argument " "1"" of type '" "wxImage_RGBValue *""'");
12968 arg1
= reinterpret_cast< wxImage_RGBValue
* >(argp1
);
12969 result
= (byte
) ((arg1
)->red
);
12970 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
12977 SWIGINTERN PyObject
*_wrap_Image_RGBValue_green_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12978 PyObject
*resultobj
= 0;
12979 wxImage_RGBValue
*arg1
= (wxImage_RGBValue
*) 0 ;
12983 unsigned char val2
;
12985 PyObject
*swig_obj
[2] ;
12987 if (!SWIG_Python_UnpackTuple(args
,"Image_RGBValue_green_set",2,2,swig_obj
)) SWIG_fail
;
12988 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_RGBValue
, 0 | 0 );
12989 if (!SWIG_IsOK(res1
)) {
12990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_RGBValue_green_set" "', expected argument " "1"" of type '" "wxImage_RGBValue *""'");
12992 arg1
= reinterpret_cast< wxImage_RGBValue
* >(argp1
);
12993 ecode2
= SWIG_AsVal_unsigned_SS_char(swig_obj
[1], &val2
);
12994 if (!SWIG_IsOK(ecode2
)) {
12995 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_RGBValue_green_set" "', expected argument " "2"" of type '" "byte""'");
12997 arg2
= static_cast< byte
>(val2
);
12998 if (arg1
) (arg1
)->green
= arg2
;
13000 resultobj
= SWIG_Py_Void();
13007 SWIGINTERN PyObject
*_wrap_Image_RGBValue_green_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13008 PyObject
*resultobj
= 0;
13009 wxImage_RGBValue
*arg1
= (wxImage_RGBValue
*) 0 ;
13013 PyObject
*swig_obj
[1] ;
13015 if (!args
) SWIG_fail
;
13016 swig_obj
[0] = args
;
13017 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_RGBValue
, 0 | 0 );
13018 if (!SWIG_IsOK(res1
)) {
13019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_RGBValue_green_get" "', expected argument " "1"" of type '" "wxImage_RGBValue *""'");
13021 arg1
= reinterpret_cast< wxImage_RGBValue
* >(argp1
);
13022 result
= (byte
) ((arg1
)->green
);
13023 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
13030 SWIGINTERN PyObject
*_wrap_Image_RGBValue_blue_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13031 PyObject
*resultobj
= 0;
13032 wxImage_RGBValue
*arg1
= (wxImage_RGBValue
*) 0 ;
13036 unsigned char val2
;
13038 PyObject
*swig_obj
[2] ;
13040 if (!SWIG_Python_UnpackTuple(args
,"Image_RGBValue_blue_set",2,2,swig_obj
)) SWIG_fail
;
13041 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_RGBValue
, 0 | 0 );
13042 if (!SWIG_IsOK(res1
)) {
13043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_RGBValue_blue_set" "', expected argument " "1"" of type '" "wxImage_RGBValue *""'");
13045 arg1
= reinterpret_cast< wxImage_RGBValue
* >(argp1
);
13046 ecode2
= SWIG_AsVal_unsigned_SS_char(swig_obj
[1], &val2
);
13047 if (!SWIG_IsOK(ecode2
)) {
13048 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_RGBValue_blue_set" "', expected argument " "2"" of type '" "byte""'");
13050 arg2
= static_cast< byte
>(val2
);
13051 if (arg1
) (arg1
)->blue
= arg2
;
13053 resultobj
= SWIG_Py_Void();
13060 SWIGINTERN PyObject
*_wrap_Image_RGBValue_blue_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13061 PyObject
*resultobj
= 0;
13062 wxImage_RGBValue
*arg1
= (wxImage_RGBValue
*) 0 ;
13066 PyObject
*swig_obj
[1] ;
13068 if (!args
) SWIG_fail
;
13069 swig_obj
[0] = args
;
13070 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_RGBValue
, 0 | 0 );
13071 if (!SWIG_IsOK(res1
)) {
13072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_RGBValue_blue_get" "', expected argument " "1"" of type '" "wxImage_RGBValue *""'");
13074 arg1
= reinterpret_cast< wxImage_RGBValue
* >(argp1
);
13075 result
= (byte
) ((arg1
)->blue
);
13076 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
13083 SWIGINTERN PyObject
*Image_RGBValue_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13085 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13086 SWIG_TypeNewClientData(SWIGTYPE_p_wxImage_RGBValue
, SWIG_NewClientData(obj
));
13087 return SWIG_Py_Void();
13090 SWIGINTERN PyObject
*Image_RGBValue_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13091 return SWIG_Python_InitShadowInstance(args
);
13094 SWIGINTERN PyObject
*_wrap_new_Image_HSVValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13095 PyObject
*resultobj
= 0;
13096 double arg1
= (double) 0.0 ;
13097 double arg2
= (double) 0.0 ;
13098 double arg3
= (double) 0.0 ;
13099 wxImage_HSVValue
*result
= 0 ;
13106 PyObject
* obj0
= 0 ;
13107 PyObject
* obj1
= 0 ;
13108 PyObject
* obj2
= 0 ;
13109 char * kwnames
[] = {
13110 (char *) "h",(char *) "s",(char *) "v", NULL
13113 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Image_HSVValue",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13115 ecode1
= SWIG_AsVal_double(obj0
, &val1
);
13116 if (!SWIG_IsOK(ecode1
)) {
13117 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Image_HSVValue" "', expected argument " "1"" of type '" "double""'");
13119 arg1
= static_cast< double >(val1
);
13122 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
13123 if (!SWIG_IsOK(ecode2
)) {
13124 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Image_HSVValue" "', expected argument " "2"" of type '" "double""'");
13126 arg2
= static_cast< double >(val2
);
13129 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
13130 if (!SWIG_IsOK(ecode3
)) {
13131 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Image_HSVValue" "', expected argument " "3"" of type '" "double""'");
13133 arg3
= static_cast< double >(val3
);
13136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13137 result
= (wxImage_HSVValue
*)new wxImage_HSVValue(arg1
,arg2
,arg3
);
13138 wxPyEndAllowThreads(__tstate
);
13139 if (PyErr_Occurred()) SWIG_fail
;
13141 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage_HSVValue
, SWIG_POINTER_NEW
| 0 );
13148 SWIGINTERN PyObject
*_wrap_Image_HSVValue_hue_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13149 PyObject
*resultobj
= 0;
13150 wxImage_HSVValue
*arg1
= (wxImage_HSVValue
*) 0 ;
13156 PyObject
*swig_obj
[2] ;
13158 if (!SWIG_Python_UnpackTuple(args
,"Image_HSVValue_hue_set",2,2,swig_obj
)) SWIG_fail
;
13159 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_HSVValue
, 0 | 0 );
13160 if (!SWIG_IsOK(res1
)) {
13161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_HSVValue_hue_set" "', expected argument " "1"" of type '" "wxImage_HSVValue *""'");
13163 arg1
= reinterpret_cast< wxImage_HSVValue
* >(argp1
);
13164 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
13165 if (!SWIG_IsOK(ecode2
)) {
13166 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_HSVValue_hue_set" "', expected argument " "2"" of type '" "double""'");
13168 arg2
= static_cast< double >(val2
);
13169 if (arg1
) (arg1
)->hue
= arg2
;
13171 resultobj
= SWIG_Py_Void();
13178 SWIGINTERN PyObject
*_wrap_Image_HSVValue_hue_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13179 PyObject
*resultobj
= 0;
13180 wxImage_HSVValue
*arg1
= (wxImage_HSVValue
*) 0 ;
13184 PyObject
*swig_obj
[1] ;
13186 if (!args
) SWIG_fail
;
13187 swig_obj
[0] = args
;
13188 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_HSVValue
, 0 | 0 );
13189 if (!SWIG_IsOK(res1
)) {
13190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_HSVValue_hue_get" "', expected argument " "1"" of type '" "wxImage_HSVValue *""'");
13192 arg1
= reinterpret_cast< wxImage_HSVValue
* >(argp1
);
13193 result
= (double) ((arg1
)->hue
);
13194 resultobj
= SWIG_From_double(static_cast< double >(result
));
13201 SWIGINTERN PyObject
*_wrap_Image_HSVValue_saturation_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13202 PyObject
*resultobj
= 0;
13203 wxImage_HSVValue
*arg1
= (wxImage_HSVValue
*) 0 ;
13209 PyObject
*swig_obj
[2] ;
13211 if (!SWIG_Python_UnpackTuple(args
,"Image_HSVValue_saturation_set",2,2,swig_obj
)) SWIG_fail
;
13212 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_HSVValue
, 0 | 0 );
13213 if (!SWIG_IsOK(res1
)) {
13214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_HSVValue_saturation_set" "', expected argument " "1"" of type '" "wxImage_HSVValue *""'");
13216 arg1
= reinterpret_cast< wxImage_HSVValue
* >(argp1
);
13217 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
13218 if (!SWIG_IsOK(ecode2
)) {
13219 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_HSVValue_saturation_set" "', expected argument " "2"" of type '" "double""'");
13221 arg2
= static_cast< double >(val2
);
13222 if (arg1
) (arg1
)->saturation
= arg2
;
13224 resultobj
= SWIG_Py_Void();
13231 SWIGINTERN PyObject
*_wrap_Image_HSVValue_saturation_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13232 PyObject
*resultobj
= 0;
13233 wxImage_HSVValue
*arg1
= (wxImage_HSVValue
*) 0 ;
13237 PyObject
*swig_obj
[1] ;
13239 if (!args
) SWIG_fail
;
13240 swig_obj
[0] = args
;
13241 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_HSVValue
, 0 | 0 );
13242 if (!SWIG_IsOK(res1
)) {
13243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_HSVValue_saturation_get" "', expected argument " "1"" of type '" "wxImage_HSVValue *""'");
13245 arg1
= reinterpret_cast< wxImage_HSVValue
* >(argp1
);
13246 result
= (double) ((arg1
)->saturation
);
13247 resultobj
= SWIG_From_double(static_cast< double >(result
));
13254 SWIGINTERN PyObject
*_wrap_Image_HSVValue_value_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13255 PyObject
*resultobj
= 0;
13256 wxImage_HSVValue
*arg1
= (wxImage_HSVValue
*) 0 ;
13262 PyObject
*swig_obj
[2] ;
13264 if (!SWIG_Python_UnpackTuple(args
,"Image_HSVValue_value_set",2,2,swig_obj
)) SWIG_fail
;
13265 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_HSVValue
, 0 | 0 );
13266 if (!SWIG_IsOK(res1
)) {
13267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_HSVValue_value_set" "', expected argument " "1"" of type '" "wxImage_HSVValue *""'");
13269 arg1
= reinterpret_cast< wxImage_HSVValue
* >(argp1
);
13270 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
13271 if (!SWIG_IsOK(ecode2
)) {
13272 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_HSVValue_value_set" "', expected argument " "2"" of type '" "double""'");
13274 arg2
= static_cast< double >(val2
);
13275 if (arg1
) (arg1
)->value
= arg2
;
13277 resultobj
= SWIG_Py_Void();
13284 SWIGINTERN PyObject
*_wrap_Image_HSVValue_value_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13285 PyObject
*resultobj
= 0;
13286 wxImage_HSVValue
*arg1
= (wxImage_HSVValue
*) 0 ;
13290 PyObject
*swig_obj
[1] ;
13292 if (!args
) SWIG_fail
;
13293 swig_obj
[0] = args
;
13294 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_HSVValue
, 0 | 0 );
13295 if (!SWIG_IsOK(res1
)) {
13296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_HSVValue_value_get" "', expected argument " "1"" of type '" "wxImage_HSVValue *""'");
13298 arg1
= reinterpret_cast< wxImage_HSVValue
* >(argp1
);
13299 result
= (double) ((arg1
)->value
);
13300 resultobj
= SWIG_From_double(static_cast< double >(result
));
13307 SWIGINTERN PyObject
*Image_HSVValue_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13309 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13310 SWIG_TypeNewClientData(SWIGTYPE_p_wxImage_HSVValue
, SWIG_NewClientData(obj
));
13311 return SWIG_Py_Void();
13314 SWIGINTERN PyObject
*Image_HSVValue_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13315 return SWIG_Python_InitShadowInstance(args
);
13318 SWIGINTERN PyObject
*_wrap_new_Image(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13319 PyObject
*resultobj
= 0;
13320 wxString
*arg1
= 0 ;
13321 long arg2
= (long) wxBITMAP_TYPE_ANY
;
13322 int arg3
= (int) -1 ;
13323 wxImage
*result
= 0 ;
13324 bool temp1
= false ;
13329 PyObject
* obj0
= 0 ;
13330 PyObject
* obj1
= 0 ;
13331 PyObject
* obj2
= 0 ;
13332 char * kwnames
[] = {
13333 (char *) "name",(char *) "type",(char *) "index", NULL
13336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Image",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13338 arg1
= wxString_in_helper(obj0
);
13339 if (arg1
== NULL
) SWIG_fail
;
13343 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13344 if (!SWIG_IsOK(ecode2
)) {
13345 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Image" "', expected argument " "2"" of type '" "long""'");
13347 arg2
= static_cast< long >(val2
);
13350 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13351 if (!SWIG_IsOK(ecode3
)) {
13352 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Image" "', expected argument " "3"" of type '" "int""'");
13354 arg3
= static_cast< int >(val3
);
13357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13358 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,arg2
,arg3
);
13359 wxPyEndAllowThreads(__tstate
);
13360 if (PyErr_Occurred()) SWIG_fail
;
13362 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage
, SWIG_POINTER_NEW
| 0 );
13377 SWIGINTERN PyObject
*_wrap_delete_Image(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13378 PyObject
*resultobj
= 0;
13379 wxImage
*arg1
= (wxImage
*) 0 ;
13382 PyObject
*swig_obj
[1] ;
13384 if (!args
) SWIG_fail
;
13385 swig_obj
[0] = args
;
13386 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, SWIG_POINTER_DISOWN
| 0 );
13387 if (!SWIG_IsOK(res1
)) {
13388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Image" "', expected argument " "1"" of type '" "wxImage *""'");
13390 arg1
= reinterpret_cast< wxImage
* >(argp1
);
13392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13395 wxPyEndAllowThreads(__tstate
);
13396 if (PyErr_Occurred()) SWIG_fail
;
13398 resultobj
= SWIG_Py_Void();
13405 SWIGINTERN PyObject
*_wrap_new_ImageFromMime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13406 PyObject
*resultobj
= 0;
13407 wxString
*arg1
= 0 ;
13408 wxString
*arg2
= 0 ;
13409 int arg3
= (int) -1 ;
13410 wxImage
*result
= 0 ;
13411 bool temp1
= false ;
13412 bool temp2
= false ;
13415 PyObject
* obj0
= 0 ;
13416 PyObject
* obj1
= 0 ;
13417 PyObject
* obj2
= 0 ;
13418 char * kwnames
[] = {
13419 (char *) "name",(char *) "mimetype",(char *) "index", NULL
13422 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromMime",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13424 arg1
= wxString_in_helper(obj0
);
13425 if (arg1
== NULL
) SWIG_fail
;
13429 arg2
= wxString_in_helper(obj1
);
13430 if (arg2
== NULL
) SWIG_fail
;
13434 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13435 if (!SWIG_IsOK(ecode3
)) {
13436 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageFromMime" "', expected argument " "3"" of type '" "int""'");
13438 arg3
= static_cast< int >(val3
);
13441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13442 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
13443 wxPyEndAllowThreads(__tstate
);
13444 if (PyErr_Occurred()) SWIG_fail
;
13446 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
13469 SWIGINTERN PyObject
*_wrap_new_ImageFromStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13470 PyObject
*resultobj
= 0;
13471 wxInputStream
*arg1
= 0 ;
13472 long arg2
= (long) wxBITMAP_TYPE_ANY
;
13473 int arg3
= (int) -1 ;
13474 wxImage
*result
= 0 ;
13475 wxPyInputStream
*temp1
;
13481 PyObject
* obj0
= 0 ;
13482 PyObject
* obj1
= 0 ;
13483 PyObject
* obj2
= 0 ;
13484 char * kwnames
[] = {
13485 (char *) "stream",(char *) "type",(char *) "index", NULL
13488 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_ImageFromStream",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13490 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
13491 arg1
= temp1
->m_wxis
;
13494 PyErr_Clear(); // clear the failure of the wxPyConvert above
13495 arg1
= wxPyCBInputStream_create(obj0
, false);
13496 if (arg1
== NULL
) {
13497 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
13504 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13505 if (!SWIG_IsOK(ecode2
)) {
13506 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageFromStream" "', expected argument " "2"" of type '" "long""'");
13508 arg2
= static_cast< long >(val2
);
13511 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13512 if (!SWIG_IsOK(ecode3
)) {
13513 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageFromStream" "', expected argument " "3"" of type '" "int""'");
13515 arg3
= static_cast< int >(val3
);
13518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13519 result
= (wxImage
*)new wxImage(*arg1
,arg2
,arg3
);
13520 wxPyEndAllowThreads(__tstate
);
13521 if (PyErr_Occurred()) SWIG_fail
;
13523 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
13525 if (created1
) delete arg1
;
13530 if (created1
) delete arg1
;
13536 SWIGINTERN PyObject
*_wrap_new_ImageFromStreamMime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13537 PyObject
*resultobj
= 0;
13538 wxInputStream
*arg1
= 0 ;
13539 wxString
*arg2
= 0 ;
13540 int arg3
= (int) -1 ;
13541 wxImage
*result
= 0 ;
13542 wxPyInputStream
*temp1
;
13544 bool temp2
= false ;
13547 PyObject
* obj0
= 0 ;
13548 PyObject
* obj1
= 0 ;
13549 PyObject
* obj2
= 0 ;
13550 char * kwnames
[] = {
13551 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
13554 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromStreamMime",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13556 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
13557 arg1
= temp1
->m_wxis
;
13560 PyErr_Clear(); // clear the failure of the wxPyConvert above
13561 arg1
= wxPyCBInputStream_create(obj0
, false);
13562 if (arg1
== NULL
) {
13563 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
13570 arg2
= wxString_in_helper(obj1
);
13571 if (arg2
== NULL
) SWIG_fail
;
13575 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13576 if (!SWIG_IsOK(ecode3
)) {
13577 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageFromStreamMime" "', expected argument " "3"" of type '" "int""'");
13579 arg3
= static_cast< int >(val3
);
13582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13583 result
= (wxImage
*)new wxImage(*arg1
,(wxString
const &)*arg2
,arg3
);
13584 wxPyEndAllowThreads(__tstate
);
13585 if (PyErr_Occurred()) SWIG_fail
;
13587 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
13589 if (created1
) delete arg1
;
13598 if (created1
) delete arg1
;
13608 SWIGINTERN PyObject
*_wrap_new_EmptyImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13609 PyObject
*resultobj
= 0;
13610 int arg1
= (int) 0 ;
13611 int arg2
= (int) 0 ;
13612 bool arg3
= (bool) true ;
13613 wxImage
*result
= 0 ;
13620 PyObject
* obj0
= 0 ;
13621 PyObject
* obj1
= 0 ;
13622 PyObject
* obj2
= 0 ;
13623 char * kwnames
[] = {
13624 (char *) "width",(char *) "height",(char *) "clear", NULL
13627 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_EmptyImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13629 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13630 if (!SWIG_IsOK(ecode1
)) {
13631 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_EmptyImage" "', expected argument " "1"" of type '" "int""'");
13633 arg1
= static_cast< int >(val1
);
13636 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13637 if (!SWIG_IsOK(ecode2
)) {
13638 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_EmptyImage" "', expected argument " "2"" of type '" "int""'");
13640 arg2
= static_cast< int >(val2
);
13643 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
13644 if (!SWIG_IsOK(ecode3
)) {
13645 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_EmptyImage" "', expected argument " "3"" of type '" "bool""'");
13647 arg3
= static_cast< bool >(val3
);
13650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13651 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
13652 wxPyEndAllowThreads(__tstate
);
13653 if (PyErr_Occurred()) SWIG_fail
;
13655 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
13662 SWIGINTERN PyObject
*_wrap_new_ImageFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13663 PyObject
*resultobj
= 0;
13664 wxBitmap
*arg1
= 0 ;
13665 wxImage
*result
= 0 ;
13668 PyObject
* obj0
= 0 ;
13669 char * kwnames
[] = {
13670 (char *) "bitmap", NULL
13673 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ImageFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
13674 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
13675 if (!SWIG_IsOK(res1
)) {
13676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ImageFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
13679 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ImageFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
13681 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
13683 if (!wxPyCheckForApp()) SWIG_fail
;
13684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13685 result
= (wxImage
*)new_wxImage((wxBitmap
const &)*arg1
);
13686 wxPyEndAllowThreads(__tstate
);
13687 if (PyErr_Occurred()) SWIG_fail
;
13689 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
13696 SWIGINTERN PyObject
*_wrap_new_ImageFromData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13697 PyObject
*resultobj
= 0;
13702 wxImage
*result
= 0 ;
13708 PyObject
* obj0
= 0 ;
13709 PyObject
* obj1
= 0 ;
13710 PyObject
* obj2
= 0 ;
13711 char * kwnames
[] = {
13712 (char *) "width",(char *) "height",(char *) "data", NULL
13715 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ImageFromData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13716 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13717 if (!SWIG_IsOK(ecode1
)) {
13718 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageFromData" "', expected argument " "1"" of type '" "int""'");
13720 arg1
= static_cast< int >(val1
);
13721 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13722 if (!SWIG_IsOK(ecode2
)) {
13723 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageFromData" "', expected argument " "2"" of type '" "int""'");
13725 arg2
= static_cast< int >(val2
);
13727 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
13731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13732 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
,arg4
);
13733 wxPyEndAllowThreads(__tstate
);
13734 if (PyErr_Occurred()) SWIG_fail
;
13736 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
13743 SWIGINTERN PyObject
*_wrap_new_ImageFromDataWithAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13744 PyObject
*resultobj
= 0;
13751 wxImage
*result
= 0 ;
13758 PyObject
* obj0
= 0 ;
13759 PyObject
* obj1
= 0 ;
13760 PyObject
* obj2
= 0 ;
13761 PyObject
* obj3
= 0 ;
13762 char * kwnames
[] = {
13763 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
13766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_ImageFromDataWithAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13767 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13768 if (!SWIG_IsOK(ecode1
)) {
13769 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageFromDataWithAlpha" "', expected argument " "1"" of type '" "int""'");
13771 arg1
= static_cast< int >(val1
);
13772 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13773 if (!SWIG_IsOK(ecode2
)) {
13774 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageFromDataWithAlpha" "', expected argument " "2"" of type '" "int""'");
13776 arg2
= static_cast< int >(val2
);
13778 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
13782 if (obj3
!= Py_None
) {
13783 if (PyObject_AsReadBuffer(obj3
, (const void**)(&arg5
), &temp5
) == -1) SWIG_fail
;
13788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13789 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
13790 wxPyEndAllowThreads(__tstate
);
13791 if (PyErr_Occurred()) SWIG_fail
;
13793 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
13800 SWIGINTERN PyObject
*_wrap_Image_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13801 PyObject
*resultobj
= 0;
13802 wxImage
*arg1
= (wxImage
*) 0 ;
13805 bool arg4
= (bool) true ;
13814 PyObject
* obj0
= 0 ;
13815 PyObject
* obj1
= 0 ;
13816 PyObject
* obj2
= 0 ;
13817 PyObject
* obj3
= 0 ;
13818 char * kwnames
[] = {
13819 (char *) "self",(char *) "width",(char *) "height",(char *) "clear", NULL
13822 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13823 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
13824 if (!SWIG_IsOK(res1
)) {
13825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Create" "', expected argument " "1"" of type '" "wxImage *""'");
13827 arg1
= reinterpret_cast< wxImage
* >(argp1
);
13828 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13829 if (!SWIG_IsOK(ecode2
)) {
13830 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_Create" "', expected argument " "2"" of type '" "int""'");
13832 arg2
= static_cast< int >(val2
);
13833 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13834 if (!SWIG_IsOK(ecode3
)) {
13835 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_Create" "', expected argument " "3"" of type '" "int""'");
13837 arg3
= static_cast< int >(val3
);
13839 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
13840 if (!SWIG_IsOK(ecode4
)) {
13841 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_Create" "', expected argument " "4"" of type '" "bool""'");
13843 arg4
= static_cast< bool >(val4
);
13846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13847 (arg1
)->Create(arg2
,arg3
,arg4
);
13848 wxPyEndAllowThreads(__tstate
);
13849 if (PyErr_Occurred()) SWIG_fail
;
13851 resultobj
= SWIG_Py_Void();
13858 SWIGINTERN PyObject
*_wrap_Image_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13859 PyObject
*resultobj
= 0;
13860 wxImage
*arg1
= (wxImage
*) 0 ;
13863 PyObject
*swig_obj
[1] ;
13865 if (!args
) SWIG_fail
;
13866 swig_obj
[0] = args
;
13867 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
13868 if (!SWIG_IsOK(res1
)) {
13869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Destroy" "', expected argument " "1"" of type '" "wxImage *""'");
13871 arg1
= reinterpret_cast< wxImage
* >(argp1
);
13873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13875 wxPyEndAllowThreads(__tstate
);
13876 if (PyErr_Occurred()) SWIG_fail
;
13878 resultobj
= SWIG_Py_Void();
13885 SWIGINTERN PyObject
*_wrap_Image_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13886 PyObject
*resultobj
= 0;
13887 wxImage
*arg1
= (wxImage
*) 0 ;
13890 int arg4
= (int) wxIMAGE_QUALITY_NORMAL
;
13891 SwigValueWrapper
<wxImage
> result
;
13900 PyObject
* obj0
= 0 ;
13901 PyObject
* obj1
= 0 ;
13902 PyObject
* obj2
= 0 ;
13903 PyObject
* obj3
= 0 ;
13904 char * kwnames
[] = {
13905 (char *) "self",(char *) "width",(char *) "height",(char *) "quality", NULL
13908 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_Scale",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13909 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
13910 if (!SWIG_IsOK(res1
)) {
13911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Scale" "', expected argument " "1"" of type '" "wxImage *""'");
13913 arg1
= reinterpret_cast< wxImage
* >(argp1
);
13914 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13915 if (!SWIG_IsOK(ecode2
)) {
13916 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_Scale" "', expected argument " "2"" of type '" "int""'");
13918 arg2
= static_cast< int >(val2
);
13919 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13920 if (!SWIG_IsOK(ecode3
)) {
13921 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_Scale" "', expected argument " "3"" of type '" "int""'");
13923 arg3
= static_cast< int >(val3
);
13925 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
13926 if (!SWIG_IsOK(ecode4
)) {
13927 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_Scale" "', expected argument " "4"" of type '" "int""'");
13929 arg4
= static_cast< int >(val4
);
13932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13933 result
= (arg1
)->Scale(arg2
,arg3
,arg4
);
13934 wxPyEndAllowThreads(__tstate
);
13935 if (PyErr_Occurred()) SWIG_fail
;
13937 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
13944 SWIGINTERN PyObject
*_wrap_Image_ResampleBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13945 PyObject
*resultobj
= 0;
13946 wxImage
*arg1
= (wxImage
*) 0 ;
13949 SwigValueWrapper
<wxImage
> result
;
13956 PyObject
* obj0
= 0 ;
13957 PyObject
* obj1
= 0 ;
13958 PyObject
* obj2
= 0 ;
13959 char * kwnames
[] = {
13960 (char *) "self",(char *) "width",(char *) "height", NULL
13963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_ResampleBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13964 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
13965 if (!SWIG_IsOK(res1
)) {
13966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_ResampleBox" "', expected argument " "1"" of type '" "wxImage const *""'");
13968 arg1
= reinterpret_cast< wxImage
* >(argp1
);
13969 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13970 if (!SWIG_IsOK(ecode2
)) {
13971 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_ResampleBox" "', expected argument " "2"" of type '" "int""'");
13973 arg2
= static_cast< int >(val2
);
13974 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13975 if (!SWIG_IsOK(ecode3
)) {
13976 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_ResampleBox" "', expected argument " "3"" of type '" "int""'");
13978 arg3
= static_cast< int >(val3
);
13980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13981 result
= ((wxImage
const *)arg1
)->ResampleBox(arg2
,arg3
);
13982 wxPyEndAllowThreads(__tstate
);
13983 if (PyErr_Occurred()) SWIG_fail
;
13985 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
13992 SWIGINTERN PyObject
*_wrap_Image_ResampleBicubic(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13993 PyObject
*resultobj
= 0;
13994 wxImage
*arg1
= (wxImage
*) 0 ;
13997 SwigValueWrapper
<wxImage
> result
;
14004 PyObject
* obj0
= 0 ;
14005 PyObject
* obj1
= 0 ;
14006 PyObject
* obj2
= 0 ;
14007 char * kwnames
[] = {
14008 (char *) "self",(char *) "width",(char *) "height", NULL
14011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_ResampleBicubic",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14012 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14013 if (!SWIG_IsOK(res1
)) {
14014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_ResampleBicubic" "', expected argument " "1"" of type '" "wxImage const *""'");
14016 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14017 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14018 if (!SWIG_IsOK(ecode2
)) {
14019 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_ResampleBicubic" "', expected argument " "2"" of type '" "int""'");
14021 arg2
= static_cast< int >(val2
);
14022 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14023 if (!SWIG_IsOK(ecode3
)) {
14024 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_ResampleBicubic" "', expected argument " "3"" of type '" "int""'");
14026 arg3
= static_cast< int >(val3
);
14028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14029 result
= ((wxImage
const *)arg1
)->ResampleBicubic(arg2
,arg3
);
14030 wxPyEndAllowThreads(__tstate
);
14031 if (PyErr_Occurred()) SWIG_fail
;
14033 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
14040 SWIGINTERN PyObject
*_wrap_Image_Blur(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14041 PyObject
*resultobj
= 0;
14042 wxImage
*arg1
= (wxImage
*) 0 ;
14044 SwigValueWrapper
<wxImage
> result
;
14049 PyObject
* obj0
= 0 ;
14050 PyObject
* obj1
= 0 ;
14051 char * kwnames
[] = {
14052 (char *) "self",(char *) "radius", NULL
14055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_Blur",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14056 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14057 if (!SWIG_IsOK(res1
)) {
14058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Blur" "', expected argument " "1"" of type '" "wxImage *""'");
14060 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14061 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14062 if (!SWIG_IsOK(ecode2
)) {
14063 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_Blur" "', expected argument " "2"" of type '" "int""'");
14065 arg2
= static_cast< int >(val2
);
14067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14068 result
= (arg1
)->Blur(arg2
);
14069 wxPyEndAllowThreads(__tstate
);
14070 if (PyErr_Occurred()) SWIG_fail
;
14072 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
14079 SWIGINTERN PyObject
*_wrap_Image_BlurHorizontal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14080 PyObject
*resultobj
= 0;
14081 wxImage
*arg1
= (wxImage
*) 0 ;
14083 SwigValueWrapper
<wxImage
> result
;
14088 PyObject
* obj0
= 0 ;
14089 PyObject
* obj1
= 0 ;
14090 char * kwnames
[] = {
14091 (char *) "self",(char *) "radius", NULL
14094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_BlurHorizontal",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14095 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14096 if (!SWIG_IsOK(res1
)) {
14097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_BlurHorizontal" "', expected argument " "1"" of type '" "wxImage *""'");
14099 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14100 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14101 if (!SWIG_IsOK(ecode2
)) {
14102 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_BlurHorizontal" "', expected argument " "2"" of type '" "int""'");
14104 arg2
= static_cast< int >(val2
);
14106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14107 result
= (arg1
)->BlurHorizontal(arg2
);
14108 wxPyEndAllowThreads(__tstate
);
14109 if (PyErr_Occurred()) SWIG_fail
;
14111 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
14118 SWIGINTERN PyObject
*_wrap_Image_BlurVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14119 PyObject
*resultobj
= 0;
14120 wxImage
*arg1
= (wxImage
*) 0 ;
14122 SwigValueWrapper
<wxImage
> result
;
14127 PyObject
* obj0
= 0 ;
14128 PyObject
* obj1
= 0 ;
14129 char * kwnames
[] = {
14130 (char *) "self",(char *) "radius", NULL
14133 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_BlurVertical",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14134 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14135 if (!SWIG_IsOK(res1
)) {
14136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_BlurVertical" "', expected argument " "1"" of type '" "wxImage *""'");
14138 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14139 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14140 if (!SWIG_IsOK(ecode2
)) {
14141 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_BlurVertical" "', expected argument " "2"" of type '" "int""'");
14143 arg2
= static_cast< int >(val2
);
14145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14146 result
= (arg1
)->BlurVertical(arg2
);
14147 wxPyEndAllowThreads(__tstate
);
14148 if (PyErr_Occurred()) SWIG_fail
;
14150 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
14157 SWIGINTERN PyObject
*_wrap_Image_ShrinkBy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14158 PyObject
*resultobj
= 0;
14159 wxImage
*arg1
= (wxImage
*) 0 ;
14162 SwigValueWrapper
<wxImage
> result
;
14169 PyObject
* obj0
= 0 ;
14170 PyObject
* obj1
= 0 ;
14171 PyObject
* obj2
= 0 ;
14172 char * kwnames
[] = {
14173 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
14176 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_ShrinkBy",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14177 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14178 if (!SWIG_IsOK(res1
)) {
14179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_ShrinkBy" "', expected argument " "1"" of type '" "wxImage const *""'");
14181 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14182 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14183 if (!SWIG_IsOK(ecode2
)) {
14184 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_ShrinkBy" "', expected argument " "2"" of type '" "int""'");
14186 arg2
= static_cast< int >(val2
);
14187 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14188 if (!SWIG_IsOK(ecode3
)) {
14189 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_ShrinkBy" "', expected argument " "3"" of type '" "int""'");
14191 arg3
= static_cast< int >(val3
);
14193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14194 result
= ((wxImage
const *)arg1
)->ShrinkBy(arg2
,arg3
);
14195 wxPyEndAllowThreads(__tstate
);
14196 if (PyErr_Occurred()) SWIG_fail
;
14198 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
14205 SWIGINTERN PyObject
*_wrap_Image_Rescale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14206 PyObject
*resultobj
= 0;
14207 wxImage
*arg1
= (wxImage
*) 0 ;
14210 int arg4
= (int) wxIMAGE_QUALITY_NORMAL
;
14211 wxImage
*result
= 0 ;
14220 PyObject
* obj0
= 0 ;
14221 PyObject
* obj1
= 0 ;
14222 PyObject
* obj2
= 0 ;
14223 PyObject
* obj3
= 0 ;
14224 char * kwnames
[] = {
14225 (char *) "self",(char *) "width",(char *) "height",(char *) "quality", NULL
14228 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_Rescale",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14229 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14230 if (!SWIG_IsOK(res1
)) {
14231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Rescale" "', expected argument " "1"" of type '" "wxImage *""'");
14233 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14234 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14235 if (!SWIG_IsOK(ecode2
)) {
14236 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_Rescale" "', expected argument " "2"" of type '" "int""'");
14238 arg2
= static_cast< int >(val2
);
14239 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14240 if (!SWIG_IsOK(ecode3
)) {
14241 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_Rescale" "', expected argument " "3"" of type '" "int""'");
14243 arg3
= static_cast< int >(val3
);
14245 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14246 if (!SWIG_IsOK(ecode4
)) {
14247 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_Rescale" "', expected argument " "4"" of type '" "int""'");
14249 arg4
= static_cast< int >(val4
);
14252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14254 wxImage
&_result_ref
= (arg1
)->Rescale(arg2
,arg3
,arg4
);
14255 result
= (wxImage
*) &_result_ref
;
14257 wxPyEndAllowThreads(__tstate
);
14258 if (PyErr_Occurred()) SWIG_fail
;
14260 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage
, 0 | 0 );
14267 SWIGINTERN PyObject
*_wrap_Image_Resize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14268 PyObject
*resultobj
= 0;
14269 wxImage
*arg1
= (wxImage
*) 0 ;
14271 wxPoint
*arg3
= 0 ;
14272 int arg4
= (int) -1 ;
14273 int arg5
= (int) -1 ;
14274 int arg6
= (int) -1 ;
14275 wxImage
*result
= 0 ;
14286 PyObject
* obj0
= 0 ;
14287 PyObject
* obj1
= 0 ;
14288 PyObject
* obj2
= 0 ;
14289 PyObject
* obj3
= 0 ;
14290 PyObject
* obj4
= 0 ;
14291 PyObject
* obj5
= 0 ;
14292 char * kwnames
[] = {
14293 (char *) "self",(char *) "size",(char *) "pos",(char *) "r",(char *) "g",(char *) "b", NULL
14296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:Image_Resize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14298 if (!SWIG_IsOK(res1
)) {
14299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Resize" "', expected argument " "1"" of type '" "wxImage *""'");
14301 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14304 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14308 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14311 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14312 if (!SWIG_IsOK(ecode4
)) {
14313 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_Resize" "', expected argument " "4"" of type '" "int""'");
14315 arg4
= static_cast< int >(val4
);
14318 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14319 if (!SWIG_IsOK(ecode5
)) {
14320 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Image_Resize" "', expected argument " "5"" of type '" "int""'");
14322 arg5
= static_cast< int >(val5
);
14325 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
14326 if (!SWIG_IsOK(ecode6
)) {
14327 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Image_Resize" "', expected argument " "6"" of type '" "int""'");
14329 arg6
= static_cast< int >(val6
);
14332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14334 wxImage
&_result_ref
= (arg1
)->Resize((wxSize
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
,arg6
);
14335 result
= (wxImage
*) &_result_ref
;
14337 wxPyEndAllowThreads(__tstate
);
14338 if (PyErr_Occurred()) SWIG_fail
;
14340 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage
, 0 | 0 );
14347 SWIGINTERN PyObject
*_wrap_Image_SetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14348 PyObject
*resultobj
= 0;
14349 wxImage
*arg1
= (wxImage
*) 0 ;
14361 unsigned char val4
;
14363 unsigned char val5
;
14365 unsigned char val6
;
14367 PyObject
* obj0
= 0 ;
14368 PyObject
* obj1
= 0 ;
14369 PyObject
* obj2
= 0 ;
14370 PyObject
* obj3
= 0 ;
14371 PyObject
* obj4
= 0 ;
14372 PyObject
* obj5
= 0 ;
14373 char * kwnames
[] = {
14374 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
14377 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Image_SetRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14378 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14379 if (!SWIG_IsOK(res1
)) {
14380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetRGB" "', expected argument " "1"" of type '" "wxImage *""'");
14382 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14383 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14384 if (!SWIG_IsOK(ecode2
)) {
14385 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_SetRGB" "', expected argument " "2"" of type '" "int""'");
14387 arg2
= static_cast< int >(val2
);
14388 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14389 if (!SWIG_IsOK(ecode3
)) {
14390 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_SetRGB" "', expected argument " "3"" of type '" "int""'");
14392 arg3
= static_cast< int >(val3
);
14393 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
14394 if (!SWIG_IsOK(ecode4
)) {
14395 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_SetRGB" "', expected argument " "4"" of type '" "byte""'");
14397 arg4
= static_cast< byte
>(val4
);
14398 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
14399 if (!SWIG_IsOK(ecode5
)) {
14400 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Image_SetRGB" "', expected argument " "5"" of type '" "byte""'");
14402 arg5
= static_cast< byte
>(val5
);
14403 ecode6
= SWIG_AsVal_unsigned_SS_char(obj5
, &val6
);
14404 if (!SWIG_IsOK(ecode6
)) {
14405 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Image_SetRGB" "', expected argument " "6"" of type '" "byte""'");
14407 arg6
= static_cast< byte
>(val6
);
14409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14410 (arg1
)->SetRGB(arg2
,arg3
,arg4
,arg5
,arg6
);
14411 wxPyEndAllowThreads(__tstate
);
14412 if (PyErr_Occurred()) SWIG_fail
;
14414 resultobj
= SWIG_Py_Void();
14421 SWIGINTERN PyObject
*_wrap_Image_SetRGBRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14422 PyObject
*resultobj
= 0;
14423 wxImage
*arg1
= (wxImage
*) 0 ;
14431 unsigned char val3
;
14433 unsigned char val4
;
14435 unsigned char val5
;
14437 PyObject
* obj0
= 0 ;
14438 PyObject
* obj1
= 0 ;
14439 PyObject
* obj2
= 0 ;
14440 PyObject
* obj3
= 0 ;
14441 PyObject
* obj4
= 0 ;
14442 char * kwnames
[] = {
14443 (char *) "self",(char *) "rect",(char *) "r",(char *) "g",(char *) "b", NULL
14446 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetRGBRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14447 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14448 if (!SWIG_IsOK(res1
)) {
14449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetRGBRect" "', expected argument " "1"" of type '" "wxImage *""'");
14451 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14454 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
14456 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
14457 if (!SWIG_IsOK(ecode3
)) {
14458 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_SetRGBRect" "', expected argument " "3"" of type '" "byte""'");
14460 arg3
= static_cast< byte
>(val3
);
14461 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
14462 if (!SWIG_IsOK(ecode4
)) {
14463 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_SetRGBRect" "', expected argument " "4"" of type '" "byte""'");
14465 arg4
= static_cast< byte
>(val4
);
14466 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
14467 if (!SWIG_IsOK(ecode5
)) {
14468 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Image_SetRGBRect" "', expected argument " "5"" of type '" "byte""'");
14470 arg5
= static_cast< byte
>(val5
);
14472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14473 (arg1
)->SetRGB((wxRect
const &)*arg2
,arg3
,arg4
,arg5
);
14474 wxPyEndAllowThreads(__tstate
);
14475 if (PyErr_Occurred()) SWIG_fail
;
14477 resultobj
= SWIG_Py_Void();
14484 SWIGINTERN PyObject
*_wrap_Image_GetRed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14485 PyObject
*resultobj
= 0;
14486 wxImage
*arg1
= (wxImage
*) 0 ;
14496 PyObject
* obj0
= 0 ;
14497 PyObject
* obj1
= 0 ;
14498 PyObject
* obj2
= 0 ;
14499 char * kwnames
[] = {
14500 (char *) "self",(char *) "x",(char *) "y", NULL
14503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetRed",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14504 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14505 if (!SWIG_IsOK(res1
)) {
14506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetRed" "', expected argument " "1"" of type '" "wxImage *""'");
14508 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14509 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14510 if (!SWIG_IsOK(ecode2
)) {
14511 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_GetRed" "', expected argument " "2"" of type '" "int""'");
14513 arg2
= static_cast< int >(val2
);
14514 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14515 if (!SWIG_IsOK(ecode3
)) {
14516 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_GetRed" "', expected argument " "3"" of type '" "int""'");
14518 arg3
= static_cast< int >(val3
);
14520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14521 result
= (byte
)(arg1
)->GetRed(arg2
,arg3
);
14522 wxPyEndAllowThreads(__tstate
);
14523 if (PyErr_Occurred()) SWIG_fail
;
14525 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
14532 SWIGINTERN PyObject
*_wrap_Image_GetGreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14533 PyObject
*resultobj
= 0;
14534 wxImage
*arg1
= (wxImage
*) 0 ;
14544 PyObject
* obj0
= 0 ;
14545 PyObject
* obj1
= 0 ;
14546 PyObject
* obj2
= 0 ;
14547 char * kwnames
[] = {
14548 (char *) "self",(char *) "x",(char *) "y", NULL
14551 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetGreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14552 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14553 if (!SWIG_IsOK(res1
)) {
14554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetGreen" "', expected argument " "1"" of type '" "wxImage *""'");
14556 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14557 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14558 if (!SWIG_IsOK(ecode2
)) {
14559 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_GetGreen" "', expected argument " "2"" of type '" "int""'");
14561 arg2
= static_cast< int >(val2
);
14562 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14563 if (!SWIG_IsOK(ecode3
)) {
14564 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_GetGreen" "', expected argument " "3"" of type '" "int""'");
14566 arg3
= static_cast< int >(val3
);
14568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14569 result
= (byte
)(arg1
)->GetGreen(arg2
,arg3
);
14570 wxPyEndAllowThreads(__tstate
);
14571 if (PyErr_Occurred()) SWIG_fail
;
14573 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
14580 SWIGINTERN PyObject
*_wrap_Image_GetBlue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14581 PyObject
*resultobj
= 0;
14582 wxImage
*arg1
= (wxImage
*) 0 ;
14592 PyObject
* obj0
= 0 ;
14593 PyObject
* obj1
= 0 ;
14594 PyObject
* obj2
= 0 ;
14595 char * kwnames
[] = {
14596 (char *) "self",(char *) "x",(char *) "y", NULL
14599 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetBlue",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14600 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14601 if (!SWIG_IsOK(res1
)) {
14602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetBlue" "', expected argument " "1"" of type '" "wxImage *""'");
14604 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14605 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14606 if (!SWIG_IsOK(ecode2
)) {
14607 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_GetBlue" "', expected argument " "2"" of type '" "int""'");
14609 arg2
= static_cast< int >(val2
);
14610 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14611 if (!SWIG_IsOK(ecode3
)) {
14612 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_GetBlue" "', expected argument " "3"" of type '" "int""'");
14614 arg3
= static_cast< int >(val3
);
14616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14617 result
= (byte
)(arg1
)->GetBlue(arg2
,arg3
);
14618 wxPyEndAllowThreads(__tstate
);
14619 if (PyErr_Occurred()) SWIG_fail
;
14621 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
14628 SWIGINTERN PyObject
*_wrap_Image_SetAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14629 PyObject
*resultobj
= 0;
14630 wxImage
*arg1
= (wxImage
*) 0 ;
14640 unsigned char val4
;
14642 PyObject
* obj0
= 0 ;
14643 PyObject
* obj1
= 0 ;
14644 PyObject
* obj2
= 0 ;
14645 PyObject
* obj3
= 0 ;
14646 char * kwnames
[] = {
14647 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
14650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14651 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14652 if (!SWIG_IsOK(res1
)) {
14653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetAlpha" "', expected argument " "1"" of type '" "wxImage *""'");
14655 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14656 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14657 if (!SWIG_IsOK(ecode2
)) {
14658 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_SetAlpha" "', expected argument " "2"" of type '" "int""'");
14660 arg2
= static_cast< int >(val2
);
14661 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14662 if (!SWIG_IsOK(ecode3
)) {
14663 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_SetAlpha" "', expected argument " "3"" of type '" "int""'");
14665 arg3
= static_cast< int >(val3
);
14666 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
14667 if (!SWIG_IsOK(ecode4
)) {
14668 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_SetAlpha" "', expected argument " "4"" of type '" "byte""'");
14670 arg4
= static_cast< byte
>(val4
);
14672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14673 (arg1
)->SetAlpha(arg2
,arg3
,arg4
);
14674 wxPyEndAllowThreads(__tstate
);
14675 if (PyErr_Occurred()) SWIG_fail
;
14677 resultobj
= SWIG_Py_Void();
14684 SWIGINTERN PyObject
*_wrap_Image_GetAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14685 PyObject
*resultobj
= 0;
14686 wxImage
*arg1
= (wxImage
*) 0 ;
14696 PyObject
* obj0
= 0 ;
14697 PyObject
* obj1
= 0 ;
14698 PyObject
* obj2
= 0 ;
14699 char * kwnames
[] = {
14700 (char *) "self",(char *) "x",(char *) "y", NULL
14703 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetAlpha",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14704 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14705 if (!SWIG_IsOK(res1
)) {
14706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetAlpha" "', expected argument " "1"" of type '" "wxImage *""'");
14708 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14709 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14710 if (!SWIG_IsOK(ecode2
)) {
14711 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_GetAlpha" "', expected argument " "2"" of type '" "int""'");
14713 arg2
= static_cast< int >(val2
);
14714 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14715 if (!SWIG_IsOK(ecode3
)) {
14716 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_GetAlpha" "', expected argument " "3"" of type '" "int""'");
14718 arg3
= static_cast< int >(val3
);
14720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14721 result
= (byte
)(arg1
)->GetAlpha(arg2
,arg3
);
14722 wxPyEndAllowThreads(__tstate
);
14723 if (PyErr_Occurred()) SWIG_fail
;
14725 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
14732 SWIGINTERN PyObject
*_wrap_Image_HasAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14733 PyObject
*resultobj
= 0;
14734 wxImage
*arg1
= (wxImage
*) 0 ;
14738 PyObject
*swig_obj
[1] ;
14740 if (!args
) SWIG_fail
;
14741 swig_obj
[0] = args
;
14742 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14743 if (!SWIG_IsOK(res1
)) {
14744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_HasAlpha" "', expected argument " "1"" of type '" "wxImage *""'");
14746 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14749 result
= (bool)(arg1
)->HasAlpha();
14750 wxPyEndAllowThreads(__tstate
);
14751 if (PyErr_Occurred()) SWIG_fail
;
14754 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14762 SWIGINTERN PyObject
*_wrap_Image_InitAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14763 PyObject
*resultobj
= 0;
14764 wxImage
*arg1
= (wxImage
*) 0 ;
14767 PyObject
*swig_obj
[1] ;
14769 if (!args
) SWIG_fail
;
14770 swig_obj
[0] = args
;
14771 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14772 if (!SWIG_IsOK(res1
)) {
14773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_InitAlpha" "', expected argument " "1"" of type '" "wxImage *""'");
14775 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14778 (arg1
)->InitAlpha();
14779 wxPyEndAllowThreads(__tstate
);
14780 if (PyErr_Occurred()) SWIG_fail
;
14782 resultobj
= SWIG_Py_Void();
14789 SWIGINTERN PyObject
*_wrap_Image_IsTransparent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14790 PyObject
*resultobj
= 0;
14791 wxImage
*arg1
= (wxImage
*) 0 ;
14794 byte arg4
= (byte
) wxIMAGE_ALPHA_THRESHOLD
;
14802 unsigned char val4
;
14804 PyObject
* obj0
= 0 ;
14805 PyObject
* obj1
= 0 ;
14806 PyObject
* obj2
= 0 ;
14807 PyObject
* obj3
= 0 ;
14808 char * kwnames
[] = {
14809 (char *) "self",(char *) "x",(char *) "y",(char *) "threshold", NULL
14812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_IsTransparent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14813 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14814 if (!SWIG_IsOK(res1
)) {
14815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_IsTransparent" "', expected argument " "1"" of type '" "wxImage const *""'");
14817 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14818 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14819 if (!SWIG_IsOK(ecode2
)) {
14820 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_IsTransparent" "', expected argument " "2"" of type '" "int""'");
14822 arg2
= static_cast< int >(val2
);
14823 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14824 if (!SWIG_IsOK(ecode3
)) {
14825 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_IsTransparent" "', expected argument " "3"" of type '" "int""'");
14827 arg3
= static_cast< int >(val3
);
14829 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
14830 if (!SWIG_IsOK(ecode4
)) {
14831 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_IsTransparent" "', expected argument " "4"" of type '" "byte""'");
14833 arg4
= static_cast< byte
>(val4
);
14836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14837 result
= (bool)((wxImage
const *)arg1
)->IsTransparent(arg2
,arg3
,arg4
);
14838 wxPyEndAllowThreads(__tstate
);
14839 if (PyErr_Occurred()) SWIG_fail
;
14842 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14850 SWIGINTERN PyObject
*_wrap_Image_FindFirstUnusedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14851 PyObject
*resultobj
= 0;
14852 wxImage
*arg1
= (wxImage
*) 0 ;
14853 byte
*arg2
= (byte
*) 0 ;
14854 byte
*arg3
= (byte
*) 0 ;
14855 byte
*arg4
= (byte
*) 0 ;
14856 byte arg5
= (byte
) 0 ;
14857 byte arg6
= (byte
) 0 ;
14858 byte arg7
= (byte
) 0 ;
14863 int res2
= SWIG_TMPOBJ
;
14865 int res3
= SWIG_TMPOBJ
;
14867 int res4
= SWIG_TMPOBJ
;
14868 unsigned char val5
;
14870 unsigned char val6
;
14872 unsigned char val7
;
14874 PyObject
* obj0
= 0 ;
14875 PyObject
* obj1
= 0 ;
14876 PyObject
* obj2
= 0 ;
14877 PyObject
* obj3
= 0 ;
14878 char * kwnames
[] = {
14879 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
14885 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14886 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14887 if (!SWIG_IsOK(res1
)) {
14888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_FindFirstUnusedColour" "', expected argument " "1"" of type '" "wxImage const *""'");
14890 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14892 ecode5
= SWIG_AsVal_unsigned_SS_char(obj1
, &val5
);
14893 if (!SWIG_IsOK(ecode5
)) {
14894 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Image_FindFirstUnusedColour" "', expected argument " "5"" of type '" "byte""'");
14896 arg5
= static_cast< byte
>(val5
);
14899 ecode6
= SWIG_AsVal_unsigned_SS_char(obj2
, &val6
);
14900 if (!SWIG_IsOK(ecode6
)) {
14901 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Image_FindFirstUnusedColour" "', expected argument " "6"" of type '" "byte""'");
14903 arg6
= static_cast< byte
>(val6
);
14906 ecode7
= SWIG_AsVal_unsigned_SS_char(obj3
, &val7
);
14907 if (!SWIG_IsOK(ecode7
)) {
14908 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Image_FindFirstUnusedColour" "', expected argument " "7"" of type '" "byte""'");
14910 arg7
= static_cast< byte
>(val7
);
14913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14914 result
= (bool)((wxImage
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
14915 wxPyEndAllowThreads(__tstate
);
14916 if (PyErr_Occurred()) SWIG_fail
;
14919 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14921 if (SWIG_IsTmpObj(res2
)) {
14922 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg2
)));
14924 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
14925 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, new_flags
));
14927 if (SWIG_IsTmpObj(res3
)) {
14928 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
14930 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
14931 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
14933 if (SWIG_IsTmpObj(res4
)) {
14934 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
14936 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
14937 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
14945 SWIGINTERN PyObject
*_wrap_Image_ConvertAlphaToMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14946 PyObject
*resultobj
= 0;
14947 wxImage
*arg1
= (wxImage
*) 0 ;
14948 byte arg2
= (byte
) wxIMAGE_ALPHA_THRESHOLD
;
14952 unsigned char val2
;
14954 PyObject
* obj0
= 0 ;
14955 PyObject
* obj1
= 0 ;
14956 char * kwnames
[] = {
14957 (char *) "self",(char *) "threshold", NULL
14960 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertAlphaToMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14961 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14962 if (!SWIG_IsOK(res1
)) {
14963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_ConvertAlphaToMask" "', expected argument " "1"" of type '" "wxImage *""'");
14965 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14967 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
14968 if (!SWIG_IsOK(ecode2
)) {
14969 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_ConvertAlphaToMask" "', expected argument " "2"" of type '" "byte""'");
14971 arg2
= static_cast< byte
>(val2
);
14974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14975 result
= (bool)(arg1
)->ConvertAlphaToMask(arg2
);
14976 wxPyEndAllowThreads(__tstate
);
14977 if (PyErr_Occurred()) SWIG_fail
;
14980 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14988 SWIGINTERN PyObject
*_wrap_Image_ConvertColourToAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14989 PyObject
*resultobj
= 0;
14990 wxImage
*arg1
= (wxImage
*) 0 ;
14997 unsigned char val2
;
14999 unsigned char val3
;
15001 unsigned char val4
;
15003 PyObject
* obj0
= 0 ;
15004 PyObject
* obj1
= 0 ;
15005 PyObject
* obj2
= 0 ;
15006 PyObject
* obj3
= 0 ;
15007 char * kwnames
[] = {
15008 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
15011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertColourToAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15012 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15013 if (!SWIG_IsOK(res1
)) {
15014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_ConvertColourToAlpha" "', expected argument " "1"" of type '" "wxImage *""'");
15016 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15017 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
15018 if (!SWIG_IsOK(ecode2
)) {
15019 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_ConvertColourToAlpha" "', expected argument " "2"" of type '" "byte""'");
15021 arg2
= static_cast< byte
>(val2
);
15022 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
15023 if (!SWIG_IsOK(ecode3
)) {
15024 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_ConvertColourToAlpha" "', expected argument " "3"" of type '" "byte""'");
15026 arg3
= static_cast< byte
>(val3
);
15027 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
15028 if (!SWIG_IsOK(ecode4
)) {
15029 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_ConvertColourToAlpha" "', expected argument " "4"" of type '" "byte""'");
15031 arg4
= static_cast< byte
>(val4
);
15033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15034 result
= (bool)(arg1
)->ConvertColourToAlpha(arg2
,arg3
,arg4
);
15035 wxPyEndAllowThreads(__tstate
);
15036 if (PyErr_Occurred()) SWIG_fail
;
15039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15047 SWIGINTERN PyObject
*_wrap_Image_SetMaskFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15048 PyObject
*resultobj
= 0;
15049 wxImage
*arg1
= (wxImage
*) 0 ;
15050 wxImage
*arg2
= 0 ;
15059 unsigned char val3
;
15061 unsigned char val4
;
15063 unsigned char val5
;
15065 PyObject
* obj0
= 0 ;
15066 PyObject
* obj1
= 0 ;
15067 PyObject
* obj2
= 0 ;
15068 PyObject
* obj3
= 0 ;
15069 PyObject
* obj4
= 0 ;
15070 char * kwnames
[] = {
15071 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
15074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetMaskFromImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
15075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15076 if (!SWIG_IsOK(res1
)) {
15077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetMaskFromImage" "', expected argument " "1"" of type '" "wxImage *""'");
15079 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15080 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxImage
, 0 | 0);
15081 if (!SWIG_IsOK(res2
)) {
15082 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Image_SetMaskFromImage" "', expected argument " "2"" of type '" "wxImage const &""'");
15085 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Image_SetMaskFromImage" "', expected argument " "2"" of type '" "wxImage const &""'");
15087 arg2
= reinterpret_cast< wxImage
* >(argp2
);
15088 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
15089 if (!SWIG_IsOK(ecode3
)) {
15090 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_SetMaskFromImage" "', expected argument " "3"" of type '" "byte""'");
15092 arg3
= static_cast< byte
>(val3
);
15093 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
15094 if (!SWIG_IsOK(ecode4
)) {
15095 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_SetMaskFromImage" "', expected argument " "4"" of type '" "byte""'");
15097 arg4
= static_cast< byte
>(val4
);
15098 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
15099 if (!SWIG_IsOK(ecode5
)) {
15100 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Image_SetMaskFromImage" "', expected argument " "5"" of type '" "byte""'");
15102 arg5
= static_cast< byte
>(val5
);
15104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15105 result
= (bool)(arg1
)->SetMaskFromImage((wxImage
const &)*arg2
,arg3
,arg4
,arg5
);
15106 wxPyEndAllowThreads(__tstate
);
15107 if (PyErr_Occurred()) SWIG_fail
;
15110 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15118 SWIGINTERN PyObject
*_wrap_Image_CanRead(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15119 PyObject
*resultobj
= 0;
15120 wxString
*arg1
= 0 ;
15122 bool temp1
= false ;
15123 PyObject
* obj0
= 0 ;
15124 char * kwnames
[] = {
15125 (char *) "filename", NULL
15128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanRead",kwnames
,&obj0
)) SWIG_fail
;
15130 arg1
= wxString_in_helper(obj0
);
15131 if (arg1
== NULL
) SWIG_fail
;
15135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15136 result
= (bool)wxImage::CanRead((wxString
const &)*arg1
);
15137 wxPyEndAllowThreads(__tstate
);
15138 if (PyErr_Occurred()) SWIG_fail
;
15141 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15157 SWIGINTERN PyObject
*_wrap_Image_GetImageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15158 PyObject
*resultobj
= 0;
15159 wxString
*arg1
= 0 ;
15160 long arg2
= (long) wxBITMAP_TYPE_ANY
;
15162 bool temp1
= false ;
15165 PyObject
* obj0
= 0 ;
15166 PyObject
* obj1
= 0 ;
15167 char * kwnames
[] = {
15168 (char *) "filename",(char *) "type", NULL
15171 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_GetImageCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15173 arg1
= wxString_in_helper(obj0
);
15174 if (arg1
== NULL
) SWIG_fail
;
15178 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
15179 if (!SWIG_IsOK(ecode2
)) {
15180 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_GetImageCount" "', expected argument " "2"" of type '" "long""'");
15182 arg2
= static_cast< long >(val2
);
15185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15186 result
= (int)wxImage::GetImageCount((wxString
const &)*arg1
,arg2
);
15187 wxPyEndAllowThreads(__tstate
);
15188 if (PyErr_Occurred()) SWIG_fail
;
15190 resultobj
= SWIG_From_int(static_cast< int >(result
));
15205 SWIGINTERN PyObject
*_wrap_Image_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15206 PyObject
*resultobj
= 0;
15207 wxImage
*arg1
= (wxImage
*) 0 ;
15208 wxString
*arg2
= 0 ;
15209 long arg3
= (long) wxBITMAP_TYPE_ANY
;
15210 int arg4
= (int) -1 ;
15214 bool temp2
= false ;
15219 PyObject
* obj0
= 0 ;
15220 PyObject
* obj1
= 0 ;
15221 PyObject
* obj2
= 0 ;
15222 PyObject
* obj3
= 0 ;
15223 char * kwnames
[] = {
15224 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
15227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15228 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15229 if (!SWIG_IsOK(res1
)) {
15230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_LoadFile" "', expected argument " "1"" of type '" "wxImage *""'");
15232 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15234 arg2
= wxString_in_helper(obj1
);
15235 if (arg2
== NULL
) SWIG_fail
;
15239 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
15240 if (!SWIG_IsOK(ecode3
)) {
15241 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_LoadFile" "', expected argument " "3"" of type '" "long""'");
15243 arg3
= static_cast< long >(val3
);
15246 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15247 if (!SWIG_IsOK(ecode4
)) {
15248 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_LoadFile" "', expected argument " "4"" of type '" "int""'");
15250 arg4
= static_cast< int >(val4
);
15253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15254 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
,arg4
);
15255 wxPyEndAllowThreads(__tstate
);
15256 if (PyErr_Occurred()) SWIG_fail
;
15259 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15275 SWIGINTERN PyObject
*_wrap_Image_LoadMimeFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15276 PyObject
*resultobj
= 0;
15277 wxImage
*arg1
= (wxImage
*) 0 ;
15278 wxString
*arg2
= 0 ;
15279 wxString
*arg3
= 0 ;
15280 int arg4
= (int) -1 ;
15284 bool temp2
= false ;
15285 bool temp3
= false ;
15288 PyObject
* obj0
= 0 ;
15289 PyObject
* obj1
= 0 ;
15290 PyObject
* obj2
= 0 ;
15291 PyObject
* obj3
= 0 ;
15292 char * kwnames
[] = {
15293 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
15296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15298 if (!SWIG_IsOK(res1
)) {
15299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_LoadMimeFile" "', expected argument " "1"" of type '" "wxImage *""'");
15301 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15303 arg2
= wxString_in_helper(obj1
);
15304 if (arg2
== NULL
) SWIG_fail
;
15308 arg3
= wxString_in_helper(obj2
);
15309 if (arg3
== NULL
) SWIG_fail
;
15313 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15314 if (!SWIG_IsOK(ecode4
)) {
15315 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_LoadMimeFile" "', expected argument " "4"" of type '" "int""'");
15317 arg4
= static_cast< int >(val4
);
15320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15321 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
15322 wxPyEndAllowThreads(__tstate
);
15323 if (PyErr_Occurred()) SWIG_fail
;
15326 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15350 SWIGINTERN PyObject
*_wrap_Image_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15351 PyObject
*resultobj
= 0;
15352 wxImage
*arg1
= (wxImage
*) 0 ;
15353 wxString
*arg2
= 0 ;
15358 bool temp2
= false ;
15361 PyObject
* obj0
= 0 ;
15362 PyObject
* obj1
= 0 ;
15363 PyObject
* obj2
= 0 ;
15364 char * kwnames
[] = {
15365 (char *) "self",(char *) "name",(char *) "type", NULL
15368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15369 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15370 if (!SWIG_IsOK(res1
)) {
15371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SaveFile" "', expected argument " "1"" of type '" "wxImage *""'");
15373 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15375 arg2
= wxString_in_helper(obj1
);
15376 if (arg2
== NULL
) SWIG_fail
;
15379 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15380 if (!SWIG_IsOK(ecode3
)) {
15381 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_SaveFile" "', expected argument " "3"" of type '" "int""'");
15383 arg3
= static_cast< int >(val3
);
15385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15386 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
15387 wxPyEndAllowThreads(__tstate
);
15388 if (PyErr_Occurred()) SWIG_fail
;
15391 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15407 SWIGINTERN PyObject
*_wrap_Image_SaveMimeFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15408 PyObject
*resultobj
= 0;
15409 wxImage
*arg1
= (wxImage
*) 0 ;
15410 wxString
*arg2
= 0 ;
15411 wxString
*arg3
= 0 ;
15415 bool temp2
= false ;
15416 bool temp3
= false ;
15417 PyObject
* obj0
= 0 ;
15418 PyObject
* obj1
= 0 ;
15419 PyObject
* obj2
= 0 ;
15420 char * kwnames
[] = {
15421 (char *) "self",(char *) "name",(char *) "mimetype", NULL
15424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveMimeFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15425 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15426 if (!SWIG_IsOK(res1
)) {
15427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SaveMimeFile" "', expected argument " "1"" of type '" "wxImage *""'");
15429 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15431 arg2
= wxString_in_helper(obj1
);
15432 if (arg2
== NULL
) SWIG_fail
;
15436 arg3
= wxString_in_helper(obj2
);
15437 if (arg3
== NULL
) SWIG_fail
;
15441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15442 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15443 wxPyEndAllowThreads(__tstate
);
15444 if (PyErr_Occurred()) SWIG_fail
;
15447 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15471 SWIGINTERN PyObject
*_wrap_Image_CanReadStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15472 PyObject
*resultobj
= 0;
15473 wxInputStream
*arg1
= 0 ;
15475 wxPyInputStream
*temp1
;
15477 PyObject
* obj0
= 0 ;
15478 char * kwnames
[] = {
15479 (char *) "stream", NULL
15482 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanReadStream",kwnames
,&obj0
)) SWIG_fail
;
15484 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
15485 arg1
= temp1
->m_wxis
;
15488 PyErr_Clear(); // clear the failure of the wxPyConvert above
15489 arg1
= wxPyCBInputStream_create(obj0
, false);
15490 if (arg1
== NULL
) {
15491 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
15498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15499 result
= (bool)wxImage::CanRead(*arg1
);
15500 wxPyEndAllowThreads(__tstate
);
15501 if (PyErr_Occurred()) SWIG_fail
;
15504 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15507 if (created1
) delete arg1
;
15512 if (created1
) delete arg1
;
15518 SWIGINTERN PyObject
*_wrap_Image_LoadStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15519 PyObject
*resultobj
= 0;
15520 wxImage
*arg1
= (wxImage
*) 0 ;
15521 wxInputStream
*arg2
= 0 ;
15522 long arg3
= (long) wxBITMAP_TYPE_ANY
;
15523 int arg4
= (int) -1 ;
15527 wxPyInputStream
*temp2
;
15533 PyObject
* obj0
= 0 ;
15534 PyObject
* obj1
= 0 ;
15535 PyObject
* obj2
= 0 ;
15536 PyObject
* obj3
= 0 ;
15537 char * kwnames
[] = {
15538 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
15541 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15542 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15543 if (!SWIG_IsOK(res1
)) {
15544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_LoadStream" "', expected argument " "1"" of type '" "wxImage *""'");
15546 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15548 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
15549 arg2
= temp2
->m_wxis
;
15552 PyErr_Clear(); // clear the failure of the wxPyConvert above
15553 arg2
= wxPyCBInputStream_create(obj1
, false);
15554 if (arg2
== NULL
) {
15555 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
15562 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
15563 if (!SWIG_IsOK(ecode3
)) {
15564 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_LoadStream" "', expected argument " "3"" of type '" "long""'");
15566 arg3
= static_cast< long >(val3
);
15569 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15570 if (!SWIG_IsOK(ecode4
)) {
15571 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_LoadStream" "', expected argument " "4"" of type '" "int""'");
15573 arg4
= static_cast< int >(val4
);
15576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15577 result
= (bool)(arg1
)->LoadFile(*arg2
,arg3
,arg4
);
15578 wxPyEndAllowThreads(__tstate
);
15579 if (PyErr_Occurred()) SWIG_fail
;
15582 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15585 if (created2
) delete arg2
;
15590 if (created2
) delete arg2
;
15596 SWIGINTERN PyObject
*_wrap_Image_LoadMimeStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15597 PyObject
*resultobj
= 0;
15598 wxImage
*arg1
= (wxImage
*) 0 ;
15599 wxInputStream
*arg2
= 0 ;
15600 wxString
*arg3
= 0 ;
15601 int arg4
= (int) -1 ;
15605 wxPyInputStream
*temp2
;
15607 bool temp3
= false ;
15610 PyObject
* obj0
= 0 ;
15611 PyObject
* obj1
= 0 ;
15612 PyObject
* obj2
= 0 ;
15613 PyObject
* obj3
= 0 ;
15614 char * kwnames
[] = {
15615 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
15618 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15619 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15620 if (!SWIG_IsOK(res1
)) {
15621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_LoadMimeStream" "', expected argument " "1"" of type '" "wxImage *""'");
15623 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15625 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
15626 arg2
= temp2
->m_wxis
;
15629 PyErr_Clear(); // clear the failure of the wxPyConvert above
15630 arg2
= wxPyCBInputStream_create(obj1
, false);
15631 if (arg2
== NULL
) {
15632 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
15639 arg3
= wxString_in_helper(obj2
);
15640 if (arg3
== NULL
) SWIG_fail
;
15644 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15645 if (!SWIG_IsOK(ecode4
)) {
15646 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_LoadMimeStream" "', expected argument " "4"" of type '" "int""'");
15648 arg4
= static_cast< int >(val4
);
15651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15652 result
= (bool)(arg1
)->LoadFile(*arg2
,(wxString
const &)*arg3
,arg4
);
15653 wxPyEndAllowThreads(__tstate
);
15654 if (PyErr_Occurred()) SWIG_fail
;
15657 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15660 if (created2
) delete arg2
;
15669 if (created2
) delete arg2
;
15679 SWIGINTERN PyObject
*_wrap_Image_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15680 PyObject
*resultobj
= 0;
15681 wxImage
*arg1
= (wxImage
*) 0 ;
15685 PyObject
*swig_obj
[1] ;
15687 if (!args
) SWIG_fail
;
15688 swig_obj
[0] = args
;
15689 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15690 if (!SWIG_IsOK(res1
)) {
15691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_IsOk" "', expected argument " "1"" of type '" "wxImage *""'");
15693 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15696 result
= (bool)(arg1
)->IsOk();
15697 wxPyEndAllowThreads(__tstate
);
15698 if (PyErr_Occurred()) SWIG_fail
;
15701 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15709 SWIGINTERN PyObject
*_wrap_Image_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15710 PyObject
*resultobj
= 0;
15711 wxImage
*arg1
= (wxImage
*) 0 ;
15715 PyObject
*swig_obj
[1] ;
15717 if (!args
) SWIG_fail
;
15718 swig_obj
[0] = args
;
15719 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15720 if (!SWIG_IsOK(res1
)) {
15721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetWidth" "', expected argument " "1"" of type '" "wxImage *""'");
15723 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15726 result
= (int)(arg1
)->GetWidth();
15727 wxPyEndAllowThreads(__tstate
);
15728 if (PyErr_Occurred()) SWIG_fail
;
15730 resultobj
= SWIG_From_int(static_cast< int >(result
));
15737 SWIGINTERN PyObject
*_wrap_Image_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15738 PyObject
*resultobj
= 0;
15739 wxImage
*arg1
= (wxImage
*) 0 ;
15743 PyObject
*swig_obj
[1] ;
15745 if (!args
) SWIG_fail
;
15746 swig_obj
[0] = args
;
15747 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15748 if (!SWIG_IsOK(res1
)) {
15749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetHeight" "', expected argument " "1"" of type '" "wxImage *""'");
15751 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15754 result
= (int)(arg1
)->GetHeight();
15755 wxPyEndAllowThreads(__tstate
);
15756 if (PyErr_Occurred()) SWIG_fail
;
15758 resultobj
= SWIG_From_int(static_cast< int >(result
));
15765 SWIGINTERN PyObject
*_wrap_Image_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15766 PyObject
*resultobj
= 0;
15767 wxImage
*arg1
= (wxImage
*) 0 ;
15771 PyObject
*swig_obj
[1] ;
15773 if (!args
) SWIG_fail
;
15774 swig_obj
[0] = args
;
15775 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15776 if (!SWIG_IsOK(res1
)) {
15777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetSize" "', expected argument " "1"" of type '" "wxImage *""'");
15779 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15782 result
= wxImage_GetSize(arg1
);
15783 wxPyEndAllowThreads(__tstate
);
15784 if (PyErr_Occurred()) SWIG_fail
;
15786 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
15793 SWIGINTERN PyObject
*_wrap_Image_GetSubImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15794 PyObject
*resultobj
= 0;
15795 wxImage
*arg1
= (wxImage
*) 0 ;
15797 SwigValueWrapper
<wxImage
> result
;
15801 PyObject
* obj0
= 0 ;
15802 PyObject
* obj1
= 0 ;
15803 char * kwnames
[] = {
15804 (char *) "self",(char *) "rect", NULL
15807 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetSubImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15808 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15809 if (!SWIG_IsOK(res1
)) {
15810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetSubImage" "', expected argument " "1"" of type '" "wxImage *""'");
15812 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15815 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
15818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15819 result
= (arg1
)->GetSubImage((wxRect
const &)*arg2
);
15820 wxPyEndAllowThreads(__tstate
);
15821 if (PyErr_Occurred()) SWIG_fail
;
15823 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
15830 SWIGINTERN PyObject
*_wrap_Image_Size(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15831 PyObject
*resultobj
= 0;
15832 wxImage
*arg1
= (wxImage
*) 0 ;
15834 wxPoint
*arg3
= 0 ;
15835 int arg4
= (int) -1 ;
15836 int arg5
= (int) -1 ;
15837 int arg6
= (int) -1 ;
15838 SwigValueWrapper
<wxImage
> result
;
15849 PyObject
* obj0
= 0 ;
15850 PyObject
* obj1
= 0 ;
15851 PyObject
* obj2
= 0 ;
15852 PyObject
* obj3
= 0 ;
15853 PyObject
* obj4
= 0 ;
15854 PyObject
* obj5
= 0 ;
15855 char * kwnames
[] = {
15856 (char *) "self",(char *) "size",(char *) "pos",(char *) "r",(char *) "g",(char *) "b", NULL
15859 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:Image_Size",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15860 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15861 if (!SWIG_IsOK(res1
)) {
15862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Size" "', expected argument " "1"" of type '" "wxImage const *""'");
15864 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15867 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15871 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15874 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15875 if (!SWIG_IsOK(ecode4
)) {
15876 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_Size" "', expected argument " "4"" of type '" "int""'");
15878 arg4
= static_cast< int >(val4
);
15881 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15882 if (!SWIG_IsOK(ecode5
)) {
15883 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Image_Size" "', expected argument " "5"" of type '" "int""'");
15885 arg5
= static_cast< int >(val5
);
15888 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
15889 if (!SWIG_IsOK(ecode6
)) {
15890 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Image_Size" "', expected argument " "6"" of type '" "int""'");
15892 arg6
= static_cast< int >(val6
);
15895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15896 result
= ((wxImage
const *)arg1
)->Size((wxSize
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
,arg6
);
15897 wxPyEndAllowThreads(__tstate
);
15898 if (PyErr_Occurred()) SWIG_fail
;
15900 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
15907 SWIGINTERN PyObject
*_wrap_Image_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15908 PyObject
*resultobj
= 0;
15909 wxImage
*arg1
= (wxImage
*) 0 ;
15910 SwigValueWrapper
<wxImage
> result
;
15913 PyObject
*swig_obj
[1] ;
15915 if (!args
) SWIG_fail
;
15916 swig_obj
[0] = args
;
15917 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15918 if (!SWIG_IsOK(res1
)) {
15919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Copy" "', expected argument " "1"" of type '" "wxImage *""'");
15921 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15924 result
= (arg1
)->Copy();
15925 wxPyEndAllowThreads(__tstate
);
15926 if (PyErr_Occurred()) SWIG_fail
;
15928 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
15935 SWIGINTERN PyObject
*_wrap_Image_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15936 PyObject
*resultobj
= 0;
15937 wxImage
*arg1
= (wxImage
*) 0 ;
15938 wxImage
*arg2
= 0 ;
15949 PyObject
* obj0
= 0 ;
15950 PyObject
* obj1
= 0 ;
15951 PyObject
* obj2
= 0 ;
15952 PyObject
* obj3
= 0 ;
15953 char * kwnames
[] = {
15954 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
15957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_Paste",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15958 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15959 if (!SWIG_IsOK(res1
)) {
15960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Paste" "', expected argument " "1"" of type '" "wxImage *""'");
15962 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15963 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxImage
, 0 | 0);
15964 if (!SWIG_IsOK(res2
)) {
15965 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Image_Paste" "', expected argument " "2"" of type '" "wxImage const &""'");
15968 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Image_Paste" "', expected argument " "2"" of type '" "wxImage const &""'");
15970 arg2
= reinterpret_cast< wxImage
* >(argp2
);
15971 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15972 if (!SWIG_IsOK(ecode3
)) {
15973 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_Paste" "', expected argument " "3"" of type '" "int""'");
15975 arg3
= static_cast< int >(val3
);
15976 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15977 if (!SWIG_IsOK(ecode4
)) {
15978 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_Paste" "', expected argument " "4"" of type '" "int""'");
15980 arg4
= static_cast< int >(val4
);
15982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15983 (arg1
)->Paste((wxImage
const &)*arg2
,arg3
,arg4
);
15984 wxPyEndAllowThreads(__tstate
);
15985 if (PyErr_Occurred()) SWIG_fail
;
15987 resultobj
= SWIG_Py_Void();
15994 SWIGINTERN PyObject
*_wrap_Image_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15995 PyObject
*resultobj
= 0;
15996 wxImage
*arg1
= (wxImage
*) 0 ;
15997 PyObject
*result
= 0 ;
16000 PyObject
*swig_obj
[1] ;
16002 if (!args
) SWIG_fail
;
16003 swig_obj
[0] = args
;
16004 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16005 if (!SWIG_IsOK(res1
)) {
16006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetData" "', expected argument " "1"" of type '" "wxImage *""'");
16008 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16011 result
= (PyObject
*)wxImage_GetData(arg1
);
16012 wxPyEndAllowThreads(__tstate
);
16013 if (PyErr_Occurred()) SWIG_fail
;
16015 resultobj
= result
;
16022 SWIGINTERN PyObject
*_wrap_Image_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16023 PyObject
*resultobj
= 0;
16024 wxImage
*arg1
= (wxImage
*) 0 ;
16030 PyObject
* obj0
= 0 ;
16031 PyObject
* obj1
= 0 ;
16032 char * kwnames
[] = {
16033 (char *) "self",(char *) "data", NULL
16036 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16037 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16038 if (!SWIG_IsOK(res1
)) {
16039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetData" "', expected argument " "1"" of type '" "wxImage *""'");
16041 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16043 if (PyObject_AsReadBuffer(obj1
, (const void**)(&arg2
), &temp2
) == -1) SWIG_fail
;
16047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16048 wxImage_SetData(arg1
,arg2
,arg3
);
16049 wxPyEndAllowThreads(__tstate
);
16050 if (PyErr_Occurred()) SWIG_fail
;
16052 resultobj
= SWIG_Py_Void();
16059 SWIGINTERN PyObject
*_wrap_Image_GetDataBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16060 PyObject
*resultobj
= 0;
16061 wxImage
*arg1
= (wxImage
*) 0 ;
16062 PyObject
*result
= 0 ;
16065 PyObject
*swig_obj
[1] ;
16067 if (!args
) SWIG_fail
;
16068 swig_obj
[0] = args
;
16069 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16070 if (!SWIG_IsOK(res1
)) {
16071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetDataBuffer" "', expected argument " "1"" of type '" "wxImage *""'");
16073 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16076 result
= (PyObject
*)wxImage_GetDataBuffer(arg1
);
16077 wxPyEndAllowThreads(__tstate
);
16078 if (PyErr_Occurred()) SWIG_fail
;
16080 resultobj
= result
;
16087 SWIGINTERN PyObject
*_wrap_Image_SetDataBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16088 PyObject
*resultobj
= 0;
16089 wxImage
*arg1
= (wxImage
*) 0 ;
16095 PyObject
* obj0
= 0 ;
16096 PyObject
* obj1
= 0 ;
16097 char * kwnames
[] = {
16098 (char *) "self",(char *) "data", NULL
16101 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetDataBuffer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16102 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16103 if (!SWIG_IsOK(res1
)) {
16104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetDataBuffer" "', expected argument " "1"" of type '" "wxImage *""'");
16106 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16108 if (PyObject_AsReadBuffer(obj1
, (const void**)(&arg2
), &temp2
) == -1) SWIG_fail
;
16112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16113 wxImage_SetDataBuffer(arg1
,arg2
,arg3
);
16114 wxPyEndAllowThreads(__tstate
);
16115 if (PyErr_Occurred()) SWIG_fail
;
16117 resultobj
= SWIG_Py_Void();
16124 SWIGINTERN PyObject
*_wrap_Image_GetAlphaData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16125 PyObject
*resultobj
= 0;
16126 wxImage
*arg1
= (wxImage
*) 0 ;
16127 PyObject
*result
= 0 ;
16130 PyObject
*swig_obj
[1] ;
16132 if (!args
) SWIG_fail
;
16133 swig_obj
[0] = args
;
16134 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16135 if (!SWIG_IsOK(res1
)) {
16136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetAlphaData" "', expected argument " "1"" of type '" "wxImage *""'");
16138 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16141 result
= (PyObject
*)wxImage_GetAlphaData(arg1
);
16142 wxPyEndAllowThreads(__tstate
);
16143 if (PyErr_Occurred()) SWIG_fail
;
16145 resultobj
= result
;
16152 SWIGINTERN PyObject
*_wrap_Image_SetAlphaData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16153 PyObject
*resultobj
= 0;
16154 wxImage
*arg1
= (wxImage
*) 0 ;
16160 PyObject
* obj0
= 0 ;
16161 PyObject
* obj1
= 0 ;
16162 char * kwnames
[] = {
16163 (char *) "self",(char *) "alpha", NULL
16166 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16167 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16168 if (!SWIG_IsOK(res1
)) {
16169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetAlphaData" "', expected argument " "1"" of type '" "wxImage *""'");
16171 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16173 if (obj1
!= Py_None
) {
16174 if (PyObject_AsReadBuffer(obj1
, (const void**)(&arg2
), &temp2
) == -1) SWIG_fail
;
16179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16180 wxImage_SetAlphaData(arg1
,arg2
,arg3
);
16181 wxPyEndAllowThreads(__tstate
);
16182 if (PyErr_Occurred()) SWIG_fail
;
16184 resultobj
= SWIG_Py_Void();
16191 SWIGINTERN PyObject
*_wrap_Image_GetAlphaBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16192 PyObject
*resultobj
= 0;
16193 wxImage
*arg1
= (wxImage
*) 0 ;
16194 PyObject
*result
= 0 ;
16197 PyObject
*swig_obj
[1] ;
16199 if (!args
) SWIG_fail
;
16200 swig_obj
[0] = args
;
16201 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16202 if (!SWIG_IsOK(res1
)) {
16203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetAlphaBuffer" "', expected argument " "1"" of type '" "wxImage *""'");
16205 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16208 result
= (PyObject
*)wxImage_GetAlphaBuffer(arg1
);
16209 wxPyEndAllowThreads(__tstate
);
16210 if (PyErr_Occurred()) SWIG_fail
;
16212 resultobj
= result
;
16219 SWIGINTERN PyObject
*_wrap_Image_SetAlphaBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16220 PyObject
*resultobj
= 0;
16221 wxImage
*arg1
= (wxImage
*) 0 ;
16227 PyObject
* obj0
= 0 ;
16228 PyObject
* obj1
= 0 ;
16229 char * kwnames
[] = {
16230 (char *) "self",(char *) "alpha", NULL
16233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaBuffer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16234 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16235 if (!SWIG_IsOK(res1
)) {
16236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetAlphaBuffer" "', expected argument " "1"" of type '" "wxImage *""'");
16238 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16240 if (obj1
!= Py_None
) {
16241 if (PyObject_AsReadBuffer(obj1
, (const void**)(&arg2
), &temp2
) == -1) SWIG_fail
;
16246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16247 wxImage_SetAlphaBuffer(arg1
,arg2
,arg3
);
16248 wxPyEndAllowThreads(__tstate
);
16249 if (PyErr_Occurred()) SWIG_fail
;
16251 resultobj
= SWIG_Py_Void();
16258 SWIGINTERN PyObject
*_wrap_Image_SetMaskColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16259 PyObject
*resultobj
= 0;
16260 wxImage
*arg1
= (wxImage
*) 0 ;
16266 unsigned char val2
;
16268 unsigned char val3
;
16270 unsigned char val4
;
16272 PyObject
* obj0
= 0 ;
16273 PyObject
* obj1
= 0 ;
16274 PyObject
* obj2
= 0 ;
16275 PyObject
* obj3
= 0 ;
16276 char * kwnames
[] = {
16277 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
16280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetMaskColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16281 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16282 if (!SWIG_IsOK(res1
)) {
16283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetMaskColour" "', expected argument " "1"" of type '" "wxImage *""'");
16285 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16286 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
16287 if (!SWIG_IsOK(ecode2
)) {
16288 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_SetMaskColour" "', expected argument " "2"" of type '" "byte""'");
16290 arg2
= static_cast< byte
>(val2
);
16291 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
16292 if (!SWIG_IsOK(ecode3
)) {
16293 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_SetMaskColour" "', expected argument " "3"" of type '" "byte""'");
16295 arg3
= static_cast< byte
>(val3
);
16296 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
16297 if (!SWIG_IsOK(ecode4
)) {
16298 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_SetMaskColour" "', expected argument " "4"" of type '" "byte""'");
16300 arg4
= static_cast< byte
>(val4
);
16302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16303 (arg1
)->SetMaskColour(arg2
,arg3
,arg4
);
16304 wxPyEndAllowThreads(__tstate
);
16305 if (PyErr_Occurred()) SWIG_fail
;
16307 resultobj
= SWIG_Py_Void();
16314 SWIGINTERN PyObject
*_wrap_Image_GetOrFindMaskColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16315 PyObject
*resultobj
= 0;
16316 wxImage
*arg1
= (wxImage
*) 0 ;
16317 byte
*arg2
= (byte
*) 0 ;
16318 byte
*arg3
= (byte
*) 0 ;
16319 byte
*arg4
= (byte
*) 0 ;
16323 int res2
= SWIG_TMPOBJ
;
16325 int res3
= SWIG_TMPOBJ
;
16327 int res4
= SWIG_TMPOBJ
;
16328 PyObject
*swig_obj
[1] ;
16333 if (!args
) SWIG_fail
;
16334 swig_obj
[0] = args
;
16335 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16336 if (!SWIG_IsOK(res1
)) {
16337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetOrFindMaskColour" "', expected argument " "1"" of type '" "wxImage const *""'");
16339 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16342 ((wxImage
const *)arg1
)->GetOrFindMaskColour(arg2
,arg3
,arg4
);
16343 wxPyEndAllowThreads(__tstate
);
16344 if (PyErr_Occurred()) SWIG_fail
;
16346 resultobj
= SWIG_Py_Void();
16347 if (SWIG_IsTmpObj(res2
)) {
16348 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg2
)));
16350 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
16351 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, new_flags
));
16353 if (SWIG_IsTmpObj(res3
)) {
16354 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
16356 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
16357 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
16359 if (SWIG_IsTmpObj(res4
)) {
16360 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
16362 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
16363 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
16371 SWIGINTERN PyObject
*_wrap_Image_GetMaskRed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16372 PyObject
*resultobj
= 0;
16373 wxImage
*arg1
= (wxImage
*) 0 ;
16377 PyObject
*swig_obj
[1] ;
16379 if (!args
) SWIG_fail
;
16380 swig_obj
[0] = args
;
16381 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16382 if (!SWIG_IsOK(res1
)) {
16383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetMaskRed" "', expected argument " "1"" of type '" "wxImage *""'");
16385 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16388 result
= (byte
)(arg1
)->GetMaskRed();
16389 wxPyEndAllowThreads(__tstate
);
16390 if (PyErr_Occurred()) SWIG_fail
;
16392 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
16399 SWIGINTERN PyObject
*_wrap_Image_GetMaskGreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16400 PyObject
*resultobj
= 0;
16401 wxImage
*arg1
= (wxImage
*) 0 ;
16405 PyObject
*swig_obj
[1] ;
16407 if (!args
) SWIG_fail
;
16408 swig_obj
[0] = args
;
16409 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16410 if (!SWIG_IsOK(res1
)) {
16411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetMaskGreen" "', expected argument " "1"" of type '" "wxImage *""'");
16413 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16416 result
= (byte
)(arg1
)->GetMaskGreen();
16417 wxPyEndAllowThreads(__tstate
);
16418 if (PyErr_Occurred()) SWIG_fail
;
16420 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
16427 SWIGINTERN PyObject
*_wrap_Image_GetMaskBlue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16428 PyObject
*resultobj
= 0;
16429 wxImage
*arg1
= (wxImage
*) 0 ;
16433 PyObject
*swig_obj
[1] ;
16435 if (!args
) SWIG_fail
;
16436 swig_obj
[0] = args
;
16437 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16438 if (!SWIG_IsOK(res1
)) {
16439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetMaskBlue" "', expected argument " "1"" of type '" "wxImage *""'");
16441 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16444 result
= (byte
)(arg1
)->GetMaskBlue();
16445 wxPyEndAllowThreads(__tstate
);
16446 if (PyErr_Occurred()) SWIG_fail
;
16448 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
16455 SWIGINTERN PyObject
*_wrap_Image_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16456 PyObject
*resultobj
= 0;
16457 wxImage
*arg1
= (wxImage
*) 0 ;
16458 bool arg2
= (bool) true ;
16463 PyObject
* obj0
= 0 ;
16464 PyObject
* obj1
= 0 ;
16465 char * kwnames
[] = {
16466 (char *) "self",(char *) "mask", NULL
16469 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16470 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16471 if (!SWIG_IsOK(res1
)) {
16472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetMask" "', expected argument " "1"" of type '" "wxImage *""'");
16474 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16476 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
16477 if (!SWIG_IsOK(ecode2
)) {
16478 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_SetMask" "', expected argument " "2"" of type '" "bool""'");
16480 arg2
= static_cast< bool >(val2
);
16483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16484 (arg1
)->SetMask(arg2
);
16485 wxPyEndAllowThreads(__tstate
);
16486 if (PyErr_Occurred()) SWIG_fail
;
16488 resultobj
= SWIG_Py_Void();
16495 SWIGINTERN PyObject
*_wrap_Image_HasMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16496 PyObject
*resultobj
= 0;
16497 wxImage
*arg1
= (wxImage
*) 0 ;
16501 PyObject
*swig_obj
[1] ;
16503 if (!args
) SWIG_fail
;
16504 swig_obj
[0] = args
;
16505 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16506 if (!SWIG_IsOK(res1
)) {
16507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_HasMask" "', expected argument " "1"" of type '" "wxImage *""'");
16509 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16512 result
= (bool)(arg1
)->HasMask();
16513 wxPyEndAllowThreads(__tstate
);
16514 if (PyErr_Occurred()) SWIG_fail
;
16517 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16525 SWIGINTERN PyObject
*_wrap_Image_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16526 PyObject
*resultobj
= 0;
16527 wxImage
*arg1
= (wxImage
*) 0 ;
16529 wxPoint
*arg3
= 0 ;
16530 bool arg4
= (bool) true ;
16531 wxPoint
*arg5
= (wxPoint
*) NULL
;
16532 SwigValueWrapper
<wxImage
> result
;
16542 PyObject
* obj0
= 0 ;
16543 PyObject
* obj1
= 0 ;
16544 PyObject
* obj2
= 0 ;
16545 PyObject
* obj3
= 0 ;
16546 PyObject
* obj4
= 0 ;
16547 char * kwnames
[] = {
16548 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
16551 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Image_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16552 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16553 if (!SWIG_IsOK(res1
)) {
16554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Rotate" "', expected argument " "1"" of type '" "wxImage const *""'");
16556 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16557 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
16558 if (!SWIG_IsOK(ecode2
)) {
16559 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_Rotate" "', expected argument " "2"" of type '" "double""'");
16561 arg2
= static_cast< double >(val2
);
16564 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16567 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
16568 if (!SWIG_IsOK(ecode4
)) {
16569 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_Rotate" "', expected argument " "4"" of type '" "bool""'");
16571 arg4
= static_cast< bool >(val4
);
16574 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxPoint
, 0 | 0 );
16575 if (!SWIG_IsOK(res5
)) {
16576 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "Image_Rotate" "', expected argument " "5"" of type '" "wxPoint *""'");
16578 arg5
= reinterpret_cast< wxPoint
* >(argp5
);
16581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16582 result
= ((wxImage
const *)arg1
)->Rotate(arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
16583 wxPyEndAllowThreads(__tstate
);
16584 if (PyErr_Occurred()) SWIG_fail
;
16586 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
16593 SWIGINTERN PyObject
*_wrap_Image_Rotate90(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16594 PyObject
*resultobj
= 0;
16595 wxImage
*arg1
= (wxImage
*) 0 ;
16596 bool arg2
= (bool) true ;
16597 SwigValueWrapper
<wxImage
> result
;
16602 PyObject
* obj0
= 0 ;
16603 PyObject
* obj1
= 0 ;
16604 char * kwnames
[] = {
16605 (char *) "self",(char *) "clockwise", NULL
16608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Rotate90",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16609 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16610 if (!SWIG_IsOK(res1
)) {
16611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Rotate90" "', expected argument " "1"" of type '" "wxImage *""'");
16613 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16615 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
16616 if (!SWIG_IsOK(ecode2
)) {
16617 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_Rotate90" "', expected argument " "2"" of type '" "bool""'");
16619 arg2
= static_cast< bool >(val2
);
16622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16623 result
= (arg1
)->Rotate90(arg2
);
16624 wxPyEndAllowThreads(__tstate
);
16625 if (PyErr_Occurred()) SWIG_fail
;
16627 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
16634 SWIGINTERN PyObject
*_wrap_Image_Mirror(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16635 PyObject
*resultobj
= 0;
16636 wxImage
*arg1
= (wxImage
*) 0 ;
16637 bool arg2
= (bool) true ;
16638 SwigValueWrapper
<wxImage
> result
;
16643 PyObject
* obj0
= 0 ;
16644 PyObject
* obj1
= 0 ;
16645 char * kwnames
[] = {
16646 (char *) "self",(char *) "horizontally", NULL
16649 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Mirror",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16650 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16651 if (!SWIG_IsOK(res1
)) {
16652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Mirror" "', expected argument " "1"" of type '" "wxImage *""'");
16654 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16656 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
16657 if (!SWIG_IsOK(ecode2
)) {
16658 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_Mirror" "', expected argument " "2"" of type '" "bool""'");
16660 arg2
= static_cast< bool >(val2
);
16663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16664 result
= (arg1
)->Mirror(arg2
);
16665 wxPyEndAllowThreads(__tstate
);
16666 if (PyErr_Occurred()) SWIG_fail
;
16668 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
16675 SWIGINTERN PyObject
*_wrap_Image_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16676 PyObject
*resultobj
= 0;
16677 wxImage
*arg1
= (wxImage
*) 0 ;
16686 unsigned char val2
;
16688 unsigned char val3
;
16690 unsigned char val4
;
16692 unsigned char val5
;
16694 unsigned char val6
;
16696 unsigned char val7
;
16698 PyObject
* obj0
= 0 ;
16699 PyObject
* obj1
= 0 ;
16700 PyObject
* obj2
= 0 ;
16701 PyObject
* obj3
= 0 ;
16702 PyObject
* obj4
= 0 ;
16703 PyObject
* obj5
= 0 ;
16704 PyObject
* obj6
= 0 ;
16705 char * kwnames
[] = {
16706 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
16709 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:Image_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
16710 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16711 if (!SWIG_IsOK(res1
)) {
16712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Replace" "', expected argument " "1"" of type '" "wxImage *""'");
16714 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16715 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
16716 if (!SWIG_IsOK(ecode2
)) {
16717 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_Replace" "', expected argument " "2"" of type '" "byte""'");
16719 arg2
= static_cast< byte
>(val2
);
16720 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
16721 if (!SWIG_IsOK(ecode3
)) {
16722 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_Replace" "', expected argument " "3"" of type '" "byte""'");
16724 arg3
= static_cast< byte
>(val3
);
16725 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
16726 if (!SWIG_IsOK(ecode4
)) {
16727 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_Replace" "', expected argument " "4"" of type '" "byte""'");
16729 arg4
= static_cast< byte
>(val4
);
16730 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
16731 if (!SWIG_IsOK(ecode5
)) {
16732 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Image_Replace" "', expected argument " "5"" of type '" "byte""'");
16734 arg5
= static_cast< byte
>(val5
);
16735 ecode6
= SWIG_AsVal_unsigned_SS_char(obj5
, &val6
);
16736 if (!SWIG_IsOK(ecode6
)) {
16737 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Image_Replace" "', expected argument " "6"" of type '" "byte""'");
16739 arg6
= static_cast< byte
>(val6
);
16740 ecode7
= SWIG_AsVal_unsigned_SS_char(obj6
, &val7
);
16741 if (!SWIG_IsOK(ecode7
)) {
16742 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Image_Replace" "', expected argument " "7"" of type '" "byte""'");
16744 arg7
= static_cast< byte
>(val7
);
16746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16747 (arg1
)->Replace(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
16748 wxPyEndAllowThreads(__tstate
);
16749 if (PyErr_Occurred()) SWIG_fail
;
16751 resultobj
= SWIG_Py_Void();
16758 SWIGINTERN PyObject
*_wrap_Image_ConvertToGreyscale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16759 PyObject
*resultobj
= 0;
16760 wxImage
*arg1
= (wxImage
*) 0 ;
16761 double arg2
= (double) 0.299 ;
16762 double arg3
= (double) 0.587 ;
16763 double arg4
= (double) 0.114 ;
16764 SwigValueWrapper
<wxImage
> result
;
16773 PyObject
* obj0
= 0 ;
16774 PyObject
* obj1
= 0 ;
16775 PyObject
* obj2
= 0 ;
16776 PyObject
* obj3
= 0 ;
16777 char * kwnames
[] = {
16778 (char *) "self",(char *) "lr",(char *) "lg",(char *) "lb", NULL
16781 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_ConvertToGreyscale",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16782 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16783 if (!SWIG_IsOK(res1
)) {
16784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_ConvertToGreyscale" "', expected argument " "1"" of type '" "wxImage const *""'");
16786 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16788 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
16789 if (!SWIG_IsOK(ecode2
)) {
16790 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_ConvertToGreyscale" "', expected argument " "2"" of type '" "double""'");
16792 arg2
= static_cast< double >(val2
);
16795 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
16796 if (!SWIG_IsOK(ecode3
)) {
16797 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_ConvertToGreyscale" "', expected argument " "3"" of type '" "double""'");
16799 arg3
= static_cast< double >(val3
);
16802 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
16803 if (!SWIG_IsOK(ecode4
)) {
16804 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_ConvertToGreyscale" "', expected argument " "4"" of type '" "double""'");
16806 arg4
= static_cast< double >(val4
);
16809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16810 result
= ((wxImage
const *)arg1
)->ConvertToGreyscale(arg2
,arg3
,arg4
);
16811 wxPyEndAllowThreads(__tstate
);
16812 if (PyErr_Occurred()) SWIG_fail
;
16814 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
16821 SWIGINTERN PyObject
*_wrap_Image_ConvertToMono(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16822 PyObject
*resultobj
= 0;
16823 wxImage
*arg1
= (wxImage
*) 0 ;
16827 SwigValueWrapper
<wxImage
> result
;
16830 unsigned char val2
;
16832 unsigned char val3
;
16834 unsigned char val4
;
16836 PyObject
* obj0
= 0 ;
16837 PyObject
* obj1
= 0 ;
16838 PyObject
* obj2
= 0 ;
16839 PyObject
* obj3
= 0 ;
16840 char * kwnames
[] = {
16841 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
16844 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMono",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16845 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16846 if (!SWIG_IsOK(res1
)) {
16847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_ConvertToMono" "', expected argument " "1"" of type '" "wxImage const *""'");
16849 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16850 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
16851 if (!SWIG_IsOK(ecode2
)) {
16852 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_ConvertToMono" "', expected argument " "2"" of type '" "byte""'");
16854 arg2
= static_cast< byte
>(val2
);
16855 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
16856 if (!SWIG_IsOK(ecode3
)) {
16857 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_ConvertToMono" "', expected argument " "3"" of type '" "byte""'");
16859 arg3
= static_cast< byte
>(val3
);
16860 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
16861 if (!SWIG_IsOK(ecode4
)) {
16862 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_ConvertToMono" "', expected argument " "4"" of type '" "byte""'");
16864 arg4
= static_cast< byte
>(val4
);
16866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16867 result
= ((wxImage
const *)arg1
)->ConvertToMono(arg2
,arg3
,arg4
);
16868 wxPyEndAllowThreads(__tstate
);
16869 if (PyErr_Occurred()) SWIG_fail
;
16871 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
16878 SWIGINTERN PyObject
*_wrap_Image_SetOption(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16879 PyObject
*resultobj
= 0;
16880 wxImage
*arg1
= (wxImage
*) 0 ;
16881 wxString
*arg2
= 0 ;
16882 wxString
*arg3
= 0 ;
16885 bool temp2
= false ;
16886 bool temp3
= false ;
16887 PyObject
* obj0
= 0 ;
16888 PyObject
* obj1
= 0 ;
16889 PyObject
* obj2
= 0 ;
16890 char * kwnames
[] = {
16891 (char *) "self",(char *) "name",(char *) "value", NULL
16894 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOption",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16895 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16896 if (!SWIG_IsOK(res1
)) {
16897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetOption" "', expected argument " "1"" of type '" "wxImage *""'");
16899 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16901 arg2
= wxString_in_helper(obj1
);
16902 if (arg2
== NULL
) SWIG_fail
;
16906 arg3
= wxString_in_helper(obj2
);
16907 if (arg3
== NULL
) SWIG_fail
;
16911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16912 (arg1
)->SetOption((wxString
const &)*arg2
,(wxString
const &)*arg3
);
16913 wxPyEndAllowThreads(__tstate
);
16914 if (PyErr_Occurred()) SWIG_fail
;
16916 resultobj
= SWIG_Py_Void();
16939 SWIGINTERN PyObject
*_wrap_Image_SetOptionInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16940 PyObject
*resultobj
= 0;
16941 wxImage
*arg1
= (wxImage
*) 0 ;
16942 wxString
*arg2
= 0 ;
16946 bool temp2
= false ;
16949 PyObject
* obj0
= 0 ;
16950 PyObject
* obj1
= 0 ;
16951 PyObject
* obj2
= 0 ;
16952 char * kwnames
[] = {
16953 (char *) "self",(char *) "name",(char *) "value", NULL
16956 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOptionInt",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16957 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16958 if (!SWIG_IsOK(res1
)) {
16959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetOptionInt" "', expected argument " "1"" of type '" "wxImage *""'");
16961 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16963 arg2
= wxString_in_helper(obj1
);
16964 if (arg2
== NULL
) SWIG_fail
;
16967 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16968 if (!SWIG_IsOK(ecode3
)) {
16969 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_SetOptionInt" "', expected argument " "3"" of type '" "int""'");
16971 arg3
= static_cast< int >(val3
);
16973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16974 (arg1
)->SetOption((wxString
const &)*arg2
,arg3
);
16975 wxPyEndAllowThreads(__tstate
);
16976 if (PyErr_Occurred()) SWIG_fail
;
16978 resultobj
= SWIG_Py_Void();
16993 SWIGINTERN PyObject
*_wrap_Image_GetOption(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16994 PyObject
*resultobj
= 0;
16995 wxImage
*arg1
= (wxImage
*) 0 ;
16996 wxString
*arg2
= 0 ;
17000 bool temp2
= false ;
17001 PyObject
* obj0
= 0 ;
17002 PyObject
* obj1
= 0 ;
17003 char * kwnames
[] = {
17004 (char *) "self",(char *) "name", NULL
17007 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOption",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17008 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
17009 if (!SWIG_IsOK(res1
)) {
17010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetOption" "', expected argument " "1"" of type '" "wxImage const *""'");
17012 arg1
= reinterpret_cast< wxImage
* >(argp1
);
17014 arg2
= wxString_in_helper(obj1
);
17015 if (arg2
== NULL
) SWIG_fail
;
17019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17020 result
= ((wxImage
const *)arg1
)->GetOption((wxString
const &)*arg2
);
17021 wxPyEndAllowThreads(__tstate
);
17022 if (PyErr_Occurred()) SWIG_fail
;
17026 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17028 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17045 SWIGINTERN PyObject
*_wrap_Image_GetOptionInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17046 PyObject
*resultobj
= 0;
17047 wxImage
*arg1
= (wxImage
*) 0 ;
17048 wxString
*arg2
= 0 ;
17052 bool temp2
= false ;
17053 PyObject
* obj0
= 0 ;
17054 PyObject
* obj1
= 0 ;
17055 char * kwnames
[] = {
17056 (char *) "self",(char *) "name", NULL
17059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOptionInt",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17060 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
17061 if (!SWIG_IsOK(res1
)) {
17062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetOptionInt" "', expected argument " "1"" of type '" "wxImage const *""'");
17064 arg1
= reinterpret_cast< wxImage
* >(argp1
);
17066 arg2
= wxString_in_helper(obj1
);
17067 if (arg2
== NULL
) SWIG_fail
;
17071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17072 result
= (int)((wxImage
const *)arg1
)->GetOptionInt((wxString
const &)*arg2
);
17073 wxPyEndAllowThreads(__tstate
);
17074 if (PyErr_Occurred()) SWIG_fail
;
17076 resultobj
= SWIG_From_int(static_cast< int >(result
));
17091 SWIGINTERN PyObject
*_wrap_Image_HasOption(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17092 PyObject
*resultobj
= 0;
17093 wxImage
*arg1
= (wxImage
*) 0 ;
17094 wxString
*arg2
= 0 ;
17098 bool temp2
= false ;
17099 PyObject
* obj0
= 0 ;
17100 PyObject
* obj1
= 0 ;
17101 char * kwnames
[] = {
17102 (char *) "self",(char *) "name", NULL
17105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HasOption",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17106 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
17107 if (!SWIG_IsOK(res1
)) {
17108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_HasOption" "', expected argument " "1"" of type '" "wxImage const *""'");
17110 arg1
= reinterpret_cast< wxImage
* >(argp1
);
17112 arg2
= wxString_in_helper(obj1
);
17113 if (arg2
== NULL
) SWIG_fail
;
17117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17118 result
= (bool)((wxImage
const *)arg1
)->HasOption((wxString
const &)*arg2
);
17119 wxPyEndAllowThreads(__tstate
);
17120 if (PyErr_Occurred()) SWIG_fail
;
17123 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17139 SWIGINTERN PyObject
*_wrap_Image_CountColours(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17140 PyObject
*resultobj
= 0;
17141 wxImage
*arg1
= (wxImage
*) 0 ;
17142 unsigned long arg2
= (unsigned long) (unsigned long) -1 ;
17143 unsigned long result
;
17146 unsigned long val2
;
17148 PyObject
* obj0
= 0 ;
17149 PyObject
* obj1
= 0 ;
17150 char * kwnames
[] = {
17151 (char *) "self",(char *) "stopafter", NULL
17154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_CountColours",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17155 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
17156 if (!SWIG_IsOK(res1
)) {
17157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_CountColours" "', expected argument " "1"" of type '" "wxImage *""'");
17159 arg1
= reinterpret_cast< wxImage
* >(argp1
);
17161 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
17162 if (!SWIG_IsOK(ecode2
)) {
17163 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_CountColours" "', expected argument " "2"" of type '" "unsigned long""'");
17165 arg2
= static_cast< unsigned long >(val2
);
17168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17169 result
= (unsigned long)(arg1
)->CountColours(arg2
);
17170 wxPyEndAllowThreads(__tstate
);
17171 if (PyErr_Occurred()) SWIG_fail
;
17173 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
17180 SWIGINTERN PyObject
*_wrap_Image_ComputeHistogram(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17181 PyObject
*resultobj
= 0;
17182 wxImage
*arg1
= (wxImage
*) 0 ;
17183 wxImageHistogram
*arg2
= 0 ;
17184 unsigned long result
;
17189 PyObject
* obj0
= 0 ;
17190 PyObject
* obj1
= 0 ;
17191 char * kwnames
[] = {
17192 (char *) "self",(char *) "h", NULL
17195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_ComputeHistogram",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17196 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
17197 if (!SWIG_IsOK(res1
)) {
17198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_ComputeHistogram" "', expected argument " "1"" of type '" "wxImage *""'");
17200 arg1
= reinterpret_cast< wxImage
* >(argp1
);
17201 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxImageHistogram
, 0 );
17202 if (!SWIG_IsOK(res2
)) {
17203 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Image_ComputeHistogram" "', expected argument " "2"" of type '" "wxImageHistogram &""'");
17206 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Image_ComputeHistogram" "', expected argument " "2"" of type '" "wxImageHistogram &""'");
17208 arg2
= reinterpret_cast< wxImageHistogram
* >(argp2
);
17210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17211 result
= (unsigned long)(arg1
)->ComputeHistogram(*arg2
);
17212 wxPyEndAllowThreads(__tstate
);
17213 if (PyErr_Occurred()) SWIG_fail
;
17215 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
17222 SWIGINTERN PyObject
*_wrap_Image_AddHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17223 PyObject
*resultobj
= 0;
17224 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
17227 PyObject
* obj0
= 0 ;
17228 char * kwnames
[] = {
17229 (char *) "handler", NULL
17232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_AddHandler",kwnames
,&obj0
)) SWIG_fail
;
17233 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
17234 if (!SWIG_IsOK(res1
)) {
17235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_AddHandler" "', expected argument " "1"" of type '" "wxImageHandler *""'");
17237 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
17239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17240 wxImage::AddHandler(arg1
);
17241 wxPyEndAllowThreads(__tstate
);
17242 if (PyErr_Occurred()) SWIG_fail
;
17244 resultobj
= SWIG_Py_Void();
17251 SWIGINTERN PyObject
*_wrap_Image_InsertHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17252 PyObject
*resultobj
= 0;
17253 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
17256 PyObject
* obj0
= 0 ;
17257 char * kwnames
[] = {
17258 (char *) "handler", NULL
17261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InsertHandler",kwnames
,&obj0
)) SWIG_fail
;
17262 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
17263 if (!SWIG_IsOK(res1
)) {
17264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_InsertHandler" "', expected argument " "1"" of type '" "wxImageHandler *""'");
17266 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
17268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17269 wxImage::InsertHandler(arg1
);
17270 wxPyEndAllowThreads(__tstate
);
17271 if (PyErr_Occurred()) SWIG_fail
;
17273 resultobj
= SWIG_Py_Void();
17280 SWIGINTERN PyObject
*_wrap_Image_RemoveHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17281 PyObject
*resultobj
= 0;
17282 wxString
*arg1
= 0 ;
17284 bool temp1
= false ;
17285 PyObject
* obj0
= 0 ;
17286 char * kwnames
[] = {
17287 (char *) "name", NULL
17290 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RemoveHandler",kwnames
,&obj0
)) SWIG_fail
;
17292 arg1
= wxString_in_helper(obj0
);
17293 if (arg1
== NULL
) SWIG_fail
;
17297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17298 result
= (bool)wxImage::RemoveHandler((wxString
const &)*arg1
);
17299 wxPyEndAllowThreads(__tstate
);
17300 if (PyErr_Occurred()) SWIG_fail
;
17303 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17319 SWIGINTERN PyObject
*_wrap_Image_GetHandlers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17320 PyObject
*resultobj
= 0;
17321 PyObject
*result
= 0 ;
17323 if (!SWIG_Python_UnpackTuple(args
,"Image_GetHandlers",0,0,0)) SWIG_fail
;
17325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17326 result
= (PyObject
*)wxImage_GetHandlers();
17327 wxPyEndAllowThreads(__tstate
);
17328 if (PyErr_Occurred()) SWIG_fail
;
17330 resultobj
= result
;
17337 SWIGINTERN PyObject
*_wrap_Image_GetImageExtWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17338 PyObject
*resultobj
= 0;
17341 if (!SWIG_Python_UnpackTuple(args
,"Image_GetImageExtWildcard",0,0,0)) SWIG_fail
;
17343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17344 result
= wxImage::GetImageExtWildcard();
17345 wxPyEndAllowThreads(__tstate
);
17346 if (PyErr_Occurred()) SWIG_fail
;
17350 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17352 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17361 SWIGINTERN PyObject
*_wrap_Image_ConvertToBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17362 PyObject
*resultobj
= 0;
17363 wxImage
*arg1
= (wxImage
*) 0 ;
17364 int arg2
= (int) -1 ;
17370 PyObject
* obj0
= 0 ;
17371 PyObject
* obj1
= 0 ;
17372 char * kwnames
[] = {
17373 (char *) "self",(char *) "depth", NULL
17376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertToBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17377 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
17378 if (!SWIG_IsOK(res1
)) {
17379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_ConvertToBitmap" "', expected argument " "1"" of type '" "wxImage *""'");
17381 arg1
= reinterpret_cast< wxImage
* >(argp1
);
17383 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17384 if (!SWIG_IsOK(ecode2
)) {
17385 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_ConvertToBitmap" "', expected argument " "2"" of type '" "int""'");
17387 arg2
= static_cast< int >(val2
);
17390 if (!wxPyCheckForApp()) SWIG_fail
;
17391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17392 result
= wxImage_ConvertToBitmap(arg1
,arg2
);
17393 wxPyEndAllowThreads(__tstate
);
17394 if (PyErr_Occurred()) SWIG_fail
;
17396 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
17403 SWIGINTERN PyObject
*_wrap_Image_ConvertToMonoBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17404 PyObject
*resultobj
= 0;
17405 wxImage
*arg1
= (wxImage
*) 0 ;
17412 unsigned char val2
;
17414 unsigned char val3
;
17416 unsigned char val4
;
17418 PyObject
* obj0
= 0 ;
17419 PyObject
* obj1
= 0 ;
17420 PyObject
* obj2
= 0 ;
17421 PyObject
* obj3
= 0 ;
17422 char * kwnames
[] = {
17423 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
17426 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17427 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
17428 if (!SWIG_IsOK(res1
)) {
17429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_ConvertToMonoBitmap" "', expected argument " "1"" of type '" "wxImage *""'");
17431 arg1
= reinterpret_cast< wxImage
* >(argp1
);
17432 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
17433 if (!SWIG_IsOK(ecode2
)) {
17434 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_ConvertToMonoBitmap" "', expected argument " "2"" of type '" "byte""'");
17436 arg2
= static_cast< byte
>(val2
);
17437 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
17438 if (!SWIG_IsOK(ecode3
)) {
17439 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_ConvertToMonoBitmap" "', expected argument " "3"" of type '" "byte""'");
17441 arg3
= static_cast< byte
>(val3
);
17442 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
17443 if (!SWIG_IsOK(ecode4
)) {
17444 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_ConvertToMonoBitmap" "', expected argument " "4"" of type '" "byte""'");
17446 arg4
= static_cast< byte
>(val4
);
17448 if (!wxPyCheckForApp()) SWIG_fail
;
17449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17450 result
= wxImage_ConvertToMonoBitmap(arg1
,arg2
,arg3
,arg4
);
17451 wxPyEndAllowThreads(__tstate
);
17452 if (PyErr_Occurred()) SWIG_fail
;
17454 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
17461 SWIGINTERN PyObject
*_wrap_Image_RotateHue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17462 PyObject
*resultobj
= 0;
17463 wxImage
*arg1
= (wxImage
*) 0 ;
17469 PyObject
* obj0
= 0 ;
17470 PyObject
* obj1
= 0 ;
17471 char * kwnames
[] = {
17472 (char *) "self",(char *) "angle", NULL
17475 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_RotateHue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17476 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
17477 if (!SWIG_IsOK(res1
)) {
17478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_RotateHue" "', expected argument " "1"" of type '" "wxImage *""'");
17480 arg1
= reinterpret_cast< wxImage
* >(argp1
);
17481 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
17482 if (!SWIG_IsOK(ecode2
)) {
17483 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_RotateHue" "', expected argument " "2"" of type '" "double""'");
17485 arg2
= static_cast< double >(val2
);
17487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17488 (arg1
)->RotateHue(arg2
);
17489 wxPyEndAllowThreads(__tstate
);
17490 if (PyErr_Occurred()) SWIG_fail
;
17492 resultobj
= SWIG_Py_Void();
17499 SWIGINTERN PyObject
*_wrap_Image_RGBtoHSV(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17500 PyObject
*resultobj
= 0;
17501 wxImage_RGBValue arg1
;
17502 wxImage_HSVValue result
;
17505 PyObject
* obj0
= 0 ;
17506 char * kwnames
[] = {
17507 (char *) "rgb", NULL
17510 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RGBtoHSV",kwnames
,&obj0
)) SWIG_fail
;
17512 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage_RGBValue
, 0 | 0);
17513 if (!SWIG_IsOK(res1
)) {
17514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_RGBtoHSV" "', expected argument " "1"" of type '" "wxImage_RGBValue""'");
17517 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Image_RGBtoHSV" "', expected argument " "1"" of type '" "wxImage_RGBValue""'");
17519 wxImage_RGBValue
* temp
= reinterpret_cast< wxImage_RGBValue
* >(argp1
);
17521 if (SWIG_IsNewObj(res1
)) delete temp
;
17525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17526 result
= wxImage::RGBtoHSV(arg1
);
17527 wxPyEndAllowThreads(__tstate
);
17528 if (PyErr_Occurred()) SWIG_fail
;
17530 resultobj
= SWIG_NewPointerObj((new wxImage_HSVValue(static_cast< const wxImage_HSVValue
& >(result
))), SWIGTYPE_p_wxImage_HSVValue
, SWIG_POINTER_OWN
| 0 );
17537 SWIGINTERN PyObject
*_wrap_Image_HSVtoRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17538 PyObject
*resultobj
= 0;
17539 wxImage_HSVValue arg1
;
17540 wxImage_RGBValue result
;
17543 PyObject
* obj0
= 0 ;
17544 char * kwnames
[] = {
17545 (char *) "hsv", NULL
17548 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HSVtoRGB",kwnames
,&obj0
)) SWIG_fail
;
17550 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage_HSVValue
, 0 | 0);
17551 if (!SWIG_IsOK(res1
)) {
17552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_HSVtoRGB" "', expected argument " "1"" of type '" "wxImage_HSVValue""'");
17555 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Image_HSVtoRGB" "', expected argument " "1"" of type '" "wxImage_HSVValue""'");
17557 wxImage_HSVValue
* temp
= reinterpret_cast< wxImage_HSVValue
* >(argp1
);
17559 if (SWIG_IsNewObj(res1
)) delete temp
;
17563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17564 result
= wxImage::HSVtoRGB(arg1
);
17565 wxPyEndAllowThreads(__tstate
);
17566 if (PyErr_Occurred()) SWIG_fail
;
17568 resultobj
= SWIG_NewPointerObj((new wxImage_RGBValue(static_cast< const wxImage_RGBValue
& >(result
))), SWIGTYPE_p_wxImage_RGBValue
, SWIG_POINTER_OWN
| 0 );
17575 SWIGINTERN PyObject
*Image_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17577 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17578 SWIG_TypeNewClientData(SWIGTYPE_p_wxImage
, SWIG_NewClientData(obj
));
17579 return SWIG_Py_Void();
17582 SWIGINTERN PyObject
*Image_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17583 return SWIG_Python_InitShadowInstance(args
);
17586 SWIGINTERN PyObject
*_wrap__ImageFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17587 PyObject
*resultobj
= 0;
17592 buffer arg5
= (buffer
) NULL
;
17593 int arg6
= (int) 0 ;
17594 wxImage
*result
= 0 ;
17601 PyObject
* obj0
= 0 ;
17602 PyObject
* obj1
= 0 ;
17603 PyObject
* obj2
= 0 ;
17604 PyObject
* obj3
= 0 ;
17605 char * kwnames
[] = {
17606 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
17609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:_ImageFromBuffer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17610 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17611 if (!SWIG_IsOK(ecode1
)) {
17612 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_ImageFromBuffer" "', expected argument " "1"" of type '" "int""'");
17614 arg1
= static_cast< int >(val1
);
17615 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17616 if (!SWIG_IsOK(ecode2
)) {
17617 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_ImageFromBuffer" "', expected argument " "2"" of type '" "int""'");
17619 arg2
= static_cast< int >(val2
);
17621 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
17626 if (obj3
!= Py_None
) {
17627 if (PyObject_AsReadBuffer(obj3
, (const void**)(&arg5
), &temp5
) == -1) SWIG_fail
;
17633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17634 result
= (wxImage
*)_ImageFromBuffer(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
17635 wxPyEndAllowThreads(__tstate
);
17636 if (PyErr_Occurred()) SWIG_fail
;
17639 resultobj
= wxPyMake_wxObject(result
, SWIG_POINTER_OWN
);
17647 SWIGINTERN
int NullImage_set(PyObject
*) {
17648 SWIG_Error(SWIG_AttributeError
,"Variable NullImage is read-only.");
17653 SWIGINTERN PyObject
*NullImage_get(void) {
17654 PyObject
*pyobj
= 0;
17656 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullImage
), SWIGTYPE_p_wxImage
, 0 );
17661 SWIGINTERN
int IMAGE_OPTION_FILENAME_set(PyObject
*) {
17662 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_FILENAME is read-only.");
17667 SWIGINTERN PyObject
*IMAGE_OPTION_FILENAME_get(void) {
17668 PyObject
*pyobj
= 0;
17672 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_FILENAME
)->c_str(), (&wxPyIMAGE_OPTION_FILENAME
)->Len());
17674 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_FILENAME
)->c_str(), (&wxPyIMAGE_OPTION_FILENAME
)->Len());
17681 SWIGINTERN
int IMAGE_OPTION_BMP_FORMAT_set(PyObject
*) {
17682 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
17687 SWIGINTERN PyObject
*IMAGE_OPTION_BMP_FORMAT_get(void) {
17688 PyObject
*pyobj
= 0;
17692 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
17694 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
17701 SWIGINTERN
int IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject
*) {
17702 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
17707 SWIGINTERN PyObject
*IMAGE_OPTION_CUR_HOTSPOT_X_get(void) {
17708 PyObject
*pyobj
= 0;
17712 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
17714 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
17721 SWIGINTERN
int IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject
*) {
17722 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
17727 SWIGINTERN PyObject
*IMAGE_OPTION_CUR_HOTSPOT_Y_get(void) {
17728 PyObject
*pyobj
= 0;
17732 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
17734 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
17741 SWIGINTERN
int IMAGE_OPTION_RESOLUTION_set(PyObject
*) {
17742 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
17747 SWIGINTERN PyObject
*IMAGE_OPTION_RESOLUTION_get(void) {
17748 PyObject
*pyobj
= 0;
17752 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
17754 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
17761 SWIGINTERN
int IMAGE_OPTION_RESOLUTIONX_set(PyObject
*) {
17762 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_RESOLUTIONX is read-only.");
17767 SWIGINTERN PyObject
*IMAGE_OPTION_RESOLUTIONX_get(void) {
17768 PyObject
*pyobj
= 0;
17772 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONX
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONX
)->Len());
17774 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONX
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONX
)->Len());
17781 SWIGINTERN
int IMAGE_OPTION_RESOLUTIONY_set(PyObject
*) {
17782 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_RESOLUTIONY is read-only.");
17787 SWIGINTERN PyObject
*IMAGE_OPTION_RESOLUTIONY_get(void) {
17788 PyObject
*pyobj
= 0;
17792 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONY
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONY
)->Len());
17794 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONY
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONY
)->Len());
17801 SWIGINTERN
int IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject
*) {
17802 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
17807 SWIGINTERN PyObject
*IMAGE_OPTION_RESOLUTIONUNIT_get(void) {
17808 PyObject
*pyobj
= 0;
17812 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
17814 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
17821 SWIGINTERN
int IMAGE_OPTION_QUALITY_set(PyObject
*) {
17822 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_QUALITY is read-only.");
17827 SWIGINTERN PyObject
*IMAGE_OPTION_QUALITY_get(void) {
17828 PyObject
*pyobj
= 0;
17832 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_QUALITY
)->c_str(), (&wxPyIMAGE_OPTION_QUALITY
)->Len());
17834 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_QUALITY
)->c_str(), (&wxPyIMAGE_OPTION_QUALITY
)->Len());
17841 SWIGINTERN
int IMAGE_OPTION_BITSPERSAMPLE_set(PyObject
*) {
17842 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_BITSPERSAMPLE is read-only.");
17847 SWIGINTERN PyObject
*IMAGE_OPTION_BITSPERSAMPLE_get(void) {
17848 PyObject
*pyobj
= 0;
17852 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->c_str(), (&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->Len());
17854 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->c_str(), (&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->Len());
17861 SWIGINTERN
int IMAGE_OPTION_SAMPLESPERPIXEL_set(PyObject
*) {
17862 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_SAMPLESPERPIXEL is read-only.");
17867 SWIGINTERN PyObject
*IMAGE_OPTION_SAMPLESPERPIXEL_get(void) {
17868 PyObject
*pyobj
= 0;
17872 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->c_str(), (&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->Len());
17874 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->c_str(), (&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->Len());
17881 SWIGINTERN
int IMAGE_OPTION_COMPRESSION_set(PyObject
*) {
17882 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_COMPRESSION is read-only.");
17887 SWIGINTERN PyObject
*IMAGE_OPTION_COMPRESSION_get(void) {
17888 PyObject
*pyobj
= 0;
17892 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_COMPRESSION
)->c_str(), (&wxPyIMAGE_OPTION_COMPRESSION
)->Len());
17894 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_COMPRESSION
)->c_str(), (&wxPyIMAGE_OPTION_COMPRESSION
)->Len());
17901 SWIGINTERN
int IMAGE_OPTION_IMAGEDESCRIPTOR_set(PyObject
*) {
17902 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_IMAGEDESCRIPTOR is read-only.");
17907 SWIGINTERN PyObject
*IMAGE_OPTION_IMAGEDESCRIPTOR_get(void) {
17908 PyObject
*pyobj
= 0;
17912 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->c_str(), (&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->Len());
17914 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->c_str(), (&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->Len());
17921 SWIGINTERN
int IMAGE_OPTION_PNG_FORMAT_set(PyObject
*) {
17922 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_PNG_FORMAT is read-only.");
17927 SWIGINTERN PyObject
*IMAGE_OPTION_PNG_FORMAT_get(void) {
17928 PyObject
*pyobj
= 0;
17932 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_PNG_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_PNG_FORMAT
)->Len());
17934 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_PNG_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_PNG_FORMAT
)->Len());
17941 SWIGINTERN
int IMAGE_OPTION_PNG_BITDEPTH_set(PyObject
*) {
17942 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_PNG_BITDEPTH is read-only.");
17947 SWIGINTERN PyObject
*IMAGE_OPTION_PNG_BITDEPTH_get(void) {
17948 PyObject
*pyobj
= 0;
17952 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->c_str(), (&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->Len());
17954 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->c_str(), (&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->Len());
17961 SWIGINTERN PyObject
*_wrap_new_BMPHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17962 PyObject
*resultobj
= 0;
17963 wxBMPHandler
*result
= 0 ;
17965 if (!SWIG_Python_UnpackTuple(args
,"new_BMPHandler",0,0,0)) SWIG_fail
;
17967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17968 result
= (wxBMPHandler
*)new wxBMPHandler();
17969 wxPyEndAllowThreads(__tstate
);
17970 if (PyErr_Occurred()) SWIG_fail
;
17972 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBMPHandler
, SWIG_POINTER_NEW
| 0 );
17979 SWIGINTERN PyObject
*BMPHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17981 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17982 SWIG_TypeNewClientData(SWIGTYPE_p_wxBMPHandler
, SWIG_NewClientData(obj
));
17983 return SWIG_Py_Void();
17986 SWIGINTERN PyObject
*BMPHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17987 return SWIG_Python_InitShadowInstance(args
);
17990 SWIGINTERN PyObject
*_wrap_new_ICOHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17991 PyObject
*resultobj
= 0;
17992 wxICOHandler
*result
= 0 ;
17994 if (!SWIG_Python_UnpackTuple(args
,"new_ICOHandler",0,0,0)) SWIG_fail
;
17996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17997 result
= (wxICOHandler
*)new wxICOHandler();
17998 wxPyEndAllowThreads(__tstate
);
17999 if (PyErr_Occurred()) SWIG_fail
;
18001 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxICOHandler
, SWIG_POINTER_NEW
| 0 );
18008 SWIGINTERN PyObject
*ICOHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18010 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18011 SWIG_TypeNewClientData(SWIGTYPE_p_wxICOHandler
, SWIG_NewClientData(obj
));
18012 return SWIG_Py_Void();
18015 SWIGINTERN PyObject
*ICOHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18016 return SWIG_Python_InitShadowInstance(args
);
18019 SWIGINTERN PyObject
*_wrap_new_CURHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18020 PyObject
*resultobj
= 0;
18021 wxCURHandler
*result
= 0 ;
18023 if (!SWIG_Python_UnpackTuple(args
,"new_CURHandler",0,0,0)) SWIG_fail
;
18025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18026 result
= (wxCURHandler
*)new wxCURHandler();
18027 wxPyEndAllowThreads(__tstate
);
18028 if (PyErr_Occurred()) SWIG_fail
;
18030 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCURHandler
, SWIG_POINTER_NEW
| 0 );
18037 SWIGINTERN PyObject
*CURHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18039 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18040 SWIG_TypeNewClientData(SWIGTYPE_p_wxCURHandler
, SWIG_NewClientData(obj
));
18041 return SWIG_Py_Void();
18044 SWIGINTERN PyObject
*CURHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18045 return SWIG_Python_InitShadowInstance(args
);
18048 SWIGINTERN PyObject
*_wrap_new_ANIHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18049 PyObject
*resultobj
= 0;
18050 wxANIHandler
*result
= 0 ;
18052 if (!SWIG_Python_UnpackTuple(args
,"new_ANIHandler",0,0,0)) SWIG_fail
;
18054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18055 result
= (wxANIHandler
*)new wxANIHandler();
18056 wxPyEndAllowThreads(__tstate
);
18057 if (PyErr_Occurred()) SWIG_fail
;
18059 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxANIHandler
, SWIG_POINTER_NEW
| 0 );
18066 SWIGINTERN PyObject
*ANIHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18068 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18069 SWIG_TypeNewClientData(SWIGTYPE_p_wxANIHandler
, SWIG_NewClientData(obj
));
18070 return SWIG_Py_Void();
18073 SWIGINTERN PyObject
*ANIHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18074 return SWIG_Python_InitShadowInstance(args
);
18077 SWIGINTERN PyObject
*_wrap_new_PNGHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18078 PyObject
*resultobj
= 0;
18079 wxPNGHandler
*result
= 0 ;
18081 if (!SWIG_Python_UnpackTuple(args
,"new_PNGHandler",0,0,0)) SWIG_fail
;
18083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18084 result
= (wxPNGHandler
*)new wxPNGHandler();
18085 wxPyEndAllowThreads(__tstate
);
18086 if (PyErr_Occurred()) SWIG_fail
;
18088 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPNGHandler
, SWIG_POINTER_NEW
| 0 );
18095 SWIGINTERN PyObject
*PNGHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18097 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18098 SWIG_TypeNewClientData(SWIGTYPE_p_wxPNGHandler
, SWIG_NewClientData(obj
));
18099 return SWIG_Py_Void();
18102 SWIGINTERN PyObject
*PNGHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18103 return SWIG_Python_InitShadowInstance(args
);
18106 SWIGINTERN PyObject
*_wrap_new_GIFHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18107 PyObject
*resultobj
= 0;
18108 wxGIFHandler
*result
= 0 ;
18110 if (!SWIG_Python_UnpackTuple(args
,"new_GIFHandler",0,0,0)) SWIG_fail
;
18112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18113 result
= (wxGIFHandler
*)new wxGIFHandler();
18114 wxPyEndAllowThreads(__tstate
);
18115 if (PyErr_Occurred()) SWIG_fail
;
18117 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGIFHandler
, SWIG_POINTER_NEW
| 0 );
18124 SWIGINTERN PyObject
*GIFHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18126 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18127 SWIG_TypeNewClientData(SWIGTYPE_p_wxGIFHandler
, SWIG_NewClientData(obj
));
18128 return SWIG_Py_Void();
18131 SWIGINTERN PyObject
*GIFHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18132 return SWIG_Python_InitShadowInstance(args
);
18135 SWIGINTERN PyObject
*_wrap_new_PCXHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18136 PyObject
*resultobj
= 0;
18137 wxPCXHandler
*result
= 0 ;
18139 if (!SWIG_Python_UnpackTuple(args
,"new_PCXHandler",0,0,0)) SWIG_fail
;
18141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18142 result
= (wxPCXHandler
*)new wxPCXHandler();
18143 wxPyEndAllowThreads(__tstate
);
18144 if (PyErr_Occurred()) SWIG_fail
;
18146 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPCXHandler
, SWIG_POINTER_NEW
| 0 );
18153 SWIGINTERN PyObject
*PCXHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18155 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18156 SWIG_TypeNewClientData(SWIGTYPE_p_wxPCXHandler
, SWIG_NewClientData(obj
));
18157 return SWIG_Py_Void();
18160 SWIGINTERN PyObject
*PCXHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18161 return SWIG_Python_InitShadowInstance(args
);
18164 SWIGINTERN PyObject
*_wrap_new_JPEGHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18165 PyObject
*resultobj
= 0;
18166 wxJPEGHandler
*result
= 0 ;
18168 if (!SWIG_Python_UnpackTuple(args
,"new_JPEGHandler",0,0,0)) SWIG_fail
;
18170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18171 result
= (wxJPEGHandler
*)new wxJPEGHandler();
18172 wxPyEndAllowThreads(__tstate
);
18173 if (PyErr_Occurred()) SWIG_fail
;
18175 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxJPEGHandler
, SWIG_POINTER_NEW
| 0 );
18182 SWIGINTERN PyObject
*JPEGHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18184 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18185 SWIG_TypeNewClientData(SWIGTYPE_p_wxJPEGHandler
, SWIG_NewClientData(obj
));
18186 return SWIG_Py_Void();
18189 SWIGINTERN PyObject
*JPEGHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18190 return SWIG_Python_InitShadowInstance(args
);
18193 SWIGINTERN PyObject
*_wrap_new_PNMHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18194 PyObject
*resultobj
= 0;
18195 wxPNMHandler
*result
= 0 ;
18197 if (!SWIG_Python_UnpackTuple(args
,"new_PNMHandler",0,0,0)) SWIG_fail
;
18199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18200 result
= (wxPNMHandler
*)new wxPNMHandler();
18201 wxPyEndAllowThreads(__tstate
);
18202 if (PyErr_Occurred()) SWIG_fail
;
18204 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPNMHandler
, SWIG_POINTER_NEW
| 0 );
18211 SWIGINTERN PyObject
*PNMHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18213 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18214 SWIG_TypeNewClientData(SWIGTYPE_p_wxPNMHandler
, SWIG_NewClientData(obj
));
18215 return SWIG_Py_Void();
18218 SWIGINTERN PyObject
*PNMHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18219 return SWIG_Python_InitShadowInstance(args
);
18222 SWIGINTERN PyObject
*_wrap_new_XPMHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18223 PyObject
*resultobj
= 0;
18224 wxXPMHandler
*result
= 0 ;
18226 if (!SWIG_Python_UnpackTuple(args
,"new_XPMHandler",0,0,0)) SWIG_fail
;
18228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18229 result
= (wxXPMHandler
*)new wxXPMHandler();
18230 wxPyEndAllowThreads(__tstate
);
18231 if (PyErr_Occurred()) SWIG_fail
;
18233 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxXPMHandler
, SWIG_POINTER_NEW
| 0 );
18240 SWIGINTERN PyObject
*XPMHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18242 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18243 SWIG_TypeNewClientData(SWIGTYPE_p_wxXPMHandler
, SWIG_NewClientData(obj
));
18244 return SWIG_Py_Void();
18247 SWIGINTERN PyObject
*XPMHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18248 return SWIG_Python_InitShadowInstance(args
);
18251 SWIGINTERN PyObject
*_wrap_new_TIFFHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18252 PyObject
*resultobj
= 0;
18253 wxTIFFHandler
*result
= 0 ;
18255 if (!SWIG_Python_UnpackTuple(args
,"new_TIFFHandler",0,0,0)) SWIG_fail
;
18257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18258 result
= (wxTIFFHandler
*)new wxTIFFHandler();
18259 wxPyEndAllowThreads(__tstate
);
18260 if (PyErr_Occurred()) SWIG_fail
;
18262 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTIFFHandler
, SWIG_POINTER_NEW
| 0 );
18269 SWIGINTERN PyObject
*TIFFHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18271 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18272 SWIG_TypeNewClientData(SWIGTYPE_p_wxTIFFHandler
, SWIG_NewClientData(obj
));
18273 return SWIG_Py_Void();
18276 SWIGINTERN PyObject
*TIFFHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18277 return SWIG_Python_InitShadowInstance(args
);
18280 SWIGINTERN PyObject
*_wrap_Quantize_Quantize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18281 PyObject
*resultobj
= 0;
18282 wxImage
*arg1
= 0 ;
18283 wxImage
*arg2
= 0 ;
18284 int arg3
= (int) 236 ;
18285 int arg4
= (int) wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
|wxQUANTIZE_FILL_DESTINATION_IMAGE
;
18295 PyObject
* obj0
= 0 ;
18296 PyObject
* obj1
= 0 ;
18297 PyObject
* obj2
= 0 ;
18298 PyObject
* obj3
= 0 ;
18299 char * kwnames
[] = {
18300 (char *) "src",(char *) "dest",(char *) "desiredNoColours",(char *) "flags", NULL
18303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Quantize_Quantize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18304 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
18305 if (!SWIG_IsOK(res1
)) {
18306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Quantize_Quantize" "', expected argument " "1"" of type '" "wxImage const &""'");
18309 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Quantize_Quantize" "', expected argument " "1"" of type '" "wxImage const &""'");
18311 arg1
= reinterpret_cast< wxImage
* >(argp1
);
18312 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxImage
, 0 );
18313 if (!SWIG_IsOK(res2
)) {
18314 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Quantize_Quantize" "', expected argument " "2"" of type '" "wxImage &""'");
18317 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Quantize_Quantize" "', expected argument " "2"" of type '" "wxImage &""'");
18319 arg2
= reinterpret_cast< wxImage
* >(argp2
);
18321 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18322 if (!SWIG_IsOK(ecode3
)) {
18323 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Quantize_Quantize" "', expected argument " "3"" of type '" "int""'");
18325 arg3
= static_cast< int >(val3
);
18328 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18329 if (!SWIG_IsOK(ecode4
)) {
18330 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Quantize_Quantize" "', expected argument " "4"" of type '" "int""'");
18332 arg4
= static_cast< int >(val4
);
18335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18336 result
= (bool)wxQuantize_Quantize((wxImage
const &)*arg1
,*arg2
,arg3
,arg4
);
18337 wxPyEndAllowThreads(__tstate
);
18338 if (PyErr_Occurred()) SWIG_fail
;
18341 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18349 SWIGINTERN PyObject
*Quantize_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18351 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18352 SWIG_TypeNewClientData(SWIGTYPE_p_wxQuantize
, SWIG_NewClientData(obj
));
18353 return SWIG_Py_Void();
18356 SWIGINTERN PyObject
*_wrap_new_EvtHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18357 PyObject
*resultobj
= 0;
18358 wxEvtHandler
*result
= 0 ;
18360 if (!SWIG_Python_UnpackTuple(args
,"new_EvtHandler",0,0,0)) SWIG_fail
;
18362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18363 result
= (wxEvtHandler
*)new wxEvtHandler();
18364 wxPyEndAllowThreads(__tstate
);
18365 if (PyErr_Occurred()) SWIG_fail
;
18367 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_NEW
| 0 );
18374 SWIGINTERN PyObject
*_wrap_EvtHandler_GetNextHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18375 PyObject
*resultobj
= 0;
18376 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
18377 wxEvtHandler
*result
= 0 ;
18380 PyObject
*swig_obj
[1] ;
18382 if (!args
) SWIG_fail
;
18383 swig_obj
[0] = args
;
18384 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
18385 if (!SWIG_IsOK(res1
)) {
18386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_GetNextHandler" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
18388 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
18390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18391 result
= (wxEvtHandler
*)(arg1
)->GetNextHandler();
18392 wxPyEndAllowThreads(__tstate
);
18393 if (PyErr_Occurred()) SWIG_fail
;
18396 resultobj
= wxPyMake_wxObject(result
, 0);
18404 SWIGINTERN PyObject
*_wrap_EvtHandler_GetPreviousHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18405 PyObject
*resultobj
= 0;
18406 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
18407 wxEvtHandler
*result
= 0 ;
18410 PyObject
*swig_obj
[1] ;
18412 if (!args
) SWIG_fail
;
18413 swig_obj
[0] = args
;
18414 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
18415 if (!SWIG_IsOK(res1
)) {
18416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_GetPreviousHandler" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
18418 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
18420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18421 result
= (wxEvtHandler
*)(arg1
)->GetPreviousHandler();
18422 wxPyEndAllowThreads(__tstate
);
18423 if (PyErr_Occurred()) SWIG_fail
;
18426 resultobj
= wxPyMake_wxObject(result
, 0);
18434 SWIGINTERN PyObject
*_wrap_EvtHandler_SetNextHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18435 PyObject
*resultobj
= 0;
18436 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
18437 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
18442 PyObject
* obj0
= 0 ;
18443 PyObject
* obj1
= 0 ;
18444 char * kwnames
[] = {
18445 (char *) "self",(char *) "handler", NULL
18448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetNextHandler",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18449 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
18450 if (!SWIG_IsOK(res1
)) {
18451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_SetNextHandler" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
18453 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
18454 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
18455 if (!SWIG_IsOK(res2
)) {
18456 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "EvtHandler_SetNextHandler" "', expected argument " "2"" of type '" "wxEvtHandler *""'");
18458 arg2
= reinterpret_cast< wxEvtHandler
* >(argp2
);
18460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18461 (arg1
)->SetNextHandler(arg2
);
18462 wxPyEndAllowThreads(__tstate
);
18463 if (PyErr_Occurred()) SWIG_fail
;
18465 resultobj
= SWIG_Py_Void();
18472 SWIGINTERN PyObject
*_wrap_EvtHandler_SetPreviousHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18473 PyObject
*resultobj
= 0;
18474 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
18475 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
18480 PyObject
* obj0
= 0 ;
18481 PyObject
* obj1
= 0 ;
18482 char * kwnames
[] = {
18483 (char *) "self",(char *) "handler", NULL
18486 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18487 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
18488 if (!SWIG_IsOK(res1
)) {
18489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_SetPreviousHandler" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
18491 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
18492 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
18493 if (!SWIG_IsOK(res2
)) {
18494 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "EvtHandler_SetPreviousHandler" "', expected argument " "2"" of type '" "wxEvtHandler *""'");
18496 arg2
= reinterpret_cast< wxEvtHandler
* >(argp2
);
18498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18499 (arg1
)->SetPreviousHandler(arg2
);
18500 wxPyEndAllowThreads(__tstate
);
18501 if (PyErr_Occurred()) SWIG_fail
;
18503 resultobj
= SWIG_Py_Void();
18510 SWIGINTERN PyObject
*_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18511 PyObject
*resultobj
= 0;
18512 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
18516 PyObject
*swig_obj
[1] ;
18518 if (!args
) SWIG_fail
;
18519 swig_obj
[0] = args
;
18520 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
18521 if (!SWIG_IsOK(res1
)) {
18522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_GetEvtHandlerEnabled" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
18524 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
18526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18527 result
= (bool)(arg1
)->GetEvtHandlerEnabled();
18528 wxPyEndAllowThreads(__tstate
);
18529 if (PyErr_Occurred()) SWIG_fail
;
18532 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18540 SWIGINTERN PyObject
*_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18541 PyObject
*resultobj
= 0;
18542 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
18548 PyObject
* obj0
= 0 ;
18549 PyObject
* obj1
= 0 ;
18550 char * kwnames
[] = {
18551 (char *) "self",(char *) "enabled", NULL
18554 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18555 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
18556 if (!SWIG_IsOK(res1
)) {
18557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_SetEvtHandlerEnabled" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
18559 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
18560 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18561 if (!SWIG_IsOK(ecode2
)) {
18562 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EvtHandler_SetEvtHandlerEnabled" "', expected argument " "2"" of type '" "bool""'");
18564 arg2
= static_cast< bool >(val2
);
18566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18567 (arg1
)->SetEvtHandlerEnabled(arg2
);
18568 wxPyEndAllowThreads(__tstate
);
18569 if (PyErr_Occurred()) SWIG_fail
;
18571 resultobj
= SWIG_Py_Void();
18578 SWIGINTERN PyObject
*_wrap_EvtHandler_ProcessEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18579 PyObject
*resultobj
= 0;
18580 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
18581 wxEvent
*arg2
= 0 ;
18587 PyObject
* obj0
= 0 ;
18588 PyObject
* obj1
= 0 ;
18589 char * kwnames
[] = {
18590 (char *) "self",(char *) "event", NULL
18593 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_ProcessEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18594 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
18595 if (!SWIG_IsOK(res1
)) {
18596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_ProcessEvent" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
18598 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
18599 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxEvent
, 0 );
18600 if (!SWIG_IsOK(res2
)) {
18601 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "EvtHandler_ProcessEvent" "', expected argument " "2"" of type '" "wxEvent &""'");
18604 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "EvtHandler_ProcessEvent" "', expected argument " "2"" of type '" "wxEvent &""'");
18606 arg2
= reinterpret_cast< wxEvent
* >(argp2
);
18608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18609 result
= (bool)(arg1
)->ProcessEvent(*arg2
);
18610 wxPyEndAllowThreads(__tstate
);
18611 if (PyErr_Occurred()) SWIG_fail
;
18614 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18622 SWIGINTERN PyObject
*_wrap_EvtHandler_AddPendingEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18623 PyObject
*resultobj
= 0;
18624 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
18625 wxEvent
*arg2
= 0 ;
18630 PyObject
* obj0
= 0 ;
18631 PyObject
* obj1
= 0 ;
18632 char * kwnames
[] = {
18633 (char *) "self",(char *) "event", NULL
18636 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_AddPendingEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18637 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
18638 if (!SWIG_IsOK(res1
)) {
18639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_AddPendingEvent" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
18641 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
18642 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxEvent
, 0 );
18643 if (!SWIG_IsOK(res2
)) {
18644 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "EvtHandler_AddPendingEvent" "', expected argument " "2"" of type '" "wxEvent &""'");
18647 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "EvtHandler_AddPendingEvent" "', expected argument " "2"" of type '" "wxEvent &""'");
18649 arg2
= reinterpret_cast< wxEvent
* >(argp2
);
18651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18652 (arg1
)->AddPendingEvent(*arg2
);
18653 wxPyEndAllowThreads(__tstate
);
18654 if (PyErr_Occurred()) SWIG_fail
;
18656 resultobj
= SWIG_Py_Void();
18663 SWIGINTERN PyObject
*_wrap_EvtHandler_ProcessPendingEvents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18664 PyObject
*resultobj
= 0;
18665 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
18668 PyObject
*swig_obj
[1] ;
18670 if (!args
) SWIG_fail
;
18671 swig_obj
[0] = args
;
18672 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
18673 if (!SWIG_IsOK(res1
)) {
18674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_ProcessPendingEvents" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
18676 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
18678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18679 (arg1
)->ProcessPendingEvents();
18680 wxPyEndAllowThreads(__tstate
);
18681 if (PyErr_Occurred()) SWIG_fail
;
18683 resultobj
= SWIG_Py_Void();
18690 SWIGINTERN PyObject
*_wrap_EvtHandler_AllowReentrance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18691 PyObject
*resultobj
= 0;
18692 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
18693 bool arg2
= (bool) true ;
18698 PyObject
* obj0
= 0 ;
18699 PyObject
* obj1
= 0 ;
18700 char * kwnames
[] = {
18701 (char *) "self",(char *) "allow", NULL
18704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EvtHandler_AllowReentrance",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18705 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
18706 if (!SWIG_IsOK(res1
)) {
18707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_AllowReentrance" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
18709 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
18711 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18712 if (!SWIG_IsOK(ecode2
)) {
18713 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EvtHandler_AllowReentrance" "', expected argument " "2"" of type '" "bool""'");
18715 arg2
= static_cast< bool >(val2
);
18718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18719 (arg1
)->AllowReentrance(arg2
);
18720 wxPyEndAllowThreads(__tstate
);
18721 if (PyErr_Occurred()) SWIG_fail
;
18723 resultobj
= SWIG_Py_Void();
18730 SWIGINTERN PyObject
*_wrap_EvtHandler_IsReentranceAllowed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18731 PyObject
*resultobj
= 0;
18732 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
18736 PyObject
*swig_obj
[1] ;
18738 if (!args
) SWIG_fail
;
18739 swig_obj
[0] = args
;
18740 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
18741 if (!SWIG_IsOK(res1
)) {
18742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_IsReentranceAllowed" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
18744 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
18746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18747 result
= (bool)(arg1
)->IsReentranceAllowed();
18748 wxPyEndAllowThreads(__tstate
);
18749 if (PyErr_Occurred()) SWIG_fail
;
18752 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18760 SWIGINTERN PyObject
*_wrap_EvtHandler_IsEventHandlingInProgress(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18761 PyObject
*resultobj
= 0;
18762 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
18766 PyObject
*swig_obj
[1] ;
18768 if (!args
) SWIG_fail
;
18769 swig_obj
[0] = args
;
18770 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
18771 if (!SWIG_IsOK(res1
)) {
18772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_IsEventHandlingInProgress" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
18774 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
18776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18777 result
= (bool)(arg1
)->IsEventHandlingInProgress();
18778 wxPyEndAllowThreads(__tstate
);
18779 if (PyErr_Occurred()) SWIG_fail
;
18782 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18790 SWIGINTERN PyObject
*_wrap_EvtHandler_Connect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18791 PyObject
*resultobj
= 0;
18792 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
18796 PyObject
*arg5
= (PyObject
*) 0 ;
18805 PyObject
* obj0
= 0 ;
18806 PyObject
* obj1
= 0 ;
18807 PyObject
* obj2
= 0 ;
18808 PyObject
* obj3
= 0 ;
18809 PyObject
* obj4
= 0 ;
18810 char * kwnames
[] = {
18811 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
18814 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:EvtHandler_Connect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18815 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
18816 if (!SWIG_IsOK(res1
)) {
18817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_Connect" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
18819 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
18820 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18821 if (!SWIG_IsOK(ecode2
)) {
18822 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EvtHandler_Connect" "', expected argument " "2"" of type '" "int""'");
18824 arg2
= static_cast< int >(val2
);
18825 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18826 if (!SWIG_IsOK(ecode3
)) {
18827 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EvtHandler_Connect" "', expected argument " "3"" of type '" "int""'");
18829 arg3
= static_cast< int >(val3
);
18830 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18831 if (!SWIG_IsOK(ecode4
)) {
18832 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EvtHandler_Connect" "', expected argument " "4"" of type '" "int""'");
18834 arg4
= static_cast< int >(val4
);
18837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18838 wxEvtHandler_Connect(arg1
,arg2
,arg3
,arg4
,arg5
);
18839 wxPyEndAllowThreads(__tstate
);
18840 if (PyErr_Occurred()) SWIG_fail
;
18842 resultobj
= SWIG_Py_Void();
18849 SWIGINTERN PyObject
*_wrap_EvtHandler_Disconnect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18850 PyObject
*resultobj
= 0;
18851 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
18853 int arg3
= (int) -1 ;
18854 wxEventType arg4
= (wxEventType
) wxEVT_NULL
;
18864 PyObject
* obj0
= 0 ;
18865 PyObject
* obj1
= 0 ;
18866 PyObject
* obj2
= 0 ;
18867 PyObject
* obj3
= 0 ;
18868 char * kwnames
[] = {
18869 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
18872 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:EvtHandler_Disconnect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18873 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
18874 if (!SWIG_IsOK(res1
)) {
18875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_Disconnect" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
18877 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
18878 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18879 if (!SWIG_IsOK(ecode2
)) {
18880 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EvtHandler_Disconnect" "', expected argument " "2"" of type '" "int""'");
18882 arg2
= static_cast< int >(val2
);
18884 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18885 if (!SWIG_IsOK(ecode3
)) {
18886 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EvtHandler_Disconnect" "', expected argument " "3"" of type '" "int""'");
18888 arg3
= static_cast< int >(val3
);
18891 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18892 if (!SWIG_IsOK(ecode4
)) {
18893 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EvtHandler_Disconnect" "', expected argument " "4"" of type '" "wxEventType""'");
18895 arg4
= static_cast< wxEventType
>(val4
);
18898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18899 result
= (bool)wxEvtHandler_Disconnect(arg1
,arg2
,arg3
,arg4
);
18900 wxPyEndAllowThreads(__tstate
);
18901 if (PyErr_Occurred()) SWIG_fail
;
18904 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18912 SWIGINTERN PyObject
*_wrap_EvtHandler__setOORInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18913 PyObject
*resultobj
= 0;
18914 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
18915 PyObject
*arg2
= (PyObject
*) 0 ;
18916 bool arg3
= (bool) true ;
18921 PyObject
* obj0
= 0 ;
18922 PyObject
* obj1
= 0 ;
18923 PyObject
* obj2
= 0 ;
18924 char * kwnames
[] = {
18925 (char *) "self",(char *) "_self",(char *) "incref", NULL
18928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:EvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18929 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
18930 if (!SWIG_IsOK(res1
)) {
18931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler__setOORInfo" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
18933 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
18936 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
18937 if (!SWIG_IsOK(ecode3
)) {
18938 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EvtHandler__setOORInfo" "', expected argument " "3"" of type '" "bool""'");
18940 arg3
= static_cast< bool >(val3
);
18943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18944 wxEvtHandler__setOORInfo(arg1
,arg2
,arg3
);
18945 wxPyEndAllowThreads(__tstate
);
18946 if (PyErr_Occurred()) SWIG_fail
;
18948 resultobj
= SWIG_Py_Void();
18955 SWIGINTERN PyObject
*EvtHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18957 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18958 SWIG_TypeNewClientData(SWIGTYPE_p_wxEvtHandler
, SWIG_NewClientData(obj
));
18959 return SWIG_Py_Void();
18962 SWIGINTERN PyObject
*EvtHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18963 return SWIG_Python_InitShadowInstance(args
);
18966 SWIGINTERN PyObject
*_wrap_NewEventType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18967 PyObject
*resultobj
= 0;
18968 wxEventType result
;
18970 if (!SWIG_Python_UnpackTuple(args
,"NewEventType",0,0,0)) SWIG_fail
;
18972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18973 result
= (wxEventType
)wxNewEventType();
18974 wxPyEndAllowThreads(__tstate
);
18975 if (PyErr_Occurred()) SWIG_fail
;
18977 resultobj
= SWIG_From_int(static_cast< int >(result
));
18984 SWIGINTERN PyObject
*_wrap_delete_Event(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18985 PyObject
*resultobj
= 0;
18986 wxEvent
*arg1
= (wxEvent
*) 0 ;
18989 PyObject
*swig_obj
[1] ;
18991 if (!args
) SWIG_fail
;
18992 swig_obj
[0] = args
;
18993 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvent
, SWIG_POINTER_DISOWN
| 0 );
18994 if (!SWIG_IsOK(res1
)) {
18995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Event" "', expected argument " "1"" of type '" "wxEvent *""'");
18997 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
18999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19002 wxPyEndAllowThreads(__tstate
);
19003 if (PyErr_Occurred()) SWIG_fail
;
19005 resultobj
= SWIG_Py_Void();
19012 SWIGINTERN PyObject
*_wrap_Event_SetEventType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19013 PyObject
*resultobj
= 0;
19014 wxEvent
*arg1
= (wxEvent
*) 0 ;
19020 PyObject
* obj0
= 0 ;
19021 PyObject
* obj1
= 0 ;
19022 char * kwnames
[] = {
19023 (char *) "self",(char *) "typ", NULL
19026 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19027 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
19028 if (!SWIG_IsOK(res1
)) {
19029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_SetEventType" "', expected argument " "1"" of type '" "wxEvent *""'");
19031 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
19032 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19033 if (!SWIG_IsOK(ecode2
)) {
19034 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Event_SetEventType" "', expected argument " "2"" of type '" "wxEventType""'");
19036 arg2
= static_cast< wxEventType
>(val2
);
19038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19039 (arg1
)->SetEventType(arg2
);
19040 wxPyEndAllowThreads(__tstate
);
19041 if (PyErr_Occurred()) SWIG_fail
;
19043 resultobj
= SWIG_Py_Void();
19050 SWIGINTERN PyObject
*_wrap_Event_GetEventType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19051 PyObject
*resultobj
= 0;
19052 wxEvent
*arg1
= (wxEvent
*) 0 ;
19053 wxEventType result
;
19056 PyObject
*swig_obj
[1] ;
19058 if (!args
) SWIG_fail
;
19059 swig_obj
[0] = args
;
19060 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
19061 if (!SWIG_IsOK(res1
)) {
19062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_GetEventType" "', expected argument " "1"" of type '" "wxEvent const *""'");
19064 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
19066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19067 result
= (wxEventType
)((wxEvent
const *)arg1
)->GetEventType();
19068 wxPyEndAllowThreads(__tstate
);
19069 if (PyErr_Occurred()) SWIG_fail
;
19071 resultobj
= SWIG_From_int(static_cast< int >(result
));
19078 SWIGINTERN PyObject
*_wrap_Event_GetEventObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19079 PyObject
*resultobj
= 0;
19080 wxEvent
*arg1
= (wxEvent
*) 0 ;
19081 wxObject
*result
= 0 ;
19084 PyObject
*swig_obj
[1] ;
19086 if (!args
) SWIG_fail
;
19087 swig_obj
[0] = args
;
19088 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
19089 if (!SWIG_IsOK(res1
)) {
19090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_GetEventObject" "', expected argument " "1"" of type '" "wxEvent const *""'");
19092 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
19094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19095 result
= (wxObject
*)((wxEvent
const *)arg1
)->GetEventObject();
19096 wxPyEndAllowThreads(__tstate
);
19097 if (PyErr_Occurred()) SWIG_fail
;
19100 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19108 SWIGINTERN PyObject
*_wrap_Event_SetEventObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19109 PyObject
*resultobj
= 0;
19110 wxEvent
*arg1
= (wxEvent
*) 0 ;
19111 wxObject
*arg2
= (wxObject
*) 0 ;
19116 PyObject
* obj0
= 0 ;
19117 PyObject
* obj1
= 0 ;
19118 char * kwnames
[] = {
19119 (char *) "self",(char *) "obj", NULL
19122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19123 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
19124 if (!SWIG_IsOK(res1
)) {
19125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_SetEventObject" "', expected argument " "1"" of type '" "wxEvent *""'");
19127 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
19128 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxObject
, 0 | 0 );
19129 if (!SWIG_IsOK(res2
)) {
19130 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Event_SetEventObject" "', expected argument " "2"" of type '" "wxObject *""'");
19132 arg2
= reinterpret_cast< wxObject
* >(argp2
);
19134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19135 (arg1
)->SetEventObject(arg2
);
19136 wxPyEndAllowThreads(__tstate
);
19137 if (PyErr_Occurred()) SWIG_fail
;
19139 resultobj
= SWIG_Py_Void();
19146 SWIGINTERN PyObject
*_wrap_Event_GetTimestamp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19147 PyObject
*resultobj
= 0;
19148 wxEvent
*arg1
= (wxEvent
*) 0 ;
19152 PyObject
*swig_obj
[1] ;
19154 if (!args
) SWIG_fail
;
19155 swig_obj
[0] = args
;
19156 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
19157 if (!SWIG_IsOK(res1
)) {
19158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_GetTimestamp" "', expected argument " "1"" of type '" "wxEvent const *""'");
19160 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
19162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19163 result
= (long)((wxEvent
const *)arg1
)->GetTimestamp();
19164 wxPyEndAllowThreads(__tstate
);
19165 if (PyErr_Occurred()) SWIG_fail
;
19167 resultobj
= SWIG_From_long(static_cast< long >(result
));
19174 SWIGINTERN PyObject
*_wrap_Event_SetTimestamp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19175 PyObject
*resultobj
= 0;
19176 wxEvent
*arg1
= (wxEvent
*) 0 ;
19177 long arg2
= (long) 0 ;
19182 PyObject
* obj0
= 0 ;
19183 PyObject
* obj1
= 0 ;
19184 char * kwnames
[] = {
19185 (char *) "self",(char *) "ts", NULL
19188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_SetTimestamp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19189 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
19190 if (!SWIG_IsOK(res1
)) {
19191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_SetTimestamp" "', expected argument " "1"" of type '" "wxEvent *""'");
19193 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
19195 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
19196 if (!SWIG_IsOK(ecode2
)) {
19197 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Event_SetTimestamp" "', expected argument " "2"" of type '" "long""'");
19199 arg2
= static_cast< long >(val2
);
19202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19203 (arg1
)->SetTimestamp(arg2
);
19204 wxPyEndAllowThreads(__tstate
);
19205 if (PyErr_Occurred()) SWIG_fail
;
19207 resultobj
= SWIG_Py_Void();
19214 SWIGINTERN PyObject
*_wrap_Event_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19215 PyObject
*resultobj
= 0;
19216 wxEvent
*arg1
= (wxEvent
*) 0 ;
19220 PyObject
*swig_obj
[1] ;
19222 if (!args
) SWIG_fail
;
19223 swig_obj
[0] = args
;
19224 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
19225 if (!SWIG_IsOK(res1
)) {
19226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_GetId" "', expected argument " "1"" of type '" "wxEvent const *""'");
19228 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
19230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19231 result
= (int)((wxEvent
const *)arg1
)->GetId();
19232 wxPyEndAllowThreads(__tstate
);
19233 if (PyErr_Occurred()) SWIG_fail
;
19235 resultobj
= SWIG_From_int(static_cast< int >(result
));
19242 SWIGINTERN PyObject
*_wrap_Event_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19243 PyObject
*resultobj
= 0;
19244 wxEvent
*arg1
= (wxEvent
*) 0 ;
19250 PyObject
* obj0
= 0 ;
19251 PyObject
* obj1
= 0 ;
19252 char * kwnames
[] = {
19253 (char *) "self",(char *) "Id", NULL
19256 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19257 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
19258 if (!SWIG_IsOK(res1
)) {
19259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_SetId" "', expected argument " "1"" of type '" "wxEvent *""'");
19261 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
19262 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19263 if (!SWIG_IsOK(ecode2
)) {
19264 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Event_SetId" "', expected argument " "2"" of type '" "int""'");
19266 arg2
= static_cast< int >(val2
);
19268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19269 (arg1
)->SetId(arg2
);
19270 wxPyEndAllowThreads(__tstate
);
19271 if (PyErr_Occurred()) SWIG_fail
;
19273 resultobj
= SWIG_Py_Void();
19280 SWIGINTERN PyObject
*_wrap_Event_IsCommandEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19281 PyObject
*resultobj
= 0;
19282 wxEvent
*arg1
= (wxEvent
*) 0 ;
19286 PyObject
*swig_obj
[1] ;
19288 if (!args
) SWIG_fail
;
19289 swig_obj
[0] = args
;
19290 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
19291 if (!SWIG_IsOK(res1
)) {
19292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_IsCommandEvent" "', expected argument " "1"" of type '" "wxEvent const *""'");
19294 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
19296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19297 result
= (bool)((wxEvent
const *)arg1
)->IsCommandEvent();
19298 wxPyEndAllowThreads(__tstate
);
19299 if (PyErr_Occurred()) SWIG_fail
;
19302 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19310 SWIGINTERN PyObject
*_wrap_Event_Skip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19311 PyObject
*resultobj
= 0;
19312 wxEvent
*arg1
= (wxEvent
*) 0 ;
19313 bool arg2
= (bool) true ;
19318 PyObject
* obj0
= 0 ;
19319 PyObject
* obj1
= 0 ;
19320 char * kwnames
[] = {
19321 (char *) "self",(char *) "skip", NULL
19324 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_Skip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19325 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
19326 if (!SWIG_IsOK(res1
)) {
19327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_Skip" "', expected argument " "1"" of type '" "wxEvent *""'");
19329 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
19331 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19332 if (!SWIG_IsOK(ecode2
)) {
19333 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Event_Skip" "', expected argument " "2"" of type '" "bool""'");
19335 arg2
= static_cast< bool >(val2
);
19338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19339 (arg1
)->Skip(arg2
);
19340 wxPyEndAllowThreads(__tstate
);
19341 if (PyErr_Occurred()) SWIG_fail
;
19343 resultobj
= SWIG_Py_Void();
19350 SWIGINTERN PyObject
*_wrap_Event_GetSkipped(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19351 PyObject
*resultobj
= 0;
19352 wxEvent
*arg1
= (wxEvent
*) 0 ;
19356 PyObject
*swig_obj
[1] ;
19358 if (!args
) SWIG_fail
;
19359 swig_obj
[0] = args
;
19360 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
19361 if (!SWIG_IsOK(res1
)) {
19362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_GetSkipped" "', expected argument " "1"" of type '" "wxEvent const *""'");
19364 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
19366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19367 result
= (bool)((wxEvent
const *)arg1
)->GetSkipped();
19368 wxPyEndAllowThreads(__tstate
);
19369 if (PyErr_Occurred()) SWIG_fail
;
19372 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19380 SWIGINTERN PyObject
*_wrap_Event_ShouldPropagate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19381 PyObject
*resultobj
= 0;
19382 wxEvent
*arg1
= (wxEvent
*) 0 ;
19386 PyObject
*swig_obj
[1] ;
19388 if (!args
) SWIG_fail
;
19389 swig_obj
[0] = args
;
19390 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
19391 if (!SWIG_IsOK(res1
)) {
19392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_ShouldPropagate" "', expected argument " "1"" of type '" "wxEvent const *""'");
19394 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
19396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19397 result
= (bool)((wxEvent
const *)arg1
)->ShouldPropagate();
19398 wxPyEndAllowThreads(__tstate
);
19399 if (PyErr_Occurred()) SWIG_fail
;
19402 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19410 SWIGINTERN PyObject
*_wrap_Event_StopPropagation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19411 PyObject
*resultobj
= 0;
19412 wxEvent
*arg1
= (wxEvent
*) 0 ;
19416 PyObject
*swig_obj
[1] ;
19418 if (!args
) SWIG_fail
;
19419 swig_obj
[0] = args
;
19420 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
19421 if (!SWIG_IsOK(res1
)) {
19422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_StopPropagation" "', expected argument " "1"" of type '" "wxEvent *""'");
19424 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
19426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19427 result
= (int)(arg1
)->StopPropagation();
19428 wxPyEndAllowThreads(__tstate
);
19429 if (PyErr_Occurred()) SWIG_fail
;
19431 resultobj
= SWIG_From_int(static_cast< int >(result
));
19438 SWIGINTERN PyObject
*_wrap_Event_ResumePropagation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19439 PyObject
*resultobj
= 0;
19440 wxEvent
*arg1
= (wxEvent
*) 0 ;
19446 PyObject
* obj0
= 0 ;
19447 PyObject
* obj1
= 0 ;
19448 char * kwnames
[] = {
19449 (char *) "self",(char *) "propagationLevel", NULL
19452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_ResumePropagation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19453 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
19454 if (!SWIG_IsOK(res1
)) {
19455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_ResumePropagation" "', expected argument " "1"" of type '" "wxEvent *""'");
19457 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
19458 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19459 if (!SWIG_IsOK(ecode2
)) {
19460 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Event_ResumePropagation" "', expected argument " "2"" of type '" "int""'");
19462 arg2
= static_cast< int >(val2
);
19464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19465 (arg1
)->ResumePropagation(arg2
);
19466 wxPyEndAllowThreads(__tstate
);
19467 if (PyErr_Occurred()) SWIG_fail
;
19469 resultobj
= SWIG_Py_Void();
19476 SWIGINTERN PyObject
*_wrap_Event_Clone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19477 PyObject
*resultobj
= 0;
19478 wxEvent
*arg1
= (wxEvent
*) 0 ;
19479 wxEvent
*result
= 0 ;
19482 PyObject
*swig_obj
[1] ;
19484 if (!args
) SWIG_fail
;
19485 swig_obj
[0] = args
;
19486 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
19487 if (!SWIG_IsOK(res1
)) {
19488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_Clone" "', expected argument " "1"" of type '" "wxEvent *""'");
19490 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
19492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19493 result
= (wxEvent
*)(arg1
)->Clone();
19494 wxPyEndAllowThreads(__tstate
);
19495 if (PyErr_Occurred()) SWIG_fail
;
19497 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEvent
, 0 | 0 );
19504 SWIGINTERN PyObject
*Event_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19506 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19507 SWIG_TypeNewClientData(SWIGTYPE_p_wxEvent
, SWIG_NewClientData(obj
));
19508 return SWIG_Py_Void();
19511 SWIGINTERN PyObject
*_wrap_new_PropagationDisabler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19512 PyObject
*resultobj
= 0;
19513 wxEvent
*arg1
= 0 ;
19514 wxPropagationDisabler
*result
= 0 ;
19517 PyObject
* obj0
= 0 ;
19518 char * kwnames
[] = {
19519 (char *) "event", NULL
19522 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagationDisabler",kwnames
,&obj0
)) SWIG_fail
;
19523 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxEvent
, 0 );
19524 if (!SWIG_IsOK(res1
)) {
19525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PropagationDisabler" "', expected argument " "1"" of type '" "wxEvent &""'");
19528 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PropagationDisabler" "', expected argument " "1"" of type '" "wxEvent &""'");
19530 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
19532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19533 result
= (wxPropagationDisabler
*)new wxPropagationDisabler(*arg1
);
19534 wxPyEndAllowThreads(__tstate
);
19535 if (PyErr_Occurred()) SWIG_fail
;
19537 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPropagationDisabler
, SWIG_POINTER_NEW
| 0 );
19544 SWIGINTERN PyObject
*_wrap_delete_PropagationDisabler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19545 PyObject
*resultobj
= 0;
19546 wxPropagationDisabler
*arg1
= (wxPropagationDisabler
*) 0 ;
19549 PyObject
*swig_obj
[1] ;
19551 if (!args
) SWIG_fail
;
19552 swig_obj
[0] = args
;
19553 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPropagationDisabler
, SWIG_POINTER_DISOWN
| 0 );
19554 if (!SWIG_IsOK(res1
)) {
19555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PropagationDisabler" "', expected argument " "1"" of type '" "wxPropagationDisabler *""'");
19557 arg1
= reinterpret_cast< wxPropagationDisabler
* >(argp1
);
19559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19562 wxPyEndAllowThreads(__tstate
);
19563 if (PyErr_Occurred()) SWIG_fail
;
19565 resultobj
= SWIG_Py_Void();
19572 SWIGINTERN PyObject
*PropagationDisabler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19574 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19575 SWIG_TypeNewClientData(SWIGTYPE_p_wxPropagationDisabler
, SWIG_NewClientData(obj
));
19576 return SWIG_Py_Void();
19579 SWIGINTERN PyObject
*PropagationDisabler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19580 return SWIG_Python_InitShadowInstance(args
);
19583 SWIGINTERN PyObject
*_wrap_new_PropagateOnce(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19584 PyObject
*resultobj
= 0;
19585 wxEvent
*arg1
= 0 ;
19586 wxPropagateOnce
*result
= 0 ;
19589 PyObject
* obj0
= 0 ;
19590 char * kwnames
[] = {
19591 (char *) "event", NULL
19594 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagateOnce",kwnames
,&obj0
)) SWIG_fail
;
19595 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxEvent
, 0 );
19596 if (!SWIG_IsOK(res1
)) {
19597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PropagateOnce" "', expected argument " "1"" of type '" "wxEvent &""'");
19600 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PropagateOnce" "', expected argument " "1"" of type '" "wxEvent &""'");
19602 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
19604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19605 result
= (wxPropagateOnce
*)new wxPropagateOnce(*arg1
);
19606 wxPyEndAllowThreads(__tstate
);
19607 if (PyErr_Occurred()) SWIG_fail
;
19609 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPropagateOnce
, SWIG_POINTER_NEW
| 0 );
19616 SWIGINTERN PyObject
*_wrap_delete_PropagateOnce(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19617 PyObject
*resultobj
= 0;
19618 wxPropagateOnce
*arg1
= (wxPropagateOnce
*) 0 ;
19621 PyObject
*swig_obj
[1] ;
19623 if (!args
) SWIG_fail
;
19624 swig_obj
[0] = args
;
19625 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPropagateOnce
, SWIG_POINTER_DISOWN
| 0 );
19626 if (!SWIG_IsOK(res1
)) {
19627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PropagateOnce" "', expected argument " "1"" of type '" "wxPropagateOnce *""'");
19629 arg1
= reinterpret_cast< wxPropagateOnce
* >(argp1
);
19631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19634 wxPyEndAllowThreads(__tstate
);
19635 if (PyErr_Occurred()) SWIG_fail
;
19637 resultobj
= SWIG_Py_Void();
19644 SWIGINTERN PyObject
*PropagateOnce_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19646 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19647 SWIG_TypeNewClientData(SWIGTYPE_p_wxPropagateOnce
, SWIG_NewClientData(obj
));
19648 return SWIG_Py_Void();
19651 SWIGINTERN PyObject
*PropagateOnce_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19652 return SWIG_Python_InitShadowInstance(args
);
19655 SWIGINTERN PyObject
*_wrap_new_CommandEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19656 PyObject
*resultobj
= 0;
19657 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19658 int arg2
= (int) 0 ;
19659 wxCommandEvent
*result
= 0 ;
19664 PyObject
* obj0
= 0 ;
19665 PyObject
* obj1
= 0 ;
19666 char * kwnames
[] = {
19667 (char *) "commandType",(char *) "winid", NULL
19670 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CommandEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19672 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19673 if (!SWIG_IsOK(ecode1
)) {
19674 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_CommandEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19676 arg1
= static_cast< wxEventType
>(val1
);
19679 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19680 if (!SWIG_IsOK(ecode2
)) {
19681 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CommandEvent" "', expected argument " "2"" of type '" "int""'");
19683 arg2
= static_cast< int >(val2
);
19686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19687 result
= (wxCommandEvent
*)new wxCommandEvent(arg1
,arg2
);
19688 wxPyEndAllowThreads(__tstate
);
19689 if (PyErr_Occurred()) SWIG_fail
;
19691 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_NEW
| 0 );
19698 SWIGINTERN PyObject
*_wrap_CommandEvent_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19699 PyObject
*resultobj
= 0;
19700 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
19704 PyObject
*swig_obj
[1] ;
19706 if (!args
) SWIG_fail
;
19707 swig_obj
[0] = args
;
19708 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
19709 if (!SWIG_IsOK(res1
)) {
19710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_GetSelection" "', expected argument " "1"" of type '" "wxCommandEvent const *""'");
19712 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
19714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19715 result
= (int)((wxCommandEvent
const *)arg1
)->GetSelection();
19716 wxPyEndAllowThreads(__tstate
);
19717 if (PyErr_Occurred()) SWIG_fail
;
19719 resultobj
= SWIG_From_int(static_cast< int >(result
));
19726 SWIGINTERN PyObject
*_wrap_CommandEvent_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19727 PyObject
*resultobj
= 0;
19728 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
19729 wxString
*arg2
= 0 ;
19732 bool temp2
= false ;
19733 PyObject
* obj0
= 0 ;
19734 PyObject
* obj1
= 0 ;
19735 char * kwnames
[] = {
19736 (char *) "self",(char *) "s", NULL
19739 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19740 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
19741 if (!SWIG_IsOK(res1
)) {
19742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_SetString" "', expected argument " "1"" of type '" "wxCommandEvent *""'");
19744 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
19746 arg2
= wxString_in_helper(obj1
);
19747 if (arg2
== NULL
) SWIG_fail
;
19751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19752 (arg1
)->SetString((wxString
const &)*arg2
);
19753 wxPyEndAllowThreads(__tstate
);
19754 if (PyErr_Occurred()) SWIG_fail
;
19756 resultobj
= SWIG_Py_Void();
19771 SWIGINTERN PyObject
*_wrap_CommandEvent_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19772 PyObject
*resultobj
= 0;
19773 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
19777 PyObject
*swig_obj
[1] ;
19779 if (!args
) SWIG_fail
;
19780 swig_obj
[0] = args
;
19781 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
19782 if (!SWIG_IsOK(res1
)) {
19783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_GetString" "', expected argument " "1"" of type '" "wxCommandEvent const *""'");
19785 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
19787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19788 result
= ((wxCommandEvent
const *)arg1
)->GetString();
19789 wxPyEndAllowThreads(__tstate
);
19790 if (PyErr_Occurred()) SWIG_fail
;
19794 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19796 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19805 SWIGINTERN PyObject
*_wrap_CommandEvent_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19806 PyObject
*resultobj
= 0;
19807 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
19811 PyObject
*swig_obj
[1] ;
19813 if (!args
) SWIG_fail
;
19814 swig_obj
[0] = args
;
19815 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
19816 if (!SWIG_IsOK(res1
)) {
19817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_IsChecked" "', expected argument " "1"" of type '" "wxCommandEvent const *""'");
19819 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
19821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19822 result
= (bool)((wxCommandEvent
const *)arg1
)->IsChecked();
19823 wxPyEndAllowThreads(__tstate
);
19824 if (PyErr_Occurred()) SWIG_fail
;
19827 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19835 SWIGINTERN PyObject
*_wrap_CommandEvent_IsSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19836 PyObject
*resultobj
= 0;
19837 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
19841 PyObject
*swig_obj
[1] ;
19843 if (!args
) SWIG_fail
;
19844 swig_obj
[0] = args
;
19845 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
19846 if (!SWIG_IsOK(res1
)) {
19847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_IsSelection" "', expected argument " "1"" of type '" "wxCommandEvent const *""'");
19849 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
19851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19852 result
= (bool)((wxCommandEvent
const *)arg1
)->IsSelection();
19853 wxPyEndAllowThreads(__tstate
);
19854 if (PyErr_Occurred()) SWIG_fail
;
19857 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19865 SWIGINTERN PyObject
*_wrap_CommandEvent_SetExtraLong(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19866 PyObject
*resultobj
= 0;
19867 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
19873 PyObject
* obj0
= 0 ;
19874 PyObject
* obj1
= 0 ;
19875 char * kwnames
[] = {
19876 (char *) "self",(char *) "extraLong", NULL
19879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetExtraLong",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
19881 if (!SWIG_IsOK(res1
)) {
19882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_SetExtraLong" "', expected argument " "1"" of type '" "wxCommandEvent *""'");
19884 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
19885 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
19886 if (!SWIG_IsOK(ecode2
)) {
19887 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CommandEvent_SetExtraLong" "', expected argument " "2"" of type '" "long""'");
19889 arg2
= static_cast< long >(val2
);
19891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19892 (arg1
)->SetExtraLong(arg2
);
19893 wxPyEndAllowThreads(__tstate
);
19894 if (PyErr_Occurred()) SWIG_fail
;
19896 resultobj
= SWIG_Py_Void();
19903 SWIGINTERN PyObject
*_wrap_CommandEvent_GetExtraLong(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19904 PyObject
*resultobj
= 0;
19905 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
19909 PyObject
*swig_obj
[1] ;
19911 if (!args
) SWIG_fail
;
19912 swig_obj
[0] = args
;
19913 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
19914 if (!SWIG_IsOK(res1
)) {
19915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_GetExtraLong" "', expected argument " "1"" of type '" "wxCommandEvent const *""'");
19917 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
19919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19920 result
= (long)((wxCommandEvent
const *)arg1
)->GetExtraLong();
19921 wxPyEndAllowThreads(__tstate
);
19922 if (PyErr_Occurred()) SWIG_fail
;
19924 resultobj
= SWIG_From_long(static_cast< long >(result
));
19931 SWIGINTERN PyObject
*_wrap_CommandEvent_SetInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19932 PyObject
*resultobj
= 0;
19933 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
19939 PyObject
* obj0
= 0 ;
19940 PyObject
* obj1
= 0 ;
19941 char * kwnames
[] = {
19942 (char *) "self",(char *) "i", NULL
19945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetInt",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19946 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
19947 if (!SWIG_IsOK(res1
)) {
19948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_SetInt" "', expected argument " "1"" of type '" "wxCommandEvent *""'");
19950 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
19951 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19952 if (!SWIG_IsOK(ecode2
)) {
19953 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CommandEvent_SetInt" "', expected argument " "2"" of type '" "int""'");
19955 arg2
= static_cast< int >(val2
);
19957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19958 (arg1
)->SetInt(arg2
);
19959 wxPyEndAllowThreads(__tstate
);
19960 if (PyErr_Occurred()) SWIG_fail
;
19962 resultobj
= SWIG_Py_Void();
19969 SWIGINTERN PyObject
*_wrap_CommandEvent_GetInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19970 PyObject
*resultobj
= 0;
19971 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
19975 PyObject
*swig_obj
[1] ;
19977 if (!args
) SWIG_fail
;
19978 swig_obj
[0] = args
;
19979 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
19980 if (!SWIG_IsOK(res1
)) {
19981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_GetInt" "', expected argument " "1"" of type '" "wxCommandEvent const *""'");
19983 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
19985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19986 result
= (int)((wxCommandEvent
const *)arg1
)->GetInt();
19987 wxPyEndAllowThreads(__tstate
);
19988 if (PyErr_Occurred()) SWIG_fail
;
19990 resultobj
= SWIG_From_int(static_cast< int >(result
));
19997 SWIGINTERN PyObject
*_wrap_CommandEvent_GetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19998 PyObject
*resultobj
= 0;
19999 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
20000 PyObject
*result
= 0 ;
20003 PyObject
*swig_obj
[1] ;
20005 if (!args
) SWIG_fail
;
20006 swig_obj
[0] = args
;
20007 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
20008 if (!SWIG_IsOK(res1
)) {
20009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_GetClientData" "', expected argument " "1"" of type '" "wxCommandEvent *""'");
20011 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
20013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20014 result
= (PyObject
*)wxCommandEvent_GetClientData(arg1
);
20015 wxPyEndAllowThreads(__tstate
);
20016 if (PyErr_Occurred()) SWIG_fail
;
20018 resultobj
= result
;
20025 SWIGINTERN PyObject
*_wrap_CommandEvent_SetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20026 PyObject
*resultobj
= 0;
20027 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
20028 PyObject
*arg2
= (PyObject
*) 0 ;
20031 PyObject
* obj0
= 0 ;
20032 PyObject
* obj1
= 0 ;
20033 char * kwnames
[] = {
20034 (char *) "self",(char *) "clientData", NULL
20037 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20038 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
20039 if (!SWIG_IsOK(res1
)) {
20040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_SetClientData" "', expected argument " "1"" of type '" "wxCommandEvent *""'");
20042 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
20045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20046 wxCommandEvent_SetClientData(arg1
,arg2
);
20047 wxPyEndAllowThreads(__tstate
);
20048 if (PyErr_Occurred()) SWIG_fail
;
20050 resultobj
= SWIG_Py_Void();
20057 SWIGINTERN PyObject
*_wrap_CommandEvent_Clone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20058 PyObject
*resultobj
= 0;
20059 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
20060 wxEvent
*result
= 0 ;
20063 PyObject
*swig_obj
[1] ;
20065 if (!args
) SWIG_fail
;
20066 swig_obj
[0] = args
;
20067 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
20068 if (!SWIG_IsOK(res1
)) {
20069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_Clone" "', expected argument " "1"" of type '" "wxCommandEvent const *""'");
20071 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
20073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20074 result
= (wxEvent
*)((wxCommandEvent
const *)arg1
)->Clone();
20075 wxPyEndAllowThreads(__tstate
);
20076 if (PyErr_Occurred()) SWIG_fail
;
20078 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEvent
, 0 | 0 );
20085 SWIGINTERN PyObject
*CommandEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20087 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20088 SWIG_TypeNewClientData(SWIGTYPE_p_wxCommandEvent
, SWIG_NewClientData(obj
));
20089 return SWIG_Py_Void();
20092 SWIGINTERN PyObject
*CommandEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20093 return SWIG_Python_InitShadowInstance(args
);
20096 SWIGINTERN PyObject
*_wrap_new_NotifyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20097 PyObject
*resultobj
= 0;
20098 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20099 int arg2
= (int) 0 ;
20100 wxNotifyEvent
*result
= 0 ;
20105 PyObject
* obj0
= 0 ;
20106 PyObject
* obj1
= 0 ;
20107 char * kwnames
[] = {
20108 (char *) "commandType",(char *) "winid", NULL
20111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_NotifyEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20113 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20114 if (!SWIG_IsOK(ecode1
)) {
20115 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_NotifyEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20117 arg1
= static_cast< wxEventType
>(val1
);
20120 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20121 if (!SWIG_IsOK(ecode2
)) {
20122 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_NotifyEvent" "', expected argument " "2"" of type '" "int""'");
20124 arg2
= static_cast< int >(val2
);
20127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20128 result
= (wxNotifyEvent
*)new wxNotifyEvent(arg1
,arg2
);
20129 wxPyEndAllowThreads(__tstate
);
20130 if (PyErr_Occurred()) SWIG_fail
;
20132 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_NEW
| 0 );
20139 SWIGINTERN PyObject
*_wrap_NotifyEvent_Veto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20140 PyObject
*resultobj
= 0;
20141 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
20144 PyObject
*swig_obj
[1] ;
20146 if (!args
) SWIG_fail
;
20147 swig_obj
[0] = args
;
20148 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotifyEvent
, 0 | 0 );
20149 if (!SWIG_IsOK(res1
)) {
20150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NotifyEvent_Veto" "', expected argument " "1"" of type '" "wxNotifyEvent *""'");
20152 arg1
= reinterpret_cast< wxNotifyEvent
* >(argp1
);
20154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20156 wxPyEndAllowThreads(__tstate
);
20157 if (PyErr_Occurred()) SWIG_fail
;
20159 resultobj
= SWIG_Py_Void();
20166 SWIGINTERN PyObject
*_wrap_NotifyEvent_Allow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20167 PyObject
*resultobj
= 0;
20168 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
20171 PyObject
*swig_obj
[1] ;
20173 if (!args
) SWIG_fail
;
20174 swig_obj
[0] = args
;
20175 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotifyEvent
, 0 | 0 );
20176 if (!SWIG_IsOK(res1
)) {
20177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NotifyEvent_Allow" "', expected argument " "1"" of type '" "wxNotifyEvent *""'");
20179 arg1
= reinterpret_cast< wxNotifyEvent
* >(argp1
);
20181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20183 wxPyEndAllowThreads(__tstate
);
20184 if (PyErr_Occurred()) SWIG_fail
;
20186 resultobj
= SWIG_Py_Void();
20193 SWIGINTERN PyObject
*_wrap_NotifyEvent_IsAllowed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20194 PyObject
*resultobj
= 0;
20195 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
20199 PyObject
*swig_obj
[1] ;
20201 if (!args
) SWIG_fail
;
20202 swig_obj
[0] = args
;
20203 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotifyEvent
, 0 | 0 );
20204 if (!SWIG_IsOK(res1
)) {
20205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NotifyEvent_IsAllowed" "', expected argument " "1"" of type '" "wxNotifyEvent *""'");
20207 arg1
= reinterpret_cast< wxNotifyEvent
* >(argp1
);
20209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20210 result
= (bool)(arg1
)->IsAllowed();
20211 wxPyEndAllowThreads(__tstate
);
20212 if (PyErr_Occurred()) SWIG_fail
;
20215 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20223 SWIGINTERN PyObject
*NotifyEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20225 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20226 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotifyEvent
, SWIG_NewClientData(obj
));
20227 return SWIG_Py_Void();
20230 SWIGINTERN PyObject
*NotifyEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20231 return SWIG_Python_InitShadowInstance(args
);
20234 SWIGINTERN PyObject
*_wrap_new_ScrollEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20235 PyObject
*resultobj
= 0;
20236 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20237 int arg2
= (int) 0 ;
20238 int arg3
= (int) 0 ;
20239 int arg4
= (int) 0 ;
20240 wxScrollEvent
*result
= 0 ;
20249 PyObject
* obj0
= 0 ;
20250 PyObject
* obj1
= 0 ;
20251 PyObject
* obj2
= 0 ;
20252 PyObject
* obj3
= 0 ;
20253 char * kwnames
[] = {
20254 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
20257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ScrollEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20259 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20260 if (!SWIG_IsOK(ecode1
)) {
20261 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ScrollEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20263 arg1
= static_cast< wxEventType
>(val1
);
20266 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20267 if (!SWIG_IsOK(ecode2
)) {
20268 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrollEvent" "', expected argument " "2"" of type '" "int""'");
20270 arg2
= static_cast< int >(val2
);
20273 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20274 if (!SWIG_IsOK(ecode3
)) {
20275 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ScrollEvent" "', expected argument " "3"" of type '" "int""'");
20277 arg3
= static_cast< int >(val3
);
20280 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20281 if (!SWIG_IsOK(ecode4
)) {
20282 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ScrollEvent" "', expected argument " "4"" of type '" "int""'");
20284 arg4
= static_cast< int >(val4
);
20287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20288 result
= (wxScrollEvent
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
);
20289 wxPyEndAllowThreads(__tstate
);
20290 if (PyErr_Occurred()) SWIG_fail
;
20292 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_NEW
| 0 );
20299 SWIGINTERN PyObject
*_wrap_ScrollEvent_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20300 PyObject
*resultobj
= 0;
20301 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
20305 PyObject
*swig_obj
[1] ;
20307 if (!args
) SWIG_fail
;
20308 swig_obj
[0] = args
;
20309 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollEvent
, 0 | 0 );
20310 if (!SWIG_IsOK(res1
)) {
20311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollEvent_GetOrientation" "', expected argument " "1"" of type '" "wxScrollEvent const *""'");
20313 arg1
= reinterpret_cast< wxScrollEvent
* >(argp1
);
20315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20316 result
= (int)((wxScrollEvent
const *)arg1
)->GetOrientation();
20317 wxPyEndAllowThreads(__tstate
);
20318 if (PyErr_Occurred()) SWIG_fail
;
20320 resultobj
= SWIG_From_int(static_cast< int >(result
));
20327 SWIGINTERN PyObject
*_wrap_ScrollEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20328 PyObject
*resultobj
= 0;
20329 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
20333 PyObject
*swig_obj
[1] ;
20335 if (!args
) SWIG_fail
;
20336 swig_obj
[0] = args
;
20337 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollEvent
, 0 | 0 );
20338 if (!SWIG_IsOK(res1
)) {
20339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollEvent_GetPosition" "', expected argument " "1"" of type '" "wxScrollEvent const *""'");
20341 arg1
= reinterpret_cast< wxScrollEvent
* >(argp1
);
20343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20344 result
= (int)((wxScrollEvent
const *)arg1
)->GetPosition();
20345 wxPyEndAllowThreads(__tstate
);
20346 if (PyErr_Occurred()) SWIG_fail
;
20348 resultobj
= SWIG_From_int(static_cast< int >(result
));
20355 SWIGINTERN PyObject
*_wrap_ScrollEvent_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20356 PyObject
*resultobj
= 0;
20357 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
20363 PyObject
* obj0
= 0 ;
20364 PyObject
* obj1
= 0 ;
20365 char * kwnames
[] = {
20366 (char *) "self",(char *) "orient", NULL
20369 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20370 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollEvent
, 0 | 0 );
20371 if (!SWIG_IsOK(res1
)) {
20372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollEvent_SetOrientation" "', expected argument " "1"" of type '" "wxScrollEvent *""'");
20374 arg1
= reinterpret_cast< wxScrollEvent
* >(argp1
);
20375 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20376 if (!SWIG_IsOK(ecode2
)) {
20377 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrollEvent_SetOrientation" "', expected argument " "2"" of type '" "int""'");
20379 arg2
= static_cast< int >(val2
);
20381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20382 (arg1
)->SetOrientation(arg2
);
20383 wxPyEndAllowThreads(__tstate
);
20384 if (PyErr_Occurred()) SWIG_fail
;
20386 resultobj
= SWIG_Py_Void();
20393 SWIGINTERN PyObject
*_wrap_ScrollEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20394 PyObject
*resultobj
= 0;
20395 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
20401 PyObject
* obj0
= 0 ;
20402 PyObject
* obj1
= 0 ;
20403 char * kwnames
[] = {
20404 (char *) "self",(char *) "pos", NULL
20407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20408 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollEvent
, 0 | 0 );
20409 if (!SWIG_IsOK(res1
)) {
20410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollEvent_SetPosition" "', expected argument " "1"" of type '" "wxScrollEvent *""'");
20412 arg1
= reinterpret_cast< wxScrollEvent
* >(argp1
);
20413 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20414 if (!SWIG_IsOK(ecode2
)) {
20415 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrollEvent_SetPosition" "', expected argument " "2"" of type '" "int""'");
20417 arg2
= static_cast< int >(val2
);
20419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20420 (arg1
)->SetPosition(arg2
);
20421 wxPyEndAllowThreads(__tstate
);
20422 if (PyErr_Occurred()) SWIG_fail
;
20424 resultobj
= SWIG_Py_Void();
20431 SWIGINTERN PyObject
*ScrollEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20433 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20434 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrollEvent
, SWIG_NewClientData(obj
));
20435 return SWIG_Py_Void();
20438 SWIGINTERN PyObject
*ScrollEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20439 return SWIG_Python_InitShadowInstance(args
);
20442 SWIGINTERN PyObject
*_wrap_new_ScrollWinEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20443 PyObject
*resultobj
= 0;
20444 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20445 int arg2
= (int) 0 ;
20446 int arg3
= (int) 0 ;
20447 wxScrollWinEvent
*result
= 0 ;
20454 PyObject
* obj0
= 0 ;
20455 PyObject
* obj1
= 0 ;
20456 PyObject
* obj2
= 0 ;
20457 char * kwnames
[] = {
20458 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
20461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ScrollWinEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20463 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20464 if (!SWIG_IsOK(ecode1
)) {
20465 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ScrollWinEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20467 arg1
= static_cast< wxEventType
>(val1
);
20470 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20471 if (!SWIG_IsOK(ecode2
)) {
20472 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrollWinEvent" "', expected argument " "2"" of type '" "int""'");
20474 arg2
= static_cast< int >(val2
);
20477 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20478 if (!SWIG_IsOK(ecode3
)) {
20479 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ScrollWinEvent" "', expected argument " "3"" of type '" "int""'");
20481 arg3
= static_cast< int >(val3
);
20484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20485 result
= (wxScrollWinEvent
*)new wxScrollWinEvent(arg1
,arg2
,arg3
);
20486 wxPyEndAllowThreads(__tstate
);
20487 if (PyErr_Occurred()) SWIG_fail
;
20489 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_NEW
| 0 );
20496 SWIGINTERN PyObject
*_wrap_ScrollWinEvent_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20497 PyObject
*resultobj
= 0;
20498 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
20502 PyObject
*swig_obj
[1] ;
20504 if (!args
) SWIG_fail
;
20505 swig_obj
[0] = args
;
20506 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollWinEvent
, 0 | 0 );
20507 if (!SWIG_IsOK(res1
)) {
20508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollWinEvent_GetOrientation" "', expected argument " "1"" of type '" "wxScrollWinEvent const *""'");
20510 arg1
= reinterpret_cast< wxScrollWinEvent
* >(argp1
);
20512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20513 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetOrientation();
20514 wxPyEndAllowThreads(__tstate
);
20515 if (PyErr_Occurred()) SWIG_fail
;
20517 resultobj
= SWIG_From_int(static_cast< int >(result
));
20524 SWIGINTERN PyObject
*_wrap_ScrollWinEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20525 PyObject
*resultobj
= 0;
20526 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
20530 PyObject
*swig_obj
[1] ;
20532 if (!args
) SWIG_fail
;
20533 swig_obj
[0] = args
;
20534 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollWinEvent
, 0 | 0 );
20535 if (!SWIG_IsOK(res1
)) {
20536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollWinEvent_GetPosition" "', expected argument " "1"" of type '" "wxScrollWinEvent const *""'");
20538 arg1
= reinterpret_cast< wxScrollWinEvent
* >(argp1
);
20540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20541 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetPosition();
20542 wxPyEndAllowThreads(__tstate
);
20543 if (PyErr_Occurred()) SWIG_fail
;
20545 resultobj
= SWIG_From_int(static_cast< int >(result
));
20552 SWIGINTERN PyObject
*_wrap_ScrollWinEvent_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20553 PyObject
*resultobj
= 0;
20554 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
20560 PyObject
* obj0
= 0 ;
20561 PyObject
* obj1
= 0 ;
20562 char * kwnames
[] = {
20563 (char *) "self",(char *) "orient", NULL
20566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20567 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollWinEvent
, 0 | 0 );
20568 if (!SWIG_IsOK(res1
)) {
20569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollWinEvent_SetOrientation" "', expected argument " "1"" of type '" "wxScrollWinEvent *""'");
20571 arg1
= reinterpret_cast< wxScrollWinEvent
* >(argp1
);
20572 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20573 if (!SWIG_IsOK(ecode2
)) {
20574 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrollWinEvent_SetOrientation" "', expected argument " "2"" of type '" "int""'");
20576 arg2
= static_cast< int >(val2
);
20578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20579 (arg1
)->SetOrientation(arg2
);
20580 wxPyEndAllowThreads(__tstate
);
20581 if (PyErr_Occurred()) SWIG_fail
;
20583 resultobj
= SWIG_Py_Void();
20590 SWIGINTERN PyObject
*_wrap_ScrollWinEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20591 PyObject
*resultobj
= 0;
20592 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
20598 PyObject
* obj0
= 0 ;
20599 PyObject
* obj1
= 0 ;
20600 char * kwnames
[] = {
20601 (char *) "self",(char *) "pos", NULL
20604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20605 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollWinEvent
, 0 | 0 );
20606 if (!SWIG_IsOK(res1
)) {
20607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollWinEvent_SetPosition" "', expected argument " "1"" of type '" "wxScrollWinEvent *""'");
20609 arg1
= reinterpret_cast< wxScrollWinEvent
* >(argp1
);
20610 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20611 if (!SWIG_IsOK(ecode2
)) {
20612 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrollWinEvent_SetPosition" "', expected argument " "2"" of type '" "int""'");
20614 arg2
= static_cast< int >(val2
);
20616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20617 (arg1
)->SetPosition(arg2
);
20618 wxPyEndAllowThreads(__tstate
);
20619 if (PyErr_Occurred()) SWIG_fail
;
20621 resultobj
= SWIG_Py_Void();
20628 SWIGINTERN PyObject
*ScrollWinEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20630 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20631 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrollWinEvent
, SWIG_NewClientData(obj
));
20632 return SWIG_Py_Void();
20635 SWIGINTERN PyObject
*ScrollWinEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20636 return SWIG_Python_InitShadowInstance(args
);
20639 SWIGINTERN PyObject
*_wrap_new_MouseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20640 PyObject
*resultobj
= 0;
20641 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20642 wxMouseEvent
*result
= 0 ;
20645 PyObject
* obj0
= 0 ;
20646 char * kwnames
[] = {
20647 (char *) "mouseType", NULL
20650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MouseEvent",kwnames
,&obj0
)) SWIG_fail
;
20652 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20653 if (!SWIG_IsOK(ecode1
)) {
20654 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_MouseEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20656 arg1
= static_cast< wxEventType
>(val1
);
20659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20660 result
= (wxMouseEvent
*)new wxMouseEvent(arg1
);
20661 wxPyEndAllowThreads(__tstate
);
20662 if (PyErr_Occurred()) SWIG_fail
;
20665 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_NEW
);
20673 SWIGINTERN PyObject
*_wrap_MouseEvent_IsButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20674 PyObject
*resultobj
= 0;
20675 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20679 PyObject
*swig_obj
[1] ;
20681 if (!args
) SWIG_fail
;
20682 swig_obj
[0] = args
;
20683 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20684 if (!SWIG_IsOK(res1
)) {
20685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_IsButton" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20687 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20690 result
= (bool)((wxMouseEvent
const *)arg1
)->IsButton();
20691 wxPyEndAllowThreads(__tstate
);
20692 if (PyErr_Occurred()) SWIG_fail
;
20695 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20703 SWIGINTERN PyObject
*_wrap_MouseEvent_ButtonDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20704 PyObject
*resultobj
= 0;
20705 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20706 int arg2
= (int) wxMOUSE_BTN_ANY
;
20712 PyObject
* obj0
= 0 ;
20713 PyObject
* obj1
= 0 ;
20714 char * kwnames
[] = {
20715 (char *) "self",(char *) "but", NULL
20718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20719 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20720 if (!SWIG_IsOK(res1
)) {
20721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_ButtonDown" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20723 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20725 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20726 if (!SWIG_IsOK(ecode2
)) {
20727 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_ButtonDown" "', expected argument " "2"" of type '" "int""'");
20729 arg2
= static_cast< int >(val2
);
20732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20733 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDown(arg2
);
20734 wxPyEndAllowThreads(__tstate
);
20735 if (PyErr_Occurred()) SWIG_fail
;
20738 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20746 SWIGINTERN PyObject
*_wrap_MouseEvent_ButtonDClick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20747 PyObject
*resultobj
= 0;
20748 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20749 int arg2
= (int) wxMOUSE_BTN_ANY
;
20755 PyObject
* obj0
= 0 ;
20756 PyObject
* obj1
= 0 ;
20757 char * kwnames
[] = {
20758 (char *) "self",(char *) "but", NULL
20761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDClick",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20763 if (!SWIG_IsOK(res1
)) {
20764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_ButtonDClick" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20766 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20768 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20769 if (!SWIG_IsOK(ecode2
)) {
20770 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_ButtonDClick" "', expected argument " "2"" of type '" "int""'");
20772 arg2
= static_cast< int >(val2
);
20775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20776 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDClick(arg2
);
20777 wxPyEndAllowThreads(__tstate
);
20778 if (PyErr_Occurred()) SWIG_fail
;
20781 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20789 SWIGINTERN PyObject
*_wrap_MouseEvent_ButtonUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20790 PyObject
*resultobj
= 0;
20791 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20792 int arg2
= (int) wxMOUSE_BTN_ANY
;
20798 PyObject
* obj0
= 0 ;
20799 PyObject
* obj1
= 0 ;
20800 char * kwnames
[] = {
20801 (char *) "self",(char *) "but", NULL
20804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20805 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20806 if (!SWIG_IsOK(res1
)) {
20807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_ButtonUp" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20809 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20811 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20812 if (!SWIG_IsOK(ecode2
)) {
20813 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_ButtonUp" "', expected argument " "2"" of type '" "int""'");
20815 arg2
= static_cast< int >(val2
);
20818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20819 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonUp(arg2
);
20820 wxPyEndAllowThreads(__tstate
);
20821 if (PyErr_Occurred()) SWIG_fail
;
20824 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20832 SWIGINTERN PyObject
*_wrap_MouseEvent_Button(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20833 PyObject
*resultobj
= 0;
20834 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20841 PyObject
* obj0
= 0 ;
20842 PyObject
* obj1
= 0 ;
20843 char * kwnames
[] = {
20844 (char *) "self",(char *) "button", NULL
20847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_Button",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20848 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20849 if (!SWIG_IsOK(res1
)) {
20850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_Button" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20852 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20853 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20854 if (!SWIG_IsOK(ecode2
)) {
20855 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_Button" "', expected argument " "2"" of type '" "int""'");
20857 arg2
= static_cast< int >(val2
);
20859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20860 result
= (bool)((wxMouseEvent
const *)arg1
)->Button(arg2
);
20861 wxPyEndAllowThreads(__tstate
);
20862 if (PyErr_Occurred()) SWIG_fail
;
20865 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20873 SWIGINTERN PyObject
*_wrap_MouseEvent_ButtonIsDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20874 PyObject
*resultobj
= 0;
20875 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20882 PyObject
* obj0
= 0 ;
20883 PyObject
* obj1
= 0 ;
20884 char * kwnames
[] = {
20885 (char *) "self",(char *) "but", NULL
20888 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20889 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20890 if (!SWIG_IsOK(res1
)) {
20891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_ButtonIsDown" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20893 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20894 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20895 if (!SWIG_IsOK(ecode2
)) {
20896 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_ButtonIsDown" "', expected argument " "2"" of type '" "int""'");
20898 arg2
= static_cast< int >(val2
);
20900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20901 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonIsDown(arg2
);
20902 wxPyEndAllowThreads(__tstate
);
20903 if (PyErr_Occurred()) SWIG_fail
;
20906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20914 SWIGINTERN PyObject
*_wrap_MouseEvent_GetButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20915 PyObject
*resultobj
= 0;
20916 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20920 PyObject
*swig_obj
[1] ;
20922 if (!args
) SWIG_fail
;
20923 swig_obj
[0] = args
;
20924 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20925 if (!SWIG_IsOK(res1
)) {
20926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_GetButton" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20928 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20931 result
= (int)((wxMouseEvent
const *)arg1
)->GetButton();
20932 wxPyEndAllowThreads(__tstate
);
20933 if (PyErr_Occurred()) SWIG_fail
;
20935 resultobj
= SWIG_From_int(static_cast< int >(result
));
20942 SWIGINTERN PyObject
*_wrap_MouseEvent_ControlDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20943 PyObject
*resultobj
= 0;
20944 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20948 PyObject
*swig_obj
[1] ;
20950 if (!args
) SWIG_fail
;
20951 swig_obj
[0] = args
;
20952 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20953 if (!SWIG_IsOK(res1
)) {
20954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_ControlDown" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20956 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20959 result
= (bool)((wxMouseEvent
const *)arg1
)->ControlDown();
20960 wxPyEndAllowThreads(__tstate
);
20961 if (PyErr_Occurred()) SWIG_fail
;
20964 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20972 SWIGINTERN PyObject
*_wrap_MouseEvent_MetaDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20973 PyObject
*resultobj
= 0;
20974 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20978 PyObject
*swig_obj
[1] ;
20980 if (!args
) SWIG_fail
;
20981 swig_obj
[0] = args
;
20982 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20983 if (!SWIG_IsOK(res1
)) {
20984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_MetaDown" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20986 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20989 result
= (bool)((wxMouseEvent
const *)arg1
)->MetaDown();
20990 wxPyEndAllowThreads(__tstate
);
20991 if (PyErr_Occurred()) SWIG_fail
;
20994 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21002 SWIGINTERN PyObject
*_wrap_MouseEvent_AltDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21003 PyObject
*resultobj
= 0;
21004 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21008 PyObject
*swig_obj
[1] ;
21010 if (!args
) SWIG_fail
;
21011 swig_obj
[0] = args
;
21012 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21013 if (!SWIG_IsOK(res1
)) {
21014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_AltDown" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
21016 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21019 result
= (bool)((wxMouseEvent
const *)arg1
)->AltDown();
21020 wxPyEndAllowThreads(__tstate
);
21021 if (PyErr_Occurred()) SWIG_fail
;
21024 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21032 SWIGINTERN PyObject
*_wrap_MouseEvent_ShiftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21033 PyObject
*resultobj
= 0;
21034 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21038 PyObject
*swig_obj
[1] ;
21040 if (!args
) SWIG_fail
;
21041 swig_obj
[0] = args
;
21042 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21043 if (!SWIG_IsOK(res1
)) {
21044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_ShiftDown" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
21046 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21049 result
= (bool)((wxMouseEvent
const *)arg1
)->ShiftDown();
21050 wxPyEndAllowThreads(__tstate
);
21051 if (PyErr_Occurred()) SWIG_fail
;
21054 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21062 SWIGINTERN PyObject
*_wrap_MouseEvent_CmdDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21063 PyObject
*resultobj
= 0;
21064 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21068 PyObject
*swig_obj
[1] ;
21070 if (!args
) SWIG_fail
;
21071 swig_obj
[0] = args
;
21072 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21073 if (!SWIG_IsOK(res1
)) {
21074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_CmdDown" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
21076 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21079 result
= (bool)((wxMouseEvent
const *)arg1
)->CmdDown();
21080 wxPyEndAllowThreads(__tstate
);
21081 if (PyErr_Occurred()) SWIG_fail
;
21084 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21092 SWIGINTERN PyObject
*_wrap_MouseEvent_LeftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21093 PyObject
*resultobj
= 0;
21094 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21098 PyObject
*swig_obj
[1] ;
21100 if (!args
) SWIG_fail
;
21101 swig_obj
[0] = args
;
21102 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21103 if (!SWIG_IsOK(res1
)) {
21104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_LeftDown" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
21106 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21109 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDown();
21110 wxPyEndAllowThreads(__tstate
);
21111 if (PyErr_Occurred()) SWIG_fail
;
21114 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21122 SWIGINTERN PyObject
*_wrap_MouseEvent_MiddleDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21123 PyObject
*resultobj
= 0;
21124 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21128 PyObject
*swig_obj
[1] ;
21130 if (!args
) SWIG_fail
;
21131 swig_obj
[0] = args
;
21132 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21133 if (!SWIG_IsOK(res1
)) {
21134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_MiddleDown" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
21136 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21139 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDown();
21140 wxPyEndAllowThreads(__tstate
);
21141 if (PyErr_Occurred()) SWIG_fail
;
21144 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21152 SWIGINTERN PyObject
*_wrap_MouseEvent_RightDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21153 PyObject
*resultobj
= 0;
21154 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21158 PyObject
*swig_obj
[1] ;
21160 if (!args
) SWIG_fail
;
21161 swig_obj
[0] = args
;
21162 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21163 if (!SWIG_IsOK(res1
)) {
21164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_RightDown" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
21166 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21169 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDown();
21170 wxPyEndAllowThreads(__tstate
);
21171 if (PyErr_Occurred()) SWIG_fail
;
21174 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21182 SWIGINTERN PyObject
*_wrap_MouseEvent_LeftUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21183 PyObject
*resultobj
= 0;
21184 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21188 PyObject
*swig_obj
[1] ;
21190 if (!args
) SWIG_fail
;
21191 swig_obj
[0] = args
;
21192 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21193 if (!SWIG_IsOK(res1
)) {
21194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_LeftUp" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
21196 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21199 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftUp();
21200 wxPyEndAllowThreads(__tstate
);
21201 if (PyErr_Occurred()) SWIG_fail
;
21204 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21212 SWIGINTERN PyObject
*_wrap_MouseEvent_MiddleUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21213 PyObject
*resultobj
= 0;
21214 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21218 PyObject
*swig_obj
[1] ;
21220 if (!args
) SWIG_fail
;
21221 swig_obj
[0] = args
;
21222 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21223 if (!SWIG_IsOK(res1
)) {
21224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_MiddleUp" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
21226 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21229 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleUp();
21230 wxPyEndAllowThreads(__tstate
);
21231 if (PyErr_Occurred()) SWIG_fail
;
21234 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21242 SWIGINTERN PyObject
*_wrap_MouseEvent_RightUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21243 PyObject
*resultobj
= 0;
21244 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21248 PyObject
*swig_obj
[1] ;
21250 if (!args
) SWIG_fail
;
21251 swig_obj
[0] = args
;
21252 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21253 if (!SWIG_IsOK(res1
)) {
21254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_RightUp" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
21256 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21259 result
= (bool)((wxMouseEvent
const *)arg1
)->RightUp();
21260 wxPyEndAllowThreads(__tstate
);
21261 if (PyErr_Occurred()) SWIG_fail
;
21264 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21272 SWIGINTERN PyObject
*_wrap_MouseEvent_LeftDClick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21273 PyObject
*resultobj
= 0;
21274 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21278 PyObject
*swig_obj
[1] ;
21280 if (!args
) SWIG_fail
;
21281 swig_obj
[0] = args
;
21282 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21283 if (!SWIG_IsOK(res1
)) {
21284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_LeftDClick" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
21286 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21289 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDClick();
21290 wxPyEndAllowThreads(__tstate
);
21291 if (PyErr_Occurred()) SWIG_fail
;
21294 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21302 SWIGINTERN PyObject
*_wrap_MouseEvent_MiddleDClick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21303 PyObject
*resultobj
= 0;
21304 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21308 PyObject
*swig_obj
[1] ;
21310 if (!args
) SWIG_fail
;
21311 swig_obj
[0] = args
;
21312 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21313 if (!SWIG_IsOK(res1
)) {
21314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_MiddleDClick" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
21316 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21319 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDClick();
21320 wxPyEndAllowThreads(__tstate
);
21321 if (PyErr_Occurred()) SWIG_fail
;
21324 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21332 SWIGINTERN PyObject
*_wrap_MouseEvent_RightDClick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21333 PyObject
*resultobj
= 0;
21334 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21338 PyObject
*swig_obj
[1] ;
21340 if (!args
) SWIG_fail
;
21341 swig_obj
[0] = args
;
21342 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21343 if (!SWIG_IsOK(res1
)) {
21344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_RightDClick" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
21346 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21349 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDClick();
21350 wxPyEndAllowThreads(__tstate
);
21351 if (PyErr_Occurred()) SWIG_fail
;
21354 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21362 SWIGINTERN PyObject
*_wrap_MouseEvent_LeftIsDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21363 PyObject
*resultobj
= 0;
21364 wxMouseEvent
*arg1
= (wxMouseEvent
*) 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_wxMouseEvent
, 0 | 0 );
21373 if (!SWIG_IsOK(res1
)) {
21374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_LeftIsDown" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21376 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21379 result
= (bool)(arg1
)->LeftIsDown();
21380 wxPyEndAllowThreads(__tstate
);
21381 if (PyErr_Occurred()) SWIG_fail
;
21384 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21392 SWIGINTERN PyObject
*_wrap_MouseEvent_MiddleIsDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21393 PyObject
*resultobj
= 0;
21394 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21398 PyObject
*swig_obj
[1] ;
21400 if (!args
) SWIG_fail
;
21401 swig_obj
[0] = args
;
21402 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21403 if (!SWIG_IsOK(res1
)) {
21404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_MiddleIsDown" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21406 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21409 result
= (bool)(arg1
)->MiddleIsDown();
21410 wxPyEndAllowThreads(__tstate
);
21411 if (PyErr_Occurred()) SWIG_fail
;
21414 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21422 SWIGINTERN PyObject
*_wrap_MouseEvent_RightIsDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21423 PyObject
*resultobj
= 0;
21424 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21428 PyObject
*swig_obj
[1] ;
21430 if (!args
) SWIG_fail
;
21431 swig_obj
[0] = args
;
21432 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21433 if (!SWIG_IsOK(res1
)) {
21434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_RightIsDown" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21436 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21439 result
= (bool)(arg1
)->RightIsDown();
21440 wxPyEndAllowThreads(__tstate
);
21441 if (PyErr_Occurred()) SWIG_fail
;
21444 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21452 SWIGINTERN PyObject
*_wrap_MouseEvent_Dragging(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21453 PyObject
*resultobj
= 0;
21454 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21458 PyObject
*swig_obj
[1] ;
21460 if (!args
) SWIG_fail
;
21461 swig_obj
[0] = args
;
21462 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21463 if (!SWIG_IsOK(res1
)) {
21464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_Dragging" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
21466 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21469 result
= (bool)((wxMouseEvent
const *)arg1
)->Dragging();
21470 wxPyEndAllowThreads(__tstate
);
21471 if (PyErr_Occurred()) SWIG_fail
;
21474 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21482 SWIGINTERN PyObject
*_wrap_MouseEvent_Moving(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21483 PyObject
*resultobj
= 0;
21484 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21488 PyObject
*swig_obj
[1] ;
21490 if (!args
) SWIG_fail
;
21491 swig_obj
[0] = args
;
21492 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21493 if (!SWIG_IsOK(res1
)) {
21494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_Moving" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
21496 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21499 result
= (bool)((wxMouseEvent
const *)arg1
)->Moving();
21500 wxPyEndAllowThreads(__tstate
);
21501 if (PyErr_Occurred()) SWIG_fail
;
21504 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21512 SWIGINTERN PyObject
*_wrap_MouseEvent_Entering(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21513 PyObject
*resultobj
= 0;
21514 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21518 PyObject
*swig_obj
[1] ;
21520 if (!args
) SWIG_fail
;
21521 swig_obj
[0] = args
;
21522 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21523 if (!SWIG_IsOK(res1
)) {
21524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_Entering" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
21526 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21529 result
= (bool)((wxMouseEvent
const *)arg1
)->Entering();
21530 wxPyEndAllowThreads(__tstate
);
21531 if (PyErr_Occurred()) SWIG_fail
;
21534 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21542 SWIGINTERN PyObject
*_wrap_MouseEvent_Leaving(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21543 PyObject
*resultobj
= 0;
21544 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21548 PyObject
*swig_obj
[1] ;
21550 if (!args
) SWIG_fail
;
21551 swig_obj
[0] = args
;
21552 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21553 if (!SWIG_IsOK(res1
)) {
21554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_Leaving" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
21556 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21559 result
= (bool)((wxMouseEvent
const *)arg1
)->Leaving();
21560 wxPyEndAllowThreads(__tstate
);
21561 if (PyErr_Occurred()) SWIG_fail
;
21564 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21572 SWIGINTERN PyObject
*_wrap_MouseEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21573 PyObject
*resultobj
= 0;
21574 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21578 PyObject
*swig_obj
[1] ;
21580 if (!args
) SWIG_fail
;
21581 swig_obj
[0] = args
;
21582 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21583 if (!SWIG_IsOK(res1
)) {
21584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_GetPosition" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21586 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21589 result
= (arg1
)->GetPosition();
21590 wxPyEndAllowThreads(__tstate
);
21591 if (PyErr_Occurred()) SWIG_fail
;
21593 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
21600 SWIGINTERN PyObject
*_wrap_MouseEvent_GetPositionTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21601 PyObject
*resultobj
= 0;
21602 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21603 long *arg2
= (long *) 0 ;
21604 long *arg3
= (long *) 0 ;
21608 int res2
= SWIG_TMPOBJ
;
21610 int res3
= SWIG_TMPOBJ
;
21611 PyObject
*swig_obj
[1] ;
21615 if (!args
) SWIG_fail
;
21616 swig_obj
[0] = args
;
21617 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21618 if (!SWIG_IsOK(res1
)) {
21619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_GetPositionTuple" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21621 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21624 (arg1
)->GetPosition(arg2
,arg3
);
21625 wxPyEndAllowThreads(__tstate
);
21626 if (PyErr_Occurred()) SWIG_fail
;
21628 resultobj
= SWIG_Py_Void();
21629 if (SWIG_IsTmpObj(res2
)) {
21630 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
21632 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21633 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
21635 if (SWIG_IsTmpObj(res3
)) {
21636 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
21638 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21639 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
21647 SWIGINTERN PyObject
*_wrap_MouseEvent_GetLogicalPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21648 PyObject
*resultobj
= 0;
21649 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21656 PyObject
* obj0
= 0 ;
21657 PyObject
* obj1
= 0 ;
21658 char * kwnames
[] = {
21659 (char *) "self",(char *) "dc", NULL
21662 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21663 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21664 if (!SWIG_IsOK(res1
)) {
21665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_GetLogicalPosition" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
21667 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21668 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 | 0);
21669 if (!SWIG_IsOK(res2
)) {
21670 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MouseEvent_GetLogicalPosition" "', expected argument " "2"" of type '" "wxDC const &""'");
21673 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MouseEvent_GetLogicalPosition" "', expected argument " "2"" of type '" "wxDC const &""'");
21675 arg2
= reinterpret_cast< wxDC
* >(argp2
);
21677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21678 result
= ((wxMouseEvent
const *)arg1
)->GetLogicalPosition((wxDC
const &)*arg2
);
21679 wxPyEndAllowThreads(__tstate
);
21680 if (PyErr_Occurred()) SWIG_fail
;
21682 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
21689 SWIGINTERN PyObject
*_wrap_MouseEvent_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21690 PyObject
*resultobj
= 0;
21691 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21695 PyObject
*swig_obj
[1] ;
21697 if (!args
) SWIG_fail
;
21698 swig_obj
[0] = args
;
21699 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21700 if (!SWIG_IsOK(res1
)) {
21701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_GetX" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
21703 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21706 result
= (int)((wxMouseEvent
const *)arg1
)->GetX();
21707 wxPyEndAllowThreads(__tstate
);
21708 if (PyErr_Occurred()) SWIG_fail
;
21710 resultobj
= SWIG_From_int(static_cast< int >(result
));
21717 SWIGINTERN PyObject
*_wrap_MouseEvent_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21718 PyObject
*resultobj
= 0;
21719 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21723 PyObject
*swig_obj
[1] ;
21725 if (!args
) SWIG_fail
;
21726 swig_obj
[0] = args
;
21727 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21728 if (!SWIG_IsOK(res1
)) {
21729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_GetY" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
21731 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21734 result
= (int)((wxMouseEvent
const *)arg1
)->GetY();
21735 wxPyEndAllowThreads(__tstate
);
21736 if (PyErr_Occurred()) SWIG_fail
;
21738 resultobj
= SWIG_From_int(static_cast< int >(result
));
21745 SWIGINTERN PyObject
*_wrap_MouseEvent_GetWheelRotation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21746 PyObject
*resultobj
= 0;
21747 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21751 PyObject
*swig_obj
[1] ;
21753 if (!args
) SWIG_fail
;
21754 swig_obj
[0] = args
;
21755 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21756 if (!SWIG_IsOK(res1
)) {
21757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_GetWheelRotation" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
21759 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21762 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelRotation();
21763 wxPyEndAllowThreads(__tstate
);
21764 if (PyErr_Occurred()) SWIG_fail
;
21766 resultobj
= SWIG_From_int(static_cast< int >(result
));
21773 SWIGINTERN PyObject
*_wrap_MouseEvent_GetWheelDelta(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21774 PyObject
*resultobj
= 0;
21775 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21779 PyObject
*swig_obj
[1] ;
21781 if (!args
) SWIG_fail
;
21782 swig_obj
[0] = args
;
21783 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21784 if (!SWIG_IsOK(res1
)) {
21785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_GetWheelDelta" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
21787 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21790 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelDelta();
21791 wxPyEndAllowThreads(__tstate
);
21792 if (PyErr_Occurred()) SWIG_fail
;
21794 resultobj
= SWIG_From_int(static_cast< int >(result
));
21801 SWIGINTERN PyObject
*_wrap_MouseEvent_GetLinesPerAction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21802 PyObject
*resultobj
= 0;
21803 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21807 PyObject
*swig_obj
[1] ;
21809 if (!args
) SWIG_fail
;
21810 swig_obj
[0] = args
;
21811 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21812 if (!SWIG_IsOK(res1
)) {
21813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_GetLinesPerAction" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
21815 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21818 result
= (int)((wxMouseEvent
const *)arg1
)->GetLinesPerAction();
21819 wxPyEndAllowThreads(__tstate
);
21820 if (PyErr_Occurred()) SWIG_fail
;
21822 resultobj
= SWIG_From_int(static_cast< int >(result
));
21829 SWIGINTERN PyObject
*_wrap_MouseEvent_IsPageScroll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21830 PyObject
*resultobj
= 0;
21831 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21835 PyObject
*swig_obj
[1] ;
21837 if (!args
) SWIG_fail
;
21838 swig_obj
[0] = args
;
21839 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21840 if (!SWIG_IsOK(res1
)) {
21841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_IsPageScroll" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
21843 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21846 result
= (bool)((wxMouseEvent
const *)arg1
)->IsPageScroll();
21847 wxPyEndAllowThreads(__tstate
);
21848 if (PyErr_Occurred()) SWIG_fail
;
21851 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21859 SWIGINTERN PyObject
*_wrap_MouseEvent_m_x_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21860 PyObject
*resultobj
= 0;
21861 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21867 PyObject
*swig_obj
[2] ;
21869 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_x_set",2,2,swig_obj
)) SWIG_fail
;
21870 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21871 if (!SWIG_IsOK(res1
)) {
21872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_x_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21874 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21875 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
21876 if (!SWIG_IsOK(ecode2
)) {
21877 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_x_set" "', expected argument " "2"" of type '" "int""'");
21879 arg2
= static_cast< int >(val2
);
21880 if (arg1
) (arg1
)->m_x
= arg2
;
21882 resultobj
= SWIG_Py_Void();
21889 SWIGINTERN PyObject
*_wrap_MouseEvent_m_x_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21890 PyObject
*resultobj
= 0;
21891 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21895 PyObject
*swig_obj
[1] ;
21897 if (!args
) SWIG_fail
;
21898 swig_obj
[0] = args
;
21899 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21900 if (!SWIG_IsOK(res1
)) {
21901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_x_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21903 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21904 result
= (int) ((arg1
)->m_x
);
21905 resultobj
= SWIG_From_int(static_cast< int >(result
));
21912 SWIGINTERN PyObject
*_wrap_MouseEvent_m_y_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21913 PyObject
*resultobj
= 0;
21914 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21920 PyObject
*swig_obj
[2] ;
21922 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_y_set",2,2,swig_obj
)) SWIG_fail
;
21923 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21924 if (!SWIG_IsOK(res1
)) {
21925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_y_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21927 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21928 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
21929 if (!SWIG_IsOK(ecode2
)) {
21930 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_y_set" "', expected argument " "2"" of type '" "int""'");
21932 arg2
= static_cast< int >(val2
);
21933 if (arg1
) (arg1
)->m_y
= arg2
;
21935 resultobj
= SWIG_Py_Void();
21942 SWIGINTERN PyObject
*_wrap_MouseEvent_m_y_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21943 PyObject
*resultobj
= 0;
21944 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21948 PyObject
*swig_obj
[1] ;
21950 if (!args
) SWIG_fail
;
21951 swig_obj
[0] = args
;
21952 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21953 if (!SWIG_IsOK(res1
)) {
21954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_y_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21956 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21957 result
= (int) ((arg1
)->m_y
);
21958 resultobj
= SWIG_From_int(static_cast< int >(result
));
21965 SWIGINTERN PyObject
*_wrap_MouseEvent_m_leftDown_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21966 PyObject
*resultobj
= 0;
21967 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21973 PyObject
*swig_obj
[2] ;
21975 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_leftDown_set",2,2,swig_obj
)) SWIG_fail
;
21976 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21977 if (!SWIG_IsOK(res1
)) {
21978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_leftDown_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21980 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21981 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
21982 if (!SWIG_IsOK(ecode2
)) {
21983 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_leftDown_set" "', expected argument " "2"" of type '" "bool""'");
21985 arg2
= static_cast< bool >(val2
);
21986 if (arg1
) (arg1
)->m_leftDown
= arg2
;
21988 resultobj
= SWIG_Py_Void();
21995 SWIGINTERN PyObject
*_wrap_MouseEvent_m_leftDown_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21996 PyObject
*resultobj
= 0;
21997 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
22001 PyObject
*swig_obj
[1] ;
22003 if (!args
) SWIG_fail
;
22004 swig_obj
[0] = args
;
22005 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
22006 if (!SWIG_IsOK(res1
)) {
22007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_leftDown_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
22009 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
22010 result
= (bool) ((arg1
)->m_leftDown
);
22012 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22020 SWIGINTERN PyObject
*_wrap_MouseEvent_m_middleDown_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22021 PyObject
*resultobj
= 0;
22022 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
22028 PyObject
*swig_obj
[2] ;
22030 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_middleDown_set",2,2,swig_obj
)) SWIG_fail
;
22031 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
22032 if (!SWIG_IsOK(res1
)) {
22033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_middleDown_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
22035 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
22036 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
22037 if (!SWIG_IsOK(ecode2
)) {
22038 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_middleDown_set" "', expected argument " "2"" of type '" "bool""'");
22040 arg2
= static_cast< bool >(val2
);
22041 if (arg1
) (arg1
)->m_middleDown
= arg2
;
22043 resultobj
= SWIG_Py_Void();
22050 SWIGINTERN PyObject
*_wrap_MouseEvent_m_middleDown_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22051 PyObject
*resultobj
= 0;
22052 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
22056 PyObject
*swig_obj
[1] ;
22058 if (!args
) SWIG_fail
;
22059 swig_obj
[0] = args
;
22060 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
22061 if (!SWIG_IsOK(res1
)) {
22062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_middleDown_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
22064 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
22065 result
= (bool) ((arg1
)->m_middleDown
);
22067 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22075 SWIGINTERN PyObject
*_wrap_MouseEvent_m_rightDown_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22076 PyObject
*resultobj
= 0;
22077 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
22083 PyObject
*swig_obj
[2] ;
22085 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_rightDown_set",2,2,swig_obj
)) SWIG_fail
;
22086 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
22087 if (!SWIG_IsOK(res1
)) {
22088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_rightDown_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
22090 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
22091 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
22092 if (!SWIG_IsOK(ecode2
)) {
22093 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_rightDown_set" "', expected argument " "2"" of type '" "bool""'");
22095 arg2
= static_cast< bool >(val2
);
22096 if (arg1
) (arg1
)->m_rightDown
= arg2
;
22098 resultobj
= SWIG_Py_Void();
22105 SWIGINTERN PyObject
*_wrap_MouseEvent_m_rightDown_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22106 PyObject
*resultobj
= 0;
22107 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
22111 PyObject
*swig_obj
[1] ;
22113 if (!args
) SWIG_fail
;
22114 swig_obj
[0] = args
;
22115 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
22116 if (!SWIG_IsOK(res1
)) {
22117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_rightDown_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
22119 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
22120 result
= (bool) ((arg1
)->m_rightDown
);
22122 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22130 SWIGINTERN PyObject
*_wrap_MouseEvent_m_controlDown_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22131 PyObject
*resultobj
= 0;
22132 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
22138 PyObject
*swig_obj
[2] ;
22140 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_controlDown_set",2,2,swig_obj
)) SWIG_fail
;
22141 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
22142 if (!SWIG_IsOK(res1
)) {
22143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_controlDown_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
22145 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
22146 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
22147 if (!SWIG_IsOK(ecode2
)) {
22148 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_controlDown_set" "', expected argument " "2"" of type '" "bool""'");
22150 arg2
= static_cast< bool >(val2
);
22151 if (arg1
) (arg1
)->m_controlDown
= arg2
;
22153 resultobj
= SWIG_Py_Void();
22160 SWIGINTERN PyObject
*_wrap_MouseEvent_m_controlDown_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22161 PyObject
*resultobj
= 0;
22162 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
22166 PyObject
*swig_obj
[1] ;
22168 if (!args
) SWIG_fail
;
22169 swig_obj
[0] = args
;
22170 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
22171 if (!SWIG_IsOK(res1
)) {
22172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_controlDown_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
22174 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
22175 result
= (bool) ((arg1
)->m_controlDown
);
22177 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22185 SWIGINTERN PyObject
*_wrap_MouseEvent_m_shiftDown_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22186 PyObject
*resultobj
= 0;
22187 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
22193 PyObject
*swig_obj
[2] ;
22195 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_shiftDown_set",2,2,swig_obj
)) SWIG_fail
;
22196 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
22197 if (!SWIG_IsOK(res1
)) {
22198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_shiftDown_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
22200 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
22201 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
22202 if (!SWIG_IsOK(ecode2
)) {
22203 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_shiftDown_set" "', expected argument " "2"" of type '" "bool""'");
22205 arg2
= static_cast< bool >(val2
);
22206 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
22208 resultobj
= SWIG_Py_Void();
22215 SWIGINTERN PyObject
*_wrap_MouseEvent_m_shiftDown_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22216 PyObject
*resultobj
= 0;
22217 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
22221 PyObject
*swig_obj
[1] ;
22223 if (!args
) SWIG_fail
;
22224 swig_obj
[0] = args
;
22225 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
22226 if (!SWIG_IsOK(res1
)) {
22227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_shiftDown_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
22229 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
22230 result
= (bool) ((arg1
)->m_shiftDown
);
22232 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22240 SWIGINTERN PyObject
*_wrap_MouseEvent_m_altDown_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22241 PyObject
*resultobj
= 0;
22242 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
22248 PyObject
*swig_obj
[2] ;
22250 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_altDown_set",2,2,swig_obj
)) SWIG_fail
;
22251 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
22252 if (!SWIG_IsOK(res1
)) {
22253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_altDown_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
22255 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
22256 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
22257 if (!SWIG_IsOK(ecode2
)) {
22258 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_altDown_set" "', expected argument " "2"" of type '" "bool""'");
22260 arg2
= static_cast< bool >(val2
);
22261 if (arg1
) (arg1
)->m_altDown
= arg2
;
22263 resultobj
= SWIG_Py_Void();
22270 SWIGINTERN PyObject
*_wrap_MouseEvent_m_altDown_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22271 PyObject
*resultobj
= 0;
22272 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
22276 PyObject
*swig_obj
[1] ;
22278 if (!args
) SWIG_fail
;
22279 swig_obj
[0] = args
;
22280 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
22281 if (!SWIG_IsOK(res1
)) {
22282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_altDown_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
22284 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
22285 result
= (bool) ((arg1
)->m_altDown
);
22287 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22295 SWIGINTERN PyObject
*_wrap_MouseEvent_m_metaDown_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22296 PyObject
*resultobj
= 0;
22297 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
22303 PyObject
*swig_obj
[2] ;
22305 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_metaDown_set",2,2,swig_obj
)) SWIG_fail
;
22306 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
22307 if (!SWIG_IsOK(res1
)) {
22308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_metaDown_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
22310 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
22311 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
22312 if (!SWIG_IsOK(ecode2
)) {
22313 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_metaDown_set" "', expected argument " "2"" of type '" "bool""'");
22315 arg2
= static_cast< bool >(val2
);
22316 if (arg1
) (arg1
)->m_metaDown
= arg2
;
22318 resultobj
= SWIG_Py_Void();
22325 SWIGINTERN PyObject
*_wrap_MouseEvent_m_metaDown_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22326 PyObject
*resultobj
= 0;
22327 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
22331 PyObject
*swig_obj
[1] ;
22333 if (!args
) SWIG_fail
;
22334 swig_obj
[0] = args
;
22335 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
22336 if (!SWIG_IsOK(res1
)) {
22337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_metaDown_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
22339 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
22340 result
= (bool) ((arg1
)->m_metaDown
);
22342 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22350 SWIGINTERN PyObject
*_wrap_MouseEvent_m_wheelRotation_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22351 PyObject
*resultobj
= 0;
22352 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
22358 PyObject
*swig_obj
[2] ;
22360 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_wheelRotation_set",2,2,swig_obj
)) SWIG_fail
;
22361 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
22362 if (!SWIG_IsOK(res1
)) {
22363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_wheelRotation_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
22365 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
22366 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
22367 if (!SWIG_IsOK(ecode2
)) {
22368 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_wheelRotation_set" "', expected argument " "2"" of type '" "int""'");
22370 arg2
= static_cast< int >(val2
);
22371 if (arg1
) (arg1
)->m_wheelRotation
= arg2
;
22373 resultobj
= SWIG_Py_Void();
22380 SWIGINTERN PyObject
*_wrap_MouseEvent_m_wheelRotation_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22381 PyObject
*resultobj
= 0;
22382 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
22386 PyObject
*swig_obj
[1] ;
22388 if (!args
) SWIG_fail
;
22389 swig_obj
[0] = args
;
22390 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
22391 if (!SWIG_IsOK(res1
)) {
22392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_wheelRotation_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
22394 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
22395 result
= (int) ((arg1
)->m_wheelRotation
);
22396 resultobj
= SWIG_From_int(static_cast< int >(result
));
22403 SWIGINTERN PyObject
*_wrap_MouseEvent_m_wheelDelta_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22404 PyObject
*resultobj
= 0;
22405 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
22411 PyObject
*swig_obj
[2] ;
22413 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_wheelDelta_set",2,2,swig_obj
)) SWIG_fail
;
22414 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
22415 if (!SWIG_IsOK(res1
)) {
22416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_wheelDelta_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
22418 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
22419 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
22420 if (!SWIG_IsOK(ecode2
)) {
22421 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_wheelDelta_set" "', expected argument " "2"" of type '" "int""'");
22423 arg2
= static_cast< int >(val2
);
22424 if (arg1
) (arg1
)->m_wheelDelta
= arg2
;
22426 resultobj
= SWIG_Py_Void();
22433 SWIGINTERN PyObject
*_wrap_MouseEvent_m_wheelDelta_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22434 PyObject
*resultobj
= 0;
22435 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
22439 PyObject
*swig_obj
[1] ;
22441 if (!args
) SWIG_fail
;
22442 swig_obj
[0] = args
;
22443 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
22444 if (!SWIG_IsOK(res1
)) {
22445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_wheelDelta_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
22447 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
22448 result
= (int) ((arg1
)->m_wheelDelta
);
22449 resultobj
= SWIG_From_int(static_cast< int >(result
));
22456 SWIGINTERN PyObject
*_wrap_MouseEvent_m_linesPerAction_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22457 PyObject
*resultobj
= 0;
22458 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
22464 PyObject
*swig_obj
[2] ;
22466 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_linesPerAction_set",2,2,swig_obj
)) SWIG_fail
;
22467 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
22468 if (!SWIG_IsOK(res1
)) {
22469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_linesPerAction_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
22471 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
22472 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
22473 if (!SWIG_IsOK(ecode2
)) {
22474 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_linesPerAction_set" "', expected argument " "2"" of type '" "int""'");
22476 arg2
= static_cast< int >(val2
);
22477 if (arg1
) (arg1
)->m_linesPerAction
= arg2
;
22479 resultobj
= SWIG_Py_Void();
22486 SWIGINTERN PyObject
*_wrap_MouseEvent_m_linesPerAction_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22487 PyObject
*resultobj
= 0;
22488 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
22492 PyObject
*swig_obj
[1] ;
22494 if (!args
) SWIG_fail
;
22495 swig_obj
[0] = args
;
22496 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
22497 if (!SWIG_IsOK(res1
)) {
22498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_linesPerAction_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
22500 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
22501 result
= (int) ((arg1
)->m_linesPerAction
);
22502 resultobj
= SWIG_From_int(static_cast< int >(result
));
22509 SWIGINTERN PyObject
*MouseEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22511 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22512 SWIG_TypeNewClientData(SWIGTYPE_p_wxMouseEvent
, SWIG_NewClientData(obj
));
22513 return SWIG_Py_Void();
22516 SWIGINTERN PyObject
*MouseEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22517 return SWIG_Python_InitShadowInstance(args
);
22520 SWIGINTERN PyObject
*_wrap_new_SetCursorEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22521 PyObject
*resultobj
= 0;
22522 int arg1
= (int) 0 ;
22523 int arg2
= (int) 0 ;
22524 wxSetCursorEvent
*result
= 0 ;
22529 PyObject
* obj0
= 0 ;
22530 PyObject
* obj1
= 0 ;
22531 char * kwnames
[] = {
22532 (char *) "x",(char *) "y", NULL
22535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SetCursorEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22537 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22538 if (!SWIG_IsOK(ecode1
)) {
22539 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SetCursorEvent" "', expected argument " "1"" of type '" "int""'");
22541 arg1
= static_cast< int >(val1
);
22544 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22545 if (!SWIG_IsOK(ecode2
)) {
22546 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SetCursorEvent" "', expected argument " "2"" of type '" "int""'");
22548 arg2
= static_cast< int >(val2
);
22551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22552 result
= (wxSetCursorEvent
*)new wxSetCursorEvent(arg1
,arg2
);
22553 wxPyEndAllowThreads(__tstate
);
22554 if (PyErr_Occurred()) SWIG_fail
;
22556 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_NEW
| 0 );
22563 SWIGINTERN PyObject
*_wrap_SetCursorEvent_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22564 PyObject
*resultobj
= 0;
22565 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
22569 PyObject
*swig_obj
[1] ;
22571 if (!args
) SWIG_fail
;
22572 swig_obj
[0] = args
;
22573 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSetCursorEvent
, 0 | 0 );
22574 if (!SWIG_IsOK(res1
)) {
22575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SetCursorEvent_GetX" "', expected argument " "1"" of type '" "wxSetCursorEvent const *""'");
22577 arg1
= reinterpret_cast< wxSetCursorEvent
* >(argp1
);
22579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22580 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetX();
22581 wxPyEndAllowThreads(__tstate
);
22582 if (PyErr_Occurred()) SWIG_fail
;
22584 resultobj
= SWIG_From_int(static_cast< int >(result
));
22591 SWIGINTERN PyObject
*_wrap_SetCursorEvent_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22592 PyObject
*resultobj
= 0;
22593 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
22597 PyObject
*swig_obj
[1] ;
22599 if (!args
) SWIG_fail
;
22600 swig_obj
[0] = args
;
22601 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSetCursorEvent
, 0 | 0 );
22602 if (!SWIG_IsOK(res1
)) {
22603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SetCursorEvent_GetY" "', expected argument " "1"" of type '" "wxSetCursorEvent const *""'");
22605 arg1
= reinterpret_cast< wxSetCursorEvent
* >(argp1
);
22607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22608 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetY();
22609 wxPyEndAllowThreads(__tstate
);
22610 if (PyErr_Occurred()) SWIG_fail
;
22612 resultobj
= SWIG_From_int(static_cast< int >(result
));
22619 SWIGINTERN PyObject
*_wrap_SetCursorEvent_SetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22620 PyObject
*resultobj
= 0;
22621 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
22622 wxCursor
*arg2
= 0 ;
22627 PyObject
* obj0
= 0 ;
22628 PyObject
* obj1
= 0 ;
22629 char * kwnames
[] = {
22630 (char *) "self",(char *) "cursor", NULL
22633 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22634 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSetCursorEvent
, 0 | 0 );
22635 if (!SWIG_IsOK(res1
)) {
22636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SetCursorEvent_SetCursor" "', expected argument " "1"" of type '" "wxSetCursorEvent *""'");
22638 arg1
= reinterpret_cast< wxSetCursorEvent
* >(argp1
);
22639 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
22640 if (!SWIG_IsOK(res2
)) {
22641 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SetCursorEvent_SetCursor" "', expected argument " "2"" of type '" "wxCursor const &""'");
22644 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SetCursorEvent_SetCursor" "', expected argument " "2"" of type '" "wxCursor const &""'");
22646 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
22648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22649 (arg1
)->SetCursor((wxCursor
const &)*arg2
);
22650 wxPyEndAllowThreads(__tstate
);
22651 if (PyErr_Occurred()) SWIG_fail
;
22653 resultobj
= SWIG_Py_Void();
22660 SWIGINTERN PyObject
*_wrap_SetCursorEvent_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22661 PyObject
*resultobj
= 0;
22662 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
22663 wxCursor
*result
= 0 ;
22666 PyObject
*swig_obj
[1] ;
22668 if (!args
) SWIG_fail
;
22669 swig_obj
[0] = args
;
22670 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSetCursorEvent
, 0 | 0 );
22671 if (!SWIG_IsOK(res1
)) {
22672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SetCursorEvent_GetCursor" "', expected argument " "1"" of type '" "wxSetCursorEvent const *""'");
22674 arg1
= reinterpret_cast< wxSetCursorEvent
* >(argp1
);
22676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22678 wxCursor
const &_result_ref
= ((wxSetCursorEvent
const *)arg1
)->GetCursor();
22679 result
= (wxCursor
*) &_result_ref
;
22681 wxPyEndAllowThreads(__tstate
);
22682 if (PyErr_Occurred()) SWIG_fail
;
22685 wxCursor
* resultptr
= new wxCursor(*result
);
22686 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
22694 SWIGINTERN PyObject
*_wrap_SetCursorEvent_HasCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22695 PyObject
*resultobj
= 0;
22696 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
22700 PyObject
*swig_obj
[1] ;
22702 if (!args
) SWIG_fail
;
22703 swig_obj
[0] = args
;
22704 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSetCursorEvent
, 0 | 0 );
22705 if (!SWIG_IsOK(res1
)) {
22706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SetCursorEvent_HasCursor" "', expected argument " "1"" of type '" "wxSetCursorEvent const *""'");
22708 arg1
= reinterpret_cast< wxSetCursorEvent
* >(argp1
);
22710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22711 result
= (bool)((wxSetCursorEvent
const *)arg1
)->HasCursor();
22712 wxPyEndAllowThreads(__tstate
);
22713 if (PyErr_Occurred()) SWIG_fail
;
22716 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22724 SWIGINTERN PyObject
*SetCursorEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22726 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22727 SWIG_TypeNewClientData(SWIGTYPE_p_wxSetCursorEvent
, SWIG_NewClientData(obj
));
22728 return SWIG_Py_Void();
22731 SWIGINTERN PyObject
*SetCursorEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22732 return SWIG_Python_InitShadowInstance(args
);
22735 SWIGINTERN PyObject
*_wrap_new_KeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22736 PyObject
*resultobj
= 0;
22737 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22738 wxKeyEvent
*result
= 0 ;
22741 PyObject
* obj0
= 0 ;
22742 char * kwnames
[] = {
22743 (char *) "eventType", NULL
22746 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_KeyEvent",kwnames
,&obj0
)) SWIG_fail
;
22748 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22749 if (!SWIG_IsOK(ecode1
)) {
22750 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_KeyEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22752 arg1
= static_cast< wxEventType
>(val1
);
22755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22756 result
= (wxKeyEvent
*)new wxKeyEvent(arg1
);
22757 wxPyEndAllowThreads(__tstate
);
22758 if (PyErr_Occurred()) SWIG_fail
;
22760 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_NEW
| 0 );
22767 SWIGINTERN PyObject
*_wrap_KeyEvent_GetModifiers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22768 PyObject
*resultobj
= 0;
22769 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22773 PyObject
*swig_obj
[1] ;
22775 if (!args
) SWIG_fail
;
22776 swig_obj
[0] = args
;
22777 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22778 if (!SWIG_IsOK(res1
)) {
22779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_GetModifiers" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
22781 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22784 result
= (int)((wxKeyEvent
const *)arg1
)->GetModifiers();
22785 wxPyEndAllowThreads(__tstate
);
22786 if (PyErr_Occurred()) SWIG_fail
;
22788 resultobj
= SWIG_From_int(static_cast< int >(result
));
22795 SWIGINTERN PyObject
*_wrap_KeyEvent_ControlDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22796 PyObject
*resultobj
= 0;
22797 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22801 PyObject
*swig_obj
[1] ;
22803 if (!args
) SWIG_fail
;
22804 swig_obj
[0] = args
;
22805 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22806 if (!SWIG_IsOK(res1
)) {
22807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_ControlDown" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
22809 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22812 result
= (bool)((wxKeyEvent
const *)arg1
)->ControlDown();
22813 wxPyEndAllowThreads(__tstate
);
22814 if (PyErr_Occurred()) SWIG_fail
;
22817 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22825 SWIGINTERN PyObject
*_wrap_KeyEvent_MetaDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22826 PyObject
*resultobj
= 0;
22827 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22831 PyObject
*swig_obj
[1] ;
22833 if (!args
) SWIG_fail
;
22834 swig_obj
[0] = args
;
22835 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22836 if (!SWIG_IsOK(res1
)) {
22837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_MetaDown" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
22839 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22842 result
= (bool)((wxKeyEvent
const *)arg1
)->MetaDown();
22843 wxPyEndAllowThreads(__tstate
);
22844 if (PyErr_Occurred()) SWIG_fail
;
22847 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22855 SWIGINTERN PyObject
*_wrap_KeyEvent_AltDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22856 PyObject
*resultobj
= 0;
22857 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22861 PyObject
*swig_obj
[1] ;
22863 if (!args
) SWIG_fail
;
22864 swig_obj
[0] = args
;
22865 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22866 if (!SWIG_IsOK(res1
)) {
22867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_AltDown" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
22869 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22872 result
= (bool)((wxKeyEvent
const *)arg1
)->AltDown();
22873 wxPyEndAllowThreads(__tstate
);
22874 if (PyErr_Occurred()) SWIG_fail
;
22877 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22885 SWIGINTERN PyObject
*_wrap_KeyEvent_ShiftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22886 PyObject
*resultobj
= 0;
22887 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22891 PyObject
*swig_obj
[1] ;
22893 if (!args
) SWIG_fail
;
22894 swig_obj
[0] = args
;
22895 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22896 if (!SWIG_IsOK(res1
)) {
22897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_ShiftDown" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
22899 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22902 result
= (bool)((wxKeyEvent
const *)arg1
)->ShiftDown();
22903 wxPyEndAllowThreads(__tstate
);
22904 if (PyErr_Occurred()) SWIG_fail
;
22907 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22915 SWIGINTERN PyObject
*_wrap_KeyEvent_CmdDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22916 PyObject
*resultobj
= 0;
22917 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22921 PyObject
*swig_obj
[1] ;
22923 if (!args
) SWIG_fail
;
22924 swig_obj
[0] = args
;
22925 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22926 if (!SWIG_IsOK(res1
)) {
22927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_CmdDown" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
22929 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22932 result
= (bool)((wxKeyEvent
const *)arg1
)->CmdDown();
22933 wxPyEndAllowThreads(__tstate
);
22934 if (PyErr_Occurred()) SWIG_fail
;
22937 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22945 SWIGINTERN PyObject
*_wrap_KeyEvent_HasModifiers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22946 PyObject
*resultobj
= 0;
22947 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22951 PyObject
*swig_obj
[1] ;
22953 if (!args
) SWIG_fail
;
22954 swig_obj
[0] = args
;
22955 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22956 if (!SWIG_IsOK(res1
)) {
22957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_HasModifiers" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
22959 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22962 result
= (bool)((wxKeyEvent
const *)arg1
)->HasModifiers();
22963 wxPyEndAllowThreads(__tstate
);
22964 if (PyErr_Occurred()) SWIG_fail
;
22967 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22975 SWIGINTERN PyObject
*_wrap_KeyEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22976 PyObject
*resultobj
= 0;
22977 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22981 PyObject
*swig_obj
[1] ;
22983 if (!args
) SWIG_fail
;
22984 swig_obj
[0] = args
;
22985 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22986 if (!SWIG_IsOK(res1
)) {
22987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
22989 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22992 result
= (int)((wxKeyEvent
const *)arg1
)->GetKeyCode();
22993 wxPyEndAllowThreads(__tstate
);
22994 if (PyErr_Occurred()) SWIG_fail
;
22996 resultobj
= SWIG_From_int(static_cast< int >(result
));
23003 SWIGINTERN PyObject
*_wrap_KeyEvent_GetUnicodeKey(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23004 PyObject
*resultobj
= 0;
23005 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
23009 PyObject
*swig_obj
[1] ;
23011 if (!args
) SWIG_fail
;
23012 swig_obj
[0] = args
;
23013 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
23014 if (!SWIG_IsOK(res1
)) {
23015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_GetUnicodeKey" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
23017 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
23019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23020 result
= (int)wxKeyEvent_GetUnicodeKey(arg1
);
23021 wxPyEndAllowThreads(__tstate
);
23022 if (PyErr_Occurred()) SWIG_fail
;
23024 resultobj
= SWIG_From_int(static_cast< int >(result
));
23031 SWIGINTERN PyObject
*_wrap_KeyEvent_SetUnicodeKey(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23032 PyObject
*resultobj
= 0;
23033 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
23039 PyObject
* obj0
= 0 ;
23040 PyObject
* obj1
= 0 ;
23041 char * kwnames
[] = {
23042 (char *) "self",(char *) "uniChar", NULL
23045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_SetUnicodeKey",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23046 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
23047 if (!SWIG_IsOK(res1
)) {
23048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_SetUnicodeKey" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
23050 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
23051 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23052 if (!SWIG_IsOK(ecode2
)) {
23053 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "KeyEvent_SetUnicodeKey" "', expected argument " "2"" of type '" "int""'");
23055 arg2
= static_cast< int >(val2
);
23057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23058 wxKeyEvent_SetUnicodeKey(arg1
,arg2
);
23059 wxPyEndAllowThreads(__tstate
);
23060 if (PyErr_Occurred()) SWIG_fail
;
23062 resultobj
= SWIG_Py_Void();
23069 SWIGINTERN PyObject
*_wrap_KeyEvent_GetRawKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23070 PyObject
*resultobj
= 0;
23071 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
23072 unsigned int result
;
23075 PyObject
*swig_obj
[1] ;
23077 if (!args
) SWIG_fail
;
23078 swig_obj
[0] = args
;
23079 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
23080 if (!SWIG_IsOK(res1
)) {
23081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_GetRawKeyCode" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
23083 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
23085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23086 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyCode();
23087 wxPyEndAllowThreads(__tstate
);
23088 if (PyErr_Occurred()) SWIG_fail
;
23090 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
23097 SWIGINTERN PyObject
*_wrap_KeyEvent_GetRawKeyFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23098 PyObject
*resultobj
= 0;
23099 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
23100 unsigned int result
;
23103 PyObject
*swig_obj
[1] ;
23105 if (!args
) SWIG_fail
;
23106 swig_obj
[0] = args
;
23107 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
23108 if (!SWIG_IsOK(res1
)) {
23109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_GetRawKeyFlags" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
23111 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
23113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23114 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyFlags();
23115 wxPyEndAllowThreads(__tstate
);
23116 if (PyErr_Occurred()) SWIG_fail
;
23118 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
23125 SWIGINTERN PyObject
*_wrap_KeyEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23126 PyObject
*resultobj
= 0;
23127 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
23131 PyObject
*swig_obj
[1] ;
23133 if (!args
) SWIG_fail
;
23134 swig_obj
[0] = args
;
23135 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
23136 if (!SWIG_IsOK(res1
)) {
23137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_GetPosition" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
23139 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
23141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23142 result
= (arg1
)->GetPosition();
23143 wxPyEndAllowThreads(__tstate
);
23144 if (PyErr_Occurred()) SWIG_fail
;
23146 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
23153 SWIGINTERN PyObject
*_wrap_KeyEvent_GetPositionTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23154 PyObject
*resultobj
= 0;
23155 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
23156 long *arg2
= (long *) 0 ;
23157 long *arg3
= (long *) 0 ;
23161 int res2
= SWIG_TMPOBJ
;
23163 int res3
= SWIG_TMPOBJ
;
23164 PyObject
*swig_obj
[1] ;
23168 if (!args
) SWIG_fail
;
23169 swig_obj
[0] = args
;
23170 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
23171 if (!SWIG_IsOK(res1
)) {
23172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_GetPositionTuple" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
23174 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
23176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23177 (arg1
)->GetPosition(arg2
,arg3
);
23178 wxPyEndAllowThreads(__tstate
);
23179 if (PyErr_Occurred()) SWIG_fail
;
23181 resultobj
= SWIG_Py_Void();
23182 if (SWIG_IsTmpObj(res2
)) {
23183 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
23185 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23186 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
23188 if (SWIG_IsTmpObj(res3
)) {
23189 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
23191 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23192 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
23200 SWIGINTERN PyObject
*_wrap_KeyEvent_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23201 PyObject
*resultobj
= 0;
23202 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
23206 PyObject
*swig_obj
[1] ;
23208 if (!args
) SWIG_fail
;
23209 swig_obj
[0] = args
;
23210 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
23211 if (!SWIG_IsOK(res1
)) {
23212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_GetX" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
23214 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
23216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23217 result
= (int)((wxKeyEvent
const *)arg1
)->GetX();
23218 wxPyEndAllowThreads(__tstate
);
23219 if (PyErr_Occurred()) SWIG_fail
;
23221 resultobj
= SWIG_From_int(static_cast< int >(result
));
23228 SWIGINTERN PyObject
*_wrap_KeyEvent_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23229 PyObject
*resultobj
= 0;
23230 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
23234 PyObject
*swig_obj
[1] ;
23236 if (!args
) SWIG_fail
;
23237 swig_obj
[0] = args
;
23238 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
23239 if (!SWIG_IsOK(res1
)) {
23240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_GetY" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
23242 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
23244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23245 result
= (int)((wxKeyEvent
const *)arg1
)->GetY();
23246 wxPyEndAllowThreads(__tstate
);
23247 if (PyErr_Occurred()) SWIG_fail
;
23249 resultobj
= SWIG_From_int(static_cast< int >(result
));
23256 SWIGINTERN PyObject
*_wrap_KeyEvent_m_x_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23257 PyObject
*resultobj
= 0;
23258 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
23264 PyObject
*swig_obj
[2] ;
23266 if (!SWIG_Python_UnpackTuple(args
,"KeyEvent_m_x_set",2,2,swig_obj
)) SWIG_fail
;
23267 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
23268 if (!SWIG_IsOK(res1
)) {
23269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_x_set" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
23271 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
23272 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
23273 if (!SWIG_IsOK(ecode2
)) {
23274 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "KeyEvent_m_x_set" "', expected argument " "2"" of type '" "int""'");
23276 arg2
= static_cast< int >(val2
);
23277 if (arg1
) (arg1
)->m_x
= arg2
;
23279 resultobj
= SWIG_Py_Void();
23286 SWIGINTERN PyObject
*_wrap_KeyEvent_m_x_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23287 PyObject
*resultobj
= 0;
23288 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
23292 PyObject
*swig_obj
[1] ;
23294 if (!args
) SWIG_fail
;
23295 swig_obj
[0] = args
;
23296 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
23297 if (!SWIG_IsOK(res1
)) {
23298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_x_get" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
23300 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
23301 result
= (int) ((arg1
)->m_x
);
23302 resultobj
= SWIG_From_int(static_cast< int >(result
));
23309 SWIGINTERN PyObject
*_wrap_KeyEvent_m_y_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23310 PyObject
*resultobj
= 0;
23311 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
23317 PyObject
*swig_obj
[2] ;
23319 if (!SWIG_Python_UnpackTuple(args
,"KeyEvent_m_y_set",2,2,swig_obj
)) SWIG_fail
;
23320 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
23321 if (!SWIG_IsOK(res1
)) {
23322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_y_set" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
23324 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
23325 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
23326 if (!SWIG_IsOK(ecode2
)) {
23327 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "KeyEvent_m_y_set" "', expected argument " "2"" of type '" "int""'");
23329 arg2
= static_cast< int >(val2
);
23330 if (arg1
) (arg1
)->m_y
= arg2
;
23332 resultobj
= SWIG_Py_Void();
23339 SWIGINTERN PyObject
*_wrap_KeyEvent_m_y_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23340 PyObject
*resultobj
= 0;
23341 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
23345 PyObject
*swig_obj
[1] ;
23347 if (!args
) SWIG_fail
;
23348 swig_obj
[0] = args
;
23349 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
23350 if (!SWIG_IsOK(res1
)) {
23351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_y_get" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
23353 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
23354 result
= (int) ((arg1
)->m_y
);
23355 resultobj
= SWIG_From_int(static_cast< int >(result
));
23362 SWIGINTERN PyObject
*_wrap_KeyEvent_m_keyCode_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23363 PyObject
*resultobj
= 0;
23364 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
23370 PyObject
*swig_obj
[2] ;
23372 if (!SWIG_Python_UnpackTuple(args
,"KeyEvent_m_keyCode_set",2,2,swig_obj
)) SWIG_fail
;
23373 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
23374 if (!SWIG_IsOK(res1
)) {
23375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_keyCode_set" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
23377 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
23378 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
23379 if (!SWIG_IsOK(ecode2
)) {
23380 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "KeyEvent_m_keyCode_set" "', expected argument " "2"" of type '" "long""'");
23382 arg2
= static_cast< long >(val2
);
23383 if (arg1
) (arg1
)->m_keyCode
= arg2
;
23385 resultobj
= SWIG_Py_Void();
23392 SWIGINTERN PyObject
*_wrap_KeyEvent_m_keyCode_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23393 PyObject
*resultobj
= 0;
23394 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
23398 PyObject
*swig_obj
[1] ;
23400 if (!args
) SWIG_fail
;
23401 swig_obj
[0] = args
;
23402 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
23403 if (!SWIG_IsOK(res1
)) {
23404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_keyCode_get" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
23406 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
23407 result
= (long) ((arg1
)->m_keyCode
);
23408 resultobj
= SWIG_From_long(static_cast< long >(result
));
23415 SWIGINTERN PyObject
*_wrap_KeyEvent_m_controlDown_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23416 PyObject
*resultobj
= 0;
23417 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
23423 PyObject
*swig_obj
[2] ;
23425 if (!SWIG_Python_UnpackTuple(args
,"KeyEvent_m_controlDown_set",2,2,swig_obj
)) SWIG_fail
;
23426 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
23427 if (!SWIG_IsOK(res1
)) {
23428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_controlDown_set" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
23430 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
23431 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
23432 if (!SWIG_IsOK(ecode2
)) {
23433 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "KeyEvent_m_controlDown_set" "', expected argument " "2"" of type '" "bool""'");
23435 arg2
= static_cast< bool >(val2
);
23436 if (arg1
) (arg1
)->m_controlDown
= arg2
;
23438 resultobj
= SWIG_Py_Void();
23445 SWIGINTERN PyObject
*_wrap_KeyEvent_m_controlDown_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23446 PyObject
*resultobj
= 0;
23447 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
23451 PyObject
*swig_obj
[1] ;
23453 if (!args
) SWIG_fail
;
23454 swig_obj
[0] = args
;
23455 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
23456 if (!SWIG_IsOK(res1
)) {
23457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_controlDown_get" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
23459 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
23460 result
= (bool) ((arg1
)->m_controlDown
);
23462 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23470 SWIGINTERN PyObject
*_wrap_KeyEvent_m_shiftDown_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23471 PyObject
*resultobj
= 0;
23472 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
23478 PyObject
*swig_obj
[2] ;
23480 if (!SWIG_Python_UnpackTuple(args
,"KeyEvent_m_shiftDown_set",2,2,swig_obj
)) SWIG_fail
;
23481 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
23482 if (!SWIG_IsOK(res1
)) {
23483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_shiftDown_set" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
23485 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
23486 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
23487 if (!SWIG_IsOK(ecode2
)) {
23488 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "KeyEvent_m_shiftDown_set" "', expected argument " "2"" of type '" "bool""'");
23490 arg2
= static_cast< bool >(val2
);
23491 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
23493 resultobj
= SWIG_Py_Void();
23500 SWIGINTERN PyObject
*_wrap_KeyEvent_m_shiftDown_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23501 PyObject
*resultobj
= 0;
23502 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
23506 PyObject
*swig_obj
[1] ;
23508 if (!args
) SWIG_fail
;
23509 swig_obj
[0] = args
;
23510 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
23511 if (!SWIG_IsOK(res1
)) {
23512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_shiftDown_get" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
23514 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
23515 result
= (bool) ((arg1
)->m_shiftDown
);
23517 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23525 SWIGINTERN PyObject
*_wrap_KeyEvent_m_altDown_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23526 PyObject
*resultobj
= 0;
23527 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
23533 PyObject
*swig_obj
[2] ;
23535 if (!SWIG_Python_UnpackTuple(args
,"KeyEvent_m_altDown_set",2,2,swig_obj
)) SWIG_fail
;
23536 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
23537 if (!SWIG_IsOK(res1
)) {
23538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_altDown_set" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
23540 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
23541 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
23542 if (!SWIG_IsOK(ecode2
)) {
23543 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "KeyEvent_m_altDown_set" "', expected argument " "2"" of type '" "bool""'");
23545 arg2
= static_cast< bool >(val2
);
23546 if (arg1
) (arg1
)->m_altDown
= arg2
;
23548 resultobj
= SWIG_Py_Void();
23555 SWIGINTERN PyObject
*_wrap_KeyEvent_m_altDown_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23556 PyObject
*resultobj
= 0;
23557 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
23561 PyObject
*swig_obj
[1] ;
23563 if (!args
) SWIG_fail
;
23564 swig_obj
[0] = args
;
23565 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
23566 if (!SWIG_IsOK(res1
)) {
23567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_altDown_get" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
23569 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
23570 result
= (bool) ((arg1
)->m_altDown
);
23572 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23580 SWIGINTERN PyObject
*_wrap_KeyEvent_m_metaDown_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23581 PyObject
*resultobj
= 0;
23582 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
23588 PyObject
*swig_obj
[2] ;
23590 if (!SWIG_Python_UnpackTuple(args
,"KeyEvent_m_metaDown_set",2,2,swig_obj
)) SWIG_fail
;
23591 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
23592 if (!SWIG_IsOK(res1
)) {
23593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_metaDown_set" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
23595 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
23596 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
23597 if (!SWIG_IsOK(ecode2
)) {
23598 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "KeyEvent_m_metaDown_set" "', expected argument " "2"" of type '" "bool""'");
23600 arg2
= static_cast< bool >(val2
);
23601 if (arg1
) (arg1
)->m_metaDown
= arg2
;
23603 resultobj
= SWIG_Py_Void();
23610 SWIGINTERN PyObject
*_wrap_KeyEvent_m_metaDown_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23611 PyObject
*resultobj
= 0;
23612 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
23616 PyObject
*swig_obj
[1] ;
23618 if (!args
) SWIG_fail
;
23619 swig_obj
[0] = args
;
23620 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
23621 if (!SWIG_IsOK(res1
)) {
23622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_metaDown_get" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
23624 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
23625 result
= (bool) ((arg1
)->m_metaDown
);
23627 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23635 SWIGINTERN PyObject
*_wrap_KeyEvent_m_scanCode_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23636 PyObject
*resultobj
= 0;
23637 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
23643 PyObject
*swig_obj
[2] ;
23645 if (!SWIG_Python_UnpackTuple(args
,"KeyEvent_m_scanCode_set",2,2,swig_obj
)) SWIG_fail
;
23646 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
23647 if (!SWIG_IsOK(res1
)) {
23648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_scanCode_set" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
23650 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
23651 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
23652 if (!SWIG_IsOK(ecode2
)) {
23653 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "KeyEvent_m_scanCode_set" "', expected argument " "2"" of type '" "bool""'");
23655 arg2
= static_cast< bool >(val2
);
23656 if (arg1
) (arg1
)->m_scanCode
= arg2
;
23658 resultobj
= SWIG_Py_Void();
23665 SWIGINTERN PyObject
*_wrap_KeyEvent_m_scanCode_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23666 PyObject
*resultobj
= 0;
23667 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
23671 PyObject
*swig_obj
[1] ;
23673 if (!args
) SWIG_fail
;
23674 swig_obj
[0] = args
;
23675 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
23676 if (!SWIG_IsOK(res1
)) {
23677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_scanCode_get" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
23679 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
23680 result
= (bool) ((arg1
)->m_scanCode
);
23682 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23690 SWIGINTERN PyObject
*_wrap_KeyEvent_m_rawCode_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23691 PyObject
*resultobj
= 0;
23692 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
23693 unsigned int arg2
;
23696 unsigned int val2
;
23698 PyObject
*swig_obj
[2] ;
23700 if (!SWIG_Python_UnpackTuple(args
,"KeyEvent_m_rawCode_set",2,2,swig_obj
)) SWIG_fail
;
23701 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
23702 if (!SWIG_IsOK(res1
)) {
23703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_rawCode_set" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
23705 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
23706 ecode2
= SWIG_AsVal_unsigned_SS_int(swig_obj
[1], &val2
);
23707 if (!SWIG_IsOK(ecode2
)) {
23708 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "KeyEvent_m_rawCode_set" "', expected argument " "2"" of type '" "unsigned int""'");
23710 arg2
= static_cast< unsigned int >(val2
);
23711 if (arg1
) (arg1
)->m_rawCode
= arg2
;
23713 resultobj
= SWIG_Py_Void();
23720 SWIGINTERN PyObject
*_wrap_KeyEvent_m_rawCode_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23721 PyObject
*resultobj
= 0;
23722 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
23723 unsigned int result
;
23726 PyObject
*swig_obj
[1] ;
23728 if (!args
) SWIG_fail
;
23729 swig_obj
[0] = args
;
23730 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
23731 if (!SWIG_IsOK(res1
)) {
23732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_rawCode_get" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
23734 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
23735 result
= (unsigned int) ((arg1
)->m_rawCode
);
23736 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
23743 SWIGINTERN PyObject
*_wrap_KeyEvent_m_rawFlags_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23744 PyObject
*resultobj
= 0;
23745 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
23746 unsigned int arg2
;
23749 unsigned int val2
;
23751 PyObject
*swig_obj
[2] ;
23753 if (!SWIG_Python_UnpackTuple(args
,"KeyEvent_m_rawFlags_set",2,2,swig_obj
)) SWIG_fail
;
23754 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
23755 if (!SWIG_IsOK(res1
)) {
23756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_rawFlags_set" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
23758 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
23759 ecode2
= SWIG_AsVal_unsigned_SS_int(swig_obj
[1], &val2
);
23760 if (!SWIG_IsOK(ecode2
)) {
23761 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "KeyEvent_m_rawFlags_set" "', expected argument " "2"" of type '" "unsigned int""'");
23763 arg2
= static_cast< unsigned int >(val2
);
23764 if (arg1
) (arg1
)->m_rawFlags
= arg2
;
23766 resultobj
= SWIG_Py_Void();
23773 SWIGINTERN PyObject
*_wrap_KeyEvent_m_rawFlags_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23774 PyObject
*resultobj
= 0;
23775 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
23776 unsigned int result
;
23779 PyObject
*swig_obj
[1] ;
23781 if (!args
) SWIG_fail
;
23782 swig_obj
[0] = args
;
23783 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
23784 if (!SWIG_IsOK(res1
)) {
23785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_rawFlags_get" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
23787 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
23788 result
= (unsigned int) ((arg1
)->m_rawFlags
);
23789 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
23796 SWIGINTERN PyObject
*KeyEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23798 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23799 SWIG_TypeNewClientData(SWIGTYPE_p_wxKeyEvent
, SWIG_NewClientData(obj
));
23800 return SWIG_Py_Void();
23803 SWIGINTERN PyObject
*KeyEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23804 return SWIG_Python_InitShadowInstance(args
);
23807 SWIGINTERN PyObject
*_wrap_new_SizeEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23808 PyObject
*resultobj
= 0;
23809 wxSize
const &arg1_defvalue
= wxDefaultSize
;
23810 wxSize
*arg1
= (wxSize
*) &arg1_defvalue
;
23811 int arg2
= (int) 0 ;
23812 wxSizeEvent
*result
= 0 ;
23816 PyObject
* obj0
= 0 ;
23817 PyObject
* obj1
= 0 ;
23818 char * kwnames
[] = {
23819 (char *) "sz",(char *) "winid", NULL
23822 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SizeEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23826 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
23830 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23831 if (!SWIG_IsOK(ecode2
)) {
23832 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SizeEvent" "', expected argument " "2"" of type '" "int""'");
23834 arg2
= static_cast< int >(val2
);
23837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23838 result
= (wxSizeEvent
*)new wxSizeEvent((wxSize
const &)*arg1
,arg2
);
23839 wxPyEndAllowThreads(__tstate
);
23840 if (PyErr_Occurred()) SWIG_fail
;
23842 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_NEW
| 0 );
23849 SWIGINTERN PyObject
*_wrap_SizeEvent_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23850 PyObject
*resultobj
= 0;
23851 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
23855 PyObject
*swig_obj
[1] ;
23857 if (!args
) SWIG_fail
;
23858 swig_obj
[0] = args
;
23859 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizeEvent
, 0 | 0 );
23860 if (!SWIG_IsOK(res1
)) {
23861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizeEvent_GetSize" "', expected argument " "1"" of type '" "wxSizeEvent const *""'");
23863 arg1
= reinterpret_cast< wxSizeEvent
* >(argp1
);
23865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23866 result
= ((wxSizeEvent
const *)arg1
)->GetSize();
23867 wxPyEndAllowThreads(__tstate
);
23868 if (PyErr_Occurred()) SWIG_fail
;
23870 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
23877 SWIGINTERN PyObject
*_wrap_SizeEvent_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23878 PyObject
*resultobj
= 0;
23879 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
23883 PyObject
*swig_obj
[1] ;
23885 if (!args
) SWIG_fail
;
23886 swig_obj
[0] = args
;
23887 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizeEvent
, 0 | 0 );
23888 if (!SWIG_IsOK(res1
)) {
23889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizeEvent_GetRect" "', expected argument " "1"" of type '" "wxSizeEvent const *""'");
23891 arg1
= reinterpret_cast< wxSizeEvent
* >(argp1
);
23893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23894 result
= ((wxSizeEvent
const *)arg1
)->GetRect();
23895 wxPyEndAllowThreads(__tstate
);
23896 if (PyErr_Occurred()) SWIG_fail
;
23898 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
23905 SWIGINTERN PyObject
*_wrap_SizeEvent_SetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23906 PyObject
*resultobj
= 0;
23907 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
23913 PyObject
* obj0
= 0 ;
23914 PyObject
* obj1
= 0 ;
23915 char * kwnames
[] = {
23916 (char *) "self",(char *) "rect", NULL
23919 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23920 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizeEvent
, 0 | 0 );
23921 if (!SWIG_IsOK(res1
)) {
23922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizeEvent_SetRect" "', expected argument " "1"" of type '" "wxSizeEvent *""'");
23924 arg1
= reinterpret_cast< wxSizeEvent
* >(argp1
);
23926 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRect
, 0 | 0);
23927 if (!SWIG_IsOK(res2
)) {
23928 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SizeEvent_SetRect" "', expected argument " "2"" of type '" "wxRect""'");
23931 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SizeEvent_SetRect" "', expected argument " "2"" of type '" "wxRect""'");
23933 wxRect
* temp
= reinterpret_cast< wxRect
* >(argp2
);
23935 if (SWIG_IsNewObj(res2
)) delete temp
;
23939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23940 (arg1
)->SetRect(arg2
);
23941 wxPyEndAllowThreads(__tstate
);
23942 if (PyErr_Occurred()) SWIG_fail
;
23944 resultobj
= SWIG_Py_Void();
23951 SWIGINTERN PyObject
*_wrap_SizeEvent_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23952 PyObject
*resultobj
= 0;
23953 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
23959 PyObject
* obj0
= 0 ;
23960 PyObject
* obj1
= 0 ;
23961 char * kwnames
[] = {
23962 (char *) "self",(char *) "size", NULL
23965 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23966 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizeEvent
, 0 | 0 );
23967 if (!SWIG_IsOK(res1
)) {
23968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizeEvent_SetSize" "', expected argument " "1"" of type '" "wxSizeEvent *""'");
23970 arg1
= reinterpret_cast< wxSizeEvent
* >(argp1
);
23972 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxSize
, 0 | 0);
23973 if (!SWIG_IsOK(res2
)) {
23974 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SizeEvent_SetSize" "', expected argument " "2"" of type '" "wxSize""'");
23977 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SizeEvent_SetSize" "', expected argument " "2"" of type '" "wxSize""'");
23979 wxSize
* temp
= reinterpret_cast< wxSize
* >(argp2
);
23981 if (SWIG_IsNewObj(res2
)) delete temp
;
23985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23986 wxSizeEvent_SetSize(arg1
,arg2
);
23987 wxPyEndAllowThreads(__tstate
);
23988 if (PyErr_Occurred()) SWIG_fail
;
23990 resultobj
= SWIG_Py_Void();
23997 SWIGINTERN PyObject
*_wrap_SizeEvent_m_size_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23998 PyObject
*resultobj
= 0;
23999 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
24000 wxSize
*arg2
= (wxSize
*) 0 ;
24005 PyObject
*swig_obj
[2] ;
24007 if (!SWIG_Python_UnpackTuple(args
,"SizeEvent_m_size_set",2,2,swig_obj
)) SWIG_fail
;
24008 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizeEvent
, 0 | 0 );
24009 if (!SWIG_IsOK(res1
)) {
24010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizeEvent_m_size_set" "', expected argument " "1"" of type '" "wxSizeEvent *""'");
24012 arg1
= reinterpret_cast< wxSizeEvent
* >(argp1
);
24013 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxSize
, 0 | 0 );
24014 if (!SWIG_IsOK(res2
)) {
24015 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SizeEvent_m_size_set" "', expected argument " "2"" of type '" "wxSize *""'");
24017 arg2
= reinterpret_cast< wxSize
* >(argp2
);
24018 if (arg1
) (arg1
)->m_size
= *arg2
;
24020 resultobj
= SWIG_Py_Void();
24027 SWIGINTERN PyObject
*_wrap_SizeEvent_m_size_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24028 PyObject
*resultobj
= 0;
24029 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
24030 wxSize
*result
= 0 ;
24033 PyObject
*swig_obj
[1] ;
24035 if (!args
) SWIG_fail
;
24036 swig_obj
[0] = args
;
24037 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizeEvent
, 0 | 0 );
24038 if (!SWIG_IsOK(res1
)) {
24039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizeEvent_m_size_get" "', expected argument " "1"" of type '" "wxSizeEvent *""'");
24041 arg1
= reinterpret_cast< wxSizeEvent
* >(argp1
);
24042 result
= (wxSize
*)& ((arg1
)->m_size
);
24043 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSize
, 0 | 0 );
24050 SWIGINTERN PyObject
*_wrap_SizeEvent_m_rect_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24051 PyObject
*resultobj
= 0;
24052 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
24053 wxRect
*arg2
= (wxRect
*) 0 ;
24058 PyObject
*swig_obj
[2] ;
24060 if (!SWIG_Python_UnpackTuple(args
,"SizeEvent_m_rect_set",2,2,swig_obj
)) SWIG_fail
;
24061 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizeEvent
, 0 | 0 );
24062 if (!SWIG_IsOK(res1
)) {
24063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizeEvent_m_rect_set" "', expected argument " "1"" of type '" "wxSizeEvent *""'");
24065 arg1
= reinterpret_cast< wxSizeEvent
* >(argp1
);
24066 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
24067 if (!SWIG_IsOK(res2
)) {
24068 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SizeEvent_m_rect_set" "', expected argument " "2"" of type '" "wxRect *""'");
24070 arg2
= reinterpret_cast< wxRect
* >(argp2
);
24071 if (arg1
) (arg1
)->m_rect
= *arg2
;
24073 resultobj
= SWIG_Py_Void();
24080 SWIGINTERN PyObject
*_wrap_SizeEvent_m_rect_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24081 PyObject
*resultobj
= 0;
24082 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
24083 wxRect
*result
= 0 ;
24086 PyObject
*swig_obj
[1] ;
24088 if (!args
) SWIG_fail
;
24089 swig_obj
[0] = args
;
24090 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizeEvent
, 0 | 0 );
24091 if (!SWIG_IsOK(res1
)) {
24092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizeEvent_m_rect_get" "', expected argument " "1"" of type '" "wxSizeEvent *""'");
24094 arg1
= reinterpret_cast< wxSizeEvent
* >(argp1
);
24095 result
= (wxRect
*)& ((arg1
)->m_rect
);
24096 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRect
, 0 | 0 );
24103 SWIGINTERN PyObject
*SizeEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24105 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24106 SWIG_TypeNewClientData(SWIGTYPE_p_wxSizeEvent
, SWIG_NewClientData(obj
));
24107 return SWIG_Py_Void();
24110 SWIGINTERN PyObject
*SizeEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24111 return SWIG_Python_InitShadowInstance(args
);
24114 SWIGINTERN PyObject
*_wrap_new_MoveEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24115 PyObject
*resultobj
= 0;
24116 wxPoint
const &arg1_defvalue
= wxDefaultPosition
;
24117 wxPoint
*arg1
= (wxPoint
*) &arg1_defvalue
;
24118 int arg2
= (int) 0 ;
24119 wxMoveEvent
*result
= 0 ;
24123 PyObject
* obj0
= 0 ;
24124 PyObject
* obj1
= 0 ;
24125 char * kwnames
[] = {
24126 (char *) "pos",(char *) "winid", NULL
24129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MoveEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24133 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
24137 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24138 if (!SWIG_IsOK(ecode2
)) {
24139 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MoveEvent" "', expected argument " "2"" of type '" "int""'");
24141 arg2
= static_cast< int >(val2
);
24144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24145 result
= (wxMoveEvent
*)new wxMoveEvent((wxPoint
const &)*arg1
,arg2
);
24146 wxPyEndAllowThreads(__tstate
);
24147 if (PyErr_Occurred()) SWIG_fail
;
24149 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_NEW
| 0 );
24156 SWIGINTERN PyObject
*_wrap_MoveEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24157 PyObject
*resultobj
= 0;
24158 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
24162 PyObject
*swig_obj
[1] ;
24164 if (!args
) SWIG_fail
;
24165 swig_obj
[0] = args
;
24166 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMoveEvent
, 0 | 0 );
24167 if (!SWIG_IsOK(res1
)) {
24168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MoveEvent_GetPosition" "', expected argument " "1"" of type '" "wxMoveEvent const *""'");
24170 arg1
= reinterpret_cast< wxMoveEvent
* >(argp1
);
24172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24173 result
= ((wxMoveEvent
const *)arg1
)->GetPosition();
24174 wxPyEndAllowThreads(__tstate
);
24175 if (PyErr_Occurred()) SWIG_fail
;
24177 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
24184 SWIGINTERN PyObject
*_wrap_MoveEvent_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24185 PyObject
*resultobj
= 0;
24186 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
24190 PyObject
*swig_obj
[1] ;
24192 if (!args
) SWIG_fail
;
24193 swig_obj
[0] = args
;
24194 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMoveEvent
, 0 | 0 );
24195 if (!SWIG_IsOK(res1
)) {
24196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MoveEvent_GetRect" "', expected argument " "1"" of type '" "wxMoveEvent const *""'");
24198 arg1
= reinterpret_cast< wxMoveEvent
* >(argp1
);
24200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24201 result
= ((wxMoveEvent
const *)arg1
)->GetRect();
24202 wxPyEndAllowThreads(__tstate
);
24203 if (PyErr_Occurred()) SWIG_fail
;
24205 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
24212 SWIGINTERN PyObject
*_wrap_MoveEvent_SetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24213 PyObject
*resultobj
= 0;
24214 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
24219 PyObject
* obj0
= 0 ;
24220 PyObject
* obj1
= 0 ;
24221 char * kwnames
[] = {
24222 (char *) "self",(char *) "rect", NULL
24225 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24226 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMoveEvent
, 0 | 0 );
24227 if (!SWIG_IsOK(res1
)) {
24228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MoveEvent_SetRect" "', expected argument " "1"" of type '" "wxMoveEvent *""'");
24230 arg1
= reinterpret_cast< wxMoveEvent
* >(argp1
);
24233 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
24236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24237 (arg1
)->SetRect((wxRect
const &)*arg2
);
24238 wxPyEndAllowThreads(__tstate
);
24239 if (PyErr_Occurred()) SWIG_fail
;
24241 resultobj
= SWIG_Py_Void();
24248 SWIGINTERN PyObject
*_wrap_MoveEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24249 PyObject
*resultobj
= 0;
24250 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
24251 wxPoint
*arg2
= 0 ;
24255 PyObject
* obj0
= 0 ;
24256 PyObject
* obj1
= 0 ;
24257 char * kwnames
[] = {
24258 (char *) "self",(char *) "pos", NULL
24261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24262 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMoveEvent
, 0 | 0 );
24263 if (!SWIG_IsOK(res1
)) {
24264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MoveEvent_SetPosition" "', expected argument " "1"" of type '" "wxMoveEvent *""'");
24266 arg1
= reinterpret_cast< wxMoveEvent
* >(argp1
);
24269 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
24272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24273 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
24274 wxPyEndAllowThreads(__tstate
);
24275 if (PyErr_Occurred()) SWIG_fail
;
24277 resultobj
= SWIG_Py_Void();
24284 SWIGINTERN PyObject
*MoveEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24286 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24287 SWIG_TypeNewClientData(SWIGTYPE_p_wxMoveEvent
, SWIG_NewClientData(obj
));
24288 return SWIG_Py_Void();
24291 SWIGINTERN PyObject
*MoveEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24292 return SWIG_Python_InitShadowInstance(args
);
24295 SWIGINTERN PyObject
*_wrap_new_PaintEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24296 PyObject
*resultobj
= 0;
24297 int arg1
= (int) 0 ;
24298 wxPaintEvent
*result
= 0 ;
24301 PyObject
* obj0
= 0 ;
24302 char * kwnames
[] = {
24303 (char *) "Id", NULL
24306 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaintEvent",kwnames
,&obj0
)) SWIG_fail
;
24308 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24309 if (!SWIG_IsOK(ecode1
)) {
24310 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PaintEvent" "', expected argument " "1"" of type '" "int""'");
24312 arg1
= static_cast< int >(val1
);
24315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24316 result
= (wxPaintEvent
*)new wxPaintEvent(arg1
);
24317 wxPyEndAllowThreads(__tstate
);
24318 if (PyErr_Occurred()) SWIG_fail
;
24320 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaintEvent
, SWIG_POINTER_NEW
| 0 );
24327 SWIGINTERN PyObject
*PaintEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24329 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24330 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaintEvent
, SWIG_NewClientData(obj
));
24331 return SWIG_Py_Void();
24334 SWIGINTERN PyObject
*PaintEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24335 return SWIG_Python_InitShadowInstance(args
);
24338 SWIGINTERN PyObject
*_wrap_new_NcPaintEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24339 PyObject
*resultobj
= 0;
24340 int arg1
= (int) 0 ;
24341 wxNcPaintEvent
*result
= 0 ;
24344 PyObject
* obj0
= 0 ;
24345 char * kwnames
[] = {
24346 (char *) "winid", NULL
24349 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_NcPaintEvent",kwnames
,&obj0
)) SWIG_fail
;
24351 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24352 if (!SWIG_IsOK(ecode1
)) {
24353 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_NcPaintEvent" "', expected argument " "1"" of type '" "int""'");
24355 arg1
= static_cast< int >(val1
);
24358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24359 result
= (wxNcPaintEvent
*)new wxNcPaintEvent(arg1
);
24360 wxPyEndAllowThreads(__tstate
);
24361 if (PyErr_Occurred()) SWIG_fail
;
24363 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNcPaintEvent
, SWIG_POINTER_NEW
| 0 );
24370 SWIGINTERN PyObject
*NcPaintEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24372 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24373 SWIG_TypeNewClientData(SWIGTYPE_p_wxNcPaintEvent
, SWIG_NewClientData(obj
));
24374 return SWIG_Py_Void();
24377 SWIGINTERN PyObject
*NcPaintEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24378 return SWIG_Python_InitShadowInstance(args
);
24381 SWIGINTERN PyObject
*_wrap_new_EraseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24382 PyObject
*resultobj
= 0;
24383 int arg1
= (int) 0 ;
24384 wxDC
*arg2
= (wxDC
*) NULL
;
24385 wxEraseEvent
*result
= 0 ;
24390 PyObject
* obj0
= 0 ;
24391 PyObject
* obj1
= 0 ;
24392 char * kwnames
[] = {
24393 (char *) "Id",(char *) "dc", NULL
24396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_EraseEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24398 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24399 if (!SWIG_IsOK(ecode1
)) {
24400 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_EraseEvent" "', expected argument " "1"" of type '" "int""'");
24402 arg1
= static_cast< int >(val1
);
24405 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
24406 if (!SWIG_IsOK(res2
)) {
24407 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_EraseEvent" "', expected argument " "2"" of type '" "wxDC *""'");
24409 arg2
= reinterpret_cast< wxDC
* >(argp2
);
24412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24413 result
= (wxEraseEvent
*)new wxEraseEvent(arg1
,arg2
);
24414 wxPyEndAllowThreads(__tstate
);
24415 if (PyErr_Occurred()) SWIG_fail
;
24417 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEraseEvent
, SWIG_POINTER_NEW
| 0 );
24424 SWIGINTERN PyObject
*_wrap_EraseEvent_GetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24425 PyObject
*resultobj
= 0;
24426 wxEraseEvent
*arg1
= (wxEraseEvent
*) 0 ;
24430 PyObject
*swig_obj
[1] ;
24432 if (!args
) SWIG_fail
;
24433 swig_obj
[0] = args
;
24434 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEraseEvent
, 0 | 0 );
24435 if (!SWIG_IsOK(res1
)) {
24436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EraseEvent_GetDC" "', expected argument " "1"" of type '" "wxEraseEvent const *""'");
24438 arg1
= reinterpret_cast< wxEraseEvent
* >(argp1
);
24440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24441 result
= (wxDC
*)((wxEraseEvent
const *)arg1
)->GetDC();
24442 wxPyEndAllowThreads(__tstate
);
24443 if (PyErr_Occurred()) SWIG_fail
;
24446 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24454 SWIGINTERN PyObject
*EraseEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24456 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24457 SWIG_TypeNewClientData(SWIGTYPE_p_wxEraseEvent
, SWIG_NewClientData(obj
));
24458 return SWIG_Py_Void();
24461 SWIGINTERN PyObject
*EraseEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24462 return SWIG_Python_InitShadowInstance(args
);
24465 SWIGINTERN PyObject
*_wrap_new_FocusEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24466 PyObject
*resultobj
= 0;
24467 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
24468 int arg2
= (int) 0 ;
24469 wxFocusEvent
*result
= 0 ;
24474 PyObject
* obj0
= 0 ;
24475 PyObject
* obj1
= 0 ;
24476 char * kwnames
[] = {
24477 (char *) "type",(char *) "winid", NULL
24480 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FocusEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24482 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24483 if (!SWIG_IsOK(ecode1
)) {
24484 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FocusEvent" "', expected argument " "1"" of type '" "wxEventType""'");
24486 arg1
= static_cast< wxEventType
>(val1
);
24489 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24490 if (!SWIG_IsOK(ecode2
)) {
24491 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FocusEvent" "', expected argument " "2"" of type '" "int""'");
24493 arg2
= static_cast< int >(val2
);
24496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24497 result
= (wxFocusEvent
*)new wxFocusEvent(arg1
,arg2
);
24498 wxPyEndAllowThreads(__tstate
);
24499 if (PyErr_Occurred()) SWIG_fail
;
24501 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFocusEvent
, SWIG_POINTER_NEW
| 0 );
24508 SWIGINTERN PyObject
*_wrap_FocusEvent_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24509 PyObject
*resultobj
= 0;
24510 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
24511 wxWindow
*result
= 0 ;
24514 PyObject
*swig_obj
[1] ;
24516 if (!args
) SWIG_fail
;
24517 swig_obj
[0] = args
;
24518 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFocusEvent
, 0 | 0 );
24519 if (!SWIG_IsOK(res1
)) {
24520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FocusEvent_GetWindow" "', expected argument " "1"" of type '" "wxFocusEvent const *""'");
24522 arg1
= reinterpret_cast< wxFocusEvent
* >(argp1
);
24524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24525 result
= (wxWindow
*)((wxFocusEvent
const *)arg1
)->GetWindow();
24526 wxPyEndAllowThreads(__tstate
);
24527 if (PyErr_Occurred()) SWIG_fail
;
24530 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24538 SWIGINTERN PyObject
*_wrap_FocusEvent_SetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24539 PyObject
*resultobj
= 0;
24540 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
24541 wxWindow
*arg2
= (wxWindow
*) 0 ;
24546 PyObject
* obj0
= 0 ;
24547 PyObject
* obj1
= 0 ;
24548 char * kwnames
[] = {
24549 (char *) "self",(char *) "win", NULL
24552 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24553 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFocusEvent
, 0 | 0 );
24554 if (!SWIG_IsOK(res1
)) {
24555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FocusEvent_SetWindow" "', expected argument " "1"" of type '" "wxFocusEvent *""'");
24557 arg1
= reinterpret_cast< wxFocusEvent
* >(argp1
);
24558 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24559 if (!SWIG_IsOK(res2
)) {
24560 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FocusEvent_SetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
24562 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24565 (arg1
)->SetWindow(arg2
);
24566 wxPyEndAllowThreads(__tstate
);
24567 if (PyErr_Occurred()) SWIG_fail
;
24569 resultobj
= SWIG_Py_Void();
24576 SWIGINTERN PyObject
*FocusEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24578 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24579 SWIG_TypeNewClientData(SWIGTYPE_p_wxFocusEvent
, SWIG_NewClientData(obj
));
24580 return SWIG_Py_Void();
24583 SWIGINTERN PyObject
*FocusEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24584 return SWIG_Python_InitShadowInstance(args
);
24587 SWIGINTERN PyObject
*_wrap_new_ChildFocusEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24588 PyObject
*resultobj
= 0;
24589 wxWindow
*arg1
= (wxWindow
*) NULL
;
24590 wxChildFocusEvent
*result
= 0 ;
24593 PyObject
* obj0
= 0 ;
24594 char * kwnames
[] = {
24595 (char *) "win", NULL
24598 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ChildFocusEvent",kwnames
,&obj0
)) SWIG_fail
;
24600 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24601 if (!SWIG_IsOK(res1
)) {
24602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ChildFocusEvent" "', expected argument " "1"" of type '" "wxWindow *""'");
24604 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24608 result
= (wxChildFocusEvent
*)new wxChildFocusEvent(arg1
);
24609 wxPyEndAllowThreads(__tstate
);
24610 if (PyErr_Occurred()) SWIG_fail
;
24612 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChildFocusEvent
, SWIG_POINTER_NEW
| 0 );
24619 SWIGINTERN PyObject
*_wrap_ChildFocusEvent_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24620 PyObject
*resultobj
= 0;
24621 wxChildFocusEvent
*arg1
= (wxChildFocusEvent
*) 0 ;
24622 wxWindow
*result
= 0 ;
24625 PyObject
*swig_obj
[1] ;
24627 if (!args
) SWIG_fail
;
24628 swig_obj
[0] = args
;
24629 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChildFocusEvent
, 0 | 0 );
24630 if (!SWIG_IsOK(res1
)) {
24631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ChildFocusEvent_GetWindow" "', expected argument " "1"" of type '" "wxChildFocusEvent const *""'");
24633 arg1
= reinterpret_cast< wxChildFocusEvent
* >(argp1
);
24635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24636 result
= (wxWindow
*)((wxChildFocusEvent
const *)arg1
)->GetWindow();
24637 wxPyEndAllowThreads(__tstate
);
24638 if (PyErr_Occurred()) SWIG_fail
;
24641 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24649 SWIGINTERN PyObject
*ChildFocusEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24651 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24652 SWIG_TypeNewClientData(SWIGTYPE_p_wxChildFocusEvent
, SWIG_NewClientData(obj
));
24653 return SWIG_Py_Void();
24656 SWIGINTERN PyObject
*ChildFocusEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24657 return SWIG_Python_InitShadowInstance(args
);
24660 SWIGINTERN PyObject
*_wrap_new_ActivateEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24661 PyObject
*resultobj
= 0;
24662 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
24663 bool arg2
= (bool) true ;
24664 int arg3
= (int) 0 ;
24665 wxActivateEvent
*result
= 0 ;
24672 PyObject
* obj0
= 0 ;
24673 PyObject
* obj1
= 0 ;
24674 PyObject
* obj2
= 0 ;
24675 char * kwnames
[] = {
24676 (char *) "type",(char *) "active",(char *) "Id", NULL
24679 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ActivateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24681 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24682 if (!SWIG_IsOK(ecode1
)) {
24683 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ActivateEvent" "', expected argument " "1"" of type '" "wxEventType""'");
24685 arg1
= static_cast< wxEventType
>(val1
);
24688 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24689 if (!SWIG_IsOK(ecode2
)) {
24690 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ActivateEvent" "', expected argument " "2"" of type '" "bool""'");
24692 arg2
= static_cast< bool >(val2
);
24695 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24696 if (!SWIG_IsOK(ecode3
)) {
24697 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ActivateEvent" "', expected argument " "3"" of type '" "int""'");
24699 arg3
= static_cast< int >(val3
);
24702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24703 result
= (wxActivateEvent
*)new wxActivateEvent(arg1
,arg2
,arg3
);
24704 wxPyEndAllowThreads(__tstate
);
24705 if (PyErr_Occurred()) SWIG_fail
;
24707 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxActivateEvent
, SWIG_POINTER_NEW
| 0 );
24714 SWIGINTERN PyObject
*_wrap_ActivateEvent_GetActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24715 PyObject
*resultobj
= 0;
24716 wxActivateEvent
*arg1
= (wxActivateEvent
*) 0 ;
24720 PyObject
*swig_obj
[1] ;
24722 if (!args
) SWIG_fail
;
24723 swig_obj
[0] = args
;
24724 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxActivateEvent
, 0 | 0 );
24725 if (!SWIG_IsOK(res1
)) {
24726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ActivateEvent_GetActive" "', expected argument " "1"" of type '" "wxActivateEvent const *""'");
24728 arg1
= reinterpret_cast< wxActivateEvent
* >(argp1
);
24730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24731 result
= (bool)((wxActivateEvent
const *)arg1
)->GetActive();
24732 wxPyEndAllowThreads(__tstate
);
24733 if (PyErr_Occurred()) SWIG_fail
;
24736 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24744 SWIGINTERN PyObject
*ActivateEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24746 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24747 SWIG_TypeNewClientData(SWIGTYPE_p_wxActivateEvent
, SWIG_NewClientData(obj
));
24748 return SWIG_Py_Void();
24751 SWIGINTERN PyObject
*ActivateEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24752 return SWIG_Python_InitShadowInstance(args
);
24755 SWIGINTERN PyObject
*_wrap_new_InitDialogEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24756 PyObject
*resultobj
= 0;
24757 int arg1
= (int) 0 ;
24758 wxInitDialogEvent
*result
= 0 ;
24761 PyObject
* obj0
= 0 ;
24762 char * kwnames
[] = {
24763 (char *) "Id", NULL
24766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_InitDialogEvent",kwnames
,&obj0
)) SWIG_fail
;
24768 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24769 if (!SWIG_IsOK(ecode1
)) {
24770 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_InitDialogEvent" "', expected argument " "1"" of type '" "int""'");
24772 arg1
= static_cast< int >(val1
);
24775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24776 result
= (wxInitDialogEvent
*)new wxInitDialogEvent(arg1
);
24777 wxPyEndAllowThreads(__tstate
);
24778 if (PyErr_Occurred()) SWIG_fail
;
24780 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxInitDialogEvent
, SWIG_POINTER_NEW
| 0 );
24787 SWIGINTERN PyObject
*InitDialogEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24789 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24790 SWIG_TypeNewClientData(SWIGTYPE_p_wxInitDialogEvent
, SWIG_NewClientData(obj
));
24791 return SWIG_Py_Void();
24794 SWIGINTERN PyObject
*InitDialogEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24795 return SWIG_Python_InitShadowInstance(args
);
24798 SWIGINTERN PyObject
*_wrap_new_MenuEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24799 PyObject
*resultobj
= 0;
24800 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
24801 int arg2
= (int) 0 ;
24802 wxMenu
*arg3
= (wxMenu
*) NULL
;
24803 wxMenuEvent
*result
= 0 ;
24810 PyObject
* obj0
= 0 ;
24811 PyObject
* obj1
= 0 ;
24812 PyObject
* obj2
= 0 ;
24813 char * kwnames
[] = {
24814 (char *) "type",(char *) "winid",(char *) "menu", NULL
24817 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_MenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24819 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24820 if (!SWIG_IsOK(ecode1
)) {
24821 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_MenuEvent" "', expected argument " "1"" of type '" "wxEventType""'");
24823 arg1
= static_cast< wxEventType
>(val1
);
24826 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24827 if (!SWIG_IsOK(ecode2
)) {
24828 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MenuEvent" "', expected argument " "2"" of type '" "int""'");
24830 arg2
= static_cast< int >(val2
);
24833 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxMenu
, 0 | 0 );
24834 if (!SWIG_IsOK(res3
)) {
24835 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_MenuEvent" "', expected argument " "3"" of type '" "wxMenu *""'");
24837 arg3
= reinterpret_cast< wxMenu
* >(argp3
);
24840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24841 result
= (wxMenuEvent
*)new wxMenuEvent(arg1
,arg2
,arg3
);
24842 wxPyEndAllowThreads(__tstate
);
24843 if (PyErr_Occurred()) SWIG_fail
;
24845 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_NEW
| 0 );
24852 SWIGINTERN PyObject
*_wrap_MenuEvent_GetMenuId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24853 PyObject
*resultobj
= 0;
24854 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
24858 PyObject
*swig_obj
[1] ;
24860 if (!args
) SWIG_fail
;
24861 swig_obj
[0] = args
;
24862 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuEvent
, 0 | 0 );
24863 if (!SWIG_IsOK(res1
)) {
24864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuEvent_GetMenuId" "', expected argument " "1"" of type '" "wxMenuEvent const *""'");
24866 arg1
= reinterpret_cast< wxMenuEvent
* >(argp1
);
24868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24869 result
= (int)((wxMenuEvent
const *)arg1
)->GetMenuId();
24870 wxPyEndAllowThreads(__tstate
);
24871 if (PyErr_Occurred()) SWIG_fail
;
24873 resultobj
= SWIG_From_int(static_cast< int >(result
));
24880 SWIGINTERN PyObject
*_wrap_MenuEvent_IsPopup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24881 PyObject
*resultobj
= 0;
24882 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
24886 PyObject
*swig_obj
[1] ;
24888 if (!args
) SWIG_fail
;
24889 swig_obj
[0] = args
;
24890 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuEvent
, 0 | 0 );
24891 if (!SWIG_IsOK(res1
)) {
24892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuEvent_IsPopup" "', expected argument " "1"" of type '" "wxMenuEvent const *""'");
24894 arg1
= reinterpret_cast< wxMenuEvent
* >(argp1
);
24896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24897 result
= (bool)((wxMenuEvent
const *)arg1
)->IsPopup();
24898 wxPyEndAllowThreads(__tstate
);
24899 if (PyErr_Occurred()) SWIG_fail
;
24902 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24910 SWIGINTERN PyObject
*_wrap_MenuEvent_GetMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24911 PyObject
*resultobj
= 0;
24912 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
24913 wxMenu
*result
= 0 ;
24916 PyObject
*swig_obj
[1] ;
24918 if (!args
) SWIG_fail
;
24919 swig_obj
[0] = args
;
24920 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuEvent
, 0 | 0 );
24921 if (!SWIG_IsOK(res1
)) {
24922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuEvent_GetMenu" "', expected argument " "1"" of type '" "wxMenuEvent const *""'");
24924 arg1
= reinterpret_cast< wxMenuEvent
* >(argp1
);
24926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24927 result
= (wxMenu
*)((wxMenuEvent
const *)arg1
)->GetMenu();
24928 wxPyEndAllowThreads(__tstate
);
24929 if (PyErr_Occurred()) SWIG_fail
;
24932 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24940 SWIGINTERN PyObject
*MenuEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24942 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24943 SWIG_TypeNewClientData(SWIGTYPE_p_wxMenuEvent
, SWIG_NewClientData(obj
));
24944 return SWIG_Py_Void();
24947 SWIGINTERN PyObject
*MenuEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24948 return SWIG_Python_InitShadowInstance(args
);
24951 SWIGINTERN PyObject
*_wrap_new_CloseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24952 PyObject
*resultobj
= 0;
24953 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
24954 int arg2
= (int) 0 ;
24955 wxCloseEvent
*result
= 0 ;
24960 PyObject
* obj0
= 0 ;
24961 PyObject
* obj1
= 0 ;
24962 char * kwnames
[] = {
24963 (char *) "type",(char *) "winid", NULL
24966 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CloseEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24968 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24969 if (!SWIG_IsOK(ecode1
)) {
24970 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_CloseEvent" "', expected argument " "1"" of type '" "wxEventType""'");
24972 arg1
= static_cast< wxEventType
>(val1
);
24975 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24976 if (!SWIG_IsOK(ecode2
)) {
24977 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CloseEvent" "', expected argument " "2"" of type '" "int""'");
24979 arg2
= static_cast< int >(val2
);
24982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24983 result
= (wxCloseEvent
*)new wxCloseEvent(arg1
,arg2
);
24984 wxPyEndAllowThreads(__tstate
);
24985 if (PyErr_Occurred()) SWIG_fail
;
24987 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_NEW
| 0 );
24994 SWIGINTERN PyObject
*_wrap_CloseEvent_SetLoggingOff(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24995 PyObject
*resultobj
= 0;
24996 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
25002 PyObject
* obj0
= 0 ;
25003 PyObject
* obj1
= 0 ;
25004 char * kwnames
[] = {
25005 (char *) "self",(char *) "logOff", NULL
25008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25009 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCloseEvent
, 0 | 0 );
25010 if (!SWIG_IsOK(res1
)) {
25011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CloseEvent_SetLoggingOff" "', expected argument " "1"" of type '" "wxCloseEvent *""'");
25013 arg1
= reinterpret_cast< wxCloseEvent
* >(argp1
);
25014 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25015 if (!SWIG_IsOK(ecode2
)) {
25016 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CloseEvent_SetLoggingOff" "', expected argument " "2"" of type '" "bool""'");
25018 arg2
= static_cast< bool >(val2
);
25020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25021 (arg1
)->SetLoggingOff(arg2
);
25022 wxPyEndAllowThreads(__tstate
);
25023 if (PyErr_Occurred()) SWIG_fail
;
25025 resultobj
= SWIG_Py_Void();
25032 SWIGINTERN PyObject
*_wrap_CloseEvent_GetLoggingOff(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25033 PyObject
*resultobj
= 0;
25034 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
25038 PyObject
*swig_obj
[1] ;
25040 if (!args
) SWIG_fail
;
25041 swig_obj
[0] = args
;
25042 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCloseEvent
, 0 | 0 );
25043 if (!SWIG_IsOK(res1
)) {
25044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CloseEvent_GetLoggingOff" "', expected argument " "1"" of type '" "wxCloseEvent const *""'");
25046 arg1
= reinterpret_cast< wxCloseEvent
* >(argp1
);
25048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25049 result
= (bool)((wxCloseEvent
const *)arg1
)->GetLoggingOff();
25050 wxPyEndAllowThreads(__tstate
);
25051 if (PyErr_Occurred()) SWIG_fail
;
25054 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25062 SWIGINTERN PyObject
*_wrap_CloseEvent_Veto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25063 PyObject
*resultobj
= 0;
25064 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
25065 bool arg2
= (bool) true ;
25070 PyObject
* obj0
= 0 ;
25071 PyObject
* obj1
= 0 ;
25072 char * kwnames
[] = {
25073 (char *) "self",(char *) "veto", NULL
25076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CloseEvent_Veto",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25077 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCloseEvent
, 0 | 0 );
25078 if (!SWIG_IsOK(res1
)) {
25079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CloseEvent_Veto" "', expected argument " "1"" of type '" "wxCloseEvent *""'");
25081 arg1
= reinterpret_cast< wxCloseEvent
* >(argp1
);
25083 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25084 if (!SWIG_IsOK(ecode2
)) {
25085 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CloseEvent_Veto" "', expected argument " "2"" of type '" "bool""'");
25087 arg2
= static_cast< bool >(val2
);
25090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25091 (arg1
)->Veto(arg2
);
25092 wxPyEndAllowThreads(__tstate
);
25093 if (PyErr_Occurred()) SWIG_fail
;
25095 resultobj
= SWIG_Py_Void();
25102 SWIGINTERN PyObject
*_wrap_CloseEvent_GetVeto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25103 PyObject
*resultobj
= 0;
25104 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
25108 PyObject
*swig_obj
[1] ;
25110 if (!args
) SWIG_fail
;
25111 swig_obj
[0] = args
;
25112 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCloseEvent
, 0 | 0 );
25113 if (!SWIG_IsOK(res1
)) {
25114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CloseEvent_GetVeto" "', expected argument " "1"" of type '" "wxCloseEvent const *""'");
25116 arg1
= reinterpret_cast< wxCloseEvent
* >(argp1
);
25118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25119 result
= (bool)((wxCloseEvent
const *)arg1
)->GetVeto();
25120 wxPyEndAllowThreads(__tstate
);
25121 if (PyErr_Occurred()) SWIG_fail
;
25124 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25132 SWIGINTERN PyObject
*_wrap_CloseEvent_SetCanVeto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25133 PyObject
*resultobj
= 0;
25134 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
25140 PyObject
* obj0
= 0 ;
25141 PyObject
* obj1
= 0 ;
25142 char * kwnames
[] = {
25143 (char *) "self",(char *) "canVeto", NULL
25146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetCanVeto",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25147 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCloseEvent
, 0 | 0 );
25148 if (!SWIG_IsOK(res1
)) {
25149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CloseEvent_SetCanVeto" "', expected argument " "1"" of type '" "wxCloseEvent *""'");
25151 arg1
= reinterpret_cast< wxCloseEvent
* >(argp1
);
25152 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25153 if (!SWIG_IsOK(ecode2
)) {
25154 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CloseEvent_SetCanVeto" "', expected argument " "2"" of type '" "bool""'");
25156 arg2
= static_cast< bool >(val2
);
25158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25159 (arg1
)->SetCanVeto(arg2
);
25160 wxPyEndAllowThreads(__tstate
);
25161 if (PyErr_Occurred()) SWIG_fail
;
25163 resultobj
= SWIG_Py_Void();
25170 SWIGINTERN PyObject
*_wrap_CloseEvent_CanVeto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25171 PyObject
*resultobj
= 0;
25172 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
25176 PyObject
*swig_obj
[1] ;
25178 if (!args
) SWIG_fail
;
25179 swig_obj
[0] = args
;
25180 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCloseEvent
, 0 | 0 );
25181 if (!SWIG_IsOK(res1
)) {
25182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CloseEvent_CanVeto" "', expected argument " "1"" of type '" "wxCloseEvent const *""'");
25184 arg1
= reinterpret_cast< wxCloseEvent
* >(argp1
);
25186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25187 result
= (bool)((wxCloseEvent
const *)arg1
)->CanVeto();
25188 wxPyEndAllowThreads(__tstate
);
25189 if (PyErr_Occurred()) SWIG_fail
;
25192 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25200 SWIGINTERN PyObject
*CloseEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25202 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25203 SWIG_TypeNewClientData(SWIGTYPE_p_wxCloseEvent
, SWIG_NewClientData(obj
));
25204 return SWIG_Py_Void();
25207 SWIGINTERN PyObject
*CloseEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25208 return SWIG_Python_InitShadowInstance(args
);
25211 SWIGINTERN PyObject
*_wrap_new_ShowEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25212 PyObject
*resultobj
= 0;
25213 int arg1
= (int) 0 ;
25214 bool arg2
= (bool) false ;
25215 wxShowEvent
*result
= 0 ;
25220 PyObject
* obj0
= 0 ;
25221 PyObject
* obj1
= 0 ;
25222 char * kwnames
[] = {
25223 (char *) "winid",(char *) "show", NULL
25226 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ShowEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25228 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25229 if (!SWIG_IsOK(ecode1
)) {
25230 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ShowEvent" "', expected argument " "1"" of type '" "int""'");
25232 arg1
= static_cast< int >(val1
);
25235 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25236 if (!SWIG_IsOK(ecode2
)) {
25237 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ShowEvent" "', expected argument " "2"" of type '" "bool""'");
25239 arg2
= static_cast< bool >(val2
);
25242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25243 result
= (wxShowEvent
*)new wxShowEvent(arg1
,arg2
);
25244 wxPyEndAllowThreads(__tstate
);
25245 if (PyErr_Occurred()) SWIG_fail
;
25247 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxShowEvent
, SWIG_POINTER_NEW
| 0 );
25254 SWIGINTERN PyObject
*_wrap_ShowEvent_SetShow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25255 PyObject
*resultobj
= 0;
25256 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
25262 PyObject
* obj0
= 0 ;
25263 PyObject
* obj1
= 0 ;
25264 char * kwnames
[] = {
25265 (char *) "self",(char *) "show", NULL
25268 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25269 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxShowEvent
, 0 | 0 );
25270 if (!SWIG_IsOK(res1
)) {
25271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ShowEvent_SetShow" "', expected argument " "1"" of type '" "wxShowEvent *""'");
25273 arg1
= reinterpret_cast< wxShowEvent
* >(argp1
);
25274 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25275 if (!SWIG_IsOK(ecode2
)) {
25276 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ShowEvent_SetShow" "', expected argument " "2"" of type '" "bool""'");
25278 arg2
= static_cast< bool >(val2
);
25280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25281 (arg1
)->SetShow(arg2
);
25282 wxPyEndAllowThreads(__tstate
);
25283 if (PyErr_Occurred()) SWIG_fail
;
25285 resultobj
= SWIG_Py_Void();
25292 SWIGINTERN PyObject
*_wrap_ShowEvent_GetShow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25293 PyObject
*resultobj
= 0;
25294 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
25298 PyObject
*swig_obj
[1] ;
25300 if (!args
) SWIG_fail
;
25301 swig_obj
[0] = args
;
25302 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxShowEvent
, 0 | 0 );
25303 if (!SWIG_IsOK(res1
)) {
25304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ShowEvent_GetShow" "', expected argument " "1"" of type '" "wxShowEvent const *""'");
25306 arg1
= reinterpret_cast< wxShowEvent
* >(argp1
);
25308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25309 result
= (bool)((wxShowEvent
const *)arg1
)->GetShow();
25310 wxPyEndAllowThreads(__tstate
);
25311 if (PyErr_Occurred()) SWIG_fail
;
25314 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25322 SWIGINTERN PyObject
*ShowEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25324 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25325 SWIG_TypeNewClientData(SWIGTYPE_p_wxShowEvent
, SWIG_NewClientData(obj
));
25326 return SWIG_Py_Void();
25329 SWIGINTERN PyObject
*ShowEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25330 return SWIG_Python_InitShadowInstance(args
);
25333 SWIGINTERN PyObject
*_wrap_new_IconizeEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25334 PyObject
*resultobj
= 0;
25335 int arg1
= (int) 0 ;
25336 bool arg2
= (bool) true ;
25337 wxIconizeEvent
*result
= 0 ;
25342 PyObject
* obj0
= 0 ;
25343 PyObject
* obj1
= 0 ;
25344 char * kwnames
[] = {
25345 (char *) "id",(char *) "iconized", NULL
25348 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconizeEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25350 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25351 if (!SWIG_IsOK(ecode1
)) {
25352 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_IconizeEvent" "', expected argument " "1"" of type '" "int""'");
25354 arg1
= static_cast< int >(val1
);
25357 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25358 if (!SWIG_IsOK(ecode2
)) {
25359 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconizeEvent" "', expected argument " "2"" of type '" "bool""'");
25361 arg2
= static_cast< bool >(val2
);
25364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25365 result
= (wxIconizeEvent
*)new wxIconizeEvent(arg1
,arg2
);
25366 wxPyEndAllowThreads(__tstate
);
25367 if (PyErr_Occurred()) SWIG_fail
;
25369 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconizeEvent
, SWIG_POINTER_NEW
| 0 );
25376 SWIGINTERN PyObject
*_wrap_IconizeEvent_Iconized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25377 PyObject
*resultobj
= 0;
25378 wxIconizeEvent
*arg1
= (wxIconizeEvent
*) 0 ;
25382 PyObject
*swig_obj
[1] ;
25384 if (!args
) SWIG_fail
;
25385 swig_obj
[0] = args
;
25386 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconizeEvent
, 0 | 0 );
25387 if (!SWIG_IsOK(res1
)) {
25388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconizeEvent_Iconized" "', expected argument " "1"" of type '" "wxIconizeEvent *""'");
25390 arg1
= reinterpret_cast< wxIconizeEvent
* >(argp1
);
25392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25393 result
= (bool)(arg1
)->Iconized();
25394 wxPyEndAllowThreads(__tstate
);
25395 if (PyErr_Occurred()) SWIG_fail
;
25398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25406 SWIGINTERN PyObject
*IconizeEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25408 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25409 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconizeEvent
, SWIG_NewClientData(obj
));
25410 return SWIG_Py_Void();
25413 SWIGINTERN PyObject
*IconizeEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25414 return SWIG_Python_InitShadowInstance(args
);
25417 SWIGINTERN PyObject
*_wrap_new_MaximizeEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25418 PyObject
*resultobj
= 0;
25419 int arg1
= (int) 0 ;
25420 wxMaximizeEvent
*result
= 0 ;
25423 PyObject
* obj0
= 0 ;
25424 char * kwnames
[] = {
25425 (char *) "id", NULL
25428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MaximizeEvent",kwnames
,&obj0
)) SWIG_fail
;
25430 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25431 if (!SWIG_IsOK(ecode1
)) {
25432 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_MaximizeEvent" "', expected argument " "1"" of type '" "int""'");
25434 arg1
= static_cast< int >(val1
);
25437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25438 result
= (wxMaximizeEvent
*)new wxMaximizeEvent(arg1
);
25439 wxPyEndAllowThreads(__tstate
);
25440 if (PyErr_Occurred()) SWIG_fail
;
25442 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMaximizeEvent
, SWIG_POINTER_NEW
| 0 );
25449 SWIGINTERN PyObject
*MaximizeEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25451 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25452 SWIG_TypeNewClientData(SWIGTYPE_p_wxMaximizeEvent
, SWIG_NewClientData(obj
));
25453 return SWIG_Py_Void();
25456 SWIGINTERN PyObject
*MaximizeEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25457 return SWIG_Python_InitShadowInstance(args
);
25460 SWIGINTERN PyObject
*_wrap_DropFilesEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25461 PyObject
*resultobj
= 0;
25462 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
25466 PyObject
*swig_obj
[1] ;
25468 if (!args
) SWIG_fail
;
25469 swig_obj
[0] = args
;
25470 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDropFilesEvent
, 0 | 0 );
25471 if (!SWIG_IsOK(res1
)) {
25472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropFilesEvent_GetPosition" "', expected argument " "1"" of type '" "wxDropFilesEvent *""'");
25474 arg1
= reinterpret_cast< wxDropFilesEvent
* >(argp1
);
25476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25477 result
= (arg1
)->GetPosition();
25478 wxPyEndAllowThreads(__tstate
);
25479 if (PyErr_Occurred()) SWIG_fail
;
25481 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25488 SWIGINTERN PyObject
*_wrap_DropFilesEvent_GetNumberOfFiles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25489 PyObject
*resultobj
= 0;
25490 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
25494 PyObject
*swig_obj
[1] ;
25496 if (!args
) SWIG_fail
;
25497 swig_obj
[0] = args
;
25498 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDropFilesEvent
, 0 | 0 );
25499 if (!SWIG_IsOK(res1
)) {
25500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropFilesEvent_GetNumberOfFiles" "', expected argument " "1"" of type '" "wxDropFilesEvent *""'");
25502 arg1
= reinterpret_cast< wxDropFilesEvent
* >(argp1
);
25504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25505 result
= (int)(arg1
)->GetNumberOfFiles();
25506 wxPyEndAllowThreads(__tstate
);
25507 if (PyErr_Occurred()) SWIG_fail
;
25509 resultobj
= SWIG_From_int(static_cast< int >(result
));
25516 SWIGINTERN PyObject
*_wrap_DropFilesEvent_GetFiles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25517 PyObject
*resultobj
= 0;
25518 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
25519 PyObject
*result
= 0 ;
25522 PyObject
*swig_obj
[1] ;
25524 if (!args
) SWIG_fail
;
25525 swig_obj
[0] = args
;
25526 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDropFilesEvent
, 0 | 0 );
25527 if (!SWIG_IsOK(res1
)) {
25528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropFilesEvent_GetFiles" "', expected argument " "1"" of type '" "wxDropFilesEvent *""'");
25530 arg1
= reinterpret_cast< wxDropFilesEvent
* >(argp1
);
25532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25533 result
= (PyObject
*)wxDropFilesEvent_GetFiles(arg1
);
25534 wxPyEndAllowThreads(__tstate
);
25535 if (PyErr_Occurred()) SWIG_fail
;
25537 resultobj
= result
;
25544 SWIGINTERN PyObject
*DropFilesEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25546 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25547 SWIG_TypeNewClientData(SWIGTYPE_p_wxDropFilesEvent
, SWIG_NewClientData(obj
));
25548 return SWIG_Py_Void();
25551 SWIGINTERN PyObject
*_wrap_new_UpdateUIEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25552 PyObject
*resultobj
= 0;
25553 int arg1
= (int) 0 ;
25554 wxUpdateUIEvent
*result
= 0 ;
25557 PyObject
* obj0
= 0 ;
25558 char * kwnames
[] = {
25559 (char *) "commandId", NULL
25562 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_UpdateUIEvent",kwnames
,&obj0
)) SWIG_fail
;
25564 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25565 if (!SWIG_IsOK(ecode1
)) {
25566 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_UpdateUIEvent" "', expected argument " "1"" of type '" "int""'");
25568 arg1
= static_cast< int >(val1
);
25571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25572 result
= (wxUpdateUIEvent
*)new wxUpdateUIEvent(arg1
);
25573 wxPyEndAllowThreads(__tstate
);
25574 if (PyErr_Occurred()) SWIG_fail
;
25576 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_NEW
| 0 );
25583 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_GetChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25584 PyObject
*resultobj
= 0;
25585 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
25589 PyObject
*swig_obj
[1] ;
25591 if (!args
) SWIG_fail
;
25592 swig_obj
[0] = args
;
25593 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
25594 if (!SWIG_IsOK(res1
)) {
25595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_GetChecked" "', expected argument " "1"" of type '" "wxUpdateUIEvent const *""'");
25597 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
25599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25600 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetChecked();
25601 wxPyEndAllowThreads(__tstate
);
25602 if (PyErr_Occurred()) SWIG_fail
;
25605 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25613 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_GetEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25614 PyObject
*resultobj
= 0;
25615 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
25619 PyObject
*swig_obj
[1] ;
25621 if (!args
) SWIG_fail
;
25622 swig_obj
[0] = args
;
25623 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
25624 if (!SWIG_IsOK(res1
)) {
25625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_GetEnabled" "', expected argument " "1"" of type '" "wxUpdateUIEvent const *""'");
25627 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
25629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25630 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetEnabled();
25631 wxPyEndAllowThreads(__tstate
);
25632 if (PyErr_Occurred()) SWIG_fail
;
25635 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25643 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_GetShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25644 PyObject
*resultobj
= 0;
25645 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
25649 PyObject
*swig_obj
[1] ;
25651 if (!args
) SWIG_fail
;
25652 swig_obj
[0] = args
;
25653 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
25654 if (!SWIG_IsOK(res1
)) {
25655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_GetShown" "', expected argument " "1"" of type '" "wxUpdateUIEvent const *""'");
25657 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
25659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25660 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetShown();
25661 wxPyEndAllowThreads(__tstate
);
25662 if (PyErr_Occurred()) SWIG_fail
;
25665 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25673 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25674 PyObject
*resultobj
= 0;
25675 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
25679 PyObject
*swig_obj
[1] ;
25681 if (!args
) SWIG_fail
;
25682 swig_obj
[0] = args
;
25683 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
25684 if (!SWIG_IsOK(res1
)) {
25685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_GetText" "', expected argument " "1"" of type '" "wxUpdateUIEvent const *""'");
25687 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
25689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25690 result
= ((wxUpdateUIEvent
const *)arg1
)->GetText();
25691 wxPyEndAllowThreads(__tstate
);
25692 if (PyErr_Occurred()) SWIG_fail
;
25696 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25698 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25707 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_GetSetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25708 PyObject
*resultobj
= 0;
25709 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
25713 PyObject
*swig_obj
[1] ;
25715 if (!args
) SWIG_fail
;
25716 swig_obj
[0] = args
;
25717 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
25718 if (!SWIG_IsOK(res1
)) {
25719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_GetSetText" "', expected argument " "1"" of type '" "wxUpdateUIEvent const *""'");
25721 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
25723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25724 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetText();
25725 wxPyEndAllowThreads(__tstate
);
25726 if (PyErr_Occurred()) SWIG_fail
;
25729 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25737 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_GetSetChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25738 PyObject
*resultobj
= 0;
25739 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
25743 PyObject
*swig_obj
[1] ;
25745 if (!args
) SWIG_fail
;
25746 swig_obj
[0] = args
;
25747 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
25748 if (!SWIG_IsOK(res1
)) {
25749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_GetSetChecked" "', expected argument " "1"" of type '" "wxUpdateUIEvent const *""'");
25751 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
25753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25754 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetChecked();
25755 wxPyEndAllowThreads(__tstate
);
25756 if (PyErr_Occurred()) SWIG_fail
;
25759 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25767 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_GetSetEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25768 PyObject
*resultobj
= 0;
25769 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
25773 PyObject
*swig_obj
[1] ;
25775 if (!args
) SWIG_fail
;
25776 swig_obj
[0] = args
;
25777 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
25778 if (!SWIG_IsOK(res1
)) {
25779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_GetSetEnabled" "', expected argument " "1"" of type '" "wxUpdateUIEvent const *""'");
25781 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
25783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25784 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetEnabled();
25785 wxPyEndAllowThreads(__tstate
);
25786 if (PyErr_Occurred()) SWIG_fail
;
25789 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25797 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_GetSetShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25798 PyObject
*resultobj
= 0;
25799 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
25803 PyObject
*swig_obj
[1] ;
25805 if (!args
) SWIG_fail
;
25806 swig_obj
[0] = args
;
25807 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
25808 if (!SWIG_IsOK(res1
)) {
25809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_GetSetShown" "', expected argument " "1"" of type '" "wxUpdateUIEvent const *""'");
25811 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
25813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25814 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetShown();
25815 wxPyEndAllowThreads(__tstate
);
25816 if (PyErr_Occurred()) SWIG_fail
;
25819 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25827 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_Check(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25828 PyObject
*resultobj
= 0;
25829 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
25835 PyObject
* obj0
= 0 ;
25836 PyObject
* obj1
= 0 ;
25837 char * kwnames
[] = {
25838 (char *) "self",(char *) "check", NULL
25841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25842 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
25843 if (!SWIG_IsOK(res1
)) {
25844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_Check" "', expected argument " "1"" of type '" "wxUpdateUIEvent *""'");
25846 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
25847 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25848 if (!SWIG_IsOK(ecode2
)) {
25849 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "UpdateUIEvent_Check" "', expected argument " "2"" of type '" "bool""'");
25851 arg2
= static_cast< bool >(val2
);
25853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25854 (arg1
)->Check(arg2
);
25855 wxPyEndAllowThreads(__tstate
);
25856 if (PyErr_Occurred()) SWIG_fail
;
25858 resultobj
= SWIG_Py_Void();
25865 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25866 PyObject
*resultobj
= 0;
25867 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
25873 PyObject
* obj0
= 0 ;
25874 PyObject
* obj1
= 0 ;
25875 char * kwnames
[] = {
25876 (char *) "self",(char *) "enable", NULL
25879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
25881 if (!SWIG_IsOK(res1
)) {
25882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_Enable" "', expected argument " "1"" of type '" "wxUpdateUIEvent *""'");
25884 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
25885 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25886 if (!SWIG_IsOK(ecode2
)) {
25887 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "UpdateUIEvent_Enable" "', expected argument " "2"" of type '" "bool""'");
25889 arg2
= static_cast< bool >(val2
);
25891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25892 (arg1
)->Enable(arg2
);
25893 wxPyEndAllowThreads(__tstate
);
25894 if (PyErr_Occurred()) SWIG_fail
;
25896 resultobj
= SWIG_Py_Void();
25903 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25904 PyObject
*resultobj
= 0;
25905 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
25911 PyObject
* obj0
= 0 ;
25912 PyObject
* obj1
= 0 ;
25913 char * kwnames
[] = {
25914 (char *) "self",(char *) "show", NULL
25917 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Show",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25918 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
25919 if (!SWIG_IsOK(res1
)) {
25920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_Show" "', expected argument " "1"" of type '" "wxUpdateUIEvent *""'");
25922 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
25923 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25924 if (!SWIG_IsOK(ecode2
)) {
25925 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "UpdateUIEvent_Show" "', expected argument " "2"" of type '" "bool""'");
25927 arg2
= static_cast< bool >(val2
);
25929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25930 (arg1
)->Show(arg2
);
25931 wxPyEndAllowThreads(__tstate
);
25932 if (PyErr_Occurred()) SWIG_fail
;
25934 resultobj
= SWIG_Py_Void();
25941 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_SetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25942 PyObject
*resultobj
= 0;
25943 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
25944 wxString
*arg2
= 0 ;
25947 bool temp2
= false ;
25948 PyObject
* obj0
= 0 ;
25949 PyObject
* obj1
= 0 ;
25950 char * kwnames
[] = {
25951 (char *) "self",(char *) "text", NULL
25954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25955 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
25956 if (!SWIG_IsOK(res1
)) {
25957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_SetText" "', expected argument " "1"" of type '" "wxUpdateUIEvent *""'");
25959 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
25961 arg2
= wxString_in_helper(obj1
);
25962 if (arg2
== NULL
) SWIG_fail
;
25966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25967 (arg1
)->SetText((wxString
const &)*arg2
);
25968 wxPyEndAllowThreads(__tstate
);
25969 if (PyErr_Occurred()) SWIG_fail
;
25971 resultobj
= SWIG_Py_Void();
25986 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_SetUpdateInterval(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25987 PyObject
*resultobj
= 0;
25991 PyObject
* obj0
= 0 ;
25992 char * kwnames
[] = {
25993 (char *) "updateInterval", NULL
25996 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames
,&obj0
)) SWIG_fail
;
25997 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
25998 if (!SWIG_IsOK(ecode1
)) {
25999 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "UpdateUIEvent_SetUpdateInterval" "', expected argument " "1"" of type '" "long""'");
26001 arg1
= static_cast< long >(val1
);
26003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26004 wxUpdateUIEvent::SetUpdateInterval(arg1
);
26005 wxPyEndAllowThreads(__tstate
);
26006 if (PyErr_Occurred()) SWIG_fail
;
26008 resultobj
= SWIG_Py_Void();
26015 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_GetUpdateInterval(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26016 PyObject
*resultobj
= 0;
26019 if (!SWIG_Python_UnpackTuple(args
,"UpdateUIEvent_GetUpdateInterval",0,0,0)) SWIG_fail
;
26021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26022 result
= (long)wxUpdateUIEvent::GetUpdateInterval();
26023 wxPyEndAllowThreads(__tstate
);
26024 if (PyErr_Occurred()) SWIG_fail
;
26026 resultobj
= SWIG_From_long(static_cast< long >(result
));
26033 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_CanUpdate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26034 PyObject
*resultobj
= 0;
26035 wxWindow
*arg1
= (wxWindow
*) 0 ;
26039 PyObject
* obj0
= 0 ;
26040 char * kwnames
[] = {
26041 (char *) "win", NULL
26044 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_CanUpdate",kwnames
,&obj0
)) SWIG_fail
;
26045 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26046 if (!SWIG_IsOK(res1
)) {
26047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_CanUpdate" "', expected argument " "1"" of type '" "wxWindow *""'");
26049 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
26051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26052 result
= (bool)wxUpdateUIEvent::CanUpdate(arg1
);
26053 wxPyEndAllowThreads(__tstate
);
26054 if (PyErr_Occurred()) SWIG_fail
;
26057 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26065 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_ResetUpdateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26066 PyObject
*resultobj
= 0;
26068 if (!SWIG_Python_UnpackTuple(args
,"UpdateUIEvent_ResetUpdateTime",0,0,0)) SWIG_fail
;
26070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26071 wxUpdateUIEvent::ResetUpdateTime();
26072 wxPyEndAllowThreads(__tstate
);
26073 if (PyErr_Occurred()) SWIG_fail
;
26075 resultobj
= SWIG_Py_Void();
26082 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_SetMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26083 PyObject
*resultobj
= 0;
26084 wxUpdateUIMode arg1
;
26087 PyObject
* obj0
= 0 ;
26088 char * kwnames
[] = {
26089 (char *) "mode", NULL
26092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetMode",kwnames
,&obj0
)) SWIG_fail
;
26093 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
26094 if (!SWIG_IsOK(ecode1
)) {
26095 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "UpdateUIEvent_SetMode" "', expected argument " "1"" of type '" "wxUpdateUIMode""'");
26097 arg1
= static_cast< wxUpdateUIMode
>(val1
);
26099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26100 wxUpdateUIEvent::SetMode(arg1
);
26101 wxPyEndAllowThreads(__tstate
);
26102 if (PyErr_Occurred()) SWIG_fail
;
26104 resultobj
= SWIG_Py_Void();
26111 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_GetMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26112 PyObject
*resultobj
= 0;
26113 wxUpdateUIMode result
;
26115 if (!SWIG_Python_UnpackTuple(args
,"UpdateUIEvent_GetMode",0,0,0)) SWIG_fail
;
26117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26118 result
= (wxUpdateUIMode
)wxUpdateUIEvent::GetMode();
26119 wxPyEndAllowThreads(__tstate
);
26120 if (PyErr_Occurred()) SWIG_fail
;
26122 resultobj
= SWIG_From_int(static_cast< int >(result
));
26129 SWIGINTERN PyObject
*UpdateUIEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26131 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26132 SWIG_TypeNewClientData(SWIGTYPE_p_wxUpdateUIEvent
, SWIG_NewClientData(obj
));
26133 return SWIG_Py_Void();
26136 SWIGINTERN PyObject
*UpdateUIEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26137 return SWIG_Python_InitShadowInstance(args
);
26140 SWIGINTERN PyObject
*_wrap_new_SysColourChangedEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26141 PyObject
*resultobj
= 0;
26142 wxSysColourChangedEvent
*result
= 0 ;
26144 if (!SWIG_Python_UnpackTuple(args
,"new_SysColourChangedEvent",0,0,0)) SWIG_fail
;
26146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26147 result
= (wxSysColourChangedEvent
*)new wxSysColourChangedEvent();
26148 wxPyEndAllowThreads(__tstate
);
26149 if (PyErr_Occurred()) SWIG_fail
;
26151 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSysColourChangedEvent
, SWIG_POINTER_NEW
| 0 );
26158 SWIGINTERN PyObject
*SysColourChangedEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26160 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26161 SWIG_TypeNewClientData(SWIGTYPE_p_wxSysColourChangedEvent
, SWIG_NewClientData(obj
));
26162 return SWIG_Py_Void();
26165 SWIGINTERN PyObject
*SysColourChangedEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26166 return SWIG_Python_InitShadowInstance(args
);
26169 SWIGINTERN PyObject
*_wrap_new_MouseCaptureChangedEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26170 PyObject
*resultobj
= 0;
26171 int arg1
= (int) 0 ;
26172 wxWindow
*arg2
= (wxWindow
*) NULL
;
26173 wxMouseCaptureChangedEvent
*result
= 0 ;
26178 PyObject
* obj0
= 0 ;
26179 PyObject
* obj1
= 0 ;
26180 char * kwnames
[] = {
26181 (char *) "winid",(char *) "gainedCapture", NULL
26184 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26186 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
26187 if (!SWIG_IsOK(ecode1
)) {
26188 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_MouseCaptureChangedEvent" "', expected argument " "1"" of type '" "int""'");
26190 arg1
= static_cast< int >(val1
);
26193 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26194 if (!SWIG_IsOK(res2
)) {
26195 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_MouseCaptureChangedEvent" "', expected argument " "2"" of type '" "wxWindow *""'");
26197 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
26200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26201 result
= (wxMouseCaptureChangedEvent
*)new wxMouseCaptureChangedEvent(arg1
,arg2
);
26202 wxPyEndAllowThreads(__tstate
);
26203 if (PyErr_Occurred()) SWIG_fail
;
26205 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMouseCaptureChangedEvent
, SWIG_POINTER_NEW
| 0 );
26212 SWIGINTERN PyObject
*_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26213 PyObject
*resultobj
= 0;
26214 wxMouseCaptureChangedEvent
*arg1
= (wxMouseCaptureChangedEvent
*) 0 ;
26215 wxWindow
*result
= 0 ;
26218 PyObject
*swig_obj
[1] ;
26220 if (!args
) SWIG_fail
;
26221 swig_obj
[0] = args
;
26222 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseCaptureChangedEvent
, 0 | 0 );
26223 if (!SWIG_IsOK(res1
)) {
26224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseCaptureChangedEvent_GetCapturedWindow" "', expected argument " "1"" of type '" "wxMouseCaptureChangedEvent const *""'");
26226 arg1
= reinterpret_cast< wxMouseCaptureChangedEvent
* >(argp1
);
26228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26229 result
= (wxWindow
*)((wxMouseCaptureChangedEvent
const *)arg1
)->GetCapturedWindow();
26230 wxPyEndAllowThreads(__tstate
);
26231 if (PyErr_Occurred()) SWIG_fail
;
26234 resultobj
= wxPyMake_wxObject(result
, (bool)0);
26242 SWIGINTERN PyObject
*MouseCaptureChangedEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26244 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26245 SWIG_TypeNewClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, SWIG_NewClientData(obj
));
26246 return SWIG_Py_Void();
26249 SWIGINTERN PyObject
*MouseCaptureChangedEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26250 return SWIG_Python_InitShadowInstance(args
);
26253 SWIGINTERN PyObject
*_wrap_new_MouseCaptureLostEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26254 PyObject
*resultobj
= 0;
26255 int arg1
= (int) 0 ;
26256 wxMouseCaptureLostEvent
*result
= 0 ;
26259 PyObject
* obj0
= 0 ;
26260 char * kwnames
[] = {
26261 (char *) "winid", NULL
26264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MouseCaptureLostEvent",kwnames
,&obj0
)) SWIG_fail
;
26266 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
26267 if (!SWIG_IsOK(ecode1
)) {
26268 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_MouseCaptureLostEvent" "', expected argument " "1"" of type '" "int""'");
26270 arg1
= static_cast< int >(val1
);
26273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26274 result
= (wxMouseCaptureLostEvent
*)new wxMouseCaptureLostEvent(arg1
);
26275 wxPyEndAllowThreads(__tstate
);
26276 if (PyErr_Occurred()) SWIG_fail
;
26278 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMouseCaptureLostEvent
, SWIG_POINTER_NEW
| 0 );
26285 SWIGINTERN PyObject
*MouseCaptureLostEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26287 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26288 SWIG_TypeNewClientData(SWIGTYPE_p_wxMouseCaptureLostEvent
, SWIG_NewClientData(obj
));
26289 return SWIG_Py_Void();
26292 SWIGINTERN PyObject
*MouseCaptureLostEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26293 return SWIG_Python_InitShadowInstance(args
);
26296 SWIGINTERN PyObject
*_wrap_new_DisplayChangedEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26297 PyObject
*resultobj
= 0;
26298 wxDisplayChangedEvent
*result
= 0 ;
26300 if (!SWIG_Python_UnpackTuple(args
,"new_DisplayChangedEvent",0,0,0)) SWIG_fail
;
26302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26303 result
= (wxDisplayChangedEvent
*)new wxDisplayChangedEvent();
26304 wxPyEndAllowThreads(__tstate
);
26305 if (PyErr_Occurred()) SWIG_fail
;
26307 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDisplayChangedEvent
, SWIG_POINTER_NEW
| 0 );
26314 SWIGINTERN PyObject
*DisplayChangedEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26316 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26317 SWIG_TypeNewClientData(SWIGTYPE_p_wxDisplayChangedEvent
, SWIG_NewClientData(obj
));
26318 return SWIG_Py_Void();
26321 SWIGINTERN PyObject
*DisplayChangedEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26322 return SWIG_Python_InitShadowInstance(args
);
26325 SWIGINTERN PyObject
*_wrap_new_PaletteChangedEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26326 PyObject
*resultobj
= 0;
26327 int arg1
= (int) 0 ;
26328 wxPaletteChangedEvent
*result
= 0 ;
26331 PyObject
* obj0
= 0 ;
26332 char * kwnames
[] = {
26333 (char *) "id", NULL
26336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaletteChangedEvent",kwnames
,&obj0
)) SWIG_fail
;
26338 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
26339 if (!SWIG_IsOK(ecode1
)) {
26340 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PaletteChangedEvent" "', expected argument " "1"" of type '" "int""'");
26342 arg1
= static_cast< int >(val1
);
26345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26346 result
= (wxPaletteChangedEvent
*)new wxPaletteChangedEvent(arg1
);
26347 wxPyEndAllowThreads(__tstate
);
26348 if (PyErr_Occurred()) SWIG_fail
;
26350 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaletteChangedEvent
, SWIG_POINTER_NEW
| 0 );
26357 SWIGINTERN PyObject
*_wrap_PaletteChangedEvent_SetChangedWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26358 PyObject
*resultobj
= 0;
26359 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
26360 wxWindow
*arg2
= (wxWindow
*) 0 ;
26365 PyObject
* obj0
= 0 ;
26366 PyObject
* obj1
= 0 ;
26367 char * kwnames
[] = {
26368 (char *) "self",(char *) "win", NULL
26371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26372 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPaletteChangedEvent
, 0 | 0 );
26373 if (!SWIG_IsOK(res1
)) {
26374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PaletteChangedEvent_SetChangedWindow" "', expected argument " "1"" of type '" "wxPaletteChangedEvent *""'");
26376 arg1
= reinterpret_cast< wxPaletteChangedEvent
* >(argp1
);
26377 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26378 if (!SWIG_IsOK(res2
)) {
26379 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PaletteChangedEvent_SetChangedWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
26381 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
26383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26384 (arg1
)->SetChangedWindow(arg2
);
26385 wxPyEndAllowThreads(__tstate
);
26386 if (PyErr_Occurred()) SWIG_fail
;
26388 resultobj
= SWIG_Py_Void();
26395 SWIGINTERN PyObject
*_wrap_PaletteChangedEvent_GetChangedWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26396 PyObject
*resultobj
= 0;
26397 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
26398 wxWindow
*result
= 0 ;
26401 PyObject
*swig_obj
[1] ;
26403 if (!args
) SWIG_fail
;
26404 swig_obj
[0] = args
;
26405 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPaletteChangedEvent
, 0 | 0 );
26406 if (!SWIG_IsOK(res1
)) {
26407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PaletteChangedEvent_GetChangedWindow" "', expected argument " "1"" of type '" "wxPaletteChangedEvent *""'");
26409 arg1
= reinterpret_cast< wxPaletteChangedEvent
* >(argp1
);
26411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26412 result
= (wxWindow
*)(arg1
)->GetChangedWindow();
26413 wxPyEndAllowThreads(__tstate
);
26414 if (PyErr_Occurred()) SWIG_fail
;
26417 resultobj
= wxPyMake_wxObject(result
, (bool)0);
26425 SWIGINTERN PyObject
*PaletteChangedEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26427 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26428 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaletteChangedEvent
, SWIG_NewClientData(obj
));
26429 return SWIG_Py_Void();
26432 SWIGINTERN PyObject
*PaletteChangedEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26433 return SWIG_Python_InitShadowInstance(args
);
26436 SWIGINTERN PyObject
*_wrap_new_QueryNewPaletteEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26437 PyObject
*resultobj
= 0;
26438 int arg1
= (int) 0 ;
26439 wxQueryNewPaletteEvent
*result
= 0 ;
26442 PyObject
* obj0
= 0 ;
26443 char * kwnames
[] = {
26444 (char *) "winid", NULL
26447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryNewPaletteEvent",kwnames
,&obj0
)) SWIG_fail
;
26449 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
26450 if (!SWIG_IsOK(ecode1
)) {
26451 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_QueryNewPaletteEvent" "', expected argument " "1"" of type '" "int""'");
26453 arg1
= static_cast< int >(val1
);
26456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26457 result
= (wxQueryNewPaletteEvent
*)new wxQueryNewPaletteEvent(arg1
);
26458 wxPyEndAllowThreads(__tstate
);
26459 if (PyErr_Occurred()) SWIG_fail
;
26461 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxQueryNewPaletteEvent
, SWIG_POINTER_NEW
| 0 );
26468 SWIGINTERN PyObject
*_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26469 PyObject
*resultobj
= 0;
26470 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
26476 PyObject
* obj0
= 0 ;
26477 PyObject
* obj1
= 0 ;
26478 char * kwnames
[] = {
26479 (char *) "self",(char *) "realized", NULL
26482 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26483 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryNewPaletteEvent
, 0 | 0 );
26484 if (!SWIG_IsOK(res1
)) {
26485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryNewPaletteEvent_SetPaletteRealized" "', expected argument " "1"" of type '" "wxQueryNewPaletteEvent *""'");
26487 arg1
= reinterpret_cast< wxQueryNewPaletteEvent
* >(argp1
);
26488 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26489 if (!SWIG_IsOK(ecode2
)) {
26490 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryNewPaletteEvent_SetPaletteRealized" "', expected argument " "2"" of type '" "bool""'");
26492 arg2
= static_cast< bool >(val2
);
26494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26495 (arg1
)->SetPaletteRealized(arg2
);
26496 wxPyEndAllowThreads(__tstate
);
26497 if (PyErr_Occurred()) SWIG_fail
;
26499 resultobj
= SWIG_Py_Void();
26506 SWIGINTERN PyObject
*_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26507 PyObject
*resultobj
= 0;
26508 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
26512 PyObject
*swig_obj
[1] ;
26514 if (!args
) SWIG_fail
;
26515 swig_obj
[0] = args
;
26516 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryNewPaletteEvent
, 0 | 0 );
26517 if (!SWIG_IsOK(res1
)) {
26518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryNewPaletteEvent_GetPaletteRealized" "', expected argument " "1"" of type '" "wxQueryNewPaletteEvent const *""'");
26520 arg1
= reinterpret_cast< wxQueryNewPaletteEvent
* >(argp1
);
26522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26523 result
= (bool)((wxQueryNewPaletteEvent
const *)arg1
)->GetPaletteRealized();
26524 wxPyEndAllowThreads(__tstate
);
26525 if (PyErr_Occurred()) SWIG_fail
;
26528 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26536 SWIGINTERN PyObject
*QueryNewPaletteEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26538 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26539 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, SWIG_NewClientData(obj
));
26540 return SWIG_Py_Void();
26543 SWIGINTERN PyObject
*QueryNewPaletteEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26544 return SWIG_Python_InitShadowInstance(args
);
26547 SWIGINTERN PyObject
*_wrap_new_NavigationKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26548 PyObject
*resultobj
= 0;
26549 wxNavigationKeyEvent
*result
= 0 ;
26551 if (!SWIG_Python_UnpackTuple(args
,"new_NavigationKeyEvent",0,0,0)) SWIG_fail
;
26553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26554 result
= (wxNavigationKeyEvent
*)new wxNavigationKeyEvent();
26555 wxPyEndAllowThreads(__tstate
);
26556 if (PyErr_Occurred()) SWIG_fail
;
26558 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_NEW
| 0 );
26565 SWIGINTERN PyObject
*_wrap_NavigationKeyEvent_GetDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26566 PyObject
*resultobj
= 0;
26567 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
26571 PyObject
*swig_obj
[1] ;
26573 if (!args
) SWIG_fail
;
26574 swig_obj
[0] = args
;
26575 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNavigationKeyEvent
, 0 | 0 );
26576 if (!SWIG_IsOK(res1
)) {
26577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NavigationKeyEvent_GetDirection" "', expected argument " "1"" of type '" "wxNavigationKeyEvent const *""'");
26579 arg1
= reinterpret_cast< wxNavigationKeyEvent
* >(argp1
);
26581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26582 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->GetDirection();
26583 wxPyEndAllowThreads(__tstate
);
26584 if (PyErr_Occurred()) SWIG_fail
;
26587 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26595 SWIGINTERN PyObject
*_wrap_NavigationKeyEvent_SetDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26596 PyObject
*resultobj
= 0;
26597 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
26603 PyObject
* obj0
= 0 ;
26604 PyObject
* obj1
= 0 ;
26605 char * kwnames
[] = {
26606 (char *) "self",(char *) "forward", NULL
26609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26610 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNavigationKeyEvent
, 0 | 0 );
26611 if (!SWIG_IsOK(res1
)) {
26612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NavigationKeyEvent_SetDirection" "', expected argument " "1"" of type '" "wxNavigationKeyEvent *""'");
26614 arg1
= reinterpret_cast< wxNavigationKeyEvent
* >(argp1
);
26615 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26616 if (!SWIG_IsOK(ecode2
)) {
26617 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NavigationKeyEvent_SetDirection" "', expected argument " "2"" of type '" "bool""'");
26619 arg2
= static_cast< bool >(val2
);
26621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26622 (arg1
)->SetDirection(arg2
);
26623 wxPyEndAllowThreads(__tstate
);
26624 if (PyErr_Occurred()) SWIG_fail
;
26626 resultobj
= SWIG_Py_Void();
26633 SWIGINTERN PyObject
*_wrap_NavigationKeyEvent_IsWindowChange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26634 PyObject
*resultobj
= 0;
26635 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
26639 PyObject
*swig_obj
[1] ;
26641 if (!args
) SWIG_fail
;
26642 swig_obj
[0] = args
;
26643 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNavigationKeyEvent
, 0 | 0 );
26644 if (!SWIG_IsOK(res1
)) {
26645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NavigationKeyEvent_IsWindowChange" "', expected argument " "1"" of type '" "wxNavigationKeyEvent const *""'");
26647 arg1
= reinterpret_cast< wxNavigationKeyEvent
* >(argp1
);
26649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26650 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsWindowChange();
26651 wxPyEndAllowThreads(__tstate
);
26652 if (PyErr_Occurred()) SWIG_fail
;
26655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26663 SWIGINTERN PyObject
*_wrap_NavigationKeyEvent_SetWindowChange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26664 PyObject
*resultobj
= 0;
26665 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
26671 PyObject
* obj0
= 0 ;
26672 PyObject
* obj1
= 0 ;
26673 char * kwnames
[] = {
26674 (char *) "self",(char *) "ischange", NULL
26677 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26678 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNavigationKeyEvent
, 0 | 0 );
26679 if (!SWIG_IsOK(res1
)) {
26680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NavigationKeyEvent_SetWindowChange" "', expected argument " "1"" of type '" "wxNavigationKeyEvent *""'");
26682 arg1
= reinterpret_cast< wxNavigationKeyEvent
* >(argp1
);
26683 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26684 if (!SWIG_IsOK(ecode2
)) {
26685 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NavigationKeyEvent_SetWindowChange" "', expected argument " "2"" of type '" "bool""'");
26687 arg2
= static_cast< bool >(val2
);
26689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26690 (arg1
)->SetWindowChange(arg2
);
26691 wxPyEndAllowThreads(__tstate
);
26692 if (PyErr_Occurred()) SWIG_fail
;
26694 resultobj
= SWIG_Py_Void();
26701 SWIGINTERN PyObject
*_wrap_NavigationKeyEvent_IsFromTab(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26702 PyObject
*resultobj
= 0;
26703 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
26707 PyObject
*swig_obj
[1] ;
26709 if (!args
) SWIG_fail
;
26710 swig_obj
[0] = args
;
26711 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNavigationKeyEvent
, 0 | 0 );
26712 if (!SWIG_IsOK(res1
)) {
26713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NavigationKeyEvent_IsFromTab" "', expected argument " "1"" of type '" "wxNavigationKeyEvent const *""'");
26715 arg1
= reinterpret_cast< wxNavigationKeyEvent
* >(argp1
);
26717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26718 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsFromTab();
26719 wxPyEndAllowThreads(__tstate
);
26720 if (PyErr_Occurred()) SWIG_fail
;
26723 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26731 SWIGINTERN PyObject
*_wrap_NavigationKeyEvent_SetFromTab(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26732 PyObject
*resultobj
= 0;
26733 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
26739 PyObject
* obj0
= 0 ;
26740 PyObject
* obj1
= 0 ;
26741 char * kwnames
[] = {
26742 (char *) "self",(char *) "bIs", NULL
26745 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFromTab",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26746 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNavigationKeyEvent
, 0 | 0 );
26747 if (!SWIG_IsOK(res1
)) {
26748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NavigationKeyEvent_SetFromTab" "', expected argument " "1"" of type '" "wxNavigationKeyEvent *""'");
26750 arg1
= reinterpret_cast< wxNavigationKeyEvent
* >(argp1
);
26751 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26752 if (!SWIG_IsOK(ecode2
)) {
26753 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NavigationKeyEvent_SetFromTab" "', expected argument " "2"" of type '" "bool""'");
26755 arg2
= static_cast< bool >(val2
);
26757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26758 (arg1
)->SetFromTab(arg2
);
26759 wxPyEndAllowThreads(__tstate
);
26760 if (PyErr_Occurred()) SWIG_fail
;
26762 resultobj
= SWIG_Py_Void();
26769 SWIGINTERN PyObject
*_wrap_NavigationKeyEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26770 PyObject
*resultobj
= 0;
26771 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
26777 PyObject
* obj0
= 0 ;
26778 PyObject
* obj1
= 0 ;
26779 char * kwnames
[] = {
26780 (char *) "self",(char *) "flags", NULL
26783 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26784 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNavigationKeyEvent
, 0 | 0 );
26785 if (!SWIG_IsOK(res1
)) {
26786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NavigationKeyEvent_SetFlags" "', expected argument " "1"" of type '" "wxNavigationKeyEvent *""'");
26788 arg1
= reinterpret_cast< wxNavigationKeyEvent
* >(argp1
);
26789 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26790 if (!SWIG_IsOK(ecode2
)) {
26791 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NavigationKeyEvent_SetFlags" "', expected argument " "2"" of type '" "long""'");
26793 arg2
= static_cast< long >(val2
);
26795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26796 (arg1
)->SetFlags(arg2
);
26797 wxPyEndAllowThreads(__tstate
);
26798 if (PyErr_Occurred()) SWIG_fail
;
26800 resultobj
= SWIG_Py_Void();
26807 SWIGINTERN PyObject
*_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26808 PyObject
*resultobj
= 0;
26809 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
26810 wxWindow
*result
= 0 ;
26813 PyObject
*swig_obj
[1] ;
26815 if (!args
) SWIG_fail
;
26816 swig_obj
[0] = args
;
26817 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNavigationKeyEvent
, 0 | 0 );
26818 if (!SWIG_IsOK(res1
)) {
26819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NavigationKeyEvent_GetCurrentFocus" "', expected argument " "1"" of type '" "wxNavigationKeyEvent const *""'");
26821 arg1
= reinterpret_cast< wxNavigationKeyEvent
* >(argp1
);
26823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26824 result
= (wxWindow
*)((wxNavigationKeyEvent
const *)arg1
)->GetCurrentFocus();
26825 wxPyEndAllowThreads(__tstate
);
26826 if (PyErr_Occurred()) SWIG_fail
;
26829 resultobj
= wxPyMake_wxObject(result
, (bool)0);
26837 SWIGINTERN PyObject
*_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26838 PyObject
*resultobj
= 0;
26839 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
26840 wxWindow
*arg2
= (wxWindow
*) 0 ;
26845 PyObject
* obj0
= 0 ;
26846 PyObject
* obj1
= 0 ;
26847 char * kwnames
[] = {
26848 (char *) "self",(char *) "win", NULL
26851 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26852 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNavigationKeyEvent
, 0 | 0 );
26853 if (!SWIG_IsOK(res1
)) {
26854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NavigationKeyEvent_SetCurrentFocus" "', expected argument " "1"" of type '" "wxNavigationKeyEvent *""'");
26856 arg1
= reinterpret_cast< wxNavigationKeyEvent
* >(argp1
);
26857 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26858 if (!SWIG_IsOK(res2
)) {
26859 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NavigationKeyEvent_SetCurrentFocus" "', expected argument " "2"" of type '" "wxWindow *""'");
26861 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
26863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26864 (arg1
)->SetCurrentFocus(arg2
);
26865 wxPyEndAllowThreads(__tstate
);
26866 if (PyErr_Occurred()) SWIG_fail
;
26868 resultobj
= SWIG_Py_Void();
26875 SWIGINTERN PyObject
*NavigationKeyEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26877 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26878 SWIG_TypeNewClientData(SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_NewClientData(obj
));
26879 return SWIG_Py_Void();
26882 SWIGINTERN PyObject
*NavigationKeyEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26883 return SWIG_Python_InitShadowInstance(args
);
26886 SWIGINTERN PyObject
*_wrap_new_WindowCreateEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26887 PyObject
*resultobj
= 0;
26888 wxWindow
*arg1
= (wxWindow
*) NULL
;
26889 wxWindowCreateEvent
*result
= 0 ;
26892 PyObject
* obj0
= 0 ;
26893 char * kwnames
[] = {
26894 (char *) "win", NULL
26897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowCreateEvent",kwnames
,&obj0
)) SWIG_fail
;
26899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26900 if (!SWIG_IsOK(res1
)) {
26901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowCreateEvent" "', expected argument " "1"" of type '" "wxWindow *""'");
26903 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
26906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26907 result
= (wxWindowCreateEvent
*)new wxWindowCreateEvent(arg1
);
26908 wxPyEndAllowThreads(__tstate
);
26909 if (PyErr_Occurred()) SWIG_fail
;
26911 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowCreateEvent
, SWIG_POINTER_NEW
| 0 );
26918 SWIGINTERN PyObject
*_wrap_WindowCreateEvent_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26919 PyObject
*resultobj
= 0;
26920 wxWindowCreateEvent
*arg1
= (wxWindowCreateEvent
*) 0 ;
26921 wxWindow
*result
= 0 ;
26924 PyObject
*swig_obj
[1] ;
26926 if (!args
) SWIG_fail
;
26927 swig_obj
[0] = args
;
26928 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindowCreateEvent
, 0 | 0 );
26929 if (!SWIG_IsOK(res1
)) {
26930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "WindowCreateEvent_GetWindow" "', expected argument " "1"" of type '" "wxWindowCreateEvent const *""'");
26932 arg1
= reinterpret_cast< wxWindowCreateEvent
* >(argp1
);
26934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26935 result
= (wxWindow
*)((wxWindowCreateEvent
const *)arg1
)->GetWindow();
26936 wxPyEndAllowThreads(__tstate
);
26937 if (PyErr_Occurred()) SWIG_fail
;
26940 resultobj
= wxPyMake_wxObject(result
, (bool)0);
26948 SWIGINTERN PyObject
*WindowCreateEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26950 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26951 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowCreateEvent
, SWIG_NewClientData(obj
));
26952 return SWIG_Py_Void();
26955 SWIGINTERN PyObject
*WindowCreateEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26956 return SWIG_Python_InitShadowInstance(args
);
26959 SWIGINTERN PyObject
*_wrap_new_WindowDestroyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26960 PyObject
*resultobj
= 0;
26961 wxWindow
*arg1
= (wxWindow
*) NULL
;
26962 wxWindowDestroyEvent
*result
= 0 ;
26965 PyObject
* obj0
= 0 ;
26966 char * kwnames
[] = {
26967 (char *) "win", NULL
26970 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDestroyEvent",kwnames
,&obj0
)) SWIG_fail
;
26972 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26973 if (!SWIG_IsOK(res1
)) {
26974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDestroyEvent" "', expected argument " "1"" of type '" "wxWindow *""'");
26976 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
26979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26980 result
= (wxWindowDestroyEvent
*)new wxWindowDestroyEvent(arg1
);
26981 wxPyEndAllowThreads(__tstate
);
26982 if (PyErr_Occurred()) SWIG_fail
;
26984 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDestroyEvent
, SWIG_POINTER_NEW
| 0 );
26991 SWIGINTERN PyObject
*_wrap_WindowDestroyEvent_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26992 PyObject
*resultobj
= 0;
26993 wxWindowDestroyEvent
*arg1
= (wxWindowDestroyEvent
*) 0 ;
26994 wxWindow
*result
= 0 ;
26997 PyObject
*swig_obj
[1] ;
26999 if (!args
) SWIG_fail
;
27000 swig_obj
[0] = args
;
27001 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindowDestroyEvent
, 0 | 0 );
27002 if (!SWIG_IsOK(res1
)) {
27003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "WindowDestroyEvent_GetWindow" "', expected argument " "1"" of type '" "wxWindowDestroyEvent const *""'");
27005 arg1
= reinterpret_cast< wxWindowDestroyEvent
* >(argp1
);
27007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27008 result
= (wxWindow
*)((wxWindowDestroyEvent
const *)arg1
)->GetWindow();
27009 wxPyEndAllowThreads(__tstate
);
27010 if (PyErr_Occurred()) SWIG_fail
;
27013 resultobj
= wxPyMake_wxObject(result
, (bool)0);
27021 SWIGINTERN PyObject
*WindowDestroyEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27023 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27024 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDestroyEvent
, SWIG_NewClientData(obj
));
27025 return SWIG_Py_Void();
27028 SWIGINTERN PyObject
*WindowDestroyEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27029 return SWIG_Python_InitShadowInstance(args
);
27032 SWIGINTERN PyObject
*_wrap_new_ContextMenuEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27033 PyObject
*resultobj
= 0;
27034 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
27035 int arg2
= (int) 0 ;
27036 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
27037 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
27038 wxContextMenuEvent
*result
= 0 ;
27044 PyObject
* obj0
= 0 ;
27045 PyObject
* obj1
= 0 ;
27046 PyObject
* obj2
= 0 ;
27047 char * kwnames
[] = {
27048 (char *) "type",(char *) "winid",(char *) "pt", NULL
27051 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ContextMenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27053 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27054 if (!SWIG_IsOK(ecode1
)) {
27055 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ContextMenuEvent" "', expected argument " "1"" of type '" "wxEventType""'");
27057 arg1
= static_cast< wxEventType
>(val1
);
27060 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27061 if (!SWIG_IsOK(ecode2
)) {
27062 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextMenuEvent" "', expected argument " "2"" of type '" "int""'");
27064 arg2
= static_cast< int >(val2
);
27069 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27074 result
= (wxContextMenuEvent
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
27075 wxPyEndAllowThreads(__tstate
);
27076 if (PyErr_Occurred()) SWIG_fail
;
27078 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextMenuEvent
, SWIG_POINTER_NEW
| 0 );
27085 SWIGINTERN PyObject
*_wrap_ContextMenuEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27086 PyObject
*resultobj
= 0;
27087 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
27088 wxPoint
*result
= 0 ;
27091 PyObject
*swig_obj
[1] ;
27093 if (!args
) SWIG_fail
;
27094 swig_obj
[0] = args
;
27095 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextMenuEvent
, 0 | 0 );
27096 if (!SWIG_IsOK(res1
)) {
27097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextMenuEvent_GetPosition" "', expected argument " "1"" of type '" "wxContextMenuEvent const *""'");
27099 arg1
= reinterpret_cast< wxContextMenuEvent
* >(argp1
);
27101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27103 wxPoint
const &_result_ref
= ((wxContextMenuEvent
const *)arg1
)->GetPosition();
27104 result
= (wxPoint
*) &_result_ref
;
27106 wxPyEndAllowThreads(__tstate
);
27107 if (PyErr_Occurred()) SWIG_fail
;
27109 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, 0 | 0 );
27116 SWIGINTERN PyObject
*_wrap_ContextMenuEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27117 PyObject
*resultobj
= 0;
27118 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
27119 wxPoint
*arg2
= 0 ;
27123 PyObject
* obj0
= 0 ;
27124 PyObject
* obj1
= 0 ;
27125 char * kwnames
[] = {
27126 (char *) "self",(char *) "pos", NULL
27129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27130 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxContextMenuEvent
, 0 | 0 );
27131 if (!SWIG_IsOK(res1
)) {
27132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextMenuEvent_SetPosition" "', expected argument " "1"" of type '" "wxContextMenuEvent *""'");
27134 arg1
= reinterpret_cast< wxContextMenuEvent
* >(argp1
);
27137 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27141 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
27142 wxPyEndAllowThreads(__tstate
);
27143 if (PyErr_Occurred()) SWIG_fail
;
27145 resultobj
= SWIG_Py_Void();
27152 SWIGINTERN PyObject
*ContextMenuEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27154 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27155 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextMenuEvent
, SWIG_NewClientData(obj
));
27156 return SWIG_Py_Void();
27159 SWIGINTERN PyObject
*ContextMenuEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27160 return SWIG_Python_InitShadowInstance(args
);
27163 SWIGINTERN PyObject
*_wrap_new_IdleEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27164 PyObject
*resultobj
= 0;
27165 wxIdleEvent
*result
= 0 ;
27167 if (!SWIG_Python_UnpackTuple(args
,"new_IdleEvent",0,0,0)) SWIG_fail
;
27169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27170 result
= (wxIdleEvent
*)new wxIdleEvent();
27171 wxPyEndAllowThreads(__tstate
);
27172 if (PyErr_Occurred()) SWIG_fail
;
27174 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_NEW
| 0 );
27181 SWIGINTERN PyObject
*_wrap_IdleEvent_RequestMore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27182 PyObject
*resultobj
= 0;
27183 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
27184 bool arg2
= (bool) true ;
27189 PyObject
* obj0
= 0 ;
27190 PyObject
* obj1
= 0 ;
27191 char * kwnames
[] = {
27192 (char *) "self",(char *) "needMore", NULL
27195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27196 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIdleEvent
, 0 | 0 );
27197 if (!SWIG_IsOK(res1
)) {
27198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IdleEvent_RequestMore" "', expected argument " "1"" of type '" "wxIdleEvent *""'");
27200 arg1
= reinterpret_cast< wxIdleEvent
* >(argp1
);
27202 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27203 if (!SWIG_IsOK(ecode2
)) {
27204 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IdleEvent_RequestMore" "', expected argument " "2"" of type '" "bool""'");
27206 arg2
= static_cast< bool >(val2
);
27209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27210 (arg1
)->RequestMore(arg2
);
27211 wxPyEndAllowThreads(__tstate
);
27212 if (PyErr_Occurred()) SWIG_fail
;
27214 resultobj
= SWIG_Py_Void();
27221 SWIGINTERN PyObject
*_wrap_IdleEvent_MoreRequested(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27222 PyObject
*resultobj
= 0;
27223 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
27227 PyObject
*swig_obj
[1] ;
27229 if (!args
) SWIG_fail
;
27230 swig_obj
[0] = args
;
27231 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIdleEvent
, 0 | 0 );
27232 if (!SWIG_IsOK(res1
)) {
27233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IdleEvent_MoreRequested" "', expected argument " "1"" of type '" "wxIdleEvent const *""'");
27235 arg1
= reinterpret_cast< wxIdleEvent
* >(argp1
);
27237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27238 result
= (bool)((wxIdleEvent
const *)arg1
)->MoreRequested();
27239 wxPyEndAllowThreads(__tstate
);
27240 if (PyErr_Occurred()) SWIG_fail
;
27243 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27251 SWIGINTERN PyObject
*_wrap_IdleEvent_SetMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27252 PyObject
*resultobj
= 0;
27256 PyObject
* obj0
= 0 ;
27257 char * kwnames
[] = {
27258 (char *) "mode", NULL
27261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_SetMode",kwnames
,&obj0
)) SWIG_fail
;
27262 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27263 if (!SWIG_IsOK(ecode1
)) {
27264 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "IdleEvent_SetMode" "', expected argument " "1"" of type '" "wxIdleMode""'");
27266 arg1
= static_cast< wxIdleMode
>(val1
);
27268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27269 wxIdleEvent::SetMode(arg1
);
27270 wxPyEndAllowThreads(__tstate
);
27271 if (PyErr_Occurred()) SWIG_fail
;
27273 resultobj
= SWIG_Py_Void();
27280 SWIGINTERN PyObject
*_wrap_IdleEvent_GetMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27281 PyObject
*resultobj
= 0;
27284 if (!SWIG_Python_UnpackTuple(args
,"IdleEvent_GetMode",0,0,0)) SWIG_fail
;
27286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27287 result
= (wxIdleMode
)wxIdleEvent::GetMode();
27288 wxPyEndAllowThreads(__tstate
);
27289 if (PyErr_Occurred()) SWIG_fail
;
27291 resultobj
= SWIG_From_int(static_cast< int >(result
));
27298 SWIGINTERN PyObject
*_wrap_IdleEvent_CanSend(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27299 PyObject
*resultobj
= 0;
27300 wxWindow
*arg1
= (wxWindow
*) 0 ;
27304 PyObject
* obj0
= 0 ;
27305 char * kwnames
[] = {
27306 (char *) "win", NULL
27309 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_CanSend",kwnames
,&obj0
)) SWIG_fail
;
27310 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27311 if (!SWIG_IsOK(res1
)) {
27312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IdleEvent_CanSend" "', expected argument " "1"" of type '" "wxWindow *""'");
27314 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
27316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27317 result
= (bool)wxIdleEvent::CanSend(arg1
);
27318 wxPyEndAllowThreads(__tstate
);
27319 if (PyErr_Occurred()) SWIG_fail
;
27322 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27330 SWIGINTERN PyObject
*IdleEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27332 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27333 SWIG_TypeNewClientData(SWIGTYPE_p_wxIdleEvent
, SWIG_NewClientData(obj
));
27334 return SWIG_Py_Void();
27337 SWIGINTERN PyObject
*IdleEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27338 return SWIG_Python_InitShadowInstance(args
);
27341 SWIGINTERN PyObject
*_wrap_new_ClipboardTextEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27342 PyObject
*resultobj
= 0;
27343 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
27344 int arg2
= (int) 0 ;
27345 wxClipboardTextEvent
*result
= 0 ;
27350 PyObject
* obj0
= 0 ;
27351 PyObject
* obj1
= 0 ;
27352 char * kwnames
[] = {
27353 (char *) "type",(char *) "winid", NULL
27356 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ClipboardTextEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27358 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27359 if (!SWIG_IsOK(ecode1
)) {
27360 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ClipboardTextEvent" "', expected argument " "1"" of type '" "wxEventType""'");
27362 arg1
= static_cast< wxEventType
>(val1
);
27365 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27366 if (!SWIG_IsOK(ecode2
)) {
27367 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ClipboardTextEvent" "', expected argument " "2"" of type '" "int""'");
27369 arg2
= static_cast< int >(val2
);
27372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27373 result
= (wxClipboardTextEvent
*)new wxClipboardTextEvent(arg1
,arg2
);
27374 wxPyEndAllowThreads(__tstate
);
27375 if (PyErr_Occurred()) SWIG_fail
;
27377 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClipboardTextEvent
, SWIG_POINTER_NEW
| 0 );
27384 SWIGINTERN PyObject
*ClipboardTextEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27386 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27387 SWIG_TypeNewClientData(SWIGTYPE_p_wxClipboardTextEvent
, SWIG_NewClientData(obj
));
27388 return SWIG_Py_Void();
27391 SWIGINTERN PyObject
*ClipboardTextEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27392 return SWIG_Python_InitShadowInstance(args
);
27395 SWIGINTERN PyObject
*_wrap_new_PyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27396 PyObject
*resultobj
= 0;
27397 int arg1
= (int) 0 ;
27398 wxEventType arg2
= (wxEventType
) wxEVT_NULL
;
27399 wxPyEvent
*result
= 0 ;
27404 PyObject
* obj0
= 0 ;
27405 PyObject
* obj1
= 0 ;
27406 char * kwnames
[] = {
27407 (char *) "winid",(char *) "eventType", NULL
27410 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27412 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27413 if (!SWIG_IsOK(ecode1
)) {
27414 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyEvent" "', expected argument " "1"" of type '" "int""'");
27416 arg1
= static_cast< int >(val1
);
27419 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27420 if (!SWIG_IsOK(ecode2
)) {
27421 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyEvent" "', expected argument " "2"" of type '" "wxEventType""'");
27423 arg2
= static_cast< wxEventType
>(val2
);
27426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27427 result
= (wxPyEvent
*)new wxPyEvent(arg1
,arg2
);
27428 wxPyEndAllowThreads(__tstate
);
27429 if (PyErr_Occurred()) SWIG_fail
;
27431 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_NEW
| 0 );
27438 SWIGINTERN PyObject
*_wrap_delete_PyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27439 PyObject
*resultobj
= 0;
27440 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
27443 PyObject
*swig_obj
[1] ;
27445 if (!args
) SWIG_fail
;
27446 swig_obj
[0] = args
;
27447 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_DISOWN
| 0 );
27448 if (!SWIG_IsOK(res1
)) {
27449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PyEvent" "', expected argument " "1"" of type '" "wxPyEvent *""'");
27451 arg1
= reinterpret_cast< wxPyEvent
* >(argp1
);
27453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27456 wxPyEndAllowThreads(__tstate
);
27457 if (PyErr_Occurred()) SWIG_fail
;
27459 resultobj
= SWIG_Py_Void();
27466 SWIGINTERN PyObject
*_wrap_PyEvent__SetSelf(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27467 PyObject
*resultobj
= 0;
27468 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
27469 PyObject
*arg2
= (PyObject
*) 0 ;
27472 PyObject
* obj0
= 0 ;
27473 PyObject
* obj1
= 0 ;
27474 char * kwnames
[] = {
27475 (char *) "self",(char *) "self", NULL
27478 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEvent__SetSelf",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27479 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyEvent
, 0 | 0 );
27480 if (!SWIG_IsOK(res1
)) {
27481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyEvent__SetSelf" "', expected argument " "1"" of type '" "wxPyEvent *""'");
27483 arg1
= reinterpret_cast< wxPyEvent
* >(argp1
);
27486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27487 (arg1
)->SetSelf(arg2
);
27488 wxPyEndAllowThreads(__tstate
);
27489 if (PyErr_Occurred()) SWIG_fail
;
27491 resultobj
= SWIG_Py_Void();
27498 SWIGINTERN PyObject
*_wrap_PyEvent__GetSelf(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27499 PyObject
*resultobj
= 0;
27500 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
27501 PyObject
*result
= 0 ;
27504 PyObject
*swig_obj
[1] ;
27506 if (!args
) SWIG_fail
;
27507 swig_obj
[0] = args
;
27508 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyEvent
, 0 | 0 );
27509 if (!SWIG_IsOK(res1
)) {
27510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyEvent__GetSelf" "', expected argument " "1"" of type '" "wxPyEvent *""'");
27512 arg1
= reinterpret_cast< wxPyEvent
* >(argp1
);
27514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27515 result
= (PyObject
*)(arg1
)->GetSelf();
27516 wxPyEndAllowThreads(__tstate
);
27517 if (PyErr_Occurred()) SWIG_fail
;
27519 resultobj
= result
;
27526 SWIGINTERN PyObject
*PyEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27528 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27529 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyEvent
, SWIG_NewClientData(obj
));
27530 return SWIG_Py_Void();
27533 SWIGINTERN PyObject
*PyEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27534 return SWIG_Python_InitShadowInstance(args
);
27537 SWIGINTERN PyObject
*_wrap_new_PyCommandEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27538 PyObject
*resultobj
= 0;
27539 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
27540 int arg2
= (int) 0 ;
27541 wxPyCommandEvent
*result
= 0 ;
27546 PyObject
* obj0
= 0 ;
27547 PyObject
* obj1
= 0 ;
27548 char * kwnames
[] = {
27549 (char *) "eventType",(char *) "id", NULL
27552 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyCommandEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27554 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27555 if (!SWIG_IsOK(ecode1
)) {
27556 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyCommandEvent" "', expected argument " "1"" of type '" "wxEventType""'");
27558 arg1
= static_cast< wxEventType
>(val1
);
27561 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27562 if (!SWIG_IsOK(ecode2
)) {
27563 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyCommandEvent" "', expected argument " "2"" of type '" "int""'");
27565 arg2
= static_cast< int >(val2
);
27568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27569 result
= (wxPyCommandEvent
*)new wxPyCommandEvent(arg1
,arg2
);
27570 wxPyEndAllowThreads(__tstate
);
27571 if (PyErr_Occurred()) SWIG_fail
;
27573 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_NEW
| 0 );
27580 SWIGINTERN PyObject
*_wrap_delete_PyCommandEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27581 PyObject
*resultobj
= 0;
27582 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
27585 PyObject
*swig_obj
[1] ;
27587 if (!args
) SWIG_fail
;
27588 swig_obj
[0] = args
;
27589 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_DISOWN
| 0 );
27590 if (!SWIG_IsOK(res1
)) {
27591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PyCommandEvent" "', expected argument " "1"" of type '" "wxPyCommandEvent *""'");
27593 arg1
= reinterpret_cast< wxPyCommandEvent
* >(argp1
);
27595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27598 wxPyEndAllowThreads(__tstate
);
27599 if (PyErr_Occurred()) SWIG_fail
;
27601 resultobj
= SWIG_Py_Void();
27608 SWIGINTERN PyObject
*_wrap_PyCommandEvent__SetSelf(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27609 PyObject
*resultobj
= 0;
27610 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
27611 PyObject
*arg2
= (PyObject
*) 0 ;
27614 PyObject
* obj0
= 0 ;
27615 PyObject
* obj1
= 0 ;
27616 char * kwnames
[] = {
27617 (char *) "self",(char *) "self", NULL
27620 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCommandEvent__SetSelf",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27621 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyCommandEvent
, 0 | 0 );
27622 if (!SWIG_IsOK(res1
)) {
27623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyCommandEvent__SetSelf" "', expected argument " "1"" of type '" "wxPyCommandEvent *""'");
27625 arg1
= reinterpret_cast< wxPyCommandEvent
* >(argp1
);
27628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27629 (arg1
)->SetSelf(arg2
);
27630 wxPyEndAllowThreads(__tstate
);
27631 if (PyErr_Occurred()) SWIG_fail
;
27633 resultobj
= SWIG_Py_Void();
27640 SWIGINTERN PyObject
*_wrap_PyCommandEvent__GetSelf(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27641 PyObject
*resultobj
= 0;
27642 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
27643 PyObject
*result
= 0 ;
27646 PyObject
*swig_obj
[1] ;
27648 if (!args
) SWIG_fail
;
27649 swig_obj
[0] = args
;
27650 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyCommandEvent
, 0 | 0 );
27651 if (!SWIG_IsOK(res1
)) {
27652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyCommandEvent__GetSelf" "', expected argument " "1"" of type '" "wxPyCommandEvent *""'");
27654 arg1
= reinterpret_cast< wxPyCommandEvent
* >(argp1
);
27656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27657 result
= (PyObject
*)(arg1
)->GetSelf();
27658 wxPyEndAllowThreads(__tstate
);
27659 if (PyErr_Occurred()) SWIG_fail
;
27661 resultobj
= result
;
27668 SWIGINTERN PyObject
*PyCommandEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27670 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27671 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyCommandEvent
, SWIG_NewClientData(obj
));
27672 return SWIG_Py_Void();
27675 SWIGINTERN PyObject
*PyCommandEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27676 return SWIG_Python_InitShadowInstance(args
);
27679 SWIGINTERN PyObject
*_wrap_new_DateEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27680 PyObject
*resultobj
= 0;
27681 wxWindow
*arg1
= (wxWindow
*) 0 ;
27682 wxDateTime
*arg2
= 0 ;
27684 wxDateEvent
*result
= 0 ;
27691 PyObject
* obj0
= 0 ;
27692 PyObject
* obj1
= 0 ;
27693 PyObject
* obj2
= 0 ;
27694 char * kwnames
[] = {
27695 (char *) "win",(char *) "dt",(char *) "type", NULL
27698 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_DateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27699 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27700 if (!SWIG_IsOK(res1
)) {
27701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DateEvent" "', expected argument " "1"" of type '" "wxWindow *""'");
27703 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
27704 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
27705 if (!SWIG_IsOK(res2
)) {
27706 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DateEvent" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27709 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DateEvent" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27711 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27712 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27713 if (!SWIG_IsOK(ecode3
)) {
27714 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DateEvent" "', expected argument " "3"" of type '" "wxEventType""'");
27716 arg3
= static_cast< wxEventType
>(val3
);
27718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27719 result
= (wxDateEvent
*)new wxDateEvent(arg1
,(wxDateTime
const &)*arg2
,arg3
);
27720 wxPyEndAllowThreads(__tstate
);
27721 if (PyErr_Occurred()) SWIG_fail
;
27723 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateEvent
, SWIG_POINTER_NEW
| 0 );
27730 SWIGINTERN PyObject
*_wrap_DateEvent_GetDate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27731 PyObject
*resultobj
= 0;
27732 wxDateEvent
*arg1
= (wxDateEvent
*) 0 ;
27733 wxDateTime
*result
= 0 ;
27736 PyObject
*swig_obj
[1] ;
27738 if (!args
) SWIG_fail
;
27739 swig_obj
[0] = args
;
27740 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateEvent
, 0 | 0 );
27741 if (!SWIG_IsOK(res1
)) {
27742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateEvent_GetDate" "', expected argument " "1"" of type '" "wxDateEvent const *""'");
27744 arg1
= reinterpret_cast< wxDateEvent
* >(argp1
);
27746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27748 wxDateTime
const &_result_ref
= ((wxDateEvent
const *)arg1
)->GetDate();
27749 result
= (wxDateTime
*) &_result_ref
;
27751 wxPyEndAllowThreads(__tstate
);
27752 if (PyErr_Occurred()) SWIG_fail
;
27754 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
27761 SWIGINTERN PyObject
*_wrap_DateEvent_SetDate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27762 PyObject
*resultobj
= 0;
27763 wxDateEvent
*arg1
= (wxDateEvent
*) 0 ;
27764 wxDateTime
*arg2
= 0 ;
27769 PyObject
* obj0
= 0 ;
27770 PyObject
* obj1
= 0 ;
27771 char * kwnames
[] = {
27772 (char *) "self",(char *) "date", NULL
27775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateEvent_SetDate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27776 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateEvent
, 0 | 0 );
27777 if (!SWIG_IsOK(res1
)) {
27778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateEvent_SetDate" "', expected argument " "1"" of type '" "wxDateEvent *""'");
27780 arg1
= reinterpret_cast< wxDateEvent
* >(argp1
);
27781 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
27782 if (!SWIG_IsOK(res2
)) {
27783 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateEvent_SetDate" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27786 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateEvent_SetDate" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27788 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27791 (arg1
)->SetDate((wxDateTime
const &)*arg2
);
27792 wxPyEndAllowThreads(__tstate
);
27793 if (PyErr_Occurred()) SWIG_fail
;
27795 resultobj
= SWIG_Py_Void();
27802 SWIGINTERN PyObject
*DateEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27804 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27805 SWIG_TypeNewClientData(SWIGTYPE_p_wxDateEvent
, SWIG_NewClientData(obj
));
27806 return SWIG_Py_Void();
27809 SWIGINTERN PyObject
*DateEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27810 return SWIG_Python_InitShadowInstance(args
);
27813 SWIGINTERN PyObject
*_wrap_new_PyApp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27814 PyObject
*resultobj
= 0;
27815 wxPyApp
*result
= 0 ;
27817 if (!SWIG_Python_UnpackTuple(args
,"new_PyApp",0,0,0)) SWIG_fail
;
27819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27820 result
= (wxPyApp
*)new_wxPyApp();
27821 wxPyEndAllowThreads(__tstate
);
27822 if (PyErr_Occurred()) SWIG_fail
;
27824 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyApp
, SWIG_POINTER_NEW
| 0 );
27831 SWIGINTERN PyObject
*_wrap_delete_PyApp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27832 PyObject
*resultobj
= 0;
27833 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27836 PyObject
*swig_obj
[1] ;
27838 if (!args
) SWIG_fail
;
27839 swig_obj
[0] = args
;
27840 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, SWIG_POINTER_DISOWN
| 0 );
27841 if (!SWIG_IsOK(res1
)) {
27842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PyApp" "', expected argument " "1"" of type '" "wxPyApp *""'");
27844 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27849 wxPyEndAllowThreads(__tstate
);
27850 if (PyErr_Occurred()) SWIG_fail
;
27852 resultobj
= SWIG_Py_Void();
27859 SWIGINTERN PyObject
*_wrap_PyApp__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27860 PyObject
*resultobj
= 0;
27861 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27862 PyObject
*arg2
= (PyObject
*) 0 ;
27863 PyObject
*arg3
= (PyObject
*) 0 ;
27869 PyObject
* obj0
= 0 ;
27870 PyObject
* obj1
= 0 ;
27871 PyObject
* obj2
= 0 ;
27872 PyObject
* obj3
= 0 ;
27873 char * kwnames
[] = {
27874 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
27877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27879 if (!SWIG_IsOK(res1
)) {
27880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyApp *""'");
27882 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27885 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
27886 if (!SWIG_IsOK(ecode4
)) {
27887 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyApp__setCallbackInfo" "', expected argument " "4"" of type '" "bool""'");
27889 arg4
= static_cast< bool >(val4
);
27891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27892 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
27893 wxPyEndAllowThreads(__tstate
);
27894 if (PyErr_Occurred()) SWIG_fail
;
27896 resultobj
= SWIG_Py_Void();
27903 SWIGINTERN PyObject
*_wrap_PyApp_GetAppName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27904 PyObject
*resultobj
= 0;
27905 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27909 PyObject
*swig_obj
[1] ;
27911 if (!args
) SWIG_fail
;
27912 swig_obj
[0] = args
;
27913 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27914 if (!SWIG_IsOK(res1
)) {
27915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_GetAppName" "', expected argument " "1"" of type '" "wxPyApp const *""'");
27917 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27920 result
= ((wxPyApp
const *)arg1
)->GetAppName();
27921 wxPyEndAllowThreads(__tstate
);
27922 if (PyErr_Occurred()) SWIG_fail
;
27926 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27928 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27937 SWIGINTERN PyObject
*_wrap_PyApp_SetAppName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27938 PyObject
*resultobj
= 0;
27939 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27940 wxString
*arg2
= 0 ;
27943 bool temp2
= false ;
27944 PyObject
* obj0
= 0 ;
27945 PyObject
* obj1
= 0 ;
27946 char * kwnames
[] = {
27947 (char *) "self",(char *) "name", NULL
27950 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAppName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27951 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27952 if (!SWIG_IsOK(res1
)) {
27953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_SetAppName" "', expected argument " "1"" of type '" "wxPyApp *""'");
27955 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27957 arg2
= wxString_in_helper(obj1
);
27958 if (arg2
== NULL
) SWIG_fail
;
27962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27963 (arg1
)->SetAppName((wxString
const &)*arg2
);
27964 wxPyEndAllowThreads(__tstate
);
27965 if (PyErr_Occurred()) SWIG_fail
;
27967 resultobj
= SWIG_Py_Void();
27982 SWIGINTERN PyObject
*_wrap_PyApp_GetClassName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27983 PyObject
*resultobj
= 0;
27984 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27988 PyObject
*swig_obj
[1] ;
27990 if (!args
) SWIG_fail
;
27991 swig_obj
[0] = args
;
27992 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27993 if (!SWIG_IsOK(res1
)) {
27994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_GetClassName" "', expected argument " "1"" of type '" "wxPyApp const *""'");
27996 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27999 result
= ((wxPyApp
const *)arg1
)->GetClassName();
28000 wxPyEndAllowThreads(__tstate
);
28001 if (PyErr_Occurred()) SWIG_fail
;
28005 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28007 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28016 SWIGINTERN PyObject
*_wrap_PyApp_SetClassName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28017 PyObject
*resultobj
= 0;
28018 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
28019 wxString
*arg2
= 0 ;
28022 bool temp2
= false ;
28023 PyObject
* obj0
= 0 ;
28024 PyObject
* obj1
= 0 ;
28025 char * kwnames
[] = {
28026 (char *) "self",(char *) "name", NULL
28029 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetClassName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28030 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
28031 if (!SWIG_IsOK(res1
)) {
28032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_SetClassName" "', expected argument " "1"" of type '" "wxPyApp *""'");
28034 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
28036 arg2
= wxString_in_helper(obj1
);
28037 if (arg2
== NULL
) SWIG_fail
;
28041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28042 (arg1
)->SetClassName((wxString
const &)*arg2
);
28043 wxPyEndAllowThreads(__tstate
);
28044 if (PyErr_Occurred()) SWIG_fail
;
28046 resultobj
= SWIG_Py_Void();
28061 SWIGINTERN PyObject
*_wrap_PyApp_GetVendorName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28062 PyObject
*resultobj
= 0;
28063 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
28064 wxString
*result
= 0 ;
28067 PyObject
*swig_obj
[1] ;
28069 if (!args
) SWIG_fail
;
28070 swig_obj
[0] = args
;
28071 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
28072 if (!SWIG_IsOK(res1
)) {
28073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_GetVendorName" "', expected argument " "1"" of type '" "wxPyApp const *""'");
28075 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
28077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28079 wxString
const &_result_ref
= ((wxPyApp
const *)arg1
)->GetVendorName();
28080 result
= (wxString
*) &_result_ref
;
28082 wxPyEndAllowThreads(__tstate
);
28083 if (PyErr_Occurred()) SWIG_fail
;
28087 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28089 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28098 SWIGINTERN PyObject
*_wrap_PyApp_SetVendorName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28099 PyObject
*resultobj
= 0;
28100 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
28101 wxString
*arg2
= 0 ;
28104 bool temp2
= false ;
28105 PyObject
* obj0
= 0 ;
28106 PyObject
* obj1
= 0 ;
28107 char * kwnames
[] = {
28108 (char *) "self",(char *) "name", NULL
28111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28112 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
28113 if (!SWIG_IsOK(res1
)) {
28114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_SetVendorName" "', expected argument " "1"" of type '" "wxPyApp *""'");
28116 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
28118 arg2
= wxString_in_helper(obj1
);
28119 if (arg2
== NULL
) SWIG_fail
;
28123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28124 (arg1
)->SetVendorName((wxString
const &)*arg2
);
28125 wxPyEndAllowThreads(__tstate
);
28126 if (PyErr_Occurred()) SWIG_fail
;
28128 resultobj
= SWIG_Py_Void();
28143 SWIGINTERN PyObject
*_wrap_PyApp_GetTraits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28144 PyObject
*resultobj
= 0;
28145 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
28146 wxAppTraits
*result
= 0 ;
28149 PyObject
*swig_obj
[1] ;
28151 if (!args
) SWIG_fail
;
28152 swig_obj
[0] = args
;
28153 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
28154 if (!SWIG_IsOK(res1
)) {
28155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_GetTraits" "', expected argument " "1"" of type '" "wxPyApp *""'");
28157 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
28159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28160 result
= (wxAppTraits
*)(arg1
)->GetTraits();
28161 wxPyEndAllowThreads(__tstate
);
28162 if (PyErr_Occurred()) SWIG_fail
;
28164 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAppTraits
, 0 | 0 );
28171 SWIGINTERN PyObject
*_wrap_PyApp_ProcessPendingEvents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28172 PyObject
*resultobj
= 0;
28173 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
28176 PyObject
*swig_obj
[1] ;
28178 if (!args
) SWIG_fail
;
28179 swig_obj
[0] = args
;
28180 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
28181 if (!SWIG_IsOK(res1
)) {
28182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_ProcessPendingEvents" "', expected argument " "1"" of type '" "wxPyApp *""'");
28184 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
28186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28187 (arg1
)->ProcessPendingEvents();
28188 wxPyEndAllowThreads(__tstate
);
28189 if (PyErr_Occurred()) SWIG_fail
;
28191 resultobj
= SWIG_Py_Void();
28198 SWIGINTERN PyObject
*_wrap_PyApp_Yield(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28199 PyObject
*resultobj
= 0;
28200 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
28201 bool arg2
= (bool) false ;
28207 PyObject
* obj0
= 0 ;
28208 PyObject
* obj1
= 0 ;
28209 char * kwnames
[] = {
28210 (char *) "self",(char *) "onlyIfNeeded", NULL
28213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyApp_Yield",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28214 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
28215 if (!SWIG_IsOK(res1
)) {
28216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_Yield" "', expected argument " "1"" of type '" "wxPyApp *""'");
28218 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
28220 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
28221 if (!SWIG_IsOK(ecode2
)) {
28222 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyApp_Yield" "', expected argument " "2"" of type '" "bool""'");
28224 arg2
= static_cast< bool >(val2
);
28227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28228 result
= (bool)(arg1
)->Yield(arg2
);
28229 wxPyEndAllowThreads(__tstate
);
28230 if (PyErr_Occurred()) SWIG_fail
;
28233 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28241 SWIGINTERN PyObject
*_wrap_PyApp_WakeUpIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28242 PyObject
*resultobj
= 0;
28243 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
28246 PyObject
*swig_obj
[1] ;
28248 if (!args
) SWIG_fail
;
28249 swig_obj
[0] = args
;
28250 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
28251 if (!SWIG_IsOK(res1
)) {
28252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_WakeUpIdle" "', expected argument " "1"" of type '" "wxPyApp *""'");
28254 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
28256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28257 (arg1
)->WakeUpIdle();
28258 wxPyEndAllowThreads(__tstate
);
28259 if (PyErr_Occurred()) SWIG_fail
;
28261 resultobj
= SWIG_Py_Void();
28268 SWIGINTERN PyObject
*_wrap_PyApp_IsMainLoopRunning(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28269 PyObject
*resultobj
= 0;
28272 if (!SWIG_Python_UnpackTuple(args
,"PyApp_IsMainLoopRunning",0,0,0)) SWIG_fail
;
28274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28275 result
= (bool)wxPyApp::IsMainLoopRunning();
28276 wxPyEndAllowThreads(__tstate
);
28277 if (PyErr_Occurred()) SWIG_fail
;
28280 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28288 SWIGINTERN PyObject
*_wrap_PyApp_MainLoop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28289 PyObject
*resultobj
= 0;
28290 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
28294 PyObject
*swig_obj
[1] ;
28296 if (!args
) SWIG_fail
;
28297 swig_obj
[0] = args
;
28298 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
28299 if (!SWIG_IsOK(res1
)) {
28300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_MainLoop" "', expected argument " "1"" of type '" "wxPyApp *""'");
28302 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
28304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28305 result
= (int)(arg1
)->MainLoop();
28306 wxPyEndAllowThreads(__tstate
);
28307 if (PyErr_Occurred()) SWIG_fail
;
28309 resultobj
= SWIG_From_int(static_cast< int >(result
));
28316 SWIGINTERN PyObject
*_wrap_PyApp_Exit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28317 PyObject
*resultobj
= 0;
28318 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
28321 PyObject
*swig_obj
[1] ;
28323 if (!args
) SWIG_fail
;
28324 swig_obj
[0] = args
;
28325 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
28326 if (!SWIG_IsOK(res1
)) {
28327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_Exit" "', expected argument " "1"" of type '" "wxPyApp *""'");
28329 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
28331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28333 wxPyEndAllowThreads(__tstate
);
28334 if (PyErr_Occurred()) SWIG_fail
;
28336 resultobj
= SWIG_Py_Void();
28343 SWIGINTERN PyObject
*_wrap_PyApp_GetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28344 PyObject
*resultobj
= 0;
28345 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
28346 wxLayoutDirection result
;
28349 PyObject
*swig_obj
[1] ;
28351 if (!args
) SWIG_fail
;
28352 swig_obj
[0] = args
;
28353 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
28354 if (!SWIG_IsOK(res1
)) {
28355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_GetLayoutDirection" "', expected argument " "1"" of type '" "wxPyApp const *""'");
28357 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
28359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28360 result
= (wxLayoutDirection
)((wxPyApp
const *)arg1
)->GetLayoutDirection();
28361 wxPyEndAllowThreads(__tstate
);
28362 if (PyErr_Occurred()) SWIG_fail
;
28364 resultobj
= SWIG_From_int(static_cast< int >(result
));
28371 SWIGINTERN PyObject
*_wrap_PyApp_ExitMainLoop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28372 PyObject
*resultobj
= 0;
28373 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
28376 PyObject
*swig_obj
[1] ;
28378 if (!args
) SWIG_fail
;
28379 swig_obj
[0] = args
;
28380 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
28381 if (!SWIG_IsOK(res1
)) {
28382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_ExitMainLoop" "', expected argument " "1"" of type '" "wxPyApp *""'");
28384 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
28386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28387 (arg1
)->ExitMainLoop();
28388 wxPyEndAllowThreads(__tstate
);
28389 if (PyErr_Occurred()) SWIG_fail
;
28391 resultobj
= SWIG_Py_Void();
28398 SWIGINTERN PyObject
*_wrap_PyApp_Pending(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28399 PyObject
*resultobj
= 0;
28400 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
28404 PyObject
*swig_obj
[1] ;
28406 if (!args
) SWIG_fail
;
28407 swig_obj
[0] = args
;
28408 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
28409 if (!SWIG_IsOK(res1
)) {
28410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_Pending" "', expected argument " "1"" of type '" "wxPyApp *""'");
28412 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
28414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28415 result
= (bool)(arg1
)->Pending();
28416 wxPyEndAllowThreads(__tstate
);
28417 if (PyErr_Occurred()) SWIG_fail
;
28420 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28428 SWIGINTERN PyObject
*_wrap_PyApp_Dispatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28429 PyObject
*resultobj
= 0;
28430 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
28434 PyObject
*swig_obj
[1] ;
28436 if (!args
) SWIG_fail
;
28437 swig_obj
[0] = args
;
28438 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
28439 if (!SWIG_IsOK(res1
)) {
28440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_Dispatch" "', expected argument " "1"" of type '" "wxPyApp *""'");
28442 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
28444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28445 result
= (bool)(arg1
)->Dispatch();
28446 wxPyEndAllowThreads(__tstate
);
28447 if (PyErr_Occurred()) SWIG_fail
;
28450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28458 SWIGINTERN PyObject
*_wrap_PyApp_ProcessIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28459 PyObject
*resultobj
= 0;
28460 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
28464 PyObject
*swig_obj
[1] ;
28466 if (!args
) SWIG_fail
;
28467 swig_obj
[0] = args
;
28468 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
28469 if (!SWIG_IsOK(res1
)) {
28470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_ProcessIdle" "', expected argument " "1"" of type '" "wxPyApp *""'");
28472 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
28474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28475 result
= (bool)(arg1
)->ProcessIdle();
28476 wxPyEndAllowThreads(__tstate
);
28477 if (PyErr_Occurred()) SWIG_fail
;
28480 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28488 SWIGINTERN PyObject
*_wrap_PyApp_SendIdleEvents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28489 PyObject
*resultobj
= 0;
28490 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
28491 wxWindow
*arg2
= (wxWindow
*) 0 ;
28492 wxIdleEvent
*arg3
= 0 ;
28500 PyObject
* obj0
= 0 ;
28501 PyObject
* obj1
= 0 ;
28502 PyObject
* obj2
= 0 ;
28503 char * kwnames
[] = {
28504 (char *) "self",(char *) "win",(char *) "event", NULL
28507 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28508 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
28509 if (!SWIG_IsOK(res1
)) {
28510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_SendIdleEvents" "', expected argument " "1"" of type '" "wxPyApp *""'");
28512 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
28513 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28514 if (!SWIG_IsOK(res2
)) {
28515 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyApp_SendIdleEvents" "', expected argument " "2"" of type '" "wxWindow *""'");
28517 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28518 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxIdleEvent
, 0 );
28519 if (!SWIG_IsOK(res3
)) {
28520 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyApp_SendIdleEvents" "', expected argument " "3"" of type '" "wxIdleEvent &""'");
28523 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PyApp_SendIdleEvents" "', expected argument " "3"" of type '" "wxIdleEvent &""'");
28525 arg3
= reinterpret_cast< wxIdleEvent
* >(argp3
);
28527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28528 result
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
);
28529 wxPyEndAllowThreads(__tstate
);
28530 if (PyErr_Occurred()) SWIG_fail
;
28533 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28541 SWIGINTERN PyObject
*_wrap_PyApp_IsActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28542 PyObject
*resultobj
= 0;
28543 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
28547 PyObject
*swig_obj
[1] ;
28549 if (!args
) SWIG_fail
;
28550 swig_obj
[0] = args
;
28551 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
28552 if (!SWIG_IsOK(res1
)) {
28553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_IsActive" "', expected argument " "1"" of type '" "wxPyApp const *""'");
28555 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
28557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28558 result
= (bool)((wxPyApp
const *)arg1
)->IsActive();
28559 wxPyEndAllowThreads(__tstate
);
28560 if (PyErr_Occurred()) SWIG_fail
;
28563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28571 SWIGINTERN PyObject
*_wrap_PyApp_SetTopWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28572 PyObject
*resultobj
= 0;
28573 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
28574 wxWindow
*arg2
= (wxWindow
*) 0 ;
28579 PyObject
* obj0
= 0 ;
28580 PyObject
* obj1
= 0 ;
28581 char * kwnames
[] = {
28582 (char *) "self",(char *) "win", NULL
28585 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28586 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
28587 if (!SWIG_IsOK(res1
)) {
28588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_SetTopWindow" "', expected argument " "1"" of type '" "wxPyApp *""'");
28590 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
28591 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28592 if (!SWIG_IsOK(res2
)) {
28593 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyApp_SetTopWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
28595 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28598 (arg1
)->SetTopWindow(arg2
);
28599 wxPyEndAllowThreads(__tstate
);
28600 if (PyErr_Occurred()) SWIG_fail
;
28602 resultobj
= SWIG_Py_Void();
28609 SWIGINTERN PyObject
*_wrap_PyApp_GetTopWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28610 PyObject
*resultobj
= 0;
28611 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
28612 wxWindow
*result
= 0 ;
28615 PyObject
*swig_obj
[1] ;
28617 if (!args
) SWIG_fail
;
28618 swig_obj
[0] = args
;
28619 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
28620 if (!SWIG_IsOK(res1
)) {
28621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_GetTopWindow" "', expected argument " "1"" of type '" "wxPyApp const *""'");
28623 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
28625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28626 result
= (wxWindow
*)((wxPyApp
const *)arg1
)->GetTopWindow();
28627 wxPyEndAllowThreads(__tstate
);
28628 if (PyErr_Occurred()) SWIG_fail
;
28631 resultobj
= wxPyMake_wxObject(result
, (bool)0);
28639 SWIGINTERN PyObject
*_wrap_PyApp_SetExitOnFrameDelete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28640 PyObject
*resultobj
= 0;
28641 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
28647 PyObject
* obj0
= 0 ;
28648 PyObject
* obj1
= 0 ;
28649 char * kwnames
[] = {
28650 (char *) "self",(char *) "flag", NULL
28653 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28654 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
28655 if (!SWIG_IsOK(res1
)) {
28656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_SetExitOnFrameDelete" "', expected argument " "1"" of type '" "wxPyApp *""'");
28658 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
28659 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
28660 if (!SWIG_IsOK(ecode2
)) {
28661 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyApp_SetExitOnFrameDelete" "', expected argument " "2"" of type '" "bool""'");
28663 arg2
= static_cast< bool >(val2
);
28665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28666 (arg1
)->SetExitOnFrameDelete(arg2
);
28667 wxPyEndAllowThreads(__tstate
);
28668 if (PyErr_Occurred()) SWIG_fail
;
28670 resultobj
= SWIG_Py_Void();
28677 SWIGINTERN PyObject
*_wrap_PyApp_GetExitOnFrameDelete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28678 PyObject
*resultobj
= 0;
28679 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
28683 PyObject
*swig_obj
[1] ;
28685 if (!args
) SWIG_fail
;
28686 swig_obj
[0] = args
;
28687 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
28688 if (!SWIG_IsOK(res1
)) {
28689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_GetExitOnFrameDelete" "', expected argument " "1"" of type '" "wxPyApp const *""'");
28691 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
28693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28694 result
= (bool)((wxPyApp
const *)arg1
)->GetExitOnFrameDelete();
28695 wxPyEndAllowThreads(__tstate
);
28696 if (PyErr_Occurred()) SWIG_fail
;
28699 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28707 SWIGINTERN PyObject
*_wrap_PyApp_SetUseBestVisual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28708 PyObject
*resultobj
= 0;
28709 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
28715 PyObject
* obj0
= 0 ;
28716 PyObject
* obj1
= 0 ;
28717 char * kwnames
[] = {
28718 (char *) "self",(char *) "flag", NULL
28721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28722 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
28723 if (!SWIG_IsOK(res1
)) {
28724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_SetUseBestVisual" "', expected argument " "1"" of type '" "wxPyApp *""'");
28726 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
28727 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
28728 if (!SWIG_IsOK(ecode2
)) {
28729 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyApp_SetUseBestVisual" "', expected argument " "2"" of type '" "bool""'");
28731 arg2
= static_cast< bool >(val2
);
28733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28734 (arg1
)->SetUseBestVisual(arg2
);
28735 wxPyEndAllowThreads(__tstate
);
28736 if (PyErr_Occurred()) SWIG_fail
;
28738 resultobj
= SWIG_Py_Void();
28745 SWIGINTERN PyObject
*_wrap_PyApp_GetUseBestVisual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28746 PyObject
*resultobj
= 0;
28747 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
28751 PyObject
*swig_obj
[1] ;
28753 if (!args
) SWIG_fail
;
28754 swig_obj
[0] = args
;
28755 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
28756 if (!SWIG_IsOK(res1
)) {
28757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_GetUseBestVisual" "', expected argument " "1"" of type '" "wxPyApp const *""'");
28759 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
28761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28762 result
= (bool)((wxPyApp
const *)arg1
)->GetUseBestVisual();
28763 wxPyEndAllowThreads(__tstate
);
28764 if (PyErr_Occurred()) SWIG_fail
;
28767 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28775 SWIGINTERN PyObject
*_wrap_PyApp_SetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28776 PyObject
*resultobj
= 0;
28777 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
28783 PyObject
* obj0
= 0 ;
28784 PyObject
* obj1
= 0 ;
28785 char * kwnames
[] = {
28786 (char *) "self",(char *) "mode", NULL
28789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetPrintMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28790 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
28791 if (!SWIG_IsOK(res1
)) {
28792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_SetPrintMode" "', expected argument " "1"" of type '" "wxPyApp *""'");
28794 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
28795 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28796 if (!SWIG_IsOK(ecode2
)) {
28797 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyApp_SetPrintMode" "', expected argument " "2"" of type '" "int""'");
28799 arg2
= static_cast< int >(val2
);
28801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28802 (arg1
)->SetPrintMode(arg2
);
28803 wxPyEndAllowThreads(__tstate
);
28804 if (PyErr_Occurred()) SWIG_fail
;
28806 resultobj
= SWIG_Py_Void();
28813 SWIGINTERN PyObject
*_wrap_PyApp_GetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28814 PyObject
*resultobj
= 0;
28815 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
28819 PyObject
*swig_obj
[1] ;
28821 if (!args
) SWIG_fail
;
28822 swig_obj
[0] = args
;
28823 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
28824 if (!SWIG_IsOK(res1
)) {
28825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_GetPrintMode" "', expected argument " "1"" of type '" "wxPyApp const *""'");
28827 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
28829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28830 result
= (int)((wxPyApp
const *)arg1
)->GetPrintMode();
28831 wxPyEndAllowThreads(__tstate
);
28832 if (PyErr_Occurred()) SWIG_fail
;
28834 resultobj
= SWIG_From_int(static_cast< int >(result
));
28841 SWIGINTERN PyObject
*_wrap_PyApp_SetAssertMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28842 PyObject
*resultobj
= 0;
28843 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
28849 PyObject
* obj0
= 0 ;
28850 PyObject
* obj1
= 0 ;
28851 char * kwnames
[] = {
28852 (char *) "self",(char *) "mode", NULL
28855 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAssertMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28856 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
28857 if (!SWIG_IsOK(res1
)) {
28858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_SetAssertMode" "', expected argument " "1"" of type '" "wxPyApp *""'");
28860 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
28861 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28862 if (!SWIG_IsOK(ecode2
)) {
28863 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyApp_SetAssertMode" "', expected argument " "2"" of type '" "int""'");
28865 arg2
= static_cast< int >(val2
);
28867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28868 (arg1
)->SetAssertMode(arg2
);
28869 wxPyEndAllowThreads(__tstate
);
28870 if (PyErr_Occurred()) SWIG_fail
;
28872 resultobj
= SWIG_Py_Void();
28879 SWIGINTERN PyObject
*_wrap_PyApp_GetAssertMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28880 PyObject
*resultobj
= 0;
28881 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
28885 PyObject
*swig_obj
[1] ;
28887 if (!args
) SWIG_fail
;
28888 swig_obj
[0] = args
;
28889 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
28890 if (!SWIG_IsOK(res1
)) {
28891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_GetAssertMode" "', expected argument " "1"" of type '" "wxPyApp *""'");
28893 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
28895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28896 result
= (int)(arg1
)->GetAssertMode();
28897 wxPyEndAllowThreads(__tstate
);
28898 if (PyErr_Occurred()) SWIG_fail
;
28900 resultobj
= SWIG_From_int(static_cast< int >(result
));
28907 SWIGINTERN PyObject
*_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28908 PyObject
*resultobj
= 0;
28911 if (!SWIG_Python_UnpackTuple(args
,"PyApp_GetMacSupportPCMenuShortcuts",0,0,0)) SWIG_fail
;
28913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28914 result
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
28915 wxPyEndAllowThreads(__tstate
);
28916 if (PyErr_Occurred()) SWIG_fail
;
28919 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28927 SWIGINTERN PyObject
*_wrap_PyApp_GetMacAboutMenuItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28928 PyObject
*resultobj
= 0;
28931 if (!SWIG_Python_UnpackTuple(args
,"PyApp_GetMacAboutMenuItemId",0,0,0)) SWIG_fail
;
28933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28934 result
= (long)wxPyApp::GetMacAboutMenuItemId();
28935 wxPyEndAllowThreads(__tstate
);
28936 if (PyErr_Occurred()) SWIG_fail
;
28938 resultobj
= SWIG_From_long(static_cast< long >(result
));
28945 SWIGINTERN PyObject
*_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28946 PyObject
*resultobj
= 0;
28949 if (!SWIG_Python_UnpackTuple(args
,"PyApp_GetMacPreferencesMenuItemId",0,0,0)) SWIG_fail
;
28951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28952 result
= (long)wxPyApp::GetMacPreferencesMenuItemId();
28953 wxPyEndAllowThreads(__tstate
);
28954 if (PyErr_Occurred()) SWIG_fail
;
28956 resultobj
= SWIG_From_long(static_cast< long >(result
));
28963 SWIGINTERN PyObject
*_wrap_PyApp_GetMacExitMenuItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28964 PyObject
*resultobj
= 0;
28967 if (!SWIG_Python_UnpackTuple(args
,"PyApp_GetMacExitMenuItemId",0,0,0)) SWIG_fail
;
28969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28970 result
= (long)wxPyApp::GetMacExitMenuItemId();
28971 wxPyEndAllowThreads(__tstate
);
28972 if (PyErr_Occurred()) SWIG_fail
;
28974 resultobj
= SWIG_From_long(static_cast< long >(result
));
28981 SWIGINTERN PyObject
*_wrap_PyApp_GetMacHelpMenuTitleName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28982 PyObject
*resultobj
= 0;
28985 if (!SWIG_Python_UnpackTuple(args
,"PyApp_GetMacHelpMenuTitleName",0,0,0)) SWIG_fail
;
28987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28988 result
= wxPyApp::GetMacHelpMenuTitleName();
28989 wxPyEndAllowThreads(__tstate
);
28990 if (PyErr_Occurred()) SWIG_fail
;
28994 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28996 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29005 SWIGINTERN PyObject
*_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29006 PyObject
*resultobj
= 0;
29010 PyObject
* obj0
= 0 ;
29011 char * kwnames
[] = {
29012 (char *) "val", NULL
29015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) SWIG_fail
;
29016 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
29017 if (!SWIG_IsOK(ecode1
)) {
29018 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PyApp_SetMacSupportPCMenuShortcuts" "', expected argument " "1"" of type '" "bool""'");
29020 arg1
= static_cast< bool >(val1
);
29022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29023 wxPyApp::SetMacSupportPCMenuShortcuts(arg1
);
29024 wxPyEndAllowThreads(__tstate
);
29025 if (PyErr_Occurred()) SWIG_fail
;
29027 resultobj
= SWIG_Py_Void();
29034 SWIGINTERN PyObject
*_wrap_PyApp_SetMacAboutMenuItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29035 PyObject
*resultobj
= 0;
29039 PyObject
* obj0
= 0 ;
29040 char * kwnames
[] = {
29041 (char *) "val", NULL
29044 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames
,&obj0
)) SWIG_fail
;
29045 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
29046 if (!SWIG_IsOK(ecode1
)) {
29047 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PyApp_SetMacAboutMenuItemId" "', expected argument " "1"" of type '" "long""'");
29049 arg1
= static_cast< long >(val1
);
29051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29052 wxPyApp::SetMacAboutMenuItemId(arg1
);
29053 wxPyEndAllowThreads(__tstate
);
29054 if (PyErr_Occurred()) SWIG_fail
;
29056 resultobj
= SWIG_Py_Void();
29063 SWIGINTERN PyObject
*_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29064 PyObject
*resultobj
= 0;
29068 PyObject
* obj0
= 0 ;
29069 char * kwnames
[] = {
29070 (char *) "val", NULL
29073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames
,&obj0
)) SWIG_fail
;
29074 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
29075 if (!SWIG_IsOK(ecode1
)) {
29076 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PyApp_SetMacPreferencesMenuItemId" "', expected argument " "1"" of type '" "long""'");
29078 arg1
= static_cast< long >(val1
);
29080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29081 wxPyApp::SetMacPreferencesMenuItemId(arg1
);
29082 wxPyEndAllowThreads(__tstate
);
29083 if (PyErr_Occurred()) SWIG_fail
;
29085 resultobj
= SWIG_Py_Void();
29092 SWIGINTERN PyObject
*_wrap_PyApp_SetMacExitMenuItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29093 PyObject
*resultobj
= 0;
29097 PyObject
* obj0
= 0 ;
29098 char * kwnames
[] = {
29099 (char *) "val", NULL
29102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames
,&obj0
)) SWIG_fail
;
29103 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
29104 if (!SWIG_IsOK(ecode1
)) {
29105 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PyApp_SetMacExitMenuItemId" "', expected argument " "1"" of type '" "long""'");
29107 arg1
= static_cast< long >(val1
);
29109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29110 wxPyApp::SetMacExitMenuItemId(arg1
);
29111 wxPyEndAllowThreads(__tstate
);
29112 if (PyErr_Occurred()) SWIG_fail
;
29114 resultobj
= SWIG_Py_Void();
29121 SWIGINTERN PyObject
*_wrap_PyApp_SetMacHelpMenuTitleName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29122 PyObject
*resultobj
= 0;
29123 wxString
*arg1
= 0 ;
29124 bool temp1
= false ;
29125 PyObject
* obj0
= 0 ;
29126 char * kwnames
[] = {
29127 (char *) "val", NULL
29130 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) SWIG_fail
;
29132 arg1
= wxString_in_helper(obj0
);
29133 if (arg1
== NULL
) SWIG_fail
;
29137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29138 wxPyApp::SetMacHelpMenuTitleName((wxString
const &)*arg1
);
29139 wxPyEndAllowThreads(__tstate
);
29140 if (PyErr_Occurred()) SWIG_fail
;
29142 resultobj
= SWIG_Py_Void();
29157 SWIGINTERN PyObject
*_wrap_PyApp__BootstrapApp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29158 PyObject
*resultobj
= 0;
29159 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
29162 PyObject
*swig_obj
[1] ;
29164 if (!args
) SWIG_fail
;
29165 swig_obj
[0] = args
;
29166 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
29167 if (!SWIG_IsOK(res1
)) {
29168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp__BootstrapApp" "', expected argument " "1"" of type '" "wxPyApp *""'");
29170 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
29172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29173 (arg1
)->_BootstrapApp();
29174 wxPyEndAllowThreads(__tstate
);
29175 if (PyErr_Occurred()) SWIG_fail
;
29177 resultobj
= SWIG_Py_Void();
29184 SWIGINTERN PyObject
*_wrap_PyApp_GetComCtl32Version(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29185 PyObject
*resultobj
= 0;
29188 if (!SWIG_Python_UnpackTuple(args
,"PyApp_GetComCtl32Version",0,0,0)) SWIG_fail
;
29190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29191 result
= (int)wxPyApp::GetComCtl32Version();
29192 wxPyEndAllowThreads(__tstate
);
29193 if (PyErr_Occurred()) SWIG_fail
;
29195 resultobj
= SWIG_From_int(static_cast< int >(result
));
29202 SWIGINTERN PyObject
*_wrap_PyApp_IsDisplayAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29203 PyObject
*resultobj
= 0;
29206 if (!SWIG_Python_UnpackTuple(args
,"PyApp_IsDisplayAvailable",0,0,0)) SWIG_fail
;
29208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29209 result
= (bool)wxPyApp_IsDisplayAvailable();
29210 wxPyEndAllowThreads(__tstate
);
29211 if (PyErr_Occurred()) SWIG_fail
;
29214 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29222 SWIGINTERN PyObject
*PyApp_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29224 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29225 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyApp
, SWIG_NewClientData(obj
));
29226 return SWIG_Py_Void();
29229 SWIGINTERN PyObject
*PyApp_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29230 return SWIG_Python_InitShadowInstance(args
);
29233 SWIGINTERN PyObject
*_wrap_Exit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29234 PyObject
*resultobj
= 0;
29236 if (!SWIG_Python_UnpackTuple(args
,"Exit",0,0,0)) SWIG_fail
;
29238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29240 wxPyEndAllowThreads(__tstate
);
29241 if (PyErr_Occurred()) SWIG_fail
;
29243 resultobj
= SWIG_Py_Void();
29250 SWIGINTERN PyObject
*_wrap_Yield(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29251 PyObject
*resultobj
= 0;
29254 if (!SWIG_Python_UnpackTuple(args
,"Yield",0,0,0)) SWIG_fail
;
29256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29257 result
= (bool)wxYield();
29258 wxPyEndAllowThreads(__tstate
);
29259 if (PyErr_Occurred()) SWIG_fail
;
29262 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29270 SWIGINTERN PyObject
*_wrap_YieldIfNeeded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29271 PyObject
*resultobj
= 0;
29274 if (!SWIG_Python_UnpackTuple(args
,"YieldIfNeeded",0,0,0)) SWIG_fail
;
29276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29277 result
= (bool)wxYieldIfNeeded();
29278 wxPyEndAllowThreads(__tstate
);
29279 if (PyErr_Occurred()) SWIG_fail
;
29282 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29290 SWIGINTERN PyObject
*_wrap_SafeYield(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29291 PyObject
*resultobj
= 0;
29292 wxWindow
*arg1
= (wxWindow
*) NULL
;
29293 bool arg2
= (bool) false ;
29299 PyObject
* obj0
= 0 ;
29300 PyObject
* obj1
= 0 ;
29301 char * kwnames
[] = {
29302 (char *) "win",(char *) "onlyIfNeeded", NULL
29305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:SafeYield",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29307 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29308 if (!SWIG_IsOK(res1
)) {
29309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SafeYield" "', expected argument " "1"" of type '" "wxWindow *""'");
29311 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
29314 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
29315 if (!SWIG_IsOK(ecode2
)) {
29316 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SafeYield" "', expected argument " "2"" of type '" "bool""'");
29318 arg2
= static_cast< bool >(val2
);
29321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29322 result
= (bool)wxSafeYield(arg1
,arg2
);
29323 wxPyEndAllowThreads(__tstate
);
29324 if (PyErr_Occurred()) SWIG_fail
;
29327 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29335 SWIGINTERN PyObject
*_wrap_WakeUpIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29336 PyObject
*resultobj
= 0;
29338 if (!SWIG_Python_UnpackTuple(args
,"WakeUpIdle",0,0,0)) SWIG_fail
;
29340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29342 wxPyEndAllowThreads(__tstate
);
29343 if (PyErr_Occurred()) SWIG_fail
;
29345 resultobj
= SWIG_Py_Void();
29352 SWIGINTERN PyObject
*_wrap_PostEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29353 PyObject
*resultobj
= 0;
29354 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
29355 wxEvent
*arg2
= 0 ;
29360 PyObject
* obj0
= 0 ;
29361 PyObject
* obj1
= 0 ;
29362 char * kwnames
[] = {
29363 (char *) "dest",(char *) "event", NULL
29366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29367 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
29368 if (!SWIG_IsOK(res1
)) {
29369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostEvent" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
29371 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
29372 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxEvent
, 0 );
29373 if (!SWIG_IsOK(res2
)) {
29374 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PostEvent" "', expected argument " "2"" of type '" "wxEvent &""'");
29377 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PostEvent" "', expected argument " "2"" of type '" "wxEvent &""'");
29379 arg2
= reinterpret_cast< wxEvent
* >(argp2
);
29381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29382 wxPostEvent(arg1
,*arg2
);
29383 wxPyEndAllowThreads(__tstate
);
29384 if (PyErr_Occurred()) SWIG_fail
;
29386 resultobj
= SWIG_Py_Void();
29393 SWIGINTERN PyObject
*_wrap_App_CleanUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29394 PyObject
*resultobj
= 0;
29396 if (!SWIG_Python_UnpackTuple(args
,"App_CleanUp",0,0,0)) SWIG_fail
;
29398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29400 wxPyEndAllowThreads(__tstate
);
29401 if (PyErr_Occurred()) SWIG_fail
;
29403 resultobj
= SWIG_Py_Void();
29410 SWIGINTERN PyObject
*_wrap_GetApp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29411 PyObject
*resultobj
= 0;
29412 wxPyApp
*result
= 0 ;
29414 if (!SWIG_Python_UnpackTuple(args
,"GetApp",0,0,0)) SWIG_fail
;
29416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29417 result
= (wxPyApp
*)wxPyGetApp();
29418 wxPyEndAllowThreads(__tstate
);
29419 if (PyErr_Occurred()) SWIG_fail
;
29422 resultobj
= wxPyMake_wxObject(result
, 0);
29430 SWIGINTERN PyObject
*_wrap_SetDefaultPyEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29431 PyObject
*resultobj
= 0;
29432 char *arg1
= (char *) 0 ;
29436 PyObject
* obj0
= 0 ;
29437 char * kwnames
[] = {
29438 (char *) "encoding", NULL
29441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetDefaultPyEncoding",kwnames
,&obj0
)) SWIG_fail
;
29442 res1
= SWIG_AsCharPtrAndSize(obj0
, &buf1
, NULL
, &alloc1
);
29443 if (!SWIG_IsOK(res1
)) {
29444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SetDefaultPyEncoding" "', expected argument " "1"" of type '" "char const *""'");
29448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29449 wxSetDefaultPyEncoding((char const *)arg1
);
29450 wxPyEndAllowThreads(__tstate
);
29451 if (PyErr_Occurred()) SWIG_fail
;
29453 resultobj
= SWIG_Py_Void();
29454 if (alloc1
== SWIG_NEWOBJ
) delete[] buf1
;
29457 if (alloc1
== SWIG_NEWOBJ
) delete[] buf1
;
29462 SWIGINTERN PyObject
*_wrap_GetDefaultPyEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29463 PyObject
*resultobj
= 0;
29466 if (!SWIG_Python_UnpackTuple(args
,"GetDefaultPyEncoding",0,0,0)) SWIG_fail
;
29468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29469 result
= (char *)wxGetDefaultPyEncoding();
29470 wxPyEndAllowThreads(__tstate
);
29471 if (PyErr_Occurred()) SWIG_fail
;
29473 resultobj
= SWIG_FromCharPtr(result
);
29480 SWIGINTERN PyObject
*_wrap_new_EventLoop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29481 PyObject
*resultobj
= 0;
29482 wxEventLoop
*result
= 0 ;
29484 if (!SWIG_Python_UnpackTuple(args
,"new_EventLoop",0,0,0)) SWIG_fail
;
29486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29487 result
= (wxEventLoop
*)new wxEventLoop();
29488 wxPyEndAllowThreads(__tstate
);
29489 if (PyErr_Occurred()) SWIG_fail
;
29491 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_NEW
| 0 );
29498 SWIGINTERN PyObject
*_wrap_delete_EventLoop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29499 PyObject
*resultobj
= 0;
29500 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
29503 PyObject
*swig_obj
[1] ;
29505 if (!args
) SWIG_fail
;
29506 swig_obj
[0] = args
;
29507 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_DISOWN
| 0 );
29508 if (!SWIG_IsOK(res1
)) {
29509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EventLoop" "', expected argument " "1"" of type '" "wxEventLoop *""'");
29511 arg1
= reinterpret_cast< wxEventLoop
* >(argp1
);
29513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29516 wxPyEndAllowThreads(__tstate
);
29517 if (PyErr_Occurred()) SWIG_fail
;
29519 resultobj
= SWIG_Py_Void();
29526 SWIGINTERN PyObject
*_wrap_EventLoop_Run(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29527 PyObject
*resultobj
= 0;
29528 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
29532 PyObject
*swig_obj
[1] ;
29534 if (!args
) SWIG_fail
;
29535 swig_obj
[0] = args
;
29536 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEventLoop
, 0 | 0 );
29537 if (!SWIG_IsOK(res1
)) {
29538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EventLoop_Run" "', expected argument " "1"" of type '" "wxEventLoop *""'");
29540 arg1
= reinterpret_cast< wxEventLoop
* >(argp1
);
29542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29543 result
= (int)(arg1
)->Run();
29544 wxPyEndAllowThreads(__tstate
);
29545 if (PyErr_Occurred()) SWIG_fail
;
29547 resultobj
= SWIG_From_int(static_cast< int >(result
));
29554 SWIGINTERN PyObject
*_wrap_EventLoop_Exit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29555 PyObject
*resultobj
= 0;
29556 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
29557 int arg2
= (int) 0 ;
29562 PyObject
* obj0
= 0 ;
29563 PyObject
* obj1
= 0 ;
29564 char * kwnames
[] = {
29565 (char *) "self",(char *) "rc", NULL
29568 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EventLoop_Exit",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29569 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEventLoop
, 0 | 0 );
29570 if (!SWIG_IsOK(res1
)) {
29571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EventLoop_Exit" "', expected argument " "1"" of type '" "wxEventLoop *""'");
29573 arg1
= reinterpret_cast< wxEventLoop
* >(argp1
);
29575 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29576 if (!SWIG_IsOK(ecode2
)) {
29577 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EventLoop_Exit" "', expected argument " "2"" of type '" "int""'");
29579 arg2
= static_cast< int >(val2
);
29582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29583 (arg1
)->Exit(arg2
);
29584 wxPyEndAllowThreads(__tstate
);
29585 if (PyErr_Occurred()) SWIG_fail
;
29587 resultobj
= SWIG_Py_Void();
29594 SWIGINTERN PyObject
*_wrap_EventLoop_Pending(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29595 PyObject
*resultobj
= 0;
29596 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
29600 PyObject
*swig_obj
[1] ;
29602 if (!args
) SWIG_fail
;
29603 swig_obj
[0] = args
;
29604 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEventLoop
, 0 | 0 );
29605 if (!SWIG_IsOK(res1
)) {
29606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EventLoop_Pending" "', expected argument " "1"" of type '" "wxEventLoop const *""'");
29608 arg1
= reinterpret_cast< wxEventLoop
* >(argp1
);
29610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29611 result
= (bool)((wxEventLoop
const *)arg1
)->Pending();
29612 wxPyEndAllowThreads(__tstate
);
29613 if (PyErr_Occurred()) SWIG_fail
;
29616 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29624 SWIGINTERN PyObject
*_wrap_EventLoop_Dispatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29625 PyObject
*resultobj
= 0;
29626 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
29630 PyObject
*swig_obj
[1] ;
29632 if (!args
) SWIG_fail
;
29633 swig_obj
[0] = args
;
29634 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEventLoop
, 0 | 0 );
29635 if (!SWIG_IsOK(res1
)) {
29636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EventLoop_Dispatch" "', expected argument " "1"" of type '" "wxEventLoop *""'");
29638 arg1
= reinterpret_cast< wxEventLoop
* >(argp1
);
29640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29641 result
= (bool)(arg1
)->Dispatch();
29642 wxPyEndAllowThreads(__tstate
);
29643 if (PyErr_Occurred()) SWIG_fail
;
29646 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29654 SWIGINTERN PyObject
*_wrap_EventLoop_IsRunning(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29655 PyObject
*resultobj
= 0;
29656 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
29660 PyObject
*swig_obj
[1] ;
29662 if (!args
) SWIG_fail
;
29663 swig_obj
[0] = args
;
29664 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEventLoop
, 0 | 0 );
29665 if (!SWIG_IsOK(res1
)) {
29666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EventLoop_IsRunning" "', expected argument " "1"" of type '" "wxEventLoop const *""'");
29668 arg1
= reinterpret_cast< wxEventLoop
* >(argp1
);
29670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29671 result
= (bool)((wxEventLoop
const *)arg1
)->IsRunning();
29672 wxPyEndAllowThreads(__tstate
);
29673 if (PyErr_Occurred()) SWIG_fail
;
29676 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29684 SWIGINTERN PyObject
*_wrap_EventLoop_GetActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29685 PyObject
*resultobj
= 0;
29686 wxEventLoop
*result
= 0 ;
29688 if (!SWIG_Python_UnpackTuple(args
,"EventLoop_GetActive",0,0,0)) SWIG_fail
;
29690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29691 result
= (wxEventLoop
*)wxEventLoop::GetActive();
29692 wxPyEndAllowThreads(__tstate
);
29693 if (PyErr_Occurred()) SWIG_fail
;
29695 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEventLoop
, 0 | 0 );
29702 SWIGINTERN PyObject
*_wrap_EventLoop_SetActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29703 PyObject
*resultobj
= 0;
29704 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
29707 PyObject
* obj0
= 0 ;
29708 char * kwnames
[] = {
29709 (char *) "loop", NULL
29712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_SetActive",kwnames
,&obj0
)) SWIG_fail
;
29713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEventLoop
, 0 | 0 );
29714 if (!SWIG_IsOK(res1
)) {
29715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EventLoop_SetActive" "', expected argument " "1"" of type '" "wxEventLoop *""'");
29717 arg1
= reinterpret_cast< wxEventLoop
* >(argp1
);
29719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29720 wxEventLoop::SetActive(arg1
);
29721 wxPyEndAllowThreads(__tstate
);
29722 if (PyErr_Occurred()) SWIG_fail
;
29724 resultobj
= SWIG_Py_Void();
29731 SWIGINTERN PyObject
*EventLoop_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29733 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29734 SWIG_TypeNewClientData(SWIGTYPE_p_wxEventLoop
, SWIG_NewClientData(obj
));
29735 return SWIG_Py_Void();
29738 SWIGINTERN PyObject
*EventLoop_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29739 return SWIG_Python_InitShadowInstance(args
);
29742 SWIGINTERN PyObject
*_wrap_new_EventLoopActivator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29743 PyObject
*resultobj
= 0;
29744 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
29745 wxEventLoopActivator
*result
= 0 ;
29748 PyObject
* obj0
= 0 ;
29749 char * kwnames
[] = {
29750 (char *) "evtLoop", NULL
29753 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_EventLoopActivator",kwnames
,&obj0
)) SWIG_fail
;
29754 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEventLoop
, 0 | 0 );
29755 if (!SWIG_IsOK(res1
)) {
29756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_EventLoopActivator" "', expected argument " "1"" of type '" "wxEventLoop *""'");
29758 arg1
= reinterpret_cast< wxEventLoop
* >(argp1
);
29760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29761 result
= (wxEventLoopActivator
*)new wxEventLoopActivator(arg1
);
29762 wxPyEndAllowThreads(__tstate
);
29763 if (PyErr_Occurred()) SWIG_fail
;
29765 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEventLoopActivator
, SWIG_POINTER_NEW
| 0 );
29772 SWIGINTERN PyObject
*_wrap_delete_EventLoopActivator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29773 PyObject
*resultobj
= 0;
29774 wxEventLoopActivator
*arg1
= (wxEventLoopActivator
*) 0 ;
29777 PyObject
*swig_obj
[1] ;
29779 if (!args
) SWIG_fail
;
29780 swig_obj
[0] = args
;
29781 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEventLoopActivator
, SWIG_POINTER_DISOWN
| 0 );
29782 if (!SWIG_IsOK(res1
)) {
29783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EventLoopActivator" "', expected argument " "1"" of type '" "wxEventLoopActivator *""'");
29785 arg1
= reinterpret_cast< wxEventLoopActivator
* >(argp1
);
29787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29790 wxPyEndAllowThreads(__tstate
);
29791 if (PyErr_Occurred()) SWIG_fail
;
29793 resultobj
= SWIG_Py_Void();
29800 SWIGINTERN PyObject
*EventLoopActivator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29802 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29803 SWIG_TypeNewClientData(SWIGTYPE_p_wxEventLoopActivator
, SWIG_NewClientData(obj
));
29804 return SWIG_Py_Void();
29807 SWIGINTERN PyObject
*EventLoopActivator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29808 return SWIG_Python_InitShadowInstance(args
);
29811 SWIGINTERN PyObject
*_wrap_new_AcceleratorEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29812 PyObject
*resultobj
= 0;
29813 int arg1
= (int) 0 ;
29814 int arg2
= (int) 0 ;
29815 int arg3
= (int) 0 ;
29816 wxAcceleratorEntry
*result
= 0 ;
29823 PyObject
* obj0
= 0 ;
29824 PyObject
* obj1
= 0 ;
29825 PyObject
* obj2
= 0 ;
29826 char * kwnames
[] = {
29827 (char *) "flags",(char *) "keyCode",(char *) "cmdID", NULL
29830 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_AcceleratorEntry",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29832 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
29833 if (!SWIG_IsOK(ecode1
)) {
29834 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_AcceleratorEntry" "', expected argument " "1"" of type '" "int""'");
29836 arg1
= static_cast< int >(val1
);
29839 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29840 if (!SWIG_IsOK(ecode2
)) {
29841 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_AcceleratorEntry" "', expected argument " "2"" of type '" "int""'");
29843 arg2
= static_cast< int >(val2
);
29846 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29847 if (!SWIG_IsOK(ecode3
)) {
29848 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_AcceleratorEntry" "', expected argument " "3"" of type '" "int""'");
29850 arg3
= static_cast< int >(val3
);
29853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29854 result
= (wxAcceleratorEntry
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
);
29855 wxPyEndAllowThreads(__tstate
);
29856 if (PyErr_Occurred()) SWIG_fail
;
29858 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_NEW
| 0 );
29865 SWIGINTERN PyObject
*_wrap_delete_AcceleratorEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29866 PyObject
*resultobj
= 0;
29867 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
29870 PyObject
*swig_obj
[1] ;
29872 if (!args
) SWIG_fail
;
29873 swig_obj
[0] = args
;
29874 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_DISOWN
| 0 );
29875 if (!SWIG_IsOK(res1
)) {
29876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AcceleratorEntry" "', expected argument " "1"" of type '" "wxAcceleratorEntry *""'");
29878 arg1
= reinterpret_cast< wxAcceleratorEntry
* >(argp1
);
29880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29883 wxPyEndAllowThreads(__tstate
);
29884 if (PyErr_Occurred()) SWIG_fail
;
29886 resultobj
= SWIG_Py_Void();
29893 SWIGINTERN PyObject
*_wrap_AcceleratorEntry_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29894 PyObject
*resultobj
= 0;
29895 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
29907 PyObject
* obj0
= 0 ;
29908 PyObject
* obj1
= 0 ;
29909 PyObject
* obj2
= 0 ;
29910 PyObject
* obj3
= 0 ;
29911 char * kwnames
[] = {
29912 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd", NULL
29915 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AcceleratorEntry_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29916 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAcceleratorEntry
, 0 | 0 );
29917 if (!SWIG_IsOK(res1
)) {
29918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AcceleratorEntry_Set" "', expected argument " "1"" of type '" "wxAcceleratorEntry *""'");
29920 arg1
= reinterpret_cast< wxAcceleratorEntry
* >(argp1
);
29921 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29922 if (!SWIG_IsOK(ecode2
)) {
29923 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "AcceleratorEntry_Set" "', expected argument " "2"" of type '" "int""'");
29925 arg2
= static_cast< int >(val2
);
29926 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29927 if (!SWIG_IsOK(ecode3
)) {
29928 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AcceleratorEntry_Set" "', expected argument " "3"" of type '" "int""'");
29930 arg3
= static_cast< int >(val3
);
29931 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29932 if (!SWIG_IsOK(ecode4
)) {
29933 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AcceleratorEntry_Set" "', expected argument " "4"" of type '" "int""'");
29935 arg4
= static_cast< int >(val4
);
29937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29938 (arg1
)->Set(arg2
,arg3
,arg4
);
29939 wxPyEndAllowThreads(__tstate
);
29940 if (PyErr_Occurred()) SWIG_fail
;
29942 resultobj
= SWIG_Py_Void();
29949 SWIGINTERN PyObject
*_wrap_AcceleratorEntry_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29950 PyObject
*resultobj
= 0;
29951 wxString
*arg1
= 0 ;
29952 wxAcceleratorEntry
*result
= 0 ;
29953 bool temp1
= false ;
29954 PyObject
* obj0
= 0 ;
29955 char * kwnames
[] = {
29956 (char *) "str", NULL
29959 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_Create",kwnames
,&obj0
)) SWIG_fail
;
29961 arg1
= wxString_in_helper(obj0
);
29962 if (arg1
== NULL
) SWIG_fail
;
29966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29967 result
= (wxAcceleratorEntry
*)wxAcceleratorEntry::Create((wxString
const &)*arg1
);
29968 wxPyEndAllowThreads(__tstate
);
29969 if (PyErr_Occurred()) SWIG_fail
;
29971 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_OWN
| 0 );
29986 SWIGINTERN PyObject
*_wrap_AcceleratorEntry_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29987 PyObject
*resultobj
= 0;
29988 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
29992 PyObject
*swig_obj
[1] ;
29994 if (!args
) SWIG_fail
;
29995 swig_obj
[0] = args
;
29996 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAcceleratorEntry
, 0 | 0 );
29997 if (!SWIG_IsOK(res1
)) {
29998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AcceleratorEntry_GetFlags" "', expected argument " "1"" of type '" "wxAcceleratorEntry *""'");
30000 arg1
= reinterpret_cast< wxAcceleratorEntry
* >(argp1
);
30002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30003 result
= (int)(arg1
)->GetFlags();
30004 wxPyEndAllowThreads(__tstate
);
30005 if (PyErr_Occurred()) SWIG_fail
;
30007 resultobj
= SWIG_From_int(static_cast< int >(result
));
30014 SWIGINTERN PyObject
*_wrap_AcceleratorEntry_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30015 PyObject
*resultobj
= 0;
30016 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
30020 PyObject
*swig_obj
[1] ;
30022 if (!args
) SWIG_fail
;
30023 swig_obj
[0] = args
;
30024 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAcceleratorEntry
, 0 | 0 );
30025 if (!SWIG_IsOK(res1
)) {
30026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AcceleratorEntry_GetKeyCode" "', expected argument " "1"" of type '" "wxAcceleratorEntry *""'");
30028 arg1
= reinterpret_cast< wxAcceleratorEntry
* >(argp1
);
30030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30031 result
= (int)(arg1
)->GetKeyCode();
30032 wxPyEndAllowThreads(__tstate
);
30033 if (PyErr_Occurred()) SWIG_fail
;
30035 resultobj
= SWIG_From_int(static_cast< int >(result
));
30042 SWIGINTERN PyObject
*_wrap_AcceleratorEntry_GetCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30043 PyObject
*resultobj
= 0;
30044 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
30048 PyObject
*swig_obj
[1] ;
30050 if (!args
) SWIG_fail
;
30051 swig_obj
[0] = args
;
30052 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAcceleratorEntry
, 0 | 0 );
30053 if (!SWIG_IsOK(res1
)) {
30054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AcceleratorEntry_GetCommand" "', expected argument " "1"" of type '" "wxAcceleratorEntry *""'");
30056 arg1
= reinterpret_cast< wxAcceleratorEntry
* >(argp1
);
30058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30059 result
= (int)(arg1
)->GetCommand();
30060 wxPyEndAllowThreads(__tstate
);
30061 if (PyErr_Occurred()) SWIG_fail
;
30063 resultobj
= SWIG_From_int(static_cast< int >(result
));
30070 SWIGINTERN PyObject
*_wrap_AcceleratorEntry_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30071 PyObject
*resultobj
= 0;
30072 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
30076 PyObject
*swig_obj
[1] ;
30078 if (!args
) SWIG_fail
;
30079 swig_obj
[0] = args
;
30080 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAcceleratorEntry
, 0 | 0 );
30081 if (!SWIG_IsOK(res1
)) {
30082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AcceleratorEntry_IsOk" "', expected argument " "1"" of type '" "wxAcceleratorEntry const *""'");
30084 arg1
= reinterpret_cast< wxAcceleratorEntry
* >(argp1
);
30086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30087 result
= (bool)((wxAcceleratorEntry
const *)arg1
)->IsOk();
30088 wxPyEndAllowThreads(__tstate
);
30089 if (PyErr_Occurred()) SWIG_fail
;
30092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30100 SWIGINTERN PyObject
*_wrap_AcceleratorEntry_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30101 PyObject
*resultobj
= 0;
30102 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
30106 PyObject
*swig_obj
[1] ;
30108 if (!args
) SWIG_fail
;
30109 swig_obj
[0] = args
;
30110 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAcceleratorEntry
, 0 | 0 );
30111 if (!SWIG_IsOK(res1
)) {
30112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AcceleratorEntry_ToString" "', expected argument " "1"" of type '" "wxAcceleratorEntry const *""'");
30114 arg1
= reinterpret_cast< wxAcceleratorEntry
* >(argp1
);
30116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30117 result
= ((wxAcceleratorEntry
const *)arg1
)->ToString();
30118 wxPyEndAllowThreads(__tstate
);
30119 if (PyErr_Occurred()) SWIG_fail
;
30123 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30125 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30134 SWIGINTERN PyObject
*_wrap_AcceleratorEntry_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30135 PyObject
*resultobj
= 0;
30136 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
30137 wxString
*arg2
= 0 ;
30141 bool temp2
= false ;
30142 PyObject
* obj0
= 0 ;
30143 PyObject
* obj1
= 0 ;
30144 char * kwnames
[] = {
30145 (char *) "self",(char *) "str", NULL
30148 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AcceleratorEntry_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30149 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAcceleratorEntry
, 0 | 0 );
30150 if (!SWIG_IsOK(res1
)) {
30151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AcceleratorEntry_FromString" "', expected argument " "1"" of type '" "wxAcceleratorEntry *""'");
30153 arg1
= reinterpret_cast< wxAcceleratorEntry
* >(argp1
);
30155 arg2
= wxString_in_helper(obj1
);
30156 if (arg2
== NULL
) SWIG_fail
;
30160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30161 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
30162 wxPyEndAllowThreads(__tstate
);
30163 if (PyErr_Occurred()) SWIG_fail
;
30166 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30182 SWIGINTERN PyObject
*AcceleratorEntry_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30184 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30185 SWIG_TypeNewClientData(SWIGTYPE_p_wxAcceleratorEntry
, SWIG_NewClientData(obj
));
30186 return SWIG_Py_Void();
30189 SWIGINTERN PyObject
*AcceleratorEntry_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30190 return SWIG_Python_InitShadowInstance(args
);
30193 SWIGINTERN PyObject
*_wrap_new_AcceleratorTable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30194 PyObject
*resultobj
= 0;
30196 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
30197 wxAcceleratorTable
*result
= 0 ;
30198 PyObject
* obj0
= 0 ;
30199 char * kwnames
[] = {
30203 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AcceleratorTable",kwnames
,&obj0
)) SWIG_fail
;
30205 arg2
= wxAcceleratorEntry_LIST_helper(obj0
);
30206 if (arg2
) arg1
= PyList_Size(obj0
);
30210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30211 result
= (wxAcceleratorTable
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry
const *)arg2
);
30212 wxPyEndAllowThreads(__tstate
);
30213 if (PyErr_Occurred()) SWIG_fail
;
30215 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_NEW
| 0 );
30222 SWIGINTERN PyObject
*_wrap_delete_AcceleratorTable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30223 PyObject
*resultobj
= 0;
30224 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
30227 PyObject
*swig_obj
[1] ;
30229 if (!args
) SWIG_fail
;
30230 swig_obj
[0] = args
;
30231 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_DISOWN
| 0 );
30232 if (!SWIG_IsOK(res1
)) {
30233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AcceleratorTable" "', expected argument " "1"" of type '" "wxAcceleratorTable *""'");
30235 arg1
= reinterpret_cast< wxAcceleratorTable
* >(argp1
);
30237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30240 wxPyEndAllowThreads(__tstate
);
30241 if (PyErr_Occurred()) SWIG_fail
;
30243 resultobj
= SWIG_Py_Void();
30250 SWIGINTERN PyObject
*_wrap_AcceleratorTable_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30251 PyObject
*resultobj
= 0;
30252 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
30256 PyObject
*swig_obj
[1] ;
30258 if (!args
) SWIG_fail
;
30259 swig_obj
[0] = args
;
30260 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAcceleratorTable
, 0 | 0 );
30261 if (!SWIG_IsOK(res1
)) {
30262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AcceleratorTable_IsOk" "', expected argument " "1"" of type '" "wxAcceleratorTable const *""'");
30264 arg1
= reinterpret_cast< wxAcceleratorTable
* >(argp1
);
30266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30267 result
= (bool)((wxAcceleratorTable
const *)arg1
)->IsOk();
30268 wxPyEndAllowThreads(__tstate
);
30269 if (PyErr_Occurred()) SWIG_fail
;
30272 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30280 SWIGINTERN PyObject
*AcceleratorTable_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30282 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30283 SWIG_TypeNewClientData(SWIGTYPE_p_wxAcceleratorTable
, SWIG_NewClientData(obj
));
30284 return SWIG_Py_Void();
30287 SWIGINTERN PyObject
*AcceleratorTable_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30288 return SWIG_Python_InitShadowInstance(args
);
30291 SWIGINTERN
int NullAcceleratorTable_set(PyObject
*) {
30292 SWIG_Error(SWIG_AttributeError
,"Variable NullAcceleratorTable is read-only.");
30297 SWIGINTERN PyObject
*NullAcceleratorTable_get(void) {
30298 PyObject
*pyobj
= 0;
30300 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullAcceleratorTable
), SWIGTYPE_p_wxAcceleratorTable
, 0 );
30305 SWIGINTERN PyObject
*_wrap_GetAccelFromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30306 PyObject
*resultobj
= 0;
30307 wxString
*arg1
= 0 ;
30308 wxAcceleratorEntry
*result
= 0 ;
30309 bool temp1
= false ;
30310 PyObject
* obj0
= 0 ;
30311 char * kwnames
[] = {
30312 (char *) "label", NULL
30315 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetAccelFromString",kwnames
,&obj0
)) SWIG_fail
;
30317 arg1
= wxString_in_helper(obj0
);
30318 if (arg1
== NULL
) SWIG_fail
;
30322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30323 result
= (wxAcceleratorEntry
*)wxGetAccelFromString((wxString
const &)*arg1
);
30324 wxPyEndAllowThreads(__tstate
);
30325 if (PyErr_Occurred()) SWIG_fail
;
30327 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0 | 0 );
30342 SWIGINTERN
int PanelNameStr_set(PyObject
*) {
30343 SWIG_Error(SWIG_AttributeError
,"Variable PanelNameStr is read-only.");
30348 SWIGINTERN PyObject
*PanelNameStr_get(void) {
30349 PyObject
*pyobj
= 0;
30353 pyobj
= PyUnicode_FromWideChar((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
30355 pyobj
= PyString_FromStringAndSize((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
30362 SWIGINTERN PyObject
*_wrap_new_VisualAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30363 PyObject
*resultobj
= 0;
30364 wxVisualAttributes
*result
= 0 ;
30366 if (!SWIG_Python_UnpackTuple(args
,"new_VisualAttributes",0,0,0)) SWIG_fail
;
30368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30369 result
= (wxVisualAttributes
*)new_wxVisualAttributes();
30370 wxPyEndAllowThreads(__tstate
);
30371 if (PyErr_Occurred()) SWIG_fail
;
30373 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_NEW
| 0 );
30380 SWIGINTERN PyObject
*_wrap_delete_VisualAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30381 PyObject
*resultobj
= 0;
30382 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
30385 PyObject
*swig_obj
[1] ;
30387 if (!args
) SWIG_fail
;
30388 swig_obj
[0] = args
;
30389 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_DISOWN
| 0 );
30390 if (!SWIG_IsOK(res1
)) {
30391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_VisualAttributes" "', expected argument " "1"" of type '" "wxVisualAttributes *""'");
30393 arg1
= reinterpret_cast< wxVisualAttributes
* >(argp1
);
30395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30396 delete_wxVisualAttributes(arg1
);
30398 wxPyEndAllowThreads(__tstate
);
30399 if (PyErr_Occurred()) SWIG_fail
;
30401 resultobj
= SWIG_Py_Void();
30408 SWIGINTERN PyObject
*_wrap_VisualAttributes_font_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30409 PyObject
*resultobj
= 0;
30410 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
30411 wxFont
*arg2
= (wxFont
*) 0 ;
30416 PyObject
*swig_obj
[2] ;
30418 if (!SWIG_Python_UnpackTuple(args
,"VisualAttributes_font_set",2,2,swig_obj
)) SWIG_fail
;
30419 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVisualAttributes
, 0 | 0 );
30420 if (!SWIG_IsOK(res1
)) {
30421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VisualAttributes_font_set" "', expected argument " "1"" of type '" "wxVisualAttributes *""'");
30423 arg1
= reinterpret_cast< wxVisualAttributes
* >(argp1
);
30424 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
30425 if (!SWIG_IsOK(res2
)) {
30426 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VisualAttributes_font_set" "', expected argument " "2"" of type '" "wxFont *""'");
30428 arg2
= reinterpret_cast< wxFont
* >(argp2
);
30429 if (arg1
) (arg1
)->font
= *arg2
;
30431 resultobj
= SWIG_Py_Void();
30438 SWIGINTERN PyObject
*_wrap_VisualAttributes_font_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30439 PyObject
*resultobj
= 0;
30440 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
30441 wxFont
*result
= 0 ;
30444 PyObject
*swig_obj
[1] ;
30446 if (!args
) SWIG_fail
;
30447 swig_obj
[0] = args
;
30448 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVisualAttributes
, 0 | 0 );
30449 if (!SWIG_IsOK(res1
)) {
30450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VisualAttributes_font_get" "', expected argument " "1"" of type '" "wxVisualAttributes *""'");
30452 arg1
= reinterpret_cast< wxVisualAttributes
* >(argp1
);
30453 result
= (wxFont
*)& ((arg1
)->font
);
30454 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
30461 SWIGINTERN PyObject
*_wrap_VisualAttributes_colFg_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30462 PyObject
*resultobj
= 0;
30463 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
30464 wxColour
*arg2
= (wxColour
*) 0 ;
30469 PyObject
*swig_obj
[2] ;
30471 if (!SWIG_Python_UnpackTuple(args
,"VisualAttributes_colFg_set",2,2,swig_obj
)) SWIG_fail
;
30472 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVisualAttributes
, 0 | 0 );
30473 if (!SWIG_IsOK(res1
)) {
30474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VisualAttributes_colFg_set" "', expected argument " "1"" of type '" "wxVisualAttributes *""'");
30476 arg1
= reinterpret_cast< wxVisualAttributes
* >(argp1
);
30477 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxColour
, 0 | 0 );
30478 if (!SWIG_IsOK(res2
)) {
30479 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VisualAttributes_colFg_set" "', expected argument " "2"" of type '" "wxColour *""'");
30481 arg2
= reinterpret_cast< wxColour
* >(argp2
);
30482 if (arg1
) (arg1
)->colFg
= *arg2
;
30484 resultobj
= SWIG_Py_Void();
30491 SWIGINTERN PyObject
*_wrap_VisualAttributes_colFg_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30492 PyObject
*resultobj
= 0;
30493 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
30494 wxColour
*result
= 0 ;
30497 PyObject
*swig_obj
[1] ;
30499 if (!args
) SWIG_fail
;
30500 swig_obj
[0] = args
;
30501 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVisualAttributes
, 0 | 0 );
30502 if (!SWIG_IsOK(res1
)) {
30503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VisualAttributes_colFg_get" "', expected argument " "1"" of type '" "wxVisualAttributes *""'");
30505 arg1
= reinterpret_cast< wxVisualAttributes
* >(argp1
);
30506 result
= (wxColour
*)& ((arg1
)->colFg
);
30507 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
30514 SWIGINTERN PyObject
*_wrap_VisualAttributes_colBg_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30515 PyObject
*resultobj
= 0;
30516 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
30517 wxColour
*arg2
= (wxColour
*) 0 ;
30522 PyObject
*swig_obj
[2] ;
30524 if (!SWIG_Python_UnpackTuple(args
,"VisualAttributes_colBg_set",2,2,swig_obj
)) SWIG_fail
;
30525 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVisualAttributes
, 0 | 0 );
30526 if (!SWIG_IsOK(res1
)) {
30527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VisualAttributes_colBg_set" "', expected argument " "1"" of type '" "wxVisualAttributes *""'");
30529 arg1
= reinterpret_cast< wxVisualAttributes
* >(argp1
);
30530 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxColour
, 0 | 0 );
30531 if (!SWIG_IsOK(res2
)) {
30532 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VisualAttributes_colBg_set" "', expected argument " "2"" of type '" "wxColour *""'");
30534 arg2
= reinterpret_cast< wxColour
* >(argp2
);
30535 if (arg1
) (arg1
)->colBg
= *arg2
;
30537 resultobj
= SWIG_Py_Void();
30544 SWIGINTERN PyObject
*_wrap_VisualAttributes_colBg_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30545 PyObject
*resultobj
= 0;
30546 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
30547 wxColour
*result
= 0 ;
30550 PyObject
*swig_obj
[1] ;
30552 if (!args
) SWIG_fail
;
30553 swig_obj
[0] = args
;
30554 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVisualAttributes
, 0 | 0 );
30555 if (!SWIG_IsOK(res1
)) {
30556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VisualAttributes_colBg_get" "', expected argument " "1"" of type '" "wxVisualAttributes *""'");
30558 arg1
= reinterpret_cast< wxVisualAttributes
* >(argp1
);
30559 result
= (wxColour
*)& ((arg1
)->colBg
);
30560 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
30567 SWIGINTERN PyObject
*VisualAttributes_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30569 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30570 SWIG_TypeNewClientData(SWIGTYPE_p_wxVisualAttributes
, SWIG_NewClientData(obj
));
30571 return SWIG_Py_Void();
30574 SWIGINTERN PyObject
*VisualAttributes_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30575 return SWIG_Python_InitShadowInstance(args
);
30578 SWIGINTERN PyObject
*_wrap_new_Window(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30579 PyObject
*resultobj
= 0;
30580 wxWindow
*arg1
= (wxWindow
*) 0 ;
30581 int arg2
= (int) (int)-1 ;
30582 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
30583 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
30584 wxSize
const &arg4_defvalue
= wxDefaultSize
;
30585 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
30586 long arg5
= (long) 0 ;
30587 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
30588 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
30589 wxWindow
*result
= 0 ;
30598 bool temp6
= false ;
30599 PyObject
* obj0
= 0 ;
30600 PyObject
* obj1
= 0 ;
30601 PyObject
* obj2
= 0 ;
30602 PyObject
* obj3
= 0 ;
30603 PyObject
* obj4
= 0 ;
30604 PyObject
* obj5
= 0 ;
30605 char * kwnames
[] = {
30606 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Window",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
30610 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30611 if (!SWIG_IsOK(res1
)) {
30612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Window" "', expected argument " "1"" of type '" "wxWindow *""'");
30614 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30616 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30617 if (!SWIG_IsOK(ecode2
)) {
30618 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Window" "', expected argument " "2"" of type '" "int""'");
30620 arg2
= static_cast< int >(val2
);
30625 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30631 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
30635 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
30636 if (!SWIG_IsOK(ecode5
)) {
30637 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Window" "', expected argument " "5"" of type '" "long""'");
30639 arg5
= static_cast< long >(val5
);
30643 arg6
= wxString_in_helper(obj5
);
30644 if (arg6
== NULL
) SWIG_fail
;
30649 if (!wxPyCheckForApp()) SWIG_fail
;
30650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30651 result
= (wxWindow
*)new wxWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
30652 wxPyEndAllowThreads(__tstate
);
30653 if (PyErr_Occurred()) SWIG_fail
;
30655 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindow
, SWIG_POINTER_NEW
| 0 );
30670 SWIGINTERN PyObject
*_wrap_new_PreWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30671 PyObject
*resultobj
= 0;
30672 wxWindow
*result
= 0 ;
30674 if (!SWIG_Python_UnpackTuple(args
,"new_PreWindow",0,0,0)) SWIG_fail
;
30676 if (!wxPyCheckForApp()) SWIG_fail
;
30677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30678 result
= (wxWindow
*)new wxWindow();
30679 wxPyEndAllowThreads(__tstate
);
30680 if (PyErr_Occurred()) SWIG_fail
;
30682 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindow
, SWIG_POINTER_OWN
| 0 );
30689 SWIGINTERN PyObject
*_wrap_Window_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30690 PyObject
*resultobj
= 0;
30691 wxWindow
*arg1
= (wxWindow
*) 0 ;
30692 wxWindow
*arg2
= (wxWindow
*) 0 ;
30693 int arg3
= (int) (int)-1 ;
30694 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
30695 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
30696 wxSize
const &arg5_defvalue
= wxDefaultSize
;
30697 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
30698 long arg6
= (long) 0 ;
30699 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
30700 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
30712 bool temp7
= false ;
30713 PyObject
* obj0
= 0 ;
30714 PyObject
* obj1
= 0 ;
30715 PyObject
* obj2
= 0 ;
30716 PyObject
* obj3
= 0 ;
30717 PyObject
* obj4
= 0 ;
30718 PyObject
* obj5
= 0 ;
30719 PyObject
* obj6
= 0 ;
30720 char * kwnames
[] = {
30721 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30724 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Window_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30725 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30726 if (!SWIG_IsOK(res1
)) {
30727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Create" "', expected argument " "1"" of type '" "wxWindow *""'");
30729 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30730 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30731 if (!SWIG_IsOK(res2
)) {
30732 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
30734 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30736 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30737 if (!SWIG_IsOK(ecode3
)) {
30738 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_Create" "', expected argument " "3"" of type '" "int""'");
30740 arg3
= static_cast< int >(val3
);
30745 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
30751 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
30755 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
30756 if (!SWIG_IsOK(ecode6
)) {
30757 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Window_Create" "', expected argument " "6"" of type '" "long""'");
30759 arg6
= static_cast< long >(val6
);
30763 arg7
= wxString_in_helper(obj6
);
30764 if (arg7
== NULL
) SWIG_fail
;
30769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30770 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
30771 wxPyEndAllowThreads(__tstate
);
30772 if (PyErr_Occurred()) SWIG_fail
;
30775 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30791 SWIGINTERN PyObject
*_wrap_Window_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30792 PyObject
*resultobj
= 0;
30793 wxWindow
*arg1
= (wxWindow
*) 0 ;
30794 bool arg2
= (bool) false ;
30800 PyObject
* obj0
= 0 ;
30801 PyObject
* obj1
= 0 ;
30802 char * kwnames
[] = {
30803 (char *) "self",(char *) "force", NULL
30806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Close",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30807 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30808 if (!SWIG_IsOK(res1
)) {
30809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Close" "', expected argument " "1"" of type '" "wxWindow *""'");
30811 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30813 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
30814 if (!SWIG_IsOK(ecode2
)) {
30815 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_Close" "', expected argument " "2"" of type '" "bool""'");
30817 arg2
= static_cast< bool >(val2
);
30820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30821 result
= (bool)(arg1
)->Close(arg2
);
30822 wxPyEndAllowThreads(__tstate
);
30823 if (PyErr_Occurred()) SWIG_fail
;
30826 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30834 SWIGINTERN PyObject
*_wrap_Window_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30835 PyObject
*resultobj
= 0;
30836 wxWindow
*arg1
= (wxWindow
*) 0 ;
30840 PyObject
*swig_obj
[1] ;
30842 if (!args
) SWIG_fail
;
30843 swig_obj
[0] = args
;
30844 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30845 if (!SWIG_IsOK(res1
)) {
30846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Destroy" "', expected argument " "1"" of type '" "wxWindow *""'");
30848 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30851 result
= (bool)(arg1
)->Destroy();
30852 wxPyEndAllowThreads(__tstate
);
30853 if (PyErr_Occurred()) SWIG_fail
;
30856 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30864 SWIGINTERN PyObject
*_wrap_Window_DestroyChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30865 PyObject
*resultobj
= 0;
30866 wxWindow
*arg1
= (wxWindow
*) 0 ;
30870 PyObject
*swig_obj
[1] ;
30872 if (!args
) SWIG_fail
;
30873 swig_obj
[0] = args
;
30874 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30875 if (!SWIG_IsOK(res1
)) {
30876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_DestroyChildren" "', expected argument " "1"" of type '" "wxWindow *""'");
30878 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30881 result
= (bool)(arg1
)->DestroyChildren();
30882 wxPyEndAllowThreads(__tstate
);
30883 if (PyErr_Occurred()) SWIG_fail
;
30886 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30894 SWIGINTERN PyObject
*_wrap_Window_IsBeingDeleted(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30895 PyObject
*resultobj
= 0;
30896 wxWindow
*arg1
= (wxWindow
*) 0 ;
30900 PyObject
*swig_obj
[1] ;
30902 if (!args
) SWIG_fail
;
30903 swig_obj
[0] = args
;
30904 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30905 if (!SWIG_IsOK(res1
)) {
30906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_IsBeingDeleted" "', expected argument " "1"" of type '" "wxWindow const *""'");
30908 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30911 result
= (bool)((wxWindow
const *)arg1
)->IsBeingDeleted();
30912 wxPyEndAllowThreads(__tstate
);
30913 if (PyErr_Occurred()) SWIG_fail
;
30916 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30924 SWIGINTERN PyObject
*_wrap_Window_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30925 PyObject
*resultobj
= 0;
30926 wxWindow
*arg1
= (wxWindow
*) 0 ;
30927 wxString
*arg2
= 0 ;
30930 bool temp2
= false ;
30931 PyObject
* obj0
= 0 ;
30932 PyObject
* obj1
= 0 ;
30933 char * kwnames
[] = {
30934 (char *) "self",(char *) "label", NULL
30937 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30938 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30939 if (!SWIG_IsOK(res1
)) {
30940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetLabel" "', expected argument " "1"" of type '" "wxWindow *""'");
30942 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30944 arg2
= wxString_in_helper(obj1
);
30945 if (arg2
== NULL
) SWIG_fail
;
30949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30950 (arg1
)->SetLabel((wxString
const &)*arg2
);
30951 wxPyEndAllowThreads(__tstate
);
30952 if (PyErr_Occurred()) SWIG_fail
;
30954 resultobj
= SWIG_Py_Void();
30969 SWIGINTERN PyObject
*_wrap_Window_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30970 PyObject
*resultobj
= 0;
30971 wxWindow
*arg1
= (wxWindow
*) 0 ;
30975 PyObject
*swig_obj
[1] ;
30977 if (!args
) SWIG_fail
;
30978 swig_obj
[0] = args
;
30979 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30980 if (!SWIG_IsOK(res1
)) {
30981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetLabel" "', expected argument " "1"" of type '" "wxWindow const *""'");
30983 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30986 result
= ((wxWindow
const *)arg1
)->GetLabel();
30987 wxPyEndAllowThreads(__tstate
);
30988 if (PyErr_Occurred()) SWIG_fail
;
30992 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30994 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31003 SWIGINTERN PyObject
*_wrap_Window_SetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31004 PyObject
*resultobj
= 0;
31005 wxWindow
*arg1
= (wxWindow
*) 0 ;
31006 wxString
*arg2
= 0 ;
31009 bool temp2
= false ;
31010 PyObject
* obj0
= 0 ;
31011 PyObject
* obj1
= 0 ;
31012 char * kwnames
[] = {
31013 (char *) "self",(char *) "name", NULL
31016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31017 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31018 if (!SWIG_IsOK(res1
)) {
31019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetName" "', expected argument " "1"" of type '" "wxWindow *""'");
31021 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31023 arg2
= wxString_in_helper(obj1
);
31024 if (arg2
== NULL
) SWIG_fail
;
31028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31029 (arg1
)->SetName((wxString
const &)*arg2
);
31030 wxPyEndAllowThreads(__tstate
);
31031 if (PyErr_Occurred()) SWIG_fail
;
31033 resultobj
= SWIG_Py_Void();
31048 SWIGINTERN PyObject
*_wrap_Window_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31049 PyObject
*resultobj
= 0;
31050 wxWindow
*arg1
= (wxWindow
*) 0 ;
31054 PyObject
*swig_obj
[1] ;
31056 if (!args
) SWIG_fail
;
31057 swig_obj
[0] = args
;
31058 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31059 if (!SWIG_IsOK(res1
)) {
31060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetName" "', expected argument " "1"" of type '" "wxWindow const *""'");
31062 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31065 result
= ((wxWindow
const *)arg1
)->GetName();
31066 wxPyEndAllowThreads(__tstate
);
31067 if (PyErr_Occurred()) SWIG_fail
;
31071 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31073 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31082 SWIGINTERN PyObject
*_wrap_Window_SetWindowVariant(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31083 PyObject
*resultobj
= 0;
31084 wxWindow
*arg1
= (wxWindow
*) 0 ;
31085 wxWindowVariant arg2
;
31090 PyObject
* obj0
= 0 ;
31091 PyObject
* obj1
= 0 ;
31092 char * kwnames
[] = {
31093 (char *) "self",(char *) "variant", NULL
31096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowVariant",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31098 if (!SWIG_IsOK(res1
)) {
31099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetWindowVariant" "', expected argument " "1"" of type '" "wxWindow *""'");
31101 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31102 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31103 if (!SWIG_IsOK(ecode2
)) {
31104 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetWindowVariant" "', expected argument " "2"" of type '" "wxWindowVariant""'");
31106 arg2
= static_cast< wxWindowVariant
>(val2
);
31108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31109 (arg1
)->SetWindowVariant(arg2
);
31110 wxPyEndAllowThreads(__tstate
);
31111 if (PyErr_Occurred()) SWIG_fail
;
31113 resultobj
= SWIG_Py_Void();
31120 SWIGINTERN PyObject
*_wrap_Window_GetWindowVariant(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31121 PyObject
*resultobj
= 0;
31122 wxWindow
*arg1
= (wxWindow
*) 0 ;
31123 wxWindowVariant result
;
31126 PyObject
*swig_obj
[1] ;
31128 if (!args
) SWIG_fail
;
31129 swig_obj
[0] = args
;
31130 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31131 if (!SWIG_IsOK(res1
)) {
31132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetWindowVariant" "', expected argument " "1"" of type '" "wxWindow const *""'");
31134 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31137 result
= (wxWindowVariant
)((wxWindow
const *)arg1
)->GetWindowVariant();
31138 wxPyEndAllowThreads(__tstate
);
31139 if (PyErr_Occurred()) SWIG_fail
;
31141 resultobj
= SWIG_From_int(static_cast< int >(result
));
31148 SWIGINTERN PyObject
*_wrap_Window_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31149 PyObject
*resultobj
= 0;
31150 wxWindow
*arg1
= (wxWindow
*) 0 ;
31156 PyObject
* obj0
= 0 ;
31157 PyObject
* obj1
= 0 ;
31158 char * kwnames
[] = {
31159 (char *) "self",(char *) "winid", NULL
31162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31163 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31164 if (!SWIG_IsOK(res1
)) {
31165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetId" "', expected argument " "1"" of type '" "wxWindow *""'");
31167 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31168 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31169 if (!SWIG_IsOK(ecode2
)) {
31170 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetId" "', expected argument " "2"" of type '" "int""'");
31172 arg2
= static_cast< int >(val2
);
31174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31175 (arg1
)->SetId(arg2
);
31176 wxPyEndAllowThreads(__tstate
);
31177 if (PyErr_Occurred()) SWIG_fail
;
31179 resultobj
= SWIG_Py_Void();
31186 SWIGINTERN PyObject
*_wrap_Window_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31187 PyObject
*resultobj
= 0;
31188 wxWindow
*arg1
= (wxWindow
*) 0 ;
31192 PyObject
*swig_obj
[1] ;
31194 if (!args
) SWIG_fail
;
31195 swig_obj
[0] = args
;
31196 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31197 if (!SWIG_IsOK(res1
)) {
31198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetId" "', expected argument " "1"" of type '" "wxWindow const *""'");
31200 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31203 result
= (int)((wxWindow
const *)arg1
)->GetId();
31204 wxPyEndAllowThreads(__tstate
);
31205 if (PyErr_Occurred()) SWIG_fail
;
31207 resultobj
= SWIG_From_int(static_cast< int >(result
));
31214 SWIGINTERN PyObject
*_wrap_Window_NewControlId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31215 PyObject
*resultobj
= 0;
31218 if (!SWIG_Python_UnpackTuple(args
,"Window_NewControlId",0,0,0)) SWIG_fail
;
31220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31221 result
= (int)wxWindow::NewControlId();
31222 wxPyEndAllowThreads(__tstate
);
31223 if (PyErr_Occurred()) SWIG_fail
;
31225 resultobj
= SWIG_From_int(static_cast< int >(result
));
31232 SWIGINTERN PyObject
*_wrap_Window_NextControlId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31233 PyObject
*resultobj
= 0;
31238 PyObject
* obj0
= 0 ;
31239 char * kwnames
[] = {
31240 (char *) "winid", NULL
31243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_NextControlId",kwnames
,&obj0
)) SWIG_fail
;
31244 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31245 if (!SWIG_IsOK(ecode1
)) {
31246 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Window_NextControlId" "', expected argument " "1"" of type '" "int""'");
31248 arg1
= static_cast< int >(val1
);
31250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31251 result
= (int)wxWindow::NextControlId(arg1
);
31252 wxPyEndAllowThreads(__tstate
);
31253 if (PyErr_Occurred()) SWIG_fail
;
31255 resultobj
= SWIG_From_int(static_cast< int >(result
));
31262 SWIGINTERN PyObject
*_wrap_Window_PrevControlId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31263 PyObject
*resultobj
= 0;
31268 PyObject
* obj0
= 0 ;
31269 char * kwnames
[] = {
31270 (char *) "winid", NULL
31273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PrevControlId",kwnames
,&obj0
)) SWIG_fail
;
31274 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31275 if (!SWIG_IsOK(ecode1
)) {
31276 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Window_PrevControlId" "', expected argument " "1"" of type '" "int""'");
31278 arg1
= static_cast< int >(val1
);
31280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31281 result
= (int)wxWindow::PrevControlId(arg1
);
31282 wxPyEndAllowThreads(__tstate
);
31283 if (PyErr_Occurred()) SWIG_fail
;
31285 resultobj
= SWIG_From_int(static_cast< int >(result
));
31292 SWIGINTERN PyObject
*_wrap_Window_GetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31293 PyObject
*resultobj
= 0;
31294 wxWindow
*arg1
= (wxWindow
*) 0 ;
31295 wxLayoutDirection result
;
31298 PyObject
*swig_obj
[1] ;
31300 if (!args
) SWIG_fail
;
31301 swig_obj
[0] = args
;
31302 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31303 if (!SWIG_IsOK(res1
)) {
31304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetLayoutDirection" "', expected argument " "1"" of type '" "wxWindow const *""'");
31306 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31309 result
= (wxLayoutDirection
)((wxWindow
const *)arg1
)->GetLayoutDirection();
31310 wxPyEndAllowThreads(__tstate
);
31311 if (PyErr_Occurred()) SWIG_fail
;
31313 resultobj
= SWIG_From_int(static_cast< int >(result
));
31320 SWIGINTERN PyObject
*_wrap_Window_SetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31321 PyObject
*resultobj
= 0;
31322 wxWindow
*arg1
= (wxWindow
*) 0 ;
31323 wxLayoutDirection arg2
;
31328 PyObject
* obj0
= 0 ;
31329 PyObject
* obj1
= 0 ;
31330 char * kwnames
[] = {
31331 (char *) "self",(char *) "dir", NULL
31334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLayoutDirection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31335 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31336 if (!SWIG_IsOK(res1
)) {
31337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetLayoutDirection" "', expected argument " "1"" of type '" "wxWindow *""'");
31339 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31340 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31341 if (!SWIG_IsOK(ecode2
)) {
31342 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetLayoutDirection" "', expected argument " "2"" of type '" "wxLayoutDirection""'");
31344 arg2
= static_cast< wxLayoutDirection
>(val2
);
31346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31347 (arg1
)->SetLayoutDirection(arg2
);
31348 wxPyEndAllowThreads(__tstate
);
31349 if (PyErr_Occurred()) SWIG_fail
;
31351 resultobj
= SWIG_Py_Void();
31358 SWIGINTERN PyObject
*_wrap_Window_AdjustForLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31359 PyObject
*resultobj
= 0;
31360 wxWindow
*arg1
= (wxWindow
*) 0 ;
31373 PyObject
* obj0
= 0 ;
31374 PyObject
* obj1
= 0 ;
31375 PyObject
* obj2
= 0 ;
31376 PyObject
* obj3
= 0 ;
31377 char * kwnames
[] = {
31378 (char *) "self",(char *) "x",(char *) "width",(char *) "widthTotal", NULL
31381 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_AdjustForLayoutDirection",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31382 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31383 if (!SWIG_IsOK(res1
)) {
31384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_AdjustForLayoutDirection" "', expected argument " "1"" of type '" "wxWindow const *""'");
31386 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31387 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31388 if (!SWIG_IsOK(ecode2
)) {
31389 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_AdjustForLayoutDirection" "', expected argument " "2"" of type '" "int""'");
31391 arg2
= static_cast< int >(val2
);
31392 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31393 if (!SWIG_IsOK(ecode3
)) {
31394 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_AdjustForLayoutDirection" "', expected argument " "3"" of type '" "int""'");
31396 arg3
= static_cast< int >(val3
);
31397 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31398 if (!SWIG_IsOK(ecode4
)) {
31399 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Window_AdjustForLayoutDirection" "', expected argument " "4"" of type '" "int""'");
31401 arg4
= static_cast< int >(val4
);
31403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31404 result
= (int)((wxWindow
const *)arg1
)->AdjustForLayoutDirection(arg2
,arg3
,arg4
);
31405 wxPyEndAllowThreads(__tstate
);
31406 if (PyErr_Occurred()) SWIG_fail
;
31408 resultobj
= SWIG_From_int(static_cast< int >(result
));
31415 SWIGINTERN PyObject
*_wrap_Window_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31416 PyObject
*resultobj
= 0;
31417 wxWindow
*arg1
= (wxWindow
*) 0 ;
31422 PyObject
* obj0
= 0 ;
31423 PyObject
* obj1
= 0 ;
31424 char * kwnames
[] = {
31425 (char *) "self",(char *) "size", NULL
31428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31429 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31430 if (!SWIG_IsOK(res1
)) {
31431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetSize" "', expected argument " "1"" of type '" "wxWindow *""'");
31433 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31436 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
31439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31440 (arg1
)->SetSize((wxSize
const &)*arg2
);
31441 wxPyEndAllowThreads(__tstate
);
31442 if (PyErr_Occurred()) SWIG_fail
;
31444 resultobj
= SWIG_Py_Void();
31451 SWIGINTERN PyObject
*_wrap_Window_SetDimensions(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31452 PyObject
*resultobj
= 0;
31453 wxWindow
*arg1
= (wxWindow
*) 0 ;
31458 int arg6
= (int) wxSIZE_AUTO
;
31471 PyObject
* obj0
= 0 ;
31472 PyObject
* obj1
= 0 ;
31473 PyObject
* obj2
= 0 ;
31474 PyObject
* obj3
= 0 ;
31475 PyObject
* obj4
= 0 ;
31476 PyObject
* obj5
= 0 ;
31477 char * kwnames
[] = {
31478 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
31481 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetDimensions",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
31482 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31483 if (!SWIG_IsOK(res1
)) {
31484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetDimensions" "', expected argument " "1"" of type '" "wxWindow *""'");
31486 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31487 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31488 if (!SWIG_IsOK(ecode2
)) {
31489 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetDimensions" "', expected argument " "2"" of type '" "int""'");
31491 arg2
= static_cast< int >(val2
);
31492 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31493 if (!SWIG_IsOK(ecode3
)) {
31494 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_SetDimensions" "', expected argument " "3"" of type '" "int""'");
31496 arg3
= static_cast< int >(val3
);
31497 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31498 if (!SWIG_IsOK(ecode4
)) {
31499 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Window_SetDimensions" "', expected argument " "4"" of type '" "int""'");
31501 arg4
= static_cast< int >(val4
);
31502 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31503 if (!SWIG_IsOK(ecode5
)) {
31504 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Window_SetDimensions" "', expected argument " "5"" of type '" "int""'");
31506 arg5
= static_cast< int >(val5
);
31508 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
31509 if (!SWIG_IsOK(ecode6
)) {
31510 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Window_SetDimensions" "', expected argument " "6"" of type '" "int""'");
31512 arg6
= static_cast< int >(val6
);
31515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31516 (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
31517 wxPyEndAllowThreads(__tstate
);
31518 if (PyErr_Occurred()) SWIG_fail
;
31520 resultobj
= SWIG_Py_Void();
31527 SWIGINTERN PyObject
*_wrap_Window_SetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31528 PyObject
*resultobj
= 0;
31529 wxWindow
*arg1
= (wxWindow
*) 0 ;
31531 int arg3
= (int) wxSIZE_AUTO
;
31537 PyObject
* obj0
= 0 ;
31538 PyObject
* obj1
= 0 ;
31539 PyObject
* obj2
= 0 ;
31540 char * kwnames
[] = {
31541 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
31544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31545 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31546 if (!SWIG_IsOK(res1
)) {
31547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetRect" "', expected argument " "1"" of type '" "wxWindow *""'");
31549 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31552 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
31555 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31556 if (!SWIG_IsOK(ecode3
)) {
31557 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_SetRect" "', expected argument " "3"" of type '" "int""'");
31559 arg3
= static_cast< int >(val3
);
31562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31563 (arg1
)->SetSize((wxRect
const &)*arg2
,arg3
);
31564 wxPyEndAllowThreads(__tstate
);
31565 if (PyErr_Occurred()) SWIG_fail
;
31567 resultobj
= SWIG_Py_Void();
31574 SWIGINTERN PyObject
*_wrap_Window_SetSizeWH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31575 PyObject
*resultobj
= 0;
31576 wxWindow
*arg1
= (wxWindow
*) 0 ;
31585 PyObject
* obj0
= 0 ;
31586 PyObject
* obj1
= 0 ;
31587 PyObject
* obj2
= 0 ;
31588 char * kwnames
[] = {
31589 (char *) "self",(char *) "width",(char *) "height", NULL
31592 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31593 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31594 if (!SWIG_IsOK(res1
)) {
31595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetSizeWH" "', expected argument " "1"" of type '" "wxWindow *""'");
31597 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31598 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31599 if (!SWIG_IsOK(ecode2
)) {
31600 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetSizeWH" "', expected argument " "2"" of type '" "int""'");
31602 arg2
= static_cast< int >(val2
);
31603 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31604 if (!SWIG_IsOK(ecode3
)) {
31605 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_SetSizeWH" "', expected argument " "3"" of type '" "int""'");
31607 arg3
= static_cast< int >(val3
);
31609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31610 (arg1
)->SetSize(arg2
,arg3
);
31611 wxPyEndAllowThreads(__tstate
);
31612 if (PyErr_Occurred()) SWIG_fail
;
31614 resultobj
= SWIG_Py_Void();
31621 SWIGINTERN PyObject
*_wrap_Window_Move(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31622 PyObject
*resultobj
= 0;
31623 wxWindow
*arg1
= (wxWindow
*) 0 ;
31624 wxPoint
*arg2
= 0 ;
31625 int arg3
= (int) wxSIZE_USE_EXISTING
;
31631 PyObject
* obj0
= 0 ;
31632 PyObject
* obj1
= 0 ;
31633 PyObject
* obj2
= 0 ;
31634 char * kwnames
[] = {
31635 (char *) "self",(char *) "pt",(char *) "flags", NULL
31638 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_Move",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31639 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31640 if (!SWIG_IsOK(res1
)) {
31641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Move" "', expected argument " "1"" of type '" "wxWindow *""'");
31643 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31646 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31649 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31650 if (!SWIG_IsOK(ecode3
)) {
31651 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_Move" "', expected argument " "3"" of type '" "int""'");
31653 arg3
= static_cast< int >(val3
);
31656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31657 (arg1
)->Move((wxPoint
const &)*arg2
,arg3
);
31658 wxPyEndAllowThreads(__tstate
);
31659 if (PyErr_Occurred()) SWIG_fail
;
31661 resultobj
= SWIG_Py_Void();
31668 SWIGINTERN PyObject
*_wrap_Window_MoveXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31669 PyObject
*resultobj
= 0;
31670 wxWindow
*arg1
= (wxWindow
*) 0 ;
31673 int arg4
= (int) wxSIZE_USE_EXISTING
;
31682 PyObject
* obj0
= 0 ;
31683 PyObject
* obj1
= 0 ;
31684 PyObject
* obj2
= 0 ;
31685 PyObject
* obj3
= 0 ;
31686 char * kwnames
[] = {
31687 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
31690 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31691 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31692 if (!SWIG_IsOK(res1
)) {
31693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_MoveXY" "', expected argument " "1"" of type '" "wxWindow *""'");
31695 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31696 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31697 if (!SWIG_IsOK(ecode2
)) {
31698 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_MoveXY" "', expected argument " "2"" of type '" "int""'");
31700 arg2
= static_cast< int >(val2
);
31701 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31702 if (!SWIG_IsOK(ecode3
)) {
31703 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_MoveXY" "', expected argument " "3"" of type '" "int""'");
31705 arg3
= static_cast< int >(val3
);
31707 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31708 if (!SWIG_IsOK(ecode4
)) {
31709 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Window_MoveXY" "', expected argument " "4"" of type '" "int""'");
31711 arg4
= static_cast< int >(val4
);
31714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31715 (arg1
)->Move(arg2
,arg3
,arg4
);
31716 wxPyEndAllowThreads(__tstate
);
31717 if (PyErr_Occurred()) SWIG_fail
;
31719 resultobj
= SWIG_Py_Void();
31726 SWIGINTERN PyObject
*_wrap_Window_SetBestFittingSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31727 PyObject
*resultobj
= 0;
31728 wxWindow
*arg1
= (wxWindow
*) 0 ;
31729 wxSize
const &arg2_defvalue
= wxDefaultSize
;
31730 wxSize
*arg2
= (wxSize
*) &arg2_defvalue
;
31734 PyObject
* obj0
= 0 ;
31735 PyObject
* obj1
= 0 ;
31736 char * kwnames
[] = {
31737 (char *) "self",(char *) "size", NULL
31740 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_SetBestFittingSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31741 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31742 if (!SWIG_IsOK(res1
)) {
31743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetBestFittingSize" "', expected argument " "1"" of type '" "wxWindow *""'");
31745 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31749 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
31753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31754 (arg1
)->SetBestFittingSize((wxSize
const &)*arg2
);
31755 wxPyEndAllowThreads(__tstate
);
31756 if (PyErr_Occurred()) SWIG_fail
;
31758 resultobj
= SWIG_Py_Void();
31765 SWIGINTERN PyObject
*_wrap_Window_Raise(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31766 PyObject
*resultobj
= 0;
31767 wxWindow
*arg1
= (wxWindow
*) 0 ;
31770 PyObject
*swig_obj
[1] ;
31772 if (!args
) SWIG_fail
;
31773 swig_obj
[0] = args
;
31774 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31775 if (!SWIG_IsOK(res1
)) {
31776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Raise" "', expected argument " "1"" of type '" "wxWindow *""'");
31778 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31782 wxPyEndAllowThreads(__tstate
);
31783 if (PyErr_Occurred()) SWIG_fail
;
31785 resultobj
= SWIG_Py_Void();
31792 SWIGINTERN PyObject
*_wrap_Window_Lower(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31793 PyObject
*resultobj
= 0;
31794 wxWindow
*arg1
= (wxWindow
*) 0 ;
31797 PyObject
*swig_obj
[1] ;
31799 if (!args
) SWIG_fail
;
31800 swig_obj
[0] = args
;
31801 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31802 if (!SWIG_IsOK(res1
)) {
31803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Lower" "', expected argument " "1"" of type '" "wxWindow *""'");
31805 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31809 wxPyEndAllowThreads(__tstate
);
31810 if (PyErr_Occurred()) SWIG_fail
;
31812 resultobj
= SWIG_Py_Void();
31819 SWIGINTERN PyObject
*_wrap_Window_SetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31820 PyObject
*resultobj
= 0;
31821 wxWindow
*arg1
= (wxWindow
*) 0 ;
31826 PyObject
* obj0
= 0 ;
31827 PyObject
* obj1
= 0 ;
31828 char * kwnames
[] = {
31829 (char *) "self",(char *) "size", NULL
31832 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31833 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31834 if (!SWIG_IsOK(res1
)) {
31835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetClientSize" "', expected argument " "1"" of type '" "wxWindow *""'");
31837 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31840 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
31843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31844 (arg1
)->SetClientSize((wxSize
const &)*arg2
);
31845 wxPyEndAllowThreads(__tstate
);
31846 if (PyErr_Occurred()) SWIG_fail
;
31848 resultobj
= SWIG_Py_Void();
31855 SWIGINTERN PyObject
*_wrap_Window_SetClientSizeWH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31856 PyObject
*resultobj
= 0;
31857 wxWindow
*arg1
= (wxWindow
*) 0 ;
31866 PyObject
* obj0
= 0 ;
31867 PyObject
* obj1
= 0 ;
31868 PyObject
* obj2
= 0 ;
31869 char * kwnames
[] = {
31870 (char *) "self",(char *) "width",(char *) "height", NULL
31873 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetClientSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31874 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31875 if (!SWIG_IsOK(res1
)) {
31876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetClientSizeWH" "', expected argument " "1"" of type '" "wxWindow *""'");
31878 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31879 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31880 if (!SWIG_IsOK(ecode2
)) {
31881 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetClientSizeWH" "', expected argument " "2"" of type '" "int""'");
31883 arg2
= static_cast< int >(val2
);
31884 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31885 if (!SWIG_IsOK(ecode3
)) {
31886 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_SetClientSizeWH" "', expected argument " "3"" of type '" "int""'");
31888 arg3
= static_cast< int >(val3
);
31890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31891 (arg1
)->SetClientSize(arg2
,arg3
);
31892 wxPyEndAllowThreads(__tstate
);
31893 if (PyErr_Occurred()) SWIG_fail
;
31895 resultobj
= SWIG_Py_Void();
31902 SWIGINTERN PyObject
*_wrap_Window_SetClientRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31903 PyObject
*resultobj
= 0;
31904 wxWindow
*arg1
= (wxWindow
*) 0 ;
31909 PyObject
* obj0
= 0 ;
31910 PyObject
* obj1
= 0 ;
31911 char * kwnames
[] = {
31912 (char *) "self",(char *) "rect", NULL
31915 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31916 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31917 if (!SWIG_IsOK(res1
)) {
31918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetClientRect" "', expected argument " "1"" of type '" "wxWindow *""'");
31920 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31923 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
31926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31927 (arg1
)->SetClientSize((wxRect
const &)*arg2
);
31928 wxPyEndAllowThreads(__tstate
);
31929 if (PyErr_Occurred()) SWIG_fail
;
31931 resultobj
= SWIG_Py_Void();
31938 SWIGINTERN PyObject
*_wrap_Window_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31939 PyObject
*resultobj
= 0;
31940 wxWindow
*arg1
= (wxWindow
*) 0 ;
31944 PyObject
*swig_obj
[1] ;
31946 if (!args
) SWIG_fail
;
31947 swig_obj
[0] = args
;
31948 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31949 if (!SWIG_IsOK(res1
)) {
31950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetPosition" "', expected argument " "1"" of type '" "wxWindow const *""'");
31952 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31955 result
= ((wxWindow
const *)arg1
)->GetPosition();
31956 wxPyEndAllowThreads(__tstate
);
31957 if (PyErr_Occurred()) SWIG_fail
;
31959 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
31966 SWIGINTERN PyObject
*_wrap_Window_GetPositionTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31967 PyObject
*resultobj
= 0;
31968 wxWindow
*arg1
= (wxWindow
*) 0 ;
31969 int *arg2
= (int *) 0 ;
31970 int *arg3
= (int *) 0 ;
31974 int res2
= SWIG_TMPOBJ
;
31976 int res3
= SWIG_TMPOBJ
;
31977 PyObject
*swig_obj
[1] ;
31981 if (!args
) SWIG_fail
;
31982 swig_obj
[0] = args
;
31983 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31984 if (!SWIG_IsOK(res1
)) {
31985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetPositionTuple" "', expected argument " "1"" of type '" "wxWindow const *""'");
31987 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31990 ((wxWindow
const *)arg1
)->GetPosition(arg2
,arg3
);
31991 wxPyEndAllowThreads(__tstate
);
31992 if (PyErr_Occurred()) SWIG_fail
;
31994 resultobj
= SWIG_Py_Void();
31995 if (SWIG_IsTmpObj(res2
)) {
31996 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
31998 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31999 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
32001 if (SWIG_IsTmpObj(res3
)) {
32002 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
32004 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
32005 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
32013 SWIGINTERN PyObject
*_wrap_Window_GetScreenPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32014 PyObject
*resultobj
= 0;
32015 wxWindow
*arg1
= (wxWindow
*) 0 ;
32019 PyObject
*swig_obj
[1] ;
32021 if (!args
) SWIG_fail
;
32022 swig_obj
[0] = args
;
32023 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32024 if (!SWIG_IsOK(res1
)) {
32025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetScreenPosition" "', expected argument " "1"" of type '" "wxWindow const *""'");
32027 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32030 result
= ((wxWindow
const *)arg1
)->GetScreenPosition();
32031 wxPyEndAllowThreads(__tstate
);
32032 if (PyErr_Occurred()) SWIG_fail
;
32034 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
32041 SWIGINTERN PyObject
*_wrap_Window_GetScreenPositionTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32042 PyObject
*resultobj
= 0;
32043 wxWindow
*arg1
= (wxWindow
*) 0 ;
32044 int *arg2
= (int *) 0 ;
32045 int *arg3
= (int *) 0 ;
32049 int res2
= SWIG_TMPOBJ
;
32051 int res3
= SWIG_TMPOBJ
;
32052 PyObject
*swig_obj
[1] ;
32056 if (!args
) SWIG_fail
;
32057 swig_obj
[0] = args
;
32058 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32059 if (!SWIG_IsOK(res1
)) {
32060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetScreenPositionTuple" "', expected argument " "1"" of type '" "wxWindow const *""'");
32062 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32065 ((wxWindow
const *)arg1
)->GetScreenPosition(arg2
,arg3
);
32066 wxPyEndAllowThreads(__tstate
);
32067 if (PyErr_Occurred()) SWIG_fail
;
32069 resultobj
= SWIG_Py_Void();
32070 if (SWIG_IsTmpObj(res2
)) {
32071 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
32073 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
32074 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
32076 if (SWIG_IsTmpObj(res3
)) {
32077 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
32079 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
32080 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
32088 SWIGINTERN PyObject
*_wrap_Window_GetScreenRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32089 PyObject
*resultobj
= 0;
32090 wxWindow
*arg1
= (wxWindow
*) 0 ;
32094 PyObject
*swig_obj
[1] ;
32096 if (!args
) SWIG_fail
;
32097 swig_obj
[0] = args
;
32098 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32099 if (!SWIG_IsOK(res1
)) {
32100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetScreenRect" "', expected argument " "1"" of type '" "wxWindow const *""'");
32102 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32105 result
= ((wxWindow
const *)arg1
)->GetScreenRect();
32106 wxPyEndAllowThreads(__tstate
);
32107 if (PyErr_Occurred()) SWIG_fail
;
32109 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
32116 SWIGINTERN PyObject
*_wrap_Window_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32117 PyObject
*resultobj
= 0;
32118 wxWindow
*arg1
= (wxWindow
*) 0 ;
32122 PyObject
*swig_obj
[1] ;
32124 if (!args
) SWIG_fail
;
32125 swig_obj
[0] = args
;
32126 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32127 if (!SWIG_IsOK(res1
)) {
32128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetSize" "', expected argument " "1"" of type '" "wxWindow const *""'");
32130 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32133 result
= ((wxWindow
const *)arg1
)->GetSize();
32134 wxPyEndAllowThreads(__tstate
);
32135 if (PyErr_Occurred()) SWIG_fail
;
32137 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
32144 SWIGINTERN PyObject
*_wrap_Window_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32145 PyObject
*resultobj
= 0;
32146 wxWindow
*arg1
= (wxWindow
*) 0 ;
32147 int *arg2
= (int *) 0 ;
32148 int *arg3
= (int *) 0 ;
32152 int res2
= SWIG_TMPOBJ
;
32154 int res3
= SWIG_TMPOBJ
;
32155 PyObject
*swig_obj
[1] ;
32159 if (!args
) SWIG_fail
;
32160 swig_obj
[0] = args
;
32161 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32162 if (!SWIG_IsOK(res1
)) {
32163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetSizeTuple" "', expected argument " "1"" of type '" "wxWindow const *""'");
32165 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32168 ((wxWindow
const *)arg1
)->GetSize(arg2
,arg3
);
32169 wxPyEndAllowThreads(__tstate
);
32170 if (PyErr_Occurred()) SWIG_fail
;
32172 resultobj
= SWIG_Py_Void();
32173 if (SWIG_IsTmpObj(res2
)) {
32174 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
32176 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
32177 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
32179 if (SWIG_IsTmpObj(res3
)) {
32180 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
32182 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
32183 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
32191 SWIGINTERN PyObject
*_wrap_Window_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32192 PyObject
*resultobj
= 0;
32193 wxWindow
*arg1
= (wxWindow
*) 0 ;
32197 PyObject
*swig_obj
[1] ;
32199 if (!args
) SWIG_fail
;
32200 swig_obj
[0] = args
;
32201 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32202 if (!SWIG_IsOK(res1
)) {
32203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetRect" "', expected argument " "1"" of type '" "wxWindow const *""'");
32205 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32208 result
= ((wxWindow
const *)arg1
)->GetRect();
32209 wxPyEndAllowThreads(__tstate
);
32210 if (PyErr_Occurred()) SWIG_fail
;
32212 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
32219 SWIGINTERN PyObject
*_wrap_Window_GetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32220 PyObject
*resultobj
= 0;
32221 wxWindow
*arg1
= (wxWindow
*) 0 ;
32225 PyObject
*swig_obj
[1] ;
32227 if (!args
) SWIG_fail
;
32228 swig_obj
[0] = args
;
32229 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32230 if (!SWIG_IsOK(res1
)) {
32231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetClientSize" "', expected argument " "1"" of type '" "wxWindow const *""'");
32233 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32236 result
= ((wxWindow
const *)arg1
)->GetClientSize();
32237 wxPyEndAllowThreads(__tstate
);
32238 if (PyErr_Occurred()) SWIG_fail
;
32240 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
32247 SWIGINTERN PyObject
*_wrap_Window_GetClientSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32248 PyObject
*resultobj
= 0;
32249 wxWindow
*arg1
= (wxWindow
*) 0 ;
32250 int *arg2
= (int *) 0 ;
32251 int *arg3
= (int *) 0 ;
32255 int res2
= SWIG_TMPOBJ
;
32257 int res3
= SWIG_TMPOBJ
;
32258 PyObject
*swig_obj
[1] ;
32262 if (!args
) SWIG_fail
;
32263 swig_obj
[0] = args
;
32264 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32265 if (!SWIG_IsOK(res1
)) {
32266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetClientSizeTuple" "', expected argument " "1"" of type '" "wxWindow const *""'");
32268 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32271 ((wxWindow
const *)arg1
)->GetClientSize(arg2
,arg3
);
32272 wxPyEndAllowThreads(__tstate
);
32273 if (PyErr_Occurred()) SWIG_fail
;
32275 resultobj
= SWIG_Py_Void();
32276 if (SWIG_IsTmpObj(res2
)) {
32277 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
32279 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
32280 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
32282 if (SWIG_IsTmpObj(res3
)) {
32283 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
32285 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
32286 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
32294 SWIGINTERN PyObject
*_wrap_Window_GetClientAreaOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32295 PyObject
*resultobj
= 0;
32296 wxWindow
*arg1
= (wxWindow
*) 0 ;
32300 PyObject
*swig_obj
[1] ;
32302 if (!args
) SWIG_fail
;
32303 swig_obj
[0] = args
;
32304 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32305 if (!SWIG_IsOK(res1
)) {
32306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetClientAreaOrigin" "', expected argument " "1"" of type '" "wxWindow const *""'");
32308 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32311 result
= ((wxWindow
const *)arg1
)->GetClientAreaOrigin();
32312 wxPyEndAllowThreads(__tstate
);
32313 if (PyErr_Occurred()) SWIG_fail
;
32315 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
32322 SWIGINTERN PyObject
*_wrap_Window_GetClientRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32323 PyObject
*resultobj
= 0;
32324 wxWindow
*arg1
= (wxWindow
*) 0 ;
32328 PyObject
*swig_obj
[1] ;
32330 if (!args
) SWIG_fail
;
32331 swig_obj
[0] = args
;
32332 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32333 if (!SWIG_IsOK(res1
)) {
32334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetClientRect" "', expected argument " "1"" of type '" "wxWindow const *""'");
32336 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32339 result
= ((wxWindow
const *)arg1
)->GetClientRect();
32340 wxPyEndAllowThreads(__tstate
);
32341 if (PyErr_Occurred()) SWIG_fail
;
32343 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
32350 SWIGINTERN PyObject
*_wrap_Window_GetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32351 PyObject
*resultobj
= 0;
32352 wxWindow
*arg1
= (wxWindow
*) 0 ;
32356 PyObject
*swig_obj
[1] ;
32358 if (!args
) SWIG_fail
;
32359 swig_obj
[0] = args
;
32360 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32361 if (!SWIG_IsOK(res1
)) {
32362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetBestSize" "', expected argument " "1"" of type '" "wxWindow const *""'");
32364 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32367 result
= ((wxWindow
const *)arg1
)->GetBestSize();
32368 wxPyEndAllowThreads(__tstate
);
32369 if (PyErr_Occurred()) SWIG_fail
;
32371 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
32378 SWIGINTERN PyObject
*_wrap_Window_GetBestSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32379 PyObject
*resultobj
= 0;
32380 wxWindow
*arg1
= (wxWindow
*) 0 ;
32381 int *arg2
= (int *) 0 ;
32382 int *arg3
= (int *) 0 ;
32386 int res2
= SWIG_TMPOBJ
;
32388 int res3
= SWIG_TMPOBJ
;
32389 PyObject
*swig_obj
[1] ;
32393 if (!args
) SWIG_fail
;
32394 swig_obj
[0] = args
;
32395 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32396 if (!SWIG_IsOK(res1
)) {
32397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetBestSizeTuple" "', expected argument " "1"" of type '" "wxWindow const *""'");
32399 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32402 ((wxWindow
const *)arg1
)->GetBestSize(arg2
,arg3
);
32403 wxPyEndAllowThreads(__tstate
);
32404 if (PyErr_Occurred()) SWIG_fail
;
32406 resultobj
= SWIG_Py_Void();
32407 if (SWIG_IsTmpObj(res2
)) {
32408 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
32410 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
32411 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
32413 if (SWIG_IsTmpObj(res3
)) {
32414 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
32416 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
32417 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
32425 SWIGINTERN PyObject
*_wrap_Window_InvalidateBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32426 PyObject
*resultobj
= 0;
32427 wxWindow
*arg1
= (wxWindow
*) 0 ;
32430 PyObject
*swig_obj
[1] ;
32432 if (!args
) SWIG_fail
;
32433 swig_obj
[0] = args
;
32434 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32435 if (!SWIG_IsOK(res1
)) {
32436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_InvalidateBestSize" "', expected argument " "1"" of type '" "wxWindow *""'");
32438 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32441 (arg1
)->InvalidateBestSize();
32442 wxPyEndAllowThreads(__tstate
);
32443 if (PyErr_Occurred()) SWIG_fail
;
32445 resultobj
= SWIG_Py_Void();
32452 SWIGINTERN PyObject
*_wrap_Window_CacheBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32453 PyObject
*resultobj
= 0;
32454 wxWindow
*arg1
= (wxWindow
*) 0 ;
32459 PyObject
* obj0
= 0 ;
32460 PyObject
* obj1
= 0 ;
32461 char * kwnames
[] = {
32462 (char *) "self",(char *) "size", NULL
32465 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_CacheBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32466 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32467 if (!SWIG_IsOK(res1
)) {
32468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_CacheBestSize" "', expected argument " "1"" of type '" "wxWindow const *""'");
32470 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32473 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
32476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32477 ((wxWindow
const *)arg1
)->CacheBestSize((wxSize
const &)*arg2
);
32478 wxPyEndAllowThreads(__tstate
);
32479 if (PyErr_Occurred()) SWIG_fail
;
32481 resultobj
= SWIG_Py_Void();
32488 SWIGINTERN PyObject
*_wrap_Window_GetBestFittingSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32489 PyObject
*resultobj
= 0;
32490 wxWindow
*arg1
= (wxWindow
*) 0 ;
32494 PyObject
*swig_obj
[1] ;
32496 if (!args
) SWIG_fail
;
32497 swig_obj
[0] = args
;
32498 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32499 if (!SWIG_IsOK(res1
)) {
32500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetBestFittingSize" "', expected argument " "1"" of type '" "wxWindow const *""'");
32502 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32505 result
= ((wxWindow
const *)arg1
)->GetBestFittingSize();
32506 wxPyEndAllowThreads(__tstate
);
32507 if (PyErr_Occurred()) SWIG_fail
;
32509 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
32516 SWIGINTERN PyObject
*_wrap_Window_GetAdjustedBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32517 PyObject
*resultobj
= 0;
32518 wxWindow
*arg1
= (wxWindow
*) 0 ;
32522 PyObject
*swig_obj
[1] ;
32524 if (!args
) SWIG_fail
;
32525 swig_obj
[0] = args
;
32526 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32527 if (!SWIG_IsOK(res1
)) {
32528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetAdjustedBestSize" "', expected argument " "1"" of type '" "wxWindow const *""'");
32530 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32533 result
= ((wxWindow
const *)arg1
)->GetAdjustedBestSize();
32534 wxPyEndAllowThreads(__tstate
);
32535 if (PyErr_Occurred()) SWIG_fail
;
32537 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
32544 SWIGINTERN PyObject
*_wrap_Window_Center(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32545 PyObject
*resultobj
= 0;
32546 wxWindow
*arg1
= (wxWindow
*) 0 ;
32547 int arg2
= (int) wxBOTH
;
32552 PyObject
* obj0
= 0 ;
32553 PyObject
* obj1
= 0 ;
32554 char * kwnames
[] = {
32555 (char *) "self",(char *) "direction", NULL
32558 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Center",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32559 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32560 if (!SWIG_IsOK(res1
)) {
32561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Center" "', expected argument " "1"" of type '" "wxWindow *""'");
32563 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32565 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32566 if (!SWIG_IsOK(ecode2
)) {
32567 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_Center" "', expected argument " "2"" of type '" "int""'");
32569 arg2
= static_cast< int >(val2
);
32572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32573 (arg1
)->Center(arg2
);
32574 wxPyEndAllowThreads(__tstate
);
32575 if (PyErr_Occurred()) SWIG_fail
;
32577 resultobj
= SWIG_Py_Void();
32584 SWIGINTERN PyObject
*_wrap_Window_CenterOnParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32585 PyObject
*resultobj
= 0;
32586 wxWindow
*arg1
= (wxWindow
*) 0 ;
32587 int arg2
= (int) wxBOTH
;
32592 PyObject
* obj0
= 0 ;
32593 PyObject
* obj1
= 0 ;
32594 char * kwnames
[] = {
32595 (char *) "self",(char *) "dir", NULL
32598 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32599 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32600 if (!SWIG_IsOK(res1
)) {
32601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_CenterOnParent" "', expected argument " "1"" of type '" "wxWindow *""'");
32603 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32605 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32606 if (!SWIG_IsOK(ecode2
)) {
32607 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_CenterOnParent" "', expected argument " "2"" of type '" "int""'");
32609 arg2
= static_cast< int >(val2
);
32612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32613 (arg1
)->CenterOnParent(arg2
);
32614 wxPyEndAllowThreads(__tstate
);
32615 if (PyErr_Occurred()) SWIG_fail
;
32617 resultobj
= SWIG_Py_Void();
32624 SWIGINTERN PyObject
*_wrap_Window_Fit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32625 PyObject
*resultobj
= 0;
32626 wxWindow
*arg1
= (wxWindow
*) 0 ;
32629 PyObject
*swig_obj
[1] ;
32631 if (!args
) SWIG_fail
;
32632 swig_obj
[0] = args
;
32633 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32634 if (!SWIG_IsOK(res1
)) {
32635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Fit" "', expected argument " "1"" of type '" "wxWindow *""'");
32637 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32641 wxPyEndAllowThreads(__tstate
);
32642 if (PyErr_Occurred()) SWIG_fail
;
32644 resultobj
= SWIG_Py_Void();
32651 SWIGINTERN PyObject
*_wrap_Window_FitInside(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32652 PyObject
*resultobj
= 0;
32653 wxWindow
*arg1
= (wxWindow
*) 0 ;
32656 PyObject
*swig_obj
[1] ;
32658 if (!args
) SWIG_fail
;
32659 swig_obj
[0] = args
;
32660 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32661 if (!SWIG_IsOK(res1
)) {
32662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_FitInside" "', expected argument " "1"" of type '" "wxWindow *""'");
32664 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32667 (arg1
)->FitInside();
32668 wxPyEndAllowThreads(__tstate
);
32669 if (PyErr_Occurred()) SWIG_fail
;
32671 resultobj
= SWIG_Py_Void();
32678 SWIGINTERN PyObject
*_wrap_Window_SetSizeHints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32679 PyObject
*resultobj
= 0;
32680 wxWindow
*arg1
= (wxWindow
*) 0 ;
32683 int arg4
= (int) -1 ;
32684 int arg5
= (int) -1 ;
32685 int arg6
= (int) -1 ;
32686 int arg7
= (int) -1 ;
32701 PyObject
* obj0
= 0 ;
32702 PyObject
* obj1
= 0 ;
32703 PyObject
* obj2
= 0 ;
32704 PyObject
* obj3
= 0 ;
32705 PyObject
* obj4
= 0 ;
32706 PyObject
* obj5
= 0 ;
32707 PyObject
* obj6
= 0 ;
32708 char * kwnames
[] = {
32709 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL
32712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Window_SetSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
32713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32714 if (!SWIG_IsOK(res1
)) {
32715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetSizeHints" "', expected argument " "1"" of type '" "wxWindow *""'");
32717 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32718 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32719 if (!SWIG_IsOK(ecode2
)) {
32720 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetSizeHints" "', expected argument " "2"" of type '" "int""'");
32722 arg2
= static_cast< int >(val2
);
32723 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32724 if (!SWIG_IsOK(ecode3
)) {
32725 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_SetSizeHints" "', expected argument " "3"" of type '" "int""'");
32727 arg3
= static_cast< int >(val3
);
32729 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32730 if (!SWIG_IsOK(ecode4
)) {
32731 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Window_SetSizeHints" "', expected argument " "4"" of type '" "int""'");
32733 arg4
= static_cast< int >(val4
);
32736 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32737 if (!SWIG_IsOK(ecode5
)) {
32738 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Window_SetSizeHints" "', expected argument " "5"" of type '" "int""'");
32740 arg5
= static_cast< int >(val5
);
32743 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
32744 if (!SWIG_IsOK(ecode6
)) {
32745 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Window_SetSizeHints" "', expected argument " "6"" of type '" "int""'");
32747 arg6
= static_cast< int >(val6
);
32750 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
32751 if (!SWIG_IsOK(ecode7
)) {
32752 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Window_SetSizeHints" "', expected argument " "7"" of type '" "int""'");
32754 arg7
= static_cast< int >(val7
);
32757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32758 (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
32759 wxPyEndAllowThreads(__tstate
);
32760 if (PyErr_Occurred()) SWIG_fail
;
32762 resultobj
= SWIG_Py_Void();
32769 SWIGINTERN PyObject
*_wrap_Window_SetSizeHintsSz(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32770 PyObject
*resultobj
= 0;
32771 wxWindow
*arg1
= (wxWindow
*) 0 ;
32773 wxSize
const &arg3_defvalue
= wxDefaultSize
;
32774 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
32775 wxSize
const &arg4_defvalue
= wxDefaultSize
;
32776 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
32782 PyObject
* obj0
= 0 ;
32783 PyObject
* obj1
= 0 ;
32784 PyObject
* obj2
= 0 ;
32785 PyObject
* obj3
= 0 ;
32786 char * kwnames
[] = {
32787 (char *) "self",(char *) "minSize",(char *) "maxSize",(char *) "incSize", NULL
32790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_SetSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32792 if (!SWIG_IsOK(res1
)) {
32793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetSizeHintsSz" "', expected argument " "1"" of type '" "wxWindow *""'");
32795 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32798 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
32803 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
32809 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
32813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32814 (arg1
)->SetSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
,(wxSize
const &)*arg4
);
32815 wxPyEndAllowThreads(__tstate
);
32816 if (PyErr_Occurred()) SWIG_fail
;
32818 resultobj
= SWIG_Py_Void();
32825 SWIGINTERN PyObject
*_wrap_Window_SetVirtualSizeHints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32826 PyObject
*resultobj
= 0;
32827 wxWindow
*arg1
= (wxWindow
*) 0 ;
32830 int arg4
= (int) -1 ;
32831 int arg5
= (int) -1 ;
32842 PyObject
* obj0
= 0 ;
32843 PyObject
* obj1
= 0 ;
32844 PyObject
* obj2
= 0 ;
32845 PyObject
* obj3
= 0 ;
32846 PyObject
* obj4
= 0 ;
32847 char * kwnames
[] = {
32848 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL
32851 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
32852 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32853 if (!SWIG_IsOK(res1
)) {
32854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetVirtualSizeHints" "', expected argument " "1"" of type '" "wxWindow *""'");
32856 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32857 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32858 if (!SWIG_IsOK(ecode2
)) {
32859 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetVirtualSizeHints" "', expected argument " "2"" of type '" "int""'");
32861 arg2
= static_cast< int >(val2
);
32862 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32863 if (!SWIG_IsOK(ecode3
)) {
32864 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_SetVirtualSizeHints" "', expected argument " "3"" of type '" "int""'");
32866 arg3
= static_cast< int >(val3
);
32868 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32869 if (!SWIG_IsOK(ecode4
)) {
32870 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Window_SetVirtualSizeHints" "', expected argument " "4"" of type '" "int""'");
32872 arg4
= static_cast< int >(val4
);
32875 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32876 if (!SWIG_IsOK(ecode5
)) {
32877 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Window_SetVirtualSizeHints" "', expected argument " "5"" of type '" "int""'");
32879 arg5
= static_cast< int >(val5
);
32882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32883 (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
);
32884 wxPyEndAllowThreads(__tstate
);
32885 if (PyErr_Occurred()) SWIG_fail
;
32887 resultobj
= SWIG_Py_Void();
32894 SWIGINTERN PyObject
*_wrap_Window_SetVirtualSizeHintsSz(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32895 PyObject
*resultobj
= 0;
32896 wxWindow
*arg1
= (wxWindow
*) 0 ;
32898 wxSize
const &arg3_defvalue
= wxDefaultSize
;
32899 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
32904 PyObject
* obj0
= 0 ;
32905 PyObject
* obj1
= 0 ;
32906 PyObject
* obj2
= 0 ;
32907 char * kwnames
[] = {
32908 (char *) "self",(char *) "minSize",(char *) "maxSize", NULL
32911 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetVirtualSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32912 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32913 if (!SWIG_IsOK(res1
)) {
32914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetVirtualSizeHintsSz" "', expected argument " "1"" of type '" "wxWindow *""'");
32916 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32919 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
32924 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
32928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32929 (arg1
)->SetVirtualSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
);
32930 wxPyEndAllowThreads(__tstate
);
32931 if (PyErr_Occurred()) SWIG_fail
;
32933 resultobj
= SWIG_Py_Void();
32940 SWIGINTERN PyObject
*_wrap_Window_GetMaxSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32941 PyObject
*resultobj
= 0;
32942 wxWindow
*arg1
= (wxWindow
*) 0 ;
32946 PyObject
*swig_obj
[1] ;
32948 if (!args
) SWIG_fail
;
32949 swig_obj
[0] = args
;
32950 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32951 if (!SWIG_IsOK(res1
)) {
32952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetMaxSize" "', expected argument " "1"" of type '" "wxWindow const *""'");
32954 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32957 result
= ((wxWindow
const *)arg1
)->GetMaxSize();
32958 wxPyEndAllowThreads(__tstate
);
32959 if (PyErr_Occurred()) SWIG_fail
;
32961 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
32968 SWIGINTERN PyObject
*_wrap_Window_GetMinSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32969 PyObject
*resultobj
= 0;
32970 wxWindow
*arg1
= (wxWindow
*) 0 ;
32974 PyObject
*swig_obj
[1] ;
32976 if (!args
) SWIG_fail
;
32977 swig_obj
[0] = args
;
32978 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32979 if (!SWIG_IsOK(res1
)) {
32980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetMinSize" "', expected argument " "1"" of type '" "wxWindow const *""'");
32982 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32985 result
= ((wxWindow
const *)arg1
)->GetMinSize();
32986 wxPyEndAllowThreads(__tstate
);
32987 if (PyErr_Occurred()) SWIG_fail
;
32989 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
32996 SWIGINTERN PyObject
*_wrap_Window_SetMinSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32997 PyObject
*resultobj
= 0;
32998 wxWindow
*arg1
= (wxWindow
*) 0 ;
33003 PyObject
* obj0
= 0 ;
33004 PyObject
* obj1
= 0 ;
33005 char * kwnames
[] = {
33006 (char *) "self",(char *) "minSize", NULL
33009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMinSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33011 if (!SWIG_IsOK(res1
)) {
33012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetMinSize" "', expected argument " "1"" of type '" "wxWindow *""'");
33014 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33017 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
33020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33021 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
33022 wxPyEndAllowThreads(__tstate
);
33023 if (PyErr_Occurred()) SWIG_fail
;
33025 resultobj
= SWIG_Py_Void();
33032 SWIGINTERN PyObject
*_wrap_Window_SetMaxSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33033 PyObject
*resultobj
= 0;
33034 wxWindow
*arg1
= (wxWindow
*) 0 ;
33039 PyObject
* obj0
= 0 ;
33040 PyObject
* obj1
= 0 ;
33041 char * kwnames
[] = {
33042 (char *) "self",(char *) "maxSize", NULL
33045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMaxSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33046 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33047 if (!SWIG_IsOK(res1
)) {
33048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetMaxSize" "', expected argument " "1"" of type '" "wxWindow *""'");
33050 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33053 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
33056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33057 (arg1
)->SetMaxSize((wxSize
const &)*arg2
);
33058 wxPyEndAllowThreads(__tstate
);
33059 if (PyErr_Occurred()) SWIG_fail
;
33061 resultobj
= SWIG_Py_Void();
33068 SWIGINTERN PyObject
*_wrap_Window_GetMinWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33069 PyObject
*resultobj
= 0;
33070 wxWindow
*arg1
= (wxWindow
*) 0 ;
33074 PyObject
*swig_obj
[1] ;
33076 if (!args
) SWIG_fail
;
33077 swig_obj
[0] = args
;
33078 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33079 if (!SWIG_IsOK(res1
)) {
33080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetMinWidth" "', expected argument " "1"" of type '" "wxWindow const *""'");
33082 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33085 result
= (int)((wxWindow
const *)arg1
)->GetMinWidth();
33086 wxPyEndAllowThreads(__tstate
);
33087 if (PyErr_Occurred()) SWIG_fail
;
33089 resultobj
= SWIG_From_int(static_cast< int >(result
));
33096 SWIGINTERN PyObject
*_wrap_Window_GetMinHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33097 PyObject
*resultobj
= 0;
33098 wxWindow
*arg1
= (wxWindow
*) 0 ;
33102 PyObject
*swig_obj
[1] ;
33104 if (!args
) SWIG_fail
;
33105 swig_obj
[0] = args
;
33106 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33107 if (!SWIG_IsOK(res1
)) {
33108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetMinHeight" "', expected argument " "1"" of type '" "wxWindow const *""'");
33110 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33113 result
= (int)((wxWindow
const *)arg1
)->GetMinHeight();
33114 wxPyEndAllowThreads(__tstate
);
33115 if (PyErr_Occurred()) SWIG_fail
;
33117 resultobj
= SWIG_From_int(static_cast< int >(result
));
33124 SWIGINTERN PyObject
*_wrap_Window_GetMaxWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33125 PyObject
*resultobj
= 0;
33126 wxWindow
*arg1
= (wxWindow
*) 0 ;
33130 PyObject
*swig_obj
[1] ;
33132 if (!args
) SWIG_fail
;
33133 swig_obj
[0] = args
;
33134 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33135 if (!SWIG_IsOK(res1
)) {
33136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetMaxWidth" "', expected argument " "1"" of type '" "wxWindow const *""'");
33138 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33141 result
= (int)((wxWindow
const *)arg1
)->GetMaxWidth();
33142 wxPyEndAllowThreads(__tstate
);
33143 if (PyErr_Occurred()) SWIG_fail
;
33145 resultobj
= SWIG_From_int(static_cast< int >(result
));
33152 SWIGINTERN PyObject
*_wrap_Window_GetMaxHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33153 PyObject
*resultobj
= 0;
33154 wxWindow
*arg1
= (wxWindow
*) 0 ;
33158 PyObject
*swig_obj
[1] ;
33160 if (!args
) SWIG_fail
;
33161 swig_obj
[0] = args
;
33162 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33163 if (!SWIG_IsOK(res1
)) {
33164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetMaxHeight" "', expected argument " "1"" of type '" "wxWindow const *""'");
33166 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33169 result
= (int)((wxWindow
const *)arg1
)->GetMaxHeight();
33170 wxPyEndAllowThreads(__tstate
);
33171 if (PyErr_Occurred()) SWIG_fail
;
33173 resultobj
= SWIG_From_int(static_cast< int >(result
));
33180 SWIGINTERN PyObject
*_wrap_Window_SetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33181 PyObject
*resultobj
= 0;
33182 wxWindow
*arg1
= (wxWindow
*) 0 ;
33187 PyObject
* obj0
= 0 ;
33188 PyObject
* obj1
= 0 ;
33189 char * kwnames
[] = {
33190 (char *) "self",(char *) "size", NULL
33193 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetVirtualSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33194 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33195 if (!SWIG_IsOK(res1
)) {
33196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetVirtualSize" "', expected argument " "1"" of type '" "wxWindow *""'");
33198 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33201 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
33204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33205 (arg1
)->SetVirtualSize((wxSize
const &)*arg2
);
33206 wxPyEndAllowThreads(__tstate
);
33207 if (PyErr_Occurred()) SWIG_fail
;
33209 resultobj
= SWIG_Py_Void();
33216 SWIGINTERN PyObject
*_wrap_Window_SetVirtualSizeWH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33217 PyObject
*resultobj
= 0;
33218 wxWindow
*arg1
= (wxWindow
*) 0 ;
33227 PyObject
* obj0
= 0 ;
33228 PyObject
* obj1
= 0 ;
33229 PyObject
* obj2
= 0 ;
33230 char * kwnames
[] = {
33231 (char *) "self",(char *) "w",(char *) "h", NULL
33234 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetVirtualSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33235 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33236 if (!SWIG_IsOK(res1
)) {
33237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetVirtualSizeWH" "', expected argument " "1"" of type '" "wxWindow *""'");
33239 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33240 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33241 if (!SWIG_IsOK(ecode2
)) {
33242 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetVirtualSizeWH" "', expected argument " "2"" of type '" "int""'");
33244 arg2
= static_cast< int >(val2
);
33245 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33246 if (!SWIG_IsOK(ecode3
)) {
33247 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_SetVirtualSizeWH" "', expected argument " "3"" of type '" "int""'");
33249 arg3
= static_cast< int >(val3
);
33251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33252 (arg1
)->SetVirtualSize(arg2
,arg3
);
33253 wxPyEndAllowThreads(__tstate
);
33254 if (PyErr_Occurred()) SWIG_fail
;
33256 resultobj
= SWIG_Py_Void();
33263 SWIGINTERN PyObject
*_wrap_Window_GetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33264 PyObject
*resultobj
= 0;
33265 wxWindow
*arg1
= (wxWindow
*) 0 ;
33269 PyObject
*swig_obj
[1] ;
33271 if (!args
) SWIG_fail
;
33272 swig_obj
[0] = args
;
33273 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33274 if (!SWIG_IsOK(res1
)) {
33275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetVirtualSize" "', expected argument " "1"" of type '" "wxWindow const *""'");
33277 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33280 result
= ((wxWindow
const *)arg1
)->GetVirtualSize();
33281 wxPyEndAllowThreads(__tstate
);
33282 if (PyErr_Occurred()) SWIG_fail
;
33284 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
33291 SWIGINTERN PyObject
*_wrap_Window_GetVirtualSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33292 PyObject
*resultobj
= 0;
33293 wxWindow
*arg1
= (wxWindow
*) 0 ;
33294 int *arg2
= (int *) 0 ;
33295 int *arg3
= (int *) 0 ;
33299 int res2
= SWIG_TMPOBJ
;
33301 int res3
= SWIG_TMPOBJ
;
33302 PyObject
*swig_obj
[1] ;
33306 if (!args
) SWIG_fail
;
33307 swig_obj
[0] = args
;
33308 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33309 if (!SWIG_IsOK(res1
)) {
33310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetVirtualSizeTuple" "', expected argument " "1"" of type '" "wxWindow const *""'");
33312 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33315 ((wxWindow
const *)arg1
)->GetVirtualSize(arg2
,arg3
);
33316 wxPyEndAllowThreads(__tstate
);
33317 if (PyErr_Occurred()) SWIG_fail
;
33319 resultobj
= SWIG_Py_Void();
33320 if (SWIG_IsTmpObj(res2
)) {
33321 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
33323 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
33324 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
33326 if (SWIG_IsTmpObj(res3
)) {
33327 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
33329 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
33330 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
33338 SWIGINTERN PyObject
*_wrap_Window_GetBestVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33339 PyObject
*resultobj
= 0;
33340 wxWindow
*arg1
= (wxWindow
*) 0 ;
33344 PyObject
*swig_obj
[1] ;
33346 if (!args
) SWIG_fail
;
33347 swig_obj
[0] = args
;
33348 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33349 if (!SWIG_IsOK(res1
)) {
33350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetBestVirtualSize" "', expected argument " "1"" of type '" "wxWindow const *""'");
33352 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33355 result
= ((wxWindow
const *)arg1
)->GetBestVirtualSize();
33356 wxPyEndAllowThreads(__tstate
);
33357 if (PyErr_Occurred()) SWIG_fail
;
33359 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
33366 SWIGINTERN PyObject
*_wrap_Window_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33367 PyObject
*resultobj
= 0;
33368 wxWindow
*arg1
= (wxWindow
*) 0 ;
33369 bool arg2
= (bool) true ;
33375 PyObject
* obj0
= 0 ;
33376 PyObject
* obj1
= 0 ;
33377 char * kwnames
[] = {
33378 (char *) "self",(char *) "show", NULL
33381 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Show",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33382 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33383 if (!SWIG_IsOK(res1
)) {
33384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Show" "', expected argument " "1"" of type '" "wxWindow *""'");
33386 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33388 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
33389 if (!SWIG_IsOK(ecode2
)) {
33390 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_Show" "', expected argument " "2"" of type '" "bool""'");
33392 arg2
= static_cast< bool >(val2
);
33395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33396 result
= (bool)(arg1
)->Show(arg2
);
33397 wxPyEndAllowThreads(__tstate
);
33398 if (PyErr_Occurred()) SWIG_fail
;
33401 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33409 SWIGINTERN PyObject
*_wrap_Window_Hide(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33410 PyObject
*resultobj
= 0;
33411 wxWindow
*arg1
= (wxWindow
*) 0 ;
33415 PyObject
*swig_obj
[1] ;
33417 if (!args
) SWIG_fail
;
33418 swig_obj
[0] = args
;
33419 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33420 if (!SWIG_IsOK(res1
)) {
33421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Hide" "', expected argument " "1"" of type '" "wxWindow *""'");
33423 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33426 result
= (bool)(arg1
)->Hide();
33427 wxPyEndAllowThreads(__tstate
);
33428 if (PyErr_Occurred()) SWIG_fail
;
33431 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33439 SWIGINTERN PyObject
*_wrap_Window_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33440 PyObject
*resultobj
= 0;
33441 wxWindow
*arg1
= (wxWindow
*) 0 ;
33442 bool arg2
= (bool) true ;
33448 PyObject
* obj0
= 0 ;
33449 PyObject
* obj1
= 0 ;
33450 char * kwnames
[] = {
33451 (char *) "self",(char *) "enable", NULL
33454 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Enable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33455 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33456 if (!SWIG_IsOK(res1
)) {
33457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Enable" "', expected argument " "1"" of type '" "wxWindow *""'");
33459 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33461 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
33462 if (!SWIG_IsOK(ecode2
)) {
33463 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_Enable" "', expected argument " "2"" of type '" "bool""'");
33465 arg2
= static_cast< bool >(val2
);
33468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33469 result
= (bool)(arg1
)->Enable(arg2
);
33470 wxPyEndAllowThreads(__tstate
);
33471 if (PyErr_Occurred()) SWIG_fail
;
33474 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33482 SWIGINTERN PyObject
*_wrap_Window_Disable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33483 PyObject
*resultobj
= 0;
33484 wxWindow
*arg1
= (wxWindow
*) 0 ;
33488 PyObject
*swig_obj
[1] ;
33490 if (!args
) SWIG_fail
;
33491 swig_obj
[0] = args
;
33492 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33493 if (!SWIG_IsOK(res1
)) {
33494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Disable" "', expected argument " "1"" of type '" "wxWindow *""'");
33496 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33499 result
= (bool)(arg1
)->Disable();
33500 wxPyEndAllowThreads(__tstate
);
33501 if (PyErr_Occurred()) SWIG_fail
;
33504 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33512 SWIGINTERN PyObject
*_wrap_Window_IsShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33513 PyObject
*resultobj
= 0;
33514 wxWindow
*arg1
= (wxWindow
*) 0 ;
33518 PyObject
*swig_obj
[1] ;
33520 if (!args
) SWIG_fail
;
33521 swig_obj
[0] = args
;
33522 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33523 if (!SWIG_IsOK(res1
)) {
33524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_IsShown" "', expected argument " "1"" of type '" "wxWindow const *""'");
33526 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33529 result
= (bool)((wxWindow
const *)arg1
)->IsShown();
33530 wxPyEndAllowThreads(__tstate
);
33531 if (PyErr_Occurred()) SWIG_fail
;
33534 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33542 SWIGINTERN PyObject
*_wrap_Window_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33543 PyObject
*resultobj
= 0;
33544 wxWindow
*arg1
= (wxWindow
*) 0 ;
33548 PyObject
*swig_obj
[1] ;
33550 if (!args
) SWIG_fail
;
33551 swig_obj
[0] = args
;
33552 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33553 if (!SWIG_IsOK(res1
)) {
33554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_IsEnabled" "', expected argument " "1"" of type '" "wxWindow const *""'");
33556 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33559 result
= (bool)((wxWindow
const *)arg1
)->IsEnabled();
33560 wxPyEndAllowThreads(__tstate
);
33561 if (PyErr_Occurred()) SWIG_fail
;
33564 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33572 SWIGINTERN PyObject
*_wrap_Window_IsShownOnScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33573 PyObject
*resultobj
= 0;
33574 wxWindow
*arg1
= (wxWindow
*) 0 ;
33578 PyObject
*swig_obj
[1] ;
33580 if (!args
) SWIG_fail
;
33581 swig_obj
[0] = args
;
33582 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33583 if (!SWIG_IsOK(res1
)) {
33584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_IsShownOnScreen" "', expected argument " "1"" of type '" "wxWindow const *""'");
33586 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33589 result
= (bool)((wxWindow
const *)arg1
)->IsShownOnScreen();
33590 wxPyEndAllowThreads(__tstate
);
33591 if (PyErr_Occurred()) SWIG_fail
;
33594 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33602 SWIGINTERN PyObject
*_wrap_Window_SetWindowStyleFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33603 PyObject
*resultobj
= 0;
33604 wxWindow
*arg1
= (wxWindow
*) 0 ;
33610 PyObject
* obj0
= 0 ;
33611 PyObject
* obj1
= 0 ;
33612 char * kwnames
[] = {
33613 (char *) "self",(char *) "style", NULL
33616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33618 if (!SWIG_IsOK(res1
)) {
33619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetWindowStyleFlag" "', expected argument " "1"" of type '" "wxWindow *""'");
33621 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33622 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
33623 if (!SWIG_IsOK(ecode2
)) {
33624 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetWindowStyleFlag" "', expected argument " "2"" of type '" "long""'");
33626 arg2
= static_cast< long >(val2
);
33628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33629 (arg1
)->SetWindowStyleFlag(arg2
);
33630 wxPyEndAllowThreads(__tstate
);
33631 if (PyErr_Occurred()) SWIG_fail
;
33633 resultobj
= SWIG_Py_Void();
33640 SWIGINTERN PyObject
*_wrap_Window_GetWindowStyleFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33641 PyObject
*resultobj
= 0;
33642 wxWindow
*arg1
= (wxWindow
*) 0 ;
33646 PyObject
*swig_obj
[1] ;
33648 if (!args
) SWIG_fail
;
33649 swig_obj
[0] = args
;
33650 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33651 if (!SWIG_IsOK(res1
)) {
33652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetWindowStyleFlag" "', expected argument " "1"" of type '" "wxWindow const *""'");
33654 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33657 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyleFlag();
33658 wxPyEndAllowThreads(__tstate
);
33659 if (PyErr_Occurred()) SWIG_fail
;
33661 resultobj
= SWIG_From_long(static_cast< long >(result
));
33668 SWIGINTERN PyObject
*_wrap_Window_HasFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33669 PyObject
*resultobj
= 0;
33670 wxWindow
*arg1
= (wxWindow
*) 0 ;
33677 PyObject
* obj0
= 0 ;
33678 PyObject
* obj1
= 0 ;
33679 char * kwnames
[] = {
33680 (char *) "self",(char *) "flag", NULL
33683 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasFlag",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33684 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33685 if (!SWIG_IsOK(res1
)) {
33686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_HasFlag" "', expected argument " "1"" of type '" "wxWindow const *""'");
33688 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33689 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33690 if (!SWIG_IsOK(ecode2
)) {
33691 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_HasFlag" "', expected argument " "2"" of type '" "int""'");
33693 arg2
= static_cast< int >(val2
);
33695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33696 result
= (bool)((wxWindow
const *)arg1
)->HasFlag(arg2
);
33697 wxPyEndAllowThreads(__tstate
);
33698 if (PyErr_Occurred()) SWIG_fail
;
33701 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33709 SWIGINTERN PyObject
*_wrap_Window_IsRetained(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33710 PyObject
*resultobj
= 0;
33711 wxWindow
*arg1
= (wxWindow
*) 0 ;
33715 PyObject
*swig_obj
[1] ;
33717 if (!args
) SWIG_fail
;
33718 swig_obj
[0] = args
;
33719 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33720 if (!SWIG_IsOK(res1
)) {
33721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_IsRetained" "', expected argument " "1"" of type '" "wxWindow const *""'");
33723 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33726 result
= (bool)((wxWindow
const *)arg1
)->IsRetained();
33727 wxPyEndAllowThreads(__tstate
);
33728 if (PyErr_Occurred()) SWIG_fail
;
33731 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33739 SWIGINTERN PyObject
*_wrap_Window_SetExtraStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33740 PyObject
*resultobj
= 0;
33741 wxWindow
*arg1
= (wxWindow
*) 0 ;
33747 PyObject
* obj0
= 0 ;
33748 PyObject
* obj1
= 0 ;
33749 char * kwnames
[] = {
33750 (char *) "self",(char *) "exStyle", NULL
33753 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetExtraStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33754 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33755 if (!SWIG_IsOK(res1
)) {
33756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetExtraStyle" "', expected argument " "1"" of type '" "wxWindow *""'");
33758 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33759 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
33760 if (!SWIG_IsOK(ecode2
)) {
33761 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetExtraStyle" "', expected argument " "2"" of type '" "long""'");
33763 arg2
= static_cast< long >(val2
);
33765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33766 (arg1
)->SetExtraStyle(arg2
);
33767 wxPyEndAllowThreads(__tstate
);
33768 if (PyErr_Occurred()) SWIG_fail
;
33770 resultobj
= SWIG_Py_Void();
33777 SWIGINTERN PyObject
*_wrap_Window_GetExtraStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33778 PyObject
*resultobj
= 0;
33779 wxWindow
*arg1
= (wxWindow
*) 0 ;
33783 PyObject
*swig_obj
[1] ;
33785 if (!args
) SWIG_fail
;
33786 swig_obj
[0] = args
;
33787 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33788 if (!SWIG_IsOK(res1
)) {
33789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetExtraStyle" "', expected argument " "1"" of type '" "wxWindow const *""'");
33791 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33794 result
= (long)((wxWindow
const *)arg1
)->GetExtraStyle();
33795 wxPyEndAllowThreads(__tstate
);
33796 if (PyErr_Occurred()) SWIG_fail
;
33798 resultobj
= SWIG_From_long(static_cast< long >(result
));
33805 SWIGINTERN PyObject
*_wrap_Window_MakeModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33806 PyObject
*resultobj
= 0;
33807 wxWindow
*arg1
= (wxWindow
*) 0 ;
33808 bool arg2
= (bool) true ;
33813 PyObject
* obj0
= 0 ;
33814 PyObject
* obj1
= 0 ;
33815 char * kwnames
[] = {
33816 (char *) "self",(char *) "modal", NULL
33819 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_MakeModal",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33820 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33821 if (!SWIG_IsOK(res1
)) {
33822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_MakeModal" "', expected argument " "1"" of type '" "wxWindow *""'");
33824 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33826 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
33827 if (!SWIG_IsOK(ecode2
)) {
33828 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_MakeModal" "', expected argument " "2"" of type '" "bool""'");
33830 arg2
= static_cast< bool >(val2
);
33833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33834 (arg1
)->MakeModal(arg2
);
33835 wxPyEndAllowThreads(__tstate
);
33836 if (PyErr_Occurred()) SWIG_fail
;
33838 resultobj
= SWIG_Py_Void();
33845 SWIGINTERN PyObject
*_wrap_Window_SetThemeEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33846 PyObject
*resultobj
= 0;
33847 wxWindow
*arg1
= (wxWindow
*) 0 ;
33853 PyObject
* obj0
= 0 ;
33854 PyObject
* obj1
= 0 ;
33855 char * kwnames
[] = {
33856 (char *) "self",(char *) "enableTheme", NULL
33859 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetThemeEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33860 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33861 if (!SWIG_IsOK(res1
)) {
33862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetThemeEnabled" "', expected argument " "1"" of type '" "wxWindow *""'");
33864 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33865 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
33866 if (!SWIG_IsOK(ecode2
)) {
33867 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetThemeEnabled" "', expected argument " "2"" of type '" "bool""'");
33869 arg2
= static_cast< bool >(val2
);
33871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33872 (arg1
)->SetThemeEnabled(arg2
);
33873 wxPyEndAllowThreads(__tstate
);
33874 if (PyErr_Occurred()) SWIG_fail
;
33876 resultobj
= SWIG_Py_Void();
33883 SWIGINTERN PyObject
*_wrap_Window_GetThemeEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33884 PyObject
*resultobj
= 0;
33885 wxWindow
*arg1
= (wxWindow
*) 0 ;
33889 PyObject
*swig_obj
[1] ;
33891 if (!args
) SWIG_fail
;
33892 swig_obj
[0] = args
;
33893 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33894 if (!SWIG_IsOK(res1
)) {
33895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetThemeEnabled" "', expected argument " "1"" of type '" "wxWindow const *""'");
33897 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33900 result
= (bool)((wxWindow
const *)arg1
)->GetThemeEnabled();
33901 wxPyEndAllowThreads(__tstate
);
33902 if (PyErr_Occurred()) SWIG_fail
;
33905 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33913 SWIGINTERN PyObject
*_wrap_Window_SetFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33914 PyObject
*resultobj
= 0;
33915 wxWindow
*arg1
= (wxWindow
*) 0 ;
33918 PyObject
*swig_obj
[1] ;
33920 if (!args
) SWIG_fail
;
33921 swig_obj
[0] = args
;
33922 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33923 if (!SWIG_IsOK(res1
)) {
33924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetFocus" "', expected argument " "1"" of type '" "wxWindow *""'");
33926 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33929 (arg1
)->SetFocus();
33930 wxPyEndAllowThreads(__tstate
);
33931 if (PyErr_Occurred()) SWIG_fail
;
33933 resultobj
= SWIG_Py_Void();
33940 SWIGINTERN PyObject
*_wrap_Window_SetFocusFromKbd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33941 PyObject
*resultobj
= 0;
33942 wxWindow
*arg1
= (wxWindow
*) 0 ;
33945 PyObject
*swig_obj
[1] ;
33947 if (!args
) SWIG_fail
;
33948 swig_obj
[0] = args
;
33949 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33950 if (!SWIG_IsOK(res1
)) {
33951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetFocusFromKbd" "', expected argument " "1"" of type '" "wxWindow *""'");
33953 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33956 (arg1
)->SetFocusFromKbd();
33957 wxPyEndAllowThreads(__tstate
);
33958 if (PyErr_Occurred()) SWIG_fail
;
33960 resultobj
= SWIG_Py_Void();
33967 SWIGINTERN PyObject
*_wrap_Window_FindFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33968 PyObject
*resultobj
= 0;
33969 wxWindow
*result
= 0 ;
33971 if (!SWIG_Python_UnpackTuple(args
,"Window_FindFocus",0,0,0)) SWIG_fail
;
33973 if (!wxPyCheckForApp()) SWIG_fail
;
33974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33975 result
= (wxWindow
*)wxWindow::FindFocus();
33976 wxPyEndAllowThreads(__tstate
);
33977 if (PyErr_Occurred()) SWIG_fail
;
33980 resultobj
= wxPyMake_wxObject(result
, 0);
33988 SWIGINTERN PyObject
*_wrap_Window_AcceptsFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33989 PyObject
*resultobj
= 0;
33990 wxWindow
*arg1
= (wxWindow
*) 0 ;
33994 PyObject
*swig_obj
[1] ;
33996 if (!args
) SWIG_fail
;
33997 swig_obj
[0] = args
;
33998 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33999 if (!SWIG_IsOK(res1
)) {
34000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_AcceptsFocus" "', expected argument " "1"" of type '" "wxWindow const *""'");
34002 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34005 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocus();
34006 wxPyEndAllowThreads(__tstate
);
34007 if (PyErr_Occurred()) SWIG_fail
;
34010 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34018 SWIGINTERN PyObject
*_wrap_Window_AcceptsFocusFromKeyboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34019 PyObject
*resultobj
= 0;
34020 wxWindow
*arg1
= (wxWindow
*) 0 ;
34024 PyObject
*swig_obj
[1] ;
34026 if (!args
) SWIG_fail
;
34027 swig_obj
[0] = args
;
34028 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34029 if (!SWIG_IsOK(res1
)) {
34030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_AcceptsFocusFromKeyboard" "', expected argument " "1"" of type '" "wxWindow const *""'");
34032 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34035 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
34036 wxPyEndAllowThreads(__tstate
);
34037 if (PyErr_Occurred()) SWIG_fail
;
34040 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34048 SWIGINTERN PyObject
*_wrap_Window_Navigate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34049 PyObject
*resultobj
= 0;
34050 wxWindow
*arg1
= (wxWindow
*) 0 ;
34051 int arg2
= (int) wxNavigationKeyEvent::IsForward
;
34057 PyObject
* obj0
= 0 ;
34058 PyObject
* obj1
= 0 ;
34059 char * kwnames
[] = {
34060 (char *) "self",(char *) "flags", NULL
34063 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Navigate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34064 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34065 if (!SWIG_IsOK(res1
)) {
34066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Navigate" "', expected argument " "1"" of type '" "wxWindow *""'");
34068 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34070 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34071 if (!SWIG_IsOK(ecode2
)) {
34072 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_Navigate" "', expected argument " "2"" of type '" "int""'");
34074 arg2
= static_cast< int >(val2
);
34077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34078 result
= (bool)(arg1
)->Navigate(arg2
);
34079 wxPyEndAllowThreads(__tstate
);
34080 if (PyErr_Occurred()) SWIG_fail
;
34083 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34091 SWIGINTERN PyObject
*_wrap_Window_MoveAfterInTabOrder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34092 PyObject
*resultobj
= 0;
34093 wxWindow
*arg1
= (wxWindow
*) 0 ;
34094 wxWindow
*arg2
= (wxWindow
*) 0 ;
34099 PyObject
* obj0
= 0 ;
34100 PyObject
* obj1
= 0 ;
34101 char * kwnames
[] = {
34102 (char *) "self",(char *) "win", NULL
34105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveAfterInTabOrder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34106 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34107 if (!SWIG_IsOK(res1
)) {
34108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_MoveAfterInTabOrder" "', expected argument " "1"" of type '" "wxWindow *""'");
34110 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34111 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34112 if (!SWIG_IsOK(res2
)) {
34113 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_MoveAfterInTabOrder" "', expected argument " "2"" of type '" "wxWindow *""'");
34115 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34118 (arg1
)->MoveAfterInTabOrder(arg2
);
34119 wxPyEndAllowThreads(__tstate
);
34120 if (PyErr_Occurred()) SWIG_fail
;
34122 resultobj
= SWIG_Py_Void();
34129 SWIGINTERN PyObject
*_wrap_Window_MoveBeforeInTabOrder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34130 PyObject
*resultobj
= 0;
34131 wxWindow
*arg1
= (wxWindow
*) 0 ;
34132 wxWindow
*arg2
= (wxWindow
*) 0 ;
34137 PyObject
* obj0
= 0 ;
34138 PyObject
* obj1
= 0 ;
34139 char * kwnames
[] = {
34140 (char *) "self",(char *) "win", NULL
34143 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveBeforeInTabOrder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34144 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34145 if (!SWIG_IsOK(res1
)) {
34146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_MoveBeforeInTabOrder" "', expected argument " "1"" of type '" "wxWindow *""'");
34148 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34149 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34150 if (!SWIG_IsOK(res2
)) {
34151 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_MoveBeforeInTabOrder" "', expected argument " "2"" of type '" "wxWindow *""'");
34153 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34156 (arg1
)->MoveBeforeInTabOrder(arg2
);
34157 wxPyEndAllowThreads(__tstate
);
34158 if (PyErr_Occurred()) SWIG_fail
;
34160 resultobj
= SWIG_Py_Void();
34167 SWIGINTERN PyObject
*_wrap_Window_GetChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34168 PyObject
*resultobj
= 0;
34169 wxWindow
*arg1
= (wxWindow
*) 0 ;
34170 PyObject
*result
= 0 ;
34173 PyObject
*swig_obj
[1] ;
34175 if (!args
) SWIG_fail
;
34176 swig_obj
[0] = args
;
34177 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34178 if (!SWIG_IsOK(res1
)) {
34179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetChildren" "', expected argument " "1"" of type '" "wxWindow *""'");
34181 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34184 result
= (PyObject
*)wxWindow_GetChildren(arg1
);
34185 wxPyEndAllowThreads(__tstate
);
34186 if (PyErr_Occurred()) SWIG_fail
;
34188 resultobj
= result
;
34195 SWIGINTERN PyObject
*_wrap_Window_GetParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34196 PyObject
*resultobj
= 0;
34197 wxWindow
*arg1
= (wxWindow
*) 0 ;
34198 wxWindow
*result
= 0 ;
34201 PyObject
*swig_obj
[1] ;
34203 if (!args
) SWIG_fail
;
34204 swig_obj
[0] = args
;
34205 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34206 if (!SWIG_IsOK(res1
)) {
34207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetParent" "', expected argument " "1"" of type '" "wxWindow const *""'");
34209 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34212 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetParent();
34213 wxPyEndAllowThreads(__tstate
);
34214 if (PyErr_Occurred()) SWIG_fail
;
34217 resultobj
= wxPyMake_wxObject(result
, 0);
34225 SWIGINTERN PyObject
*_wrap_Window_GetGrandParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34226 PyObject
*resultobj
= 0;
34227 wxWindow
*arg1
= (wxWindow
*) 0 ;
34228 wxWindow
*result
= 0 ;
34231 PyObject
*swig_obj
[1] ;
34233 if (!args
) SWIG_fail
;
34234 swig_obj
[0] = args
;
34235 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34236 if (!SWIG_IsOK(res1
)) {
34237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetGrandParent" "', expected argument " "1"" of type '" "wxWindow const *""'");
34239 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34242 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetGrandParent();
34243 wxPyEndAllowThreads(__tstate
);
34244 if (PyErr_Occurred()) SWIG_fail
;
34247 resultobj
= wxPyMake_wxObject(result
, 0);
34255 SWIGINTERN PyObject
*_wrap_Window_IsTopLevel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34256 PyObject
*resultobj
= 0;
34257 wxWindow
*arg1
= (wxWindow
*) 0 ;
34261 PyObject
*swig_obj
[1] ;
34263 if (!args
) SWIG_fail
;
34264 swig_obj
[0] = args
;
34265 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34266 if (!SWIG_IsOK(res1
)) {
34267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_IsTopLevel" "', expected argument " "1"" of type '" "wxWindow const *""'");
34269 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34272 result
= (bool)((wxWindow
const *)arg1
)->IsTopLevel();
34273 wxPyEndAllowThreads(__tstate
);
34274 if (PyErr_Occurred()) SWIG_fail
;
34277 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34285 SWIGINTERN PyObject
*_wrap_Window_Reparent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34286 PyObject
*resultobj
= 0;
34287 wxWindow
*arg1
= (wxWindow
*) 0 ;
34288 wxWindow
*arg2
= (wxWindow
*) 0 ;
34294 PyObject
* obj0
= 0 ;
34295 PyObject
* obj1
= 0 ;
34296 char * kwnames
[] = {
34297 (char *) "self",(char *) "newParent", NULL
34300 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_Reparent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34301 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34302 if (!SWIG_IsOK(res1
)) {
34303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Reparent" "', expected argument " "1"" of type '" "wxWindow *""'");
34305 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34306 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34307 if (!SWIG_IsOK(res2
)) {
34308 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_Reparent" "', expected argument " "2"" of type '" "wxWindow *""'");
34310 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34313 result
= (bool)(arg1
)->Reparent(arg2
);
34314 wxPyEndAllowThreads(__tstate
);
34315 if (PyErr_Occurred()) SWIG_fail
;
34318 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34326 SWIGINTERN PyObject
*_wrap_Window_AddChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34327 PyObject
*resultobj
= 0;
34328 wxWindow
*arg1
= (wxWindow
*) 0 ;
34329 wxWindow
*arg2
= (wxWindow
*) 0 ;
34334 PyObject
* obj0
= 0 ;
34335 PyObject
* obj1
= 0 ;
34336 char * kwnames
[] = {
34337 (char *) "self",(char *) "child", NULL
34340 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AddChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34341 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34342 if (!SWIG_IsOK(res1
)) {
34343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_AddChild" "', expected argument " "1"" of type '" "wxWindow *""'");
34345 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34346 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34347 if (!SWIG_IsOK(res2
)) {
34348 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_AddChild" "', expected argument " "2"" of type '" "wxWindow *""'");
34350 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34353 (arg1
)->AddChild(arg2
);
34354 wxPyEndAllowThreads(__tstate
);
34355 if (PyErr_Occurred()) SWIG_fail
;
34357 resultobj
= SWIG_Py_Void();
34364 SWIGINTERN PyObject
*_wrap_Window_RemoveChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34365 PyObject
*resultobj
= 0;
34366 wxWindow
*arg1
= (wxWindow
*) 0 ;
34367 wxWindow
*arg2
= (wxWindow
*) 0 ;
34372 PyObject
* obj0
= 0 ;
34373 PyObject
* obj1
= 0 ;
34374 char * kwnames
[] = {
34375 (char *) "self",(char *) "child", NULL
34378 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34379 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34380 if (!SWIG_IsOK(res1
)) {
34381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_RemoveChild" "', expected argument " "1"" of type '" "wxWindow *""'");
34383 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34384 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34385 if (!SWIG_IsOK(res2
)) {
34386 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_RemoveChild" "', expected argument " "2"" of type '" "wxWindow *""'");
34388 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34391 (arg1
)->RemoveChild(arg2
);
34392 wxPyEndAllowThreads(__tstate
);
34393 if (PyErr_Occurred()) SWIG_fail
;
34395 resultobj
= SWIG_Py_Void();
34402 SWIGINTERN PyObject
*_wrap_Window_SetDoubleBuffered(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34403 PyObject
*resultobj
= 0;
34404 wxWindow
*arg1
= (wxWindow
*) 0 ;
34410 PyObject
* obj0
= 0 ;
34411 PyObject
* obj1
= 0 ;
34412 char * kwnames
[] = {
34413 (char *) "self",(char *) "on", NULL
34416 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDoubleBuffered",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34417 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34418 if (!SWIG_IsOK(res1
)) {
34419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetDoubleBuffered" "', expected argument " "1"" of type '" "wxWindow *""'");
34421 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34422 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
34423 if (!SWIG_IsOK(ecode2
)) {
34424 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetDoubleBuffered" "', expected argument " "2"" of type '" "bool""'");
34426 arg2
= static_cast< bool >(val2
);
34428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34429 wxWindow_SetDoubleBuffered(arg1
,arg2
);
34430 wxPyEndAllowThreads(__tstate
);
34431 if (PyErr_Occurred()) SWIG_fail
;
34433 resultobj
= SWIG_Py_Void();
34440 SWIGINTERN PyObject
*_wrap_Window_FindWindowById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34441 PyObject
*resultobj
= 0;
34442 wxWindow
*arg1
= (wxWindow
*) 0 ;
34444 wxWindow
*result
= 0 ;
34449 PyObject
* obj0
= 0 ;
34450 PyObject
* obj1
= 0 ;
34451 char * kwnames
[] = {
34452 (char *) "self",(char *) "winid", NULL
34455 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowById",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34456 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34457 if (!SWIG_IsOK(res1
)) {
34458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_FindWindowById" "', expected argument " "1"" of type '" "wxWindow *""'");
34460 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34461 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
34462 if (!SWIG_IsOK(ecode2
)) {
34463 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_FindWindowById" "', expected argument " "2"" of type '" "long""'");
34465 arg2
= static_cast< long >(val2
);
34467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34468 result
= (wxWindow
*)(arg1
)->FindWindow(arg2
);
34469 wxPyEndAllowThreads(__tstate
);
34470 if (PyErr_Occurred()) SWIG_fail
;
34473 resultobj
= wxPyMake_wxObject(result
, 0);
34481 SWIGINTERN PyObject
*_wrap_Window_FindWindowByName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34482 PyObject
*resultobj
= 0;
34483 wxWindow
*arg1
= (wxWindow
*) 0 ;
34484 wxString
*arg2
= 0 ;
34485 wxWindow
*result
= 0 ;
34488 bool temp2
= false ;
34489 PyObject
* obj0
= 0 ;
34490 PyObject
* obj1
= 0 ;
34491 char * kwnames
[] = {
34492 (char *) "self",(char *) "name", NULL
34495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowByName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34496 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34497 if (!SWIG_IsOK(res1
)) {
34498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_FindWindowByName" "', expected argument " "1"" of type '" "wxWindow *""'");
34500 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34502 arg2
= wxString_in_helper(obj1
);
34503 if (arg2
== NULL
) SWIG_fail
;
34507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34508 result
= (wxWindow
*)(arg1
)->FindWindow((wxString
const &)*arg2
);
34509 wxPyEndAllowThreads(__tstate
);
34510 if (PyErr_Occurred()) SWIG_fail
;
34513 resultobj
= wxPyMake_wxObject(result
, 0);
34529 SWIGINTERN PyObject
*_wrap_Window_GetEventHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34530 PyObject
*resultobj
= 0;
34531 wxWindow
*arg1
= (wxWindow
*) 0 ;
34532 wxEvtHandler
*result
= 0 ;
34535 PyObject
*swig_obj
[1] ;
34537 if (!args
) SWIG_fail
;
34538 swig_obj
[0] = args
;
34539 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34540 if (!SWIG_IsOK(res1
)) {
34541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetEventHandler" "', expected argument " "1"" of type '" "wxWindow const *""'");
34543 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34546 result
= (wxEvtHandler
*)((wxWindow
const *)arg1
)->GetEventHandler();
34547 wxPyEndAllowThreads(__tstate
);
34548 if (PyErr_Occurred()) SWIG_fail
;
34551 resultobj
= wxPyMake_wxObject(result
, 0);
34559 SWIGINTERN PyObject
*_wrap_Window_SetEventHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34560 PyObject
*resultobj
= 0;
34561 wxWindow
*arg1
= (wxWindow
*) 0 ;
34562 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
34567 PyObject
* obj0
= 0 ;
34568 PyObject
* obj1
= 0 ;
34569 char * kwnames
[] = {
34570 (char *) "self",(char *) "handler", NULL
34573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetEventHandler",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34574 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34575 if (!SWIG_IsOK(res1
)) {
34576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetEventHandler" "', expected argument " "1"" of type '" "wxWindow *""'");
34578 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34579 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
34580 if (!SWIG_IsOK(res2
)) {
34581 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetEventHandler" "', expected argument " "2"" of type '" "wxEvtHandler *""'");
34583 arg2
= reinterpret_cast< wxEvtHandler
* >(argp2
);
34585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34586 (arg1
)->SetEventHandler(arg2
);
34587 wxPyEndAllowThreads(__tstate
);
34588 if (PyErr_Occurred()) SWIG_fail
;
34590 resultobj
= SWIG_Py_Void();
34597 SWIGINTERN PyObject
*_wrap_Window_PushEventHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34598 PyObject
*resultobj
= 0;
34599 wxWindow
*arg1
= (wxWindow
*) 0 ;
34600 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
34605 PyObject
* obj0
= 0 ;
34606 PyObject
* obj1
= 0 ;
34607 char * kwnames
[] = {
34608 (char *) "self",(char *) "handler", NULL
34611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PushEventHandler",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34612 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34613 if (!SWIG_IsOK(res1
)) {
34614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_PushEventHandler" "', expected argument " "1"" of type '" "wxWindow *""'");
34616 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34617 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
34618 if (!SWIG_IsOK(res2
)) {
34619 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_PushEventHandler" "', expected argument " "2"" of type '" "wxEvtHandler *""'");
34621 arg2
= reinterpret_cast< wxEvtHandler
* >(argp2
);
34623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34624 (arg1
)->PushEventHandler(arg2
);
34625 wxPyEndAllowThreads(__tstate
);
34626 if (PyErr_Occurred()) SWIG_fail
;
34628 resultobj
= SWIG_Py_Void();
34635 SWIGINTERN PyObject
*_wrap_Window_PopEventHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34636 PyObject
*resultobj
= 0;
34637 wxWindow
*arg1
= (wxWindow
*) 0 ;
34638 bool arg2
= (bool) false ;
34639 wxEvtHandler
*result
= 0 ;
34644 PyObject
* obj0
= 0 ;
34645 PyObject
* obj1
= 0 ;
34646 char * kwnames
[] = {
34647 (char *) "self",(char *) "deleteHandler", NULL
34650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_PopEventHandler",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34651 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34652 if (!SWIG_IsOK(res1
)) {
34653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_PopEventHandler" "', expected argument " "1"" of type '" "wxWindow *""'");
34655 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34657 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
34658 if (!SWIG_IsOK(ecode2
)) {
34659 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_PopEventHandler" "', expected argument " "2"" of type '" "bool""'");
34661 arg2
= static_cast< bool >(val2
);
34664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34665 result
= (wxEvtHandler
*)(arg1
)->PopEventHandler(arg2
);
34666 wxPyEndAllowThreads(__tstate
);
34667 if (PyErr_Occurred()) SWIG_fail
;
34670 resultobj
= wxPyMake_wxObject(result
, 0);
34678 SWIGINTERN PyObject
*_wrap_Window_RemoveEventHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34679 PyObject
*resultobj
= 0;
34680 wxWindow
*arg1
= (wxWindow
*) 0 ;
34681 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
34687 PyObject
* obj0
= 0 ;
34688 PyObject
* obj1
= 0 ;
34689 char * kwnames
[] = {
34690 (char *) "self",(char *) "handler", NULL
34693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveEventHandler",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34694 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34695 if (!SWIG_IsOK(res1
)) {
34696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_RemoveEventHandler" "', expected argument " "1"" of type '" "wxWindow *""'");
34698 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34699 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
34700 if (!SWIG_IsOK(res2
)) {
34701 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_RemoveEventHandler" "', expected argument " "2"" of type '" "wxEvtHandler *""'");
34703 arg2
= reinterpret_cast< wxEvtHandler
* >(argp2
);
34705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34706 result
= (bool)(arg1
)->RemoveEventHandler(arg2
);
34707 wxPyEndAllowThreads(__tstate
);
34708 if (PyErr_Occurred()) SWIG_fail
;
34711 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34719 SWIGINTERN PyObject
*_wrap_Window_SetValidator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34720 PyObject
*resultobj
= 0;
34721 wxWindow
*arg1
= (wxWindow
*) 0 ;
34722 wxValidator
*arg2
= 0 ;
34727 PyObject
* obj0
= 0 ;
34728 PyObject
* obj1
= 0 ;
34729 char * kwnames
[] = {
34730 (char *) "self",(char *) "validator", NULL
34733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetValidator",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34734 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34735 if (!SWIG_IsOK(res1
)) {
34736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetValidator" "', expected argument " "1"" of type '" "wxWindow *""'");
34738 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34739 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxValidator
, 0 | 0);
34740 if (!SWIG_IsOK(res2
)) {
34741 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetValidator" "', expected argument " "2"" of type '" "wxValidator const &""'");
34744 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Window_SetValidator" "', expected argument " "2"" of type '" "wxValidator const &""'");
34746 arg2
= reinterpret_cast< wxValidator
* >(argp2
);
34748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34749 (arg1
)->SetValidator((wxValidator
const &)*arg2
);
34750 wxPyEndAllowThreads(__tstate
);
34751 if (PyErr_Occurred()) SWIG_fail
;
34753 resultobj
= SWIG_Py_Void();
34760 SWIGINTERN PyObject
*_wrap_Window_GetValidator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34761 PyObject
*resultobj
= 0;
34762 wxWindow
*arg1
= (wxWindow
*) 0 ;
34763 wxValidator
*result
= 0 ;
34766 PyObject
*swig_obj
[1] ;
34768 if (!args
) SWIG_fail
;
34769 swig_obj
[0] = args
;
34770 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34771 if (!SWIG_IsOK(res1
)) {
34772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetValidator" "', expected argument " "1"" of type '" "wxWindow *""'");
34774 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34777 result
= (wxValidator
*)(arg1
)->GetValidator();
34778 wxPyEndAllowThreads(__tstate
);
34779 if (PyErr_Occurred()) SWIG_fail
;
34782 resultobj
= wxPyMake_wxObject(result
, (bool)0);
34790 SWIGINTERN PyObject
*_wrap_Window_Validate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34791 PyObject
*resultobj
= 0;
34792 wxWindow
*arg1
= (wxWindow
*) 0 ;
34796 PyObject
*swig_obj
[1] ;
34798 if (!args
) SWIG_fail
;
34799 swig_obj
[0] = args
;
34800 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34801 if (!SWIG_IsOK(res1
)) {
34802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Validate" "', expected argument " "1"" of type '" "wxWindow *""'");
34804 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34807 result
= (bool)(arg1
)->Validate();
34808 wxPyEndAllowThreads(__tstate
);
34809 if (PyErr_Occurred()) SWIG_fail
;
34812 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34820 SWIGINTERN PyObject
*_wrap_Window_TransferDataToWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34821 PyObject
*resultobj
= 0;
34822 wxWindow
*arg1
= (wxWindow
*) 0 ;
34826 PyObject
*swig_obj
[1] ;
34828 if (!args
) SWIG_fail
;
34829 swig_obj
[0] = args
;
34830 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34831 if (!SWIG_IsOK(res1
)) {
34832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_TransferDataToWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
34834 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34837 result
= (bool)(arg1
)->TransferDataToWindow();
34838 wxPyEndAllowThreads(__tstate
);
34839 if (PyErr_Occurred()) SWIG_fail
;
34842 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34850 SWIGINTERN PyObject
*_wrap_Window_TransferDataFromWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34851 PyObject
*resultobj
= 0;
34852 wxWindow
*arg1
= (wxWindow
*) 0 ;
34856 PyObject
*swig_obj
[1] ;
34858 if (!args
) SWIG_fail
;
34859 swig_obj
[0] = args
;
34860 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34861 if (!SWIG_IsOK(res1
)) {
34862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_TransferDataFromWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
34864 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34867 result
= (bool)(arg1
)->TransferDataFromWindow();
34868 wxPyEndAllowThreads(__tstate
);
34869 if (PyErr_Occurred()) SWIG_fail
;
34872 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34880 SWIGINTERN PyObject
*_wrap_Window_InitDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34881 PyObject
*resultobj
= 0;
34882 wxWindow
*arg1
= (wxWindow
*) 0 ;
34885 PyObject
*swig_obj
[1] ;
34887 if (!args
) SWIG_fail
;
34888 swig_obj
[0] = args
;
34889 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34890 if (!SWIG_IsOK(res1
)) {
34891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_InitDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
34893 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34896 (arg1
)->InitDialog();
34897 wxPyEndAllowThreads(__tstate
);
34898 if (PyErr_Occurred()) SWIG_fail
;
34900 resultobj
= SWIG_Py_Void();
34907 SWIGINTERN PyObject
*_wrap_Window_SetAcceleratorTable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34908 PyObject
*resultobj
= 0;
34909 wxWindow
*arg1
= (wxWindow
*) 0 ;
34910 wxAcceleratorTable
*arg2
= 0 ;
34915 PyObject
* obj0
= 0 ;
34916 PyObject
* obj1
= 0 ;
34917 char * kwnames
[] = {
34918 (char *) "self",(char *) "accel", NULL
34921 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34922 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34923 if (!SWIG_IsOK(res1
)) {
34924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetAcceleratorTable" "', expected argument " "1"" of type '" "wxWindow *""'");
34926 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34927 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAcceleratorTable
, 0 | 0);
34928 if (!SWIG_IsOK(res2
)) {
34929 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetAcceleratorTable" "', expected argument " "2"" of type '" "wxAcceleratorTable const &""'");
34932 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Window_SetAcceleratorTable" "', expected argument " "2"" of type '" "wxAcceleratorTable const &""'");
34934 arg2
= reinterpret_cast< wxAcceleratorTable
* >(argp2
);
34936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34937 (arg1
)->SetAcceleratorTable((wxAcceleratorTable
const &)*arg2
);
34938 wxPyEndAllowThreads(__tstate
);
34939 if (PyErr_Occurred()) SWIG_fail
;
34941 resultobj
= SWIG_Py_Void();
34948 SWIGINTERN PyObject
*_wrap_Window_GetAcceleratorTable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34949 PyObject
*resultobj
= 0;
34950 wxWindow
*arg1
= (wxWindow
*) 0 ;
34951 wxAcceleratorTable
*result
= 0 ;
34954 PyObject
*swig_obj
[1] ;
34956 if (!args
) SWIG_fail
;
34957 swig_obj
[0] = args
;
34958 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34959 if (!SWIG_IsOK(res1
)) {
34960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetAcceleratorTable" "', expected argument " "1"" of type '" "wxWindow *""'");
34962 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34965 result
= (wxAcceleratorTable
*)(arg1
)->GetAcceleratorTable();
34966 wxPyEndAllowThreads(__tstate
);
34967 if (PyErr_Occurred()) SWIG_fail
;
34969 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAcceleratorTable
, 0 | 0 );
34976 SWIGINTERN PyObject
*_wrap_Window_RegisterHotKey(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34977 PyObject
*resultobj
= 0;
34978 wxWindow
*arg1
= (wxWindow
*) 0 ;
34991 PyObject
* obj0
= 0 ;
34992 PyObject
* obj1
= 0 ;
34993 PyObject
* obj2
= 0 ;
34994 PyObject
* obj3
= 0 ;
34995 char * kwnames
[] = {
34996 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
34999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_RegisterHotKey",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35000 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35001 if (!SWIG_IsOK(res1
)) {
35002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_RegisterHotKey" "', expected argument " "1"" of type '" "wxWindow *""'");
35004 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35005 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35006 if (!SWIG_IsOK(ecode2
)) {
35007 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_RegisterHotKey" "', expected argument " "2"" of type '" "int""'");
35009 arg2
= static_cast< int >(val2
);
35010 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35011 if (!SWIG_IsOK(ecode3
)) {
35012 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_RegisterHotKey" "', expected argument " "3"" of type '" "int""'");
35014 arg3
= static_cast< int >(val3
);
35015 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35016 if (!SWIG_IsOK(ecode4
)) {
35017 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Window_RegisterHotKey" "', expected argument " "4"" of type '" "int""'");
35019 arg4
= static_cast< int >(val4
);
35021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35022 result
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
);
35023 wxPyEndAllowThreads(__tstate
);
35024 if (PyErr_Occurred()) SWIG_fail
;
35027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35035 SWIGINTERN PyObject
*_wrap_Window_UnregisterHotKey(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35036 PyObject
*resultobj
= 0;
35037 wxWindow
*arg1
= (wxWindow
*) 0 ;
35044 PyObject
* obj0
= 0 ;
35045 PyObject
* obj1
= 0 ;
35046 char * kwnames
[] = {
35047 (char *) "self",(char *) "hotkeyId", NULL
35050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_UnregisterHotKey",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35051 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35052 if (!SWIG_IsOK(res1
)) {
35053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_UnregisterHotKey" "', expected argument " "1"" of type '" "wxWindow *""'");
35055 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35056 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35057 if (!SWIG_IsOK(ecode2
)) {
35058 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_UnregisterHotKey" "', expected argument " "2"" of type '" "int""'");
35060 arg2
= static_cast< int >(val2
);
35062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35063 result
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
);
35064 wxPyEndAllowThreads(__tstate
);
35065 if (PyErr_Occurred()) SWIG_fail
;
35068 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35076 SWIGINTERN PyObject
*_wrap_Window_ConvertDialogPointToPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35077 PyObject
*resultobj
= 0;
35078 wxWindow
*arg1
= (wxWindow
*) 0 ;
35079 wxPoint
*arg2
= 0 ;
35084 PyObject
* obj0
= 0 ;
35085 PyObject
* obj1
= 0 ;
35086 char * kwnames
[] = {
35087 (char *) "self",(char *) "pt", NULL
35090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35091 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35092 if (!SWIG_IsOK(res1
)) {
35093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ConvertDialogPointToPixels" "', expected argument " "1"" of type '" "wxWindow *""'");
35095 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35098 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
35101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35102 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
35103 wxPyEndAllowThreads(__tstate
);
35104 if (PyErr_Occurred()) SWIG_fail
;
35106 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
35113 SWIGINTERN PyObject
*_wrap_Window_ConvertDialogSizeToPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35114 PyObject
*resultobj
= 0;
35115 wxWindow
*arg1
= (wxWindow
*) 0 ;
35121 PyObject
* obj0
= 0 ;
35122 PyObject
* obj1
= 0 ;
35123 char * kwnames
[] = {
35124 (char *) "self",(char *) "sz", NULL
35127 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35128 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35129 if (!SWIG_IsOK(res1
)) {
35130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ConvertDialogSizeToPixels" "', expected argument " "1"" of type '" "wxWindow *""'");
35132 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35135 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
35138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35139 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
35140 wxPyEndAllowThreads(__tstate
);
35141 if (PyErr_Occurred()) SWIG_fail
;
35143 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
35150 SWIGINTERN PyObject
*_wrap_Window_DLG_PNT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35151 PyObject
*resultobj
= 0;
35152 wxWindow
*arg1
= (wxWindow
*) 0 ;
35153 wxPoint
*arg2
= 0 ;
35158 PyObject
* obj0
= 0 ;
35159 PyObject
* obj1
= 0 ;
35160 char * kwnames
[] = {
35161 (char *) "self",(char *) "pt", NULL
35164 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_PNT",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35165 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35166 if (!SWIG_IsOK(res1
)) {
35167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_DLG_PNT" "', expected argument " "1"" of type '" "wxWindow *""'");
35169 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35172 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
35175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35176 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
35177 wxPyEndAllowThreads(__tstate
);
35178 if (PyErr_Occurred()) SWIG_fail
;
35180 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
35187 SWIGINTERN PyObject
*_wrap_Window_DLG_SZE(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35188 PyObject
*resultobj
= 0;
35189 wxWindow
*arg1
= (wxWindow
*) 0 ;
35195 PyObject
* obj0
= 0 ;
35196 PyObject
* obj1
= 0 ;
35197 char * kwnames
[] = {
35198 (char *) "self",(char *) "sz", NULL
35201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_SZE",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35202 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35203 if (!SWIG_IsOK(res1
)) {
35204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_DLG_SZE" "', expected argument " "1"" of type '" "wxWindow *""'");
35206 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35209 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
35212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35213 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
35214 wxPyEndAllowThreads(__tstate
);
35215 if (PyErr_Occurred()) SWIG_fail
;
35217 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
35224 SWIGINTERN PyObject
*_wrap_Window_ConvertPixelPointToDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35225 PyObject
*resultobj
= 0;
35226 wxWindow
*arg1
= (wxWindow
*) 0 ;
35227 wxPoint
*arg2
= 0 ;
35232 PyObject
* obj0
= 0 ;
35233 PyObject
* obj1
= 0 ;
35234 char * kwnames
[] = {
35235 (char *) "self",(char *) "pt", NULL
35238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35239 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35240 if (!SWIG_IsOK(res1
)) {
35241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ConvertPixelPointToDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
35243 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35246 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
35249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35250 result
= (arg1
)->ConvertPixelsToDialog((wxPoint
const &)*arg2
);
35251 wxPyEndAllowThreads(__tstate
);
35252 if (PyErr_Occurred()) SWIG_fail
;
35254 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
35261 SWIGINTERN PyObject
*_wrap_Window_ConvertPixelSizeToDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35262 PyObject
*resultobj
= 0;
35263 wxWindow
*arg1
= (wxWindow
*) 0 ;
35269 PyObject
* obj0
= 0 ;
35270 PyObject
* obj1
= 0 ;
35271 char * kwnames
[] = {
35272 (char *) "self",(char *) "sz", NULL
35275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35277 if (!SWIG_IsOK(res1
)) {
35278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ConvertPixelSizeToDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
35280 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35283 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
35286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35287 result
= (arg1
)->ConvertPixelsToDialog((wxSize
const &)*arg2
);
35288 wxPyEndAllowThreads(__tstate
);
35289 if (PyErr_Occurred()) SWIG_fail
;
35291 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
35298 SWIGINTERN PyObject
*_wrap_Window_WarpPointer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35299 PyObject
*resultobj
= 0;
35300 wxWindow
*arg1
= (wxWindow
*) 0 ;
35309 PyObject
* obj0
= 0 ;
35310 PyObject
* obj1
= 0 ;
35311 PyObject
* obj2
= 0 ;
35312 char * kwnames
[] = {
35313 (char *) "self",(char *) "x",(char *) "y", NULL
35316 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_WarpPointer",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35317 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35318 if (!SWIG_IsOK(res1
)) {
35319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_WarpPointer" "', expected argument " "1"" of type '" "wxWindow *""'");
35321 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35322 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35323 if (!SWIG_IsOK(ecode2
)) {
35324 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_WarpPointer" "', expected argument " "2"" of type '" "int""'");
35326 arg2
= static_cast< int >(val2
);
35327 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35328 if (!SWIG_IsOK(ecode3
)) {
35329 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_WarpPointer" "', expected argument " "3"" of type '" "int""'");
35331 arg3
= static_cast< int >(val3
);
35333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35334 (arg1
)->WarpPointer(arg2
,arg3
);
35335 wxPyEndAllowThreads(__tstate
);
35336 if (PyErr_Occurred()) SWIG_fail
;
35338 resultobj
= SWIG_Py_Void();
35345 SWIGINTERN PyObject
*_wrap_Window_CaptureMouse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35346 PyObject
*resultobj
= 0;
35347 wxWindow
*arg1
= (wxWindow
*) 0 ;
35350 PyObject
*swig_obj
[1] ;
35352 if (!args
) SWIG_fail
;
35353 swig_obj
[0] = args
;
35354 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35355 if (!SWIG_IsOK(res1
)) {
35356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_CaptureMouse" "', expected argument " "1"" of type '" "wxWindow *""'");
35358 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35361 (arg1
)->CaptureMouse();
35362 wxPyEndAllowThreads(__tstate
);
35363 if (PyErr_Occurred()) SWIG_fail
;
35365 resultobj
= SWIG_Py_Void();
35372 SWIGINTERN PyObject
*_wrap_Window_ReleaseMouse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35373 PyObject
*resultobj
= 0;
35374 wxWindow
*arg1
= (wxWindow
*) 0 ;
35377 PyObject
*swig_obj
[1] ;
35379 if (!args
) SWIG_fail
;
35380 swig_obj
[0] = args
;
35381 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35382 if (!SWIG_IsOK(res1
)) {
35383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ReleaseMouse" "', expected argument " "1"" of type '" "wxWindow *""'");
35385 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35388 (arg1
)->ReleaseMouse();
35389 wxPyEndAllowThreads(__tstate
);
35390 if (PyErr_Occurred()) SWIG_fail
;
35392 resultobj
= SWIG_Py_Void();
35399 SWIGINTERN PyObject
*_wrap_Window_GetCapture(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35400 PyObject
*resultobj
= 0;
35401 wxWindow
*result
= 0 ;
35403 if (!SWIG_Python_UnpackTuple(args
,"Window_GetCapture",0,0,0)) SWIG_fail
;
35405 if (!wxPyCheckForApp()) SWIG_fail
;
35406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35407 result
= (wxWindow
*)wxWindow::GetCapture();
35408 wxPyEndAllowThreads(__tstate
);
35409 if (PyErr_Occurred()) SWIG_fail
;
35412 resultobj
= wxPyMake_wxObject(result
, 0);
35420 SWIGINTERN PyObject
*_wrap_Window_HasCapture(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35421 PyObject
*resultobj
= 0;
35422 wxWindow
*arg1
= (wxWindow
*) 0 ;
35426 PyObject
*swig_obj
[1] ;
35428 if (!args
) SWIG_fail
;
35429 swig_obj
[0] = args
;
35430 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35431 if (!SWIG_IsOK(res1
)) {
35432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_HasCapture" "', expected argument " "1"" of type '" "wxWindow const *""'");
35434 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35437 result
= (bool)((wxWindow
const *)arg1
)->HasCapture();
35438 wxPyEndAllowThreads(__tstate
);
35439 if (PyErr_Occurred()) SWIG_fail
;
35442 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35450 SWIGINTERN PyObject
*_wrap_Window_Refresh(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35451 PyObject
*resultobj
= 0;
35452 wxWindow
*arg1
= (wxWindow
*) 0 ;
35453 bool arg2
= (bool) true ;
35454 wxRect
*arg3
= (wxRect
*) NULL
;
35461 PyObject
* obj0
= 0 ;
35462 PyObject
* obj1
= 0 ;
35463 PyObject
* obj2
= 0 ;
35464 char * kwnames
[] = {
35465 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
35468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Window_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35469 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35470 if (!SWIG_IsOK(res1
)) {
35471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Refresh" "', expected argument " "1"" of type '" "wxWindow *""'");
35473 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35475 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
35476 if (!SWIG_IsOK(ecode2
)) {
35477 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_Refresh" "', expected argument " "2"" of type '" "bool""'");
35479 arg2
= static_cast< bool >(val2
);
35482 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxRect
, 0 | 0 );
35483 if (!SWIG_IsOK(res3
)) {
35484 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Window_Refresh" "', expected argument " "3"" of type '" "wxRect const *""'");
35486 arg3
= reinterpret_cast< wxRect
* >(argp3
);
35489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35490 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
35491 wxPyEndAllowThreads(__tstate
);
35492 if (PyErr_Occurred()) SWIG_fail
;
35494 resultobj
= SWIG_Py_Void();
35501 SWIGINTERN PyObject
*_wrap_Window_RefreshRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35502 PyObject
*resultobj
= 0;
35503 wxWindow
*arg1
= (wxWindow
*) 0 ;
35505 bool arg3
= (bool) true ;
35511 PyObject
* obj0
= 0 ;
35512 PyObject
* obj1
= 0 ;
35513 PyObject
* obj2
= 0 ;
35514 char * kwnames
[] = {
35515 (char *) "self",(char *) "rect",(char *) "eraseBackground", NULL
35518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_RefreshRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35519 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35520 if (!SWIG_IsOK(res1
)) {
35521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_RefreshRect" "', expected argument " "1"" of type '" "wxWindow *""'");
35523 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35526 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
35529 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35530 if (!SWIG_IsOK(ecode3
)) {
35531 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_RefreshRect" "', expected argument " "3"" of type '" "bool""'");
35533 arg3
= static_cast< bool >(val3
);
35536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35537 (arg1
)->RefreshRect((wxRect
const &)*arg2
,arg3
);
35538 wxPyEndAllowThreads(__tstate
);
35539 if (PyErr_Occurred()) SWIG_fail
;
35541 resultobj
= SWIG_Py_Void();
35548 SWIGINTERN PyObject
*_wrap_Window_Update(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35549 PyObject
*resultobj
= 0;
35550 wxWindow
*arg1
= (wxWindow
*) 0 ;
35553 PyObject
*swig_obj
[1] ;
35555 if (!args
) SWIG_fail
;
35556 swig_obj
[0] = args
;
35557 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35558 if (!SWIG_IsOK(res1
)) {
35559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Update" "', expected argument " "1"" of type '" "wxWindow *""'");
35561 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35565 wxPyEndAllowThreads(__tstate
);
35566 if (PyErr_Occurred()) SWIG_fail
;
35568 resultobj
= SWIG_Py_Void();
35575 SWIGINTERN PyObject
*_wrap_Window_ClearBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35576 PyObject
*resultobj
= 0;
35577 wxWindow
*arg1
= (wxWindow
*) 0 ;
35580 PyObject
*swig_obj
[1] ;
35582 if (!args
) SWIG_fail
;
35583 swig_obj
[0] = args
;
35584 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35585 if (!SWIG_IsOK(res1
)) {
35586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ClearBackground" "', expected argument " "1"" of type '" "wxWindow *""'");
35588 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35591 (arg1
)->ClearBackground();
35592 wxPyEndAllowThreads(__tstate
);
35593 if (PyErr_Occurred()) SWIG_fail
;
35595 resultobj
= SWIG_Py_Void();
35602 SWIGINTERN PyObject
*_wrap_Window_Freeze(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35603 PyObject
*resultobj
= 0;
35604 wxWindow
*arg1
= (wxWindow
*) 0 ;
35607 PyObject
*swig_obj
[1] ;
35609 if (!args
) SWIG_fail
;
35610 swig_obj
[0] = args
;
35611 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35612 if (!SWIG_IsOK(res1
)) {
35613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Freeze" "', expected argument " "1"" of type '" "wxWindow *""'");
35615 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35619 wxPyEndAllowThreads(__tstate
);
35620 if (PyErr_Occurred()) SWIG_fail
;
35622 resultobj
= SWIG_Py_Void();
35629 SWIGINTERN PyObject
*_wrap_Window_IsFrozen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35630 PyObject
*resultobj
= 0;
35631 wxWindow
*arg1
= (wxWindow
*) 0 ;
35635 PyObject
*swig_obj
[1] ;
35637 if (!args
) SWIG_fail
;
35638 swig_obj
[0] = args
;
35639 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35640 if (!SWIG_IsOK(res1
)) {
35641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_IsFrozen" "', expected argument " "1"" of type '" "wxWindow const *""'");
35643 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35646 result
= (bool)((wxWindow
const *)arg1
)->IsFrozen();
35647 wxPyEndAllowThreads(__tstate
);
35648 if (PyErr_Occurred()) SWIG_fail
;
35651 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35659 SWIGINTERN PyObject
*_wrap_Window_Thaw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35660 PyObject
*resultobj
= 0;
35661 wxWindow
*arg1
= (wxWindow
*) 0 ;
35664 PyObject
*swig_obj
[1] ;
35666 if (!args
) SWIG_fail
;
35667 swig_obj
[0] = args
;
35668 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35669 if (!SWIG_IsOK(res1
)) {
35670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Thaw" "', expected argument " "1"" of type '" "wxWindow *""'");
35672 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35676 wxPyEndAllowThreads(__tstate
);
35677 if (PyErr_Occurred()) SWIG_fail
;
35679 resultobj
= SWIG_Py_Void();
35686 SWIGINTERN PyObject
*_wrap_Window_PrepareDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35687 PyObject
*resultobj
= 0;
35688 wxWindow
*arg1
= (wxWindow
*) 0 ;
35694 PyObject
* obj0
= 0 ;
35695 PyObject
* obj1
= 0 ;
35696 char * kwnames
[] = {
35697 (char *) "self",(char *) "dc", NULL
35700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35701 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35702 if (!SWIG_IsOK(res1
)) {
35703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_PrepareDC" "', expected argument " "1"" of type '" "wxWindow *""'");
35705 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35706 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
35707 if (!SWIG_IsOK(res2
)) {
35708 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_PrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
35711 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Window_PrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
35713 arg2
= reinterpret_cast< wxDC
* >(argp2
);
35715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35716 (arg1
)->PrepareDC(*arg2
);
35717 wxPyEndAllowThreads(__tstate
);
35718 if (PyErr_Occurred()) SWIG_fail
;
35720 resultobj
= SWIG_Py_Void();
35727 SWIGINTERN PyObject
*_wrap_Window_IsDoubleBuffered(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35728 PyObject
*resultobj
= 0;
35729 wxWindow
*arg1
= (wxWindow
*) 0 ;
35733 PyObject
*swig_obj
[1] ;
35735 if (!args
) SWIG_fail
;
35736 swig_obj
[0] = args
;
35737 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35738 if (!SWIG_IsOK(res1
)) {
35739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_IsDoubleBuffered" "', expected argument " "1"" of type '" "wxWindow const *""'");
35741 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35744 result
= (bool)((wxWindow
const *)arg1
)->IsDoubleBuffered();
35745 wxPyEndAllowThreads(__tstate
);
35746 if (PyErr_Occurred()) SWIG_fail
;
35749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35757 SWIGINTERN PyObject
*_wrap_Window_GetUpdateRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35758 PyObject
*resultobj
= 0;
35759 wxWindow
*arg1
= (wxWindow
*) 0 ;
35760 wxRegion
*result
= 0 ;
35763 PyObject
*swig_obj
[1] ;
35765 if (!args
) SWIG_fail
;
35766 swig_obj
[0] = args
;
35767 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35768 if (!SWIG_IsOK(res1
)) {
35769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetUpdateRegion" "', expected argument " "1"" of type '" "wxWindow *""'");
35771 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35775 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
35776 result
= (wxRegion
*) &_result_ref
;
35778 wxPyEndAllowThreads(__tstate
);
35779 if (PyErr_Occurred()) SWIG_fail
;
35781 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, 0 | 0 );
35788 SWIGINTERN PyObject
*_wrap_Window_GetUpdateClientRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35789 PyObject
*resultobj
= 0;
35790 wxWindow
*arg1
= (wxWindow
*) 0 ;
35794 PyObject
*swig_obj
[1] ;
35796 if (!args
) SWIG_fail
;
35797 swig_obj
[0] = args
;
35798 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35799 if (!SWIG_IsOK(res1
)) {
35800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetUpdateClientRect" "', expected argument " "1"" of type '" "wxWindow const *""'");
35802 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35805 result
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
35806 wxPyEndAllowThreads(__tstate
);
35807 if (PyErr_Occurred()) SWIG_fail
;
35809 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
35816 SWIGINTERN PyObject
*_wrap_Window_IsExposed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35817 PyObject
*resultobj
= 0;
35818 wxWindow
*arg1
= (wxWindow
*) 0 ;
35821 int arg4
= (int) 1 ;
35822 int arg5
= (int) 1 ;
35834 PyObject
* obj0
= 0 ;
35835 PyObject
* obj1
= 0 ;
35836 PyObject
* obj2
= 0 ;
35837 PyObject
* obj3
= 0 ;
35838 PyObject
* obj4
= 0 ;
35839 char * kwnames
[] = {
35840 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
35843 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_IsExposed",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35844 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35845 if (!SWIG_IsOK(res1
)) {
35846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_IsExposed" "', expected argument " "1"" of type '" "wxWindow const *""'");
35848 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35849 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35850 if (!SWIG_IsOK(ecode2
)) {
35851 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_IsExposed" "', expected argument " "2"" of type '" "int""'");
35853 arg2
= static_cast< int >(val2
);
35854 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35855 if (!SWIG_IsOK(ecode3
)) {
35856 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_IsExposed" "', expected argument " "3"" of type '" "int""'");
35858 arg3
= static_cast< int >(val3
);
35860 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35861 if (!SWIG_IsOK(ecode4
)) {
35862 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Window_IsExposed" "', expected argument " "4"" of type '" "int""'");
35864 arg4
= static_cast< int >(val4
);
35867 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35868 if (!SWIG_IsOK(ecode5
)) {
35869 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Window_IsExposed" "', expected argument " "5"" of type '" "int""'");
35871 arg5
= static_cast< int >(val5
);
35874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35875 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
35876 wxPyEndAllowThreads(__tstate
);
35877 if (PyErr_Occurred()) SWIG_fail
;
35880 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35888 SWIGINTERN PyObject
*_wrap_Window_IsExposedPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35889 PyObject
*resultobj
= 0;
35890 wxWindow
*arg1
= (wxWindow
*) 0 ;
35891 wxPoint
*arg2
= 0 ;
35896 PyObject
* obj0
= 0 ;
35897 PyObject
* obj1
= 0 ;
35898 char * kwnames
[] = {
35899 (char *) "self",(char *) "pt", NULL
35902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35903 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35904 if (!SWIG_IsOK(res1
)) {
35905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_IsExposedPoint" "', expected argument " "1"" of type '" "wxWindow const *""'");
35907 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35910 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
35913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35914 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
35915 wxPyEndAllowThreads(__tstate
);
35916 if (PyErr_Occurred()) SWIG_fail
;
35919 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35927 SWIGINTERN PyObject
*_wrap_Window_IsExposedRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35928 PyObject
*resultobj
= 0;
35929 wxWindow
*arg1
= (wxWindow
*) 0 ;
35935 PyObject
* obj0
= 0 ;
35936 PyObject
* obj1
= 0 ;
35937 char * kwnames
[] = {
35938 (char *) "self",(char *) "rect", NULL
35941 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35942 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35943 if (!SWIG_IsOK(res1
)) {
35944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_IsExposedRect" "', expected argument " "1"" of type '" "wxWindow const *""'");
35946 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35949 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
35952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35953 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
35954 wxPyEndAllowThreads(__tstate
);
35955 if (PyErr_Occurred()) SWIG_fail
;
35958 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35966 SWIGINTERN PyObject
*_wrap_Window_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35967 PyObject
*resultobj
= 0;
35968 wxWindow
*arg1
= (wxWindow
*) 0 ;
35969 SwigValueWrapper
<wxVisualAttributes
> result
;
35972 PyObject
*swig_obj
[1] ;
35974 if (!args
) SWIG_fail
;
35975 swig_obj
[0] = args
;
35976 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35977 if (!SWIG_IsOK(res1
)) {
35978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxWindow const *""'");
35980 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35983 result
= ((wxWindow
const *)arg1
)->GetDefaultAttributes();
35984 wxPyEndAllowThreads(__tstate
);
35985 if (PyErr_Occurred()) SWIG_fail
;
35987 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
35994 SWIGINTERN PyObject
*_wrap_Window_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35995 PyObject
*resultobj
= 0;
35996 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
35997 SwigValueWrapper
<wxVisualAttributes
> result
;
36000 PyObject
* obj0
= 0 ;
36001 char * kwnames
[] = {
36002 (char *) "variant", NULL
36005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Window_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
36007 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
36008 if (!SWIG_IsOK(ecode1
)) {
36009 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Window_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
36011 arg1
= static_cast< wxWindowVariant
>(val1
);
36014 if (!wxPyCheckForApp()) SWIG_fail
;
36015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36016 result
= wxWindow::GetClassDefaultAttributes(arg1
);
36017 wxPyEndAllowThreads(__tstate
);
36018 if (PyErr_Occurred()) SWIG_fail
;
36020 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
36027 SWIGINTERN PyObject
*_wrap_Window_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36028 PyObject
*resultobj
= 0;
36029 wxWindow
*arg1
= (wxWindow
*) 0 ;
36030 wxColour
*arg2
= 0 ;
36035 PyObject
* obj0
= 0 ;
36036 PyObject
* obj1
= 0 ;
36037 char * kwnames
[] = {
36038 (char *) "self",(char *) "colour", NULL
36041 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36042 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36043 if (!SWIG_IsOK(res1
)) {
36044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetBackgroundColour" "', expected argument " "1"" of type '" "wxWindow *""'");
36046 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36049 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
36052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36053 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
36054 wxPyEndAllowThreads(__tstate
);
36055 if (PyErr_Occurred()) SWIG_fail
;
36058 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36066 SWIGINTERN PyObject
*_wrap_Window_SetOwnBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36067 PyObject
*resultobj
= 0;
36068 wxWindow
*arg1
= (wxWindow
*) 0 ;
36069 wxColour
*arg2
= 0 ;
36073 PyObject
* obj0
= 0 ;
36074 PyObject
* obj1
= 0 ;
36075 char * kwnames
[] = {
36076 (char *) "self",(char *) "colour", NULL
36079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36080 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36081 if (!SWIG_IsOK(res1
)) {
36082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetOwnBackgroundColour" "', expected argument " "1"" of type '" "wxWindow *""'");
36084 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36087 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
36090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36091 (arg1
)->SetOwnBackgroundColour((wxColour
const &)*arg2
);
36092 wxPyEndAllowThreads(__tstate
);
36093 if (PyErr_Occurred()) SWIG_fail
;
36095 resultobj
= SWIG_Py_Void();
36102 SWIGINTERN PyObject
*_wrap_Window_SetForegroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36103 PyObject
*resultobj
= 0;
36104 wxWindow
*arg1
= (wxWindow
*) 0 ;
36105 wxColour
*arg2
= 0 ;
36110 PyObject
* obj0
= 0 ;
36111 PyObject
* obj1
= 0 ;
36112 char * kwnames
[] = {
36113 (char *) "self",(char *) "colour", NULL
36116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetForegroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36117 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36118 if (!SWIG_IsOK(res1
)) {
36119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetForegroundColour" "', expected argument " "1"" of type '" "wxWindow *""'");
36121 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36124 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
36127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36128 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
36129 wxPyEndAllowThreads(__tstate
);
36130 if (PyErr_Occurred()) SWIG_fail
;
36133 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36141 SWIGINTERN PyObject
*_wrap_Window_SetOwnForegroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36142 PyObject
*resultobj
= 0;
36143 wxWindow
*arg1
= (wxWindow
*) 0 ;
36144 wxColour
*arg2
= 0 ;
36148 PyObject
* obj0
= 0 ;
36149 PyObject
* obj1
= 0 ;
36150 char * kwnames
[] = {
36151 (char *) "self",(char *) "colour", NULL
36154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnForegroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36155 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36156 if (!SWIG_IsOK(res1
)) {
36157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetOwnForegroundColour" "', expected argument " "1"" of type '" "wxWindow *""'");
36159 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36162 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
36165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36166 (arg1
)->SetOwnForegroundColour((wxColour
const &)*arg2
);
36167 wxPyEndAllowThreads(__tstate
);
36168 if (PyErr_Occurred()) SWIG_fail
;
36170 resultobj
= SWIG_Py_Void();
36177 SWIGINTERN PyObject
*_wrap_Window_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36178 PyObject
*resultobj
= 0;
36179 wxWindow
*arg1
= (wxWindow
*) 0 ;
36183 PyObject
*swig_obj
[1] ;
36185 if (!args
) SWIG_fail
;
36186 swig_obj
[0] = args
;
36187 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36188 if (!SWIG_IsOK(res1
)) {
36189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetBackgroundColour" "', expected argument " "1"" of type '" "wxWindow const *""'");
36191 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36194 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
36195 wxPyEndAllowThreads(__tstate
);
36196 if (PyErr_Occurred()) SWIG_fail
;
36198 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
36205 SWIGINTERN PyObject
*_wrap_Window_GetForegroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36206 PyObject
*resultobj
= 0;
36207 wxWindow
*arg1
= (wxWindow
*) 0 ;
36211 PyObject
*swig_obj
[1] ;
36213 if (!args
) SWIG_fail
;
36214 swig_obj
[0] = args
;
36215 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36216 if (!SWIG_IsOK(res1
)) {
36217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetForegroundColour" "', expected argument " "1"" of type '" "wxWindow const *""'");
36219 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36222 result
= ((wxWindow
const *)arg1
)->GetForegroundColour();
36223 wxPyEndAllowThreads(__tstate
);
36224 if (PyErr_Occurred()) SWIG_fail
;
36226 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
36233 SWIGINTERN PyObject
*_wrap_Window_InheritsBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36234 PyObject
*resultobj
= 0;
36235 wxWindow
*arg1
= (wxWindow
*) 0 ;
36239 PyObject
*swig_obj
[1] ;
36241 if (!args
) SWIG_fail
;
36242 swig_obj
[0] = args
;
36243 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36244 if (!SWIG_IsOK(res1
)) {
36245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_InheritsBackgroundColour" "', expected argument " "1"" of type '" "wxWindow const *""'");
36247 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36250 result
= (bool)((wxWindow
const *)arg1
)->InheritsBackgroundColour();
36251 wxPyEndAllowThreads(__tstate
);
36252 if (PyErr_Occurred()) SWIG_fail
;
36255 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36263 SWIGINTERN PyObject
*_wrap_Window_UseBgCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36264 PyObject
*resultobj
= 0;
36265 wxWindow
*arg1
= (wxWindow
*) 0 ;
36269 PyObject
*swig_obj
[1] ;
36271 if (!args
) SWIG_fail
;
36272 swig_obj
[0] = args
;
36273 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36274 if (!SWIG_IsOK(res1
)) {
36275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_UseBgCol" "', expected argument " "1"" of type '" "wxWindow const *""'");
36277 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36280 result
= (bool)((wxWindow
const *)arg1
)->UseBgCol();
36281 wxPyEndAllowThreads(__tstate
);
36282 if (PyErr_Occurred()) SWIG_fail
;
36285 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36293 SWIGINTERN PyObject
*_wrap_Window_SetBackgroundStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36294 PyObject
*resultobj
= 0;
36295 wxWindow
*arg1
= (wxWindow
*) 0 ;
36296 wxBackgroundStyle arg2
;
36302 PyObject
* obj0
= 0 ;
36303 PyObject
* obj1
= 0 ;
36304 char * kwnames
[] = {
36305 (char *) "self",(char *) "style", NULL
36308 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36309 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36310 if (!SWIG_IsOK(res1
)) {
36311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetBackgroundStyle" "', expected argument " "1"" of type '" "wxWindow *""'");
36313 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36314 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36315 if (!SWIG_IsOK(ecode2
)) {
36316 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetBackgroundStyle" "', expected argument " "2"" of type '" "wxBackgroundStyle""'");
36318 arg2
= static_cast< wxBackgroundStyle
>(val2
);
36320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36321 result
= (bool)(arg1
)->SetBackgroundStyle(arg2
);
36322 wxPyEndAllowThreads(__tstate
);
36323 if (PyErr_Occurred()) SWIG_fail
;
36326 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36334 SWIGINTERN PyObject
*_wrap_Window_GetBackgroundStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36335 PyObject
*resultobj
= 0;
36336 wxWindow
*arg1
= (wxWindow
*) 0 ;
36337 wxBackgroundStyle result
;
36340 PyObject
*swig_obj
[1] ;
36342 if (!args
) SWIG_fail
;
36343 swig_obj
[0] = args
;
36344 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36345 if (!SWIG_IsOK(res1
)) {
36346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetBackgroundStyle" "', expected argument " "1"" of type '" "wxWindow const *""'");
36348 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36351 result
= (wxBackgroundStyle
)((wxWindow
const *)arg1
)->GetBackgroundStyle();
36352 wxPyEndAllowThreads(__tstate
);
36353 if (PyErr_Occurred()) SWIG_fail
;
36355 resultobj
= SWIG_From_int(static_cast< int >(result
));
36362 SWIGINTERN PyObject
*_wrap_Window_HasTransparentBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36363 PyObject
*resultobj
= 0;
36364 wxWindow
*arg1
= (wxWindow
*) 0 ;
36368 PyObject
*swig_obj
[1] ;
36370 if (!args
) SWIG_fail
;
36371 swig_obj
[0] = args
;
36372 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36373 if (!SWIG_IsOK(res1
)) {
36374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_HasTransparentBackground" "', expected argument " "1"" of type '" "wxWindow *""'");
36376 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36379 result
= (bool)(arg1
)->HasTransparentBackground();
36380 wxPyEndAllowThreads(__tstate
);
36381 if (PyErr_Occurred()) SWIG_fail
;
36384 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36392 SWIGINTERN PyObject
*_wrap_Window_SetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36393 PyObject
*resultobj
= 0;
36394 wxWindow
*arg1
= (wxWindow
*) 0 ;
36395 wxCursor
*arg2
= 0 ;
36401 PyObject
* obj0
= 0 ;
36402 PyObject
* obj1
= 0 ;
36403 char * kwnames
[] = {
36404 (char *) "self",(char *) "cursor", NULL
36407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36408 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36409 if (!SWIG_IsOK(res1
)) {
36410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetCursor" "', expected argument " "1"" of type '" "wxWindow *""'");
36412 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36413 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
36414 if (!SWIG_IsOK(res2
)) {
36415 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetCursor" "', expected argument " "2"" of type '" "wxCursor const &""'");
36418 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Window_SetCursor" "', expected argument " "2"" of type '" "wxCursor const &""'");
36420 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
36422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36423 result
= (bool)(arg1
)->SetCursor((wxCursor
const &)*arg2
);
36424 wxPyEndAllowThreads(__tstate
);
36425 if (PyErr_Occurred()) SWIG_fail
;
36428 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36436 SWIGINTERN PyObject
*_wrap_Window_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36437 PyObject
*resultobj
= 0;
36438 wxWindow
*arg1
= (wxWindow
*) 0 ;
36442 PyObject
*swig_obj
[1] ;
36444 if (!args
) SWIG_fail
;
36445 swig_obj
[0] = args
;
36446 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36447 if (!SWIG_IsOK(res1
)) {
36448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetCursor" "', expected argument " "1"" of type '" "wxWindow *""'");
36450 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36453 result
= (arg1
)->GetCursor();
36454 wxPyEndAllowThreads(__tstate
);
36455 if (PyErr_Occurred()) SWIG_fail
;
36457 resultobj
= SWIG_NewPointerObj((new wxCursor(static_cast< const wxCursor
& >(result
))), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
36464 SWIGINTERN PyObject
*_wrap_Window_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36465 PyObject
*resultobj
= 0;
36466 wxWindow
*arg1
= (wxWindow
*) 0 ;
36473 PyObject
* obj0
= 0 ;
36474 PyObject
* obj1
= 0 ;
36475 char * kwnames
[] = {
36476 (char *) "self",(char *) "font", NULL
36479 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36480 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36481 if (!SWIG_IsOK(res1
)) {
36482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetFont" "', expected argument " "1"" of type '" "wxWindow *""'");
36484 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36485 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
36486 if (!SWIG_IsOK(res2
)) {
36487 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
36490 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Window_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
36492 arg2
= reinterpret_cast< wxFont
* >(argp2
);
36494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36495 result
= (bool)(arg1
)->SetFont((wxFont
const &)*arg2
);
36496 wxPyEndAllowThreads(__tstate
);
36497 if (PyErr_Occurred()) SWIG_fail
;
36500 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36508 SWIGINTERN PyObject
*_wrap_Window_SetOwnFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36509 PyObject
*resultobj
= 0;
36510 wxWindow
*arg1
= (wxWindow
*) 0 ;
36516 PyObject
* obj0
= 0 ;
36517 PyObject
* obj1
= 0 ;
36518 char * kwnames
[] = {
36519 (char *) "self",(char *) "font", NULL
36522 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36523 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36524 if (!SWIG_IsOK(res1
)) {
36525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetOwnFont" "', expected argument " "1"" of type '" "wxWindow *""'");
36527 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36528 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
36529 if (!SWIG_IsOK(res2
)) {
36530 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetOwnFont" "', expected argument " "2"" of type '" "wxFont const &""'");
36533 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Window_SetOwnFont" "', expected argument " "2"" of type '" "wxFont const &""'");
36535 arg2
= reinterpret_cast< wxFont
* >(argp2
);
36537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36538 (arg1
)->SetOwnFont((wxFont
const &)*arg2
);
36539 wxPyEndAllowThreads(__tstate
);
36540 if (PyErr_Occurred()) SWIG_fail
;
36542 resultobj
= SWIG_Py_Void();
36549 SWIGINTERN PyObject
*_wrap_Window_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36550 PyObject
*resultobj
= 0;
36551 wxWindow
*arg1
= (wxWindow
*) 0 ;
36555 PyObject
*swig_obj
[1] ;
36557 if (!args
) SWIG_fail
;
36558 swig_obj
[0] = args
;
36559 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36560 if (!SWIG_IsOK(res1
)) {
36561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetFont" "', expected argument " "1"" of type '" "wxWindow *""'");
36563 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36566 result
= (arg1
)->GetFont();
36567 wxPyEndAllowThreads(__tstate
);
36568 if (PyErr_Occurred()) SWIG_fail
;
36570 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
36577 SWIGINTERN PyObject
*_wrap_Window_SetCaret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36578 PyObject
*resultobj
= 0;
36579 wxWindow
*arg1
= (wxWindow
*) 0 ;
36580 wxCaret
*arg2
= (wxCaret
*) 0 ;
36584 PyObject
* obj0
= 0 ;
36585 PyObject
* obj1
= 0 ;
36586 char * kwnames
[] = {
36587 (char *) "self",(char *) "caret", NULL
36590 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36591 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36592 if (!SWIG_IsOK(res1
)) {
36593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetCaret" "', expected argument " "1"" of type '" "wxWindow *""'");
36595 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36596 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxCaret
, SWIG_POINTER_DISOWN
| 0 );
36597 if (!SWIG_IsOK(res2
)) {
36598 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetCaret" "', expected argument " "2"" of type '" "wxCaret *""'");
36601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36602 (arg1
)->SetCaret(arg2
);
36603 wxPyEndAllowThreads(__tstate
);
36604 if (PyErr_Occurred()) SWIG_fail
;
36606 resultobj
= SWIG_Py_Void();
36613 SWIGINTERN PyObject
*_wrap_Window_GetCaret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36614 PyObject
*resultobj
= 0;
36615 wxWindow
*arg1
= (wxWindow
*) 0 ;
36616 wxCaret
*result
= 0 ;
36619 PyObject
*swig_obj
[1] ;
36621 if (!args
) SWIG_fail
;
36622 swig_obj
[0] = args
;
36623 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36624 if (!SWIG_IsOK(res1
)) {
36625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetCaret" "', expected argument " "1"" of type '" "wxWindow const *""'");
36627 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36630 result
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
36631 wxPyEndAllowThreads(__tstate
);
36632 if (PyErr_Occurred()) SWIG_fail
;
36634 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCaret
, 0 | 0 );
36641 SWIGINTERN PyObject
*_wrap_Window_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36642 PyObject
*resultobj
= 0;
36643 wxWindow
*arg1
= (wxWindow
*) 0 ;
36647 PyObject
*swig_obj
[1] ;
36649 if (!args
) SWIG_fail
;
36650 swig_obj
[0] = args
;
36651 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36652 if (!SWIG_IsOK(res1
)) {
36653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetCharHeight" "', expected argument " "1"" of type '" "wxWindow const *""'");
36655 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36658 result
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
36659 wxPyEndAllowThreads(__tstate
);
36660 if (PyErr_Occurred()) SWIG_fail
;
36662 resultobj
= SWIG_From_int(static_cast< int >(result
));
36669 SWIGINTERN PyObject
*_wrap_Window_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36670 PyObject
*resultobj
= 0;
36671 wxWindow
*arg1
= (wxWindow
*) 0 ;
36675 PyObject
*swig_obj
[1] ;
36677 if (!args
) SWIG_fail
;
36678 swig_obj
[0] = args
;
36679 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36680 if (!SWIG_IsOK(res1
)) {
36681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetCharWidth" "', expected argument " "1"" of type '" "wxWindow const *""'");
36683 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36686 result
= (int)((wxWindow
const *)arg1
)->GetCharWidth();
36687 wxPyEndAllowThreads(__tstate
);
36688 if (PyErr_Occurred()) SWIG_fail
;
36690 resultobj
= SWIG_From_int(static_cast< int >(result
));
36697 SWIGINTERN PyObject
*_wrap_Window_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36698 PyObject
*resultobj
= 0;
36699 wxWindow
*arg1
= (wxWindow
*) 0 ;
36700 wxString
*arg2
= 0 ;
36701 int *arg3
= (int *) 0 ;
36702 int *arg4
= (int *) 0 ;
36705 bool temp2
= false ;
36707 int res3
= SWIG_TMPOBJ
;
36709 int res4
= SWIG_TMPOBJ
;
36710 PyObject
* obj0
= 0 ;
36711 PyObject
* obj1
= 0 ;
36712 char * kwnames
[] = {
36713 (char *) "self",(char *) "string", NULL
36718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36719 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36720 if (!SWIG_IsOK(res1
)) {
36721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetTextExtent" "', expected argument " "1"" of type '" "wxWindow *""'");
36723 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36725 arg2
= wxString_in_helper(obj1
);
36726 if (arg2
== NULL
) SWIG_fail
;
36730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36731 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
36732 wxPyEndAllowThreads(__tstate
);
36733 if (PyErr_Occurred()) SWIG_fail
;
36735 resultobj
= SWIG_Py_Void();
36736 if (SWIG_IsTmpObj(res3
)) {
36737 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
36739 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
36740 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
36742 if (SWIG_IsTmpObj(res4
)) {
36743 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
36745 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
36746 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
36762 SWIGINTERN PyObject
*_wrap_Window_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36763 PyObject
*resultobj
= 0;
36764 wxWindow
*arg1
= (wxWindow
*) 0 ;
36765 wxString
*arg2
= 0 ;
36766 int *arg3
= (int *) 0 ;
36767 int *arg4
= (int *) 0 ;
36768 int *arg5
= (int *) 0 ;
36769 int *arg6
= (int *) 0 ;
36770 wxFont
*arg7
= (wxFont
*) NULL
;
36773 bool temp2
= false ;
36775 int res3
= SWIG_TMPOBJ
;
36777 int res4
= SWIG_TMPOBJ
;
36779 int res5
= SWIG_TMPOBJ
;
36781 int res6
= SWIG_TMPOBJ
;
36784 PyObject
* obj0
= 0 ;
36785 PyObject
* obj1
= 0 ;
36786 PyObject
* obj2
= 0 ;
36787 char * kwnames
[] = {
36788 (char *) "self",(char *) "string",(char *) "font", NULL
36795 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36796 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36797 if (!SWIG_IsOK(res1
)) {
36798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetFullTextExtent" "', expected argument " "1"" of type '" "wxWindow *""'");
36800 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36802 arg2
= wxString_in_helper(obj1
);
36803 if (arg2
== NULL
) SWIG_fail
;
36807 res7
= SWIG_ConvertPtr(obj2
, &argp7
,SWIGTYPE_p_wxFont
, 0 | 0 );
36808 if (!SWIG_IsOK(res7
)) {
36809 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "Window_GetFullTextExtent" "', expected argument " "7"" of type '" "wxFont const *""'");
36811 arg7
= reinterpret_cast< wxFont
* >(argp7
);
36814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36815 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
36816 wxPyEndAllowThreads(__tstate
);
36817 if (PyErr_Occurred()) SWIG_fail
;
36819 resultobj
= SWIG_Py_Void();
36820 if (SWIG_IsTmpObj(res3
)) {
36821 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
36823 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
36824 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
36826 if (SWIG_IsTmpObj(res4
)) {
36827 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
36829 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
36830 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
36832 if (SWIG_IsTmpObj(res5
)) {
36833 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
36835 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
36836 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
36838 if (SWIG_IsTmpObj(res6
)) {
36839 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg6
)));
36841 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
36842 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, new_flags
));
36858 SWIGINTERN PyObject
*_wrap_Window_ClientToScreenXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36859 PyObject
*resultobj
= 0;
36860 wxWindow
*arg1
= (wxWindow
*) 0 ;
36861 int *arg2
= (int *) 0 ;
36862 int *arg3
= (int *) 0 ;
36869 PyObject
* obj0
= 0 ;
36870 PyObject
* obj1
= 0 ;
36871 PyObject
* obj2
= 0 ;
36872 char * kwnames
[] = {
36873 (char *) "self",(char *) "x",(char *) "y", NULL
36876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36878 if (!SWIG_IsOK(res1
)) {
36879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ClientToScreenXY" "', expected argument " "1"" of type '" "wxWindow const *""'");
36881 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36882 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_int
,0))))) {
36884 int ecode
= SWIG_AsVal_int(obj1
, &val
);
36885 if (!SWIG_IsOK(ecode
)) {
36886 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "Window_ClientToScreenXY" "', expected argument " "2"" of type '" "int""'");
36888 temp2
= static_cast< int >(val
);
36890 res2
= SWIG_AddTmpMask(ecode
);
36892 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_int
,0))))) {
36894 int ecode
= SWIG_AsVal_int(obj2
, &val
);
36895 if (!SWIG_IsOK(ecode
)) {
36896 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "Window_ClientToScreenXY" "', expected argument " "3"" of type '" "int""'");
36898 temp3
= static_cast< int >(val
);
36900 res3
= SWIG_AddTmpMask(ecode
);
36903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36904 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
36905 wxPyEndAllowThreads(__tstate
);
36906 if (PyErr_Occurred()) SWIG_fail
;
36908 resultobj
= SWIG_Py_Void();
36909 if (SWIG_IsTmpObj(res2
)) {
36910 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
36912 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
36913 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
36915 if (SWIG_IsTmpObj(res3
)) {
36916 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
36918 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
36919 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
36927 SWIGINTERN PyObject
*_wrap_Window_ScreenToClientXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36928 PyObject
*resultobj
= 0;
36929 wxWindow
*arg1
= (wxWindow
*) 0 ;
36930 int *arg2
= (int *) 0 ;
36931 int *arg3
= (int *) 0 ;
36938 PyObject
* obj0
= 0 ;
36939 PyObject
* obj1
= 0 ;
36940 PyObject
* obj2
= 0 ;
36941 char * kwnames
[] = {
36942 (char *) "self",(char *) "x",(char *) "y", NULL
36945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36946 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36947 if (!SWIG_IsOK(res1
)) {
36948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ScreenToClientXY" "', expected argument " "1"" of type '" "wxWindow const *""'");
36950 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36951 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_int
,0))))) {
36953 int ecode
= SWIG_AsVal_int(obj1
, &val
);
36954 if (!SWIG_IsOK(ecode
)) {
36955 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "Window_ScreenToClientXY" "', expected argument " "2"" of type '" "int""'");
36957 temp2
= static_cast< int >(val
);
36959 res2
= SWIG_AddTmpMask(ecode
);
36961 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_int
,0))))) {
36963 int ecode
= SWIG_AsVal_int(obj2
, &val
);
36964 if (!SWIG_IsOK(ecode
)) {
36965 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "Window_ScreenToClientXY" "', expected argument " "3"" of type '" "int""'");
36967 temp3
= static_cast< int >(val
);
36969 res3
= SWIG_AddTmpMask(ecode
);
36972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36973 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
36974 wxPyEndAllowThreads(__tstate
);
36975 if (PyErr_Occurred()) SWIG_fail
;
36977 resultobj
= SWIG_Py_Void();
36978 if (SWIG_IsTmpObj(res2
)) {
36979 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
36981 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
36982 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
36984 if (SWIG_IsTmpObj(res3
)) {
36985 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
36987 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
36988 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
36996 SWIGINTERN PyObject
*_wrap_Window_ClientToScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36997 PyObject
*resultobj
= 0;
36998 wxWindow
*arg1
= (wxWindow
*) 0 ;
36999 wxPoint
*arg2
= 0 ;
37004 PyObject
* obj0
= 0 ;
37005 PyObject
* obj1
= 0 ;
37006 char * kwnames
[] = {
37007 (char *) "self",(char *) "pt", NULL
37010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37011 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37012 if (!SWIG_IsOK(res1
)) {
37013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ClientToScreen" "', expected argument " "1"" of type '" "wxWindow const *""'");
37015 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37018 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37022 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
37023 wxPyEndAllowThreads(__tstate
);
37024 if (PyErr_Occurred()) SWIG_fail
;
37026 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
37033 SWIGINTERN PyObject
*_wrap_Window_ScreenToClient(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37034 PyObject
*resultobj
= 0;
37035 wxWindow
*arg1
= (wxWindow
*) 0 ;
37036 wxPoint
*arg2
= 0 ;
37041 PyObject
* obj0
= 0 ;
37042 PyObject
* obj1
= 0 ;
37043 char * kwnames
[] = {
37044 (char *) "self",(char *) "pt", NULL
37047 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37048 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37049 if (!SWIG_IsOK(res1
)) {
37050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ScreenToClient" "', expected argument " "1"" of type '" "wxWindow const *""'");
37052 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37055 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37059 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
37060 wxPyEndAllowThreads(__tstate
);
37061 if (PyErr_Occurred()) SWIG_fail
;
37063 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
37070 SWIGINTERN PyObject
*_wrap_Window_HitTestXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37071 PyObject
*resultobj
= 0;
37072 wxWindow
*arg1
= (wxWindow
*) 0 ;
37082 PyObject
* obj0
= 0 ;
37083 PyObject
* obj1
= 0 ;
37084 PyObject
* obj2
= 0 ;
37085 char * kwnames
[] = {
37086 (char *) "self",(char *) "x",(char *) "y", NULL
37089 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37090 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37091 if (!SWIG_IsOK(res1
)) {
37092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_HitTestXY" "', expected argument " "1"" of type '" "wxWindow const *""'");
37094 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37095 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37096 if (!SWIG_IsOK(ecode2
)) {
37097 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_HitTestXY" "', expected argument " "2"" of type '" "int""'");
37099 arg2
= static_cast< int >(val2
);
37100 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37101 if (!SWIG_IsOK(ecode3
)) {
37102 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_HitTestXY" "', expected argument " "3"" of type '" "int""'");
37104 arg3
= static_cast< int >(val3
);
37106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37107 result
= (wxHitTest
)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
37108 wxPyEndAllowThreads(__tstate
);
37109 if (PyErr_Occurred()) SWIG_fail
;
37111 resultobj
= SWIG_From_int(static_cast< int >(result
));
37118 SWIGINTERN PyObject
*_wrap_Window_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37119 PyObject
*resultobj
= 0;
37120 wxWindow
*arg1
= (wxWindow
*) 0 ;
37121 wxPoint
*arg2
= 0 ;
37126 PyObject
* obj0
= 0 ;
37127 PyObject
* obj1
= 0 ;
37128 char * kwnames
[] = {
37129 (char *) "self",(char *) "pt", NULL
37132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37133 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37134 if (!SWIG_IsOK(res1
)) {
37135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_HitTest" "', expected argument " "1"" of type '" "wxWindow const *""'");
37137 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37140 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37144 result
= (wxHitTest
)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
37145 wxPyEndAllowThreads(__tstate
);
37146 if (PyErr_Occurred()) SWIG_fail
;
37148 resultobj
= SWIG_From_int(static_cast< int >(result
));
37155 SWIGINTERN PyObject
*_wrap_Window_GetBorder__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
37156 PyObject
*resultobj
= 0;
37157 wxWindow
*arg1
= (wxWindow
*) 0 ;
37165 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
37166 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37167 if (!SWIG_IsOK(res1
)) {
37168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetBorder" "', expected argument " "1"" of type '" "wxWindow const *""'");
37170 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37171 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
37172 if (!SWIG_IsOK(ecode2
)) {
37173 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_GetBorder" "', expected argument " "2"" of type '" "long""'");
37175 arg2
= static_cast< long >(val2
);
37177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37178 result
= (wxBorder
)((wxWindow
const *)arg1
)->GetBorder(arg2
);
37179 wxPyEndAllowThreads(__tstate
);
37180 if (PyErr_Occurred()) SWIG_fail
;
37182 resultobj
= SWIG_From_int(static_cast< int >(result
));
37189 SWIGINTERN PyObject
*_wrap_Window_GetBorder__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
37190 PyObject
*resultobj
= 0;
37191 wxWindow
*arg1
= (wxWindow
*) 0 ;
37196 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
37197 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37198 if (!SWIG_IsOK(res1
)) {
37199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetBorder" "', expected argument " "1"" of type '" "wxWindow const *""'");
37201 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37204 result
= (wxBorder
)((wxWindow
const *)arg1
)->GetBorder();
37205 wxPyEndAllowThreads(__tstate
);
37206 if (PyErr_Occurred()) SWIG_fail
;
37208 resultobj
= SWIG_From_int(static_cast< int >(result
));
37215 SWIGINTERN PyObject
*_wrap_Window_GetBorder(PyObject
*self
, PyObject
*args
) {
37219 if (!(argc
= SWIG_Python_UnpackTuple(args
,"Window_GetBorder",0,2,argv
))) SWIG_fail
;
37222 return _wrap_Window_GetBorder__SWIG_1(self
, argc
, argv
);
37225 return _wrap_Window_GetBorder__SWIG_0(self
, argc
, argv
);
37229 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'Window_GetBorder'");
37234 SWIGINTERN PyObject
*_wrap_Window_UpdateWindowUI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37235 PyObject
*resultobj
= 0;
37236 wxWindow
*arg1
= (wxWindow
*) 0 ;
37237 long arg2
= (long) wxUPDATE_UI_NONE
;
37242 PyObject
* obj0
= 0 ;
37243 PyObject
* obj1
= 0 ;
37244 char * kwnames
[] = {
37245 (char *) "self",(char *) "flags", NULL
37248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_UpdateWindowUI",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37249 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37250 if (!SWIG_IsOK(res1
)) {
37251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_UpdateWindowUI" "', expected argument " "1"" of type '" "wxWindow *""'");
37253 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37255 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
37256 if (!SWIG_IsOK(ecode2
)) {
37257 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_UpdateWindowUI" "', expected argument " "2"" of type '" "long""'");
37259 arg2
= static_cast< long >(val2
);
37262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37263 (arg1
)->UpdateWindowUI(arg2
);
37264 wxPyEndAllowThreads(__tstate
);
37265 if (PyErr_Occurred()) SWIG_fail
;
37267 resultobj
= SWIG_Py_Void();
37274 SWIGINTERN PyObject
*_wrap_Window_PopupMenuXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37275 PyObject
*resultobj
= 0;
37276 wxWindow
*arg1
= (wxWindow
*) 0 ;
37277 wxMenu
*arg2
= (wxMenu
*) 0 ;
37278 int arg3
= (int) -1 ;
37279 int arg4
= (int) -1 ;
37289 PyObject
* obj0
= 0 ;
37290 PyObject
* obj1
= 0 ;
37291 PyObject
* obj2
= 0 ;
37292 PyObject
* obj3
= 0 ;
37293 char * kwnames
[] = {
37294 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
37297 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37298 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37299 if (!SWIG_IsOK(res1
)) {
37300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_PopupMenuXY" "', expected argument " "1"" of type '" "wxWindow *""'");
37302 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37303 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
37304 if (!SWIG_IsOK(res2
)) {
37305 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_PopupMenuXY" "', expected argument " "2"" of type '" "wxMenu *""'");
37307 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
37309 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37310 if (!SWIG_IsOK(ecode3
)) {
37311 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_PopupMenuXY" "', expected argument " "3"" of type '" "int""'");
37313 arg3
= static_cast< int >(val3
);
37316 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37317 if (!SWIG_IsOK(ecode4
)) {
37318 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Window_PopupMenuXY" "', expected argument " "4"" of type '" "int""'");
37320 arg4
= static_cast< int >(val4
);
37323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37324 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
37325 wxPyEndAllowThreads(__tstate
);
37326 if (PyErr_Occurred()) SWIG_fail
;
37329 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37337 SWIGINTERN PyObject
*_wrap_Window_PopupMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37338 PyObject
*resultobj
= 0;
37339 wxWindow
*arg1
= (wxWindow
*) 0 ;
37340 wxMenu
*arg2
= (wxMenu
*) 0 ;
37341 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
37342 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
37349 PyObject
* obj0
= 0 ;
37350 PyObject
* obj1
= 0 ;
37351 PyObject
* obj2
= 0 ;
37352 char * kwnames
[] = {
37353 (char *) "self",(char *) "menu",(char *) "pos", NULL
37356 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37357 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37358 if (!SWIG_IsOK(res1
)) {
37359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_PopupMenu" "', expected argument " "1"" of type '" "wxWindow *""'");
37361 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37362 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
37363 if (!SWIG_IsOK(res2
)) {
37364 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
37366 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
37370 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37375 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
37376 wxPyEndAllowThreads(__tstate
);
37377 if (PyErr_Occurred()) SWIG_fail
;
37380 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37388 SWIGINTERN PyObject
*_wrap_Window_HasMultiplePages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37389 PyObject
*resultobj
= 0;
37390 wxWindow
*arg1
= (wxWindow
*) 0 ;
37394 PyObject
*swig_obj
[1] ;
37396 if (!args
) SWIG_fail
;
37397 swig_obj
[0] = args
;
37398 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37399 if (!SWIG_IsOK(res1
)) {
37400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_HasMultiplePages" "', expected argument " "1"" of type '" "wxWindow const *""'");
37402 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37405 result
= (bool)((wxWindow
const *)arg1
)->HasMultiplePages();
37406 wxPyEndAllowThreads(__tstate
);
37407 if (PyErr_Occurred()) SWIG_fail
;
37410 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37418 SWIGINTERN PyObject
*_wrap_Window_GetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37419 PyObject
*resultobj
= 0;
37420 wxWindow
*arg1
= (wxWindow
*) 0 ;
37424 PyObject
*swig_obj
[1] ;
37426 if (!args
) SWIG_fail
;
37427 swig_obj
[0] = args
;
37428 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37429 if (!SWIG_IsOK(res1
)) {
37430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetHandle" "', expected argument " "1"" of type '" "wxWindow *""'");
37432 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37435 result
= (long)wxWindow_GetHandle(arg1
);
37436 wxPyEndAllowThreads(__tstate
);
37437 if (PyErr_Occurred()) SWIG_fail
;
37439 resultobj
= SWIG_From_long(static_cast< long >(result
));
37446 SWIGINTERN PyObject
*_wrap_Window_AssociateHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37447 PyObject
*resultobj
= 0;
37448 wxWindow
*arg1
= (wxWindow
*) 0 ;
37454 PyObject
* obj0
= 0 ;
37455 PyObject
* obj1
= 0 ;
37456 char * kwnames
[] = {
37457 (char *) "self",(char *) "handle", NULL
37460 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AssociateHandle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37461 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37462 if (!SWIG_IsOK(res1
)) {
37463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_AssociateHandle" "', expected argument " "1"" of type '" "wxWindow *""'");
37465 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37466 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
37467 if (!SWIG_IsOK(ecode2
)) {
37468 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_AssociateHandle" "', expected argument " "2"" of type '" "long""'");
37470 arg2
= static_cast< long >(val2
);
37472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37473 wxWindow_AssociateHandle(arg1
,arg2
);
37474 wxPyEndAllowThreads(__tstate
);
37475 if (PyErr_Occurred()) SWIG_fail
;
37477 resultobj
= SWIG_Py_Void();
37484 SWIGINTERN PyObject
*_wrap_Window_DissociateHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37485 PyObject
*resultobj
= 0;
37486 wxWindow
*arg1
= (wxWindow
*) 0 ;
37489 PyObject
*swig_obj
[1] ;
37491 if (!args
) SWIG_fail
;
37492 swig_obj
[0] = args
;
37493 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37494 if (!SWIG_IsOK(res1
)) {
37495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_DissociateHandle" "', expected argument " "1"" of type '" "wxWindow *""'");
37497 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37500 (arg1
)->DissociateHandle();
37501 wxPyEndAllowThreads(__tstate
);
37502 if (PyErr_Occurred()) SWIG_fail
;
37504 resultobj
= SWIG_Py_Void();
37511 SWIGINTERN PyObject
*_wrap_Window_OnPaint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37512 PyObject
*resultobj
= 0;
37513 wxWindow
*arg1
= (wxWindow
*) 0 ;
37514 wxPaintEvent
*arg2
= 0 ;
37519 PyObject
* obj0
= 0 ;
37520 PyObject
* obj1
= 0 ;
37521 char * kwnames
[] = {
37522 (char *) "self",(char *) "event", NULL
37525 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_OnPaint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37526 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37527 if (!SWIG_IsOK(res1
)) {
37528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_OnPaint" "', expected argument " "1"" of type '" "wxWindow *""'");
37530 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37531 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPaintEvent
, 0 );
37532 if (!SWIG_IsOK(res2
)) {
37533 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_OnPaint" "', expected argument " "2"" of type '" "wxPaintEvent &""'");
37536 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Window_OnPaint" "', expected argument " "2"" of type '" "wxPaintEvent &""'");
37538 arg2
= reinterpret_cast< wxPaintEvent
* >(argp2
);
37540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37541 (arg1
)->OnPaint(*arg2
);
37542 wxPyEndAllowThreads(__tstate
);
37543 if (PyErr_Occurred()) SWIG_fail
;
37545 resultobj
= SWIG_Py_Void();
37552 SWIGINTERN PyObject
*_wrap_Window_HasScrollbar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37553 PyObject
*resultobj
= 0;
37554 wxWindow
*arg1
= (wxWindow
*) 0 ;
37561 PyObject
* obj0
= 0 ;
37562 PyObject
* obj1
= 0 ;
37563 char * kwnames
[] = {
37564 (char *) "self",(char *) "orient", NULL
37567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasScrollbar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37568 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37569 if (!SWIG_IsOK(res1
)) {
37570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_HasScrollbar" "', expected argument " "1"" of type '" "wxWindow const *""'");
37572 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37573 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37574 if (!SWIG_IsOK(ecode2
)) {
37575 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_HasScrollbar" "', expected argument " "2"" of type '" "int""'");
37577 arg2
= static_cast< int >(val2
);
37579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37580 result
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
37581 wxPyEndAllowThreads(__tstate
);
37582 if (PyErr_Occurred()) SWIG_fail
;
37585 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37593 SWIGINTERN PyObject
*_wrap_Window_SetScrollbar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37594 PyObject
*resultobj
= 0;
37595 wxWindow
*arg1
= (wxWindow
*) 0 ;
37600 bool arg6
= (bool) true ;
37613 PyObject
* obj0
= 0 ;
37614 PyObject
* obj1
= 0 ;
37615 PyObject
* obj2
= 0 ;
37616 PyObject
* obj3
= 0 ;
37617 PyObject
* obj4
= 0 ;
37618 PyObject
* obj5
= 0 ;
37619 char * kwnames
[] = {
37620 (char *) "self",(char *) "orientation",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "refresh", NULL
37623 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
37624 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37625 if (!SWIG_IsOK(res1
)) {
37626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetScrollbar" "', expected argument " "1"" of type '" "wxWindow *""'");
37628 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37629 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37630 if (!SWIG_IsOK(ecode2
)) {
37631 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetScrollbar" "', expected argument " "2"" of type '" "int""'");
37633 arg2
= static_cast< int >(val2
);
37634 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37635 if (!SWIG_IsOK(ecode3
)) {
37636 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_SetScrollbar" "', expected argument " "3"" of type '" "int""'");
37638 arg3
= static_cast< int >(val3
);
37639 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37640 if (!SWIG_IsOK(ecode4
)) {
37641 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Window_SetScrollbar" "', expected argument " "4"" of type '" "int""'");
37643 arg4
= static_cast< int >(val4
);
37644 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37645 if (!SWIG_IsOK(ecode5
)) {
37646 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Window_SetScrollbar" "', expected argument " "5"" of type '" "int""'");
37648 arg5
= static_cast< int >(val5
);
37650 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
37651 if (!SWIG_IsOK(ecode6
)) {
37652 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Window_SetScrollbar" "', expected argument " "6"" of type '" "bool""'");
37654 arg6
= static_cast< bool >(val6
);
37657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37658 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
37659 wxPyEndAllowThreads(__tstate
);
37660 if (PyErr_Occurred()) SWIG_fail
;
37662 resultobj
= SWIG_Py_Void();
37669 SWIGINTERN PyObject
*_wrap_Window_SetScrollPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37670 PyObject
*resultobj
= 0;
37671 wxWindow
*arg1
= (wxWindow
*) 0 ;
37674 bool arg4
= (bool) true ;
37683 PyObject
* obj0
= 0 ;
37684 PyObject
* obj1
= 0 ;
37685 PyObject
* obj2
= 0 ;
37686 PyObject
* obj3
= 0 ;
37687 char * kwnames
[] = {
37688 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
37691 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_SetScrollPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37692 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37693 if (!SWIG_IsOK(res1
)) {
37694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetScrollPos" "', expected argument " "1"" of type '" "wxWindow *""'");
37696 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37697 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37698 if (!SWIG_IsOK(ecode2
)) {
37699 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetScrollPos" "', expected argument " "2"" of type '" "int""'");
37701 arg2
= static_cast< int >(val2
);
37702 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37703 if (!SWIG_IsOK(ecode3
)) {
37704 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_SetScrollPos" "', expected argument " "3"" of type '" "int""'");
37706 arg3
= static_cast< int >(val3
);
37708 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
37709 if (!SWIG_IsOK(ecode4
)) {
37710 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Window_SetScrollPos" "', expected argument " "4"" of type '" "bool""'");
37712 arg4
= static_cast< bool >(val4
);
37715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37716 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
37717 wxPyEndAllowThreads(__tstate
);
37718 if (PyErr_Occurred()) SWIG_fail
;
37720 resultobj
= SWIG_Py_Void();
37727 SWIGINTERN PyObject
*_wrap_Window_GetScrollPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37728 PyObject
*resultobj
= 0;
37729 wxWindow
*arg1
= (wxWindow
*) 0 ;
37736 PyObject
* obj0
= 0 ;
37737 PyObject
* obj1
= 0 ;
37738 char * kwnames
[] = {
37739 (char *) "self",(char *) "orientation", NULL
37742 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37743 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37744 if (!SWIG_IsOK(res1
)) {
37745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetScrollPos" "', expected argument " "1"" of type '" "wxWindow const *""'");
37747 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37748 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37749 if (!SWIG_IsOK(ecode2
)) {
37750 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_GetScrollPos" "', expected argument " "2"" of type '" "int""'");
37752 arg2
= static_cast< int >(val2
);
37754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37755 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
37756 wxPyEndAllowThreads(__tstate
);
37757 if (PyErr_Occurred()) SWIG_fail
;
37759 resultobj
= SWIG_From_int(static_cast< int >(result
));
37766 SWIGINTERN PyObject
*_wrap_Window_GetScrollThumb(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37767 PyObject
*resultobj
= 0;
37768 wxWindow
*arg1
= (wxWindow
*) 0 ;
37775 PyObject
* obj0
= 0 ;
37776 PyObject
* obj1
= 0 ;
37777 char * kwnames
[] = {
37778 (char *) "self",(char *) "orientation", NULL
37781 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollThumb",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37782 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37783 if (!SWIG_IsOK(res1
)) {
37784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetScrollThumb" "', expected argument " "1"" of type '" "wxWindow const *""'");
37786 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37787 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37788 if (!SWIG_IsOK(ecode2
)) {
37789 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_GetScrollThumb" "', expected argument " "2"" of type '" "int""'");
37791 arg2
= static_cast< int >(val2
);
37793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37794 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
37795 wxPyEndAllowThreads(__tstate
);
37796 if (PyErr_Occurred()) SWIG_fail
;
37798 resultobj
= SWIG_From_int(static_cast< int >(result
));
37805 SWIGINTERN PyObject
*_wrap_Window_GetScrollRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37806 PyObject
*resultobj
= 0;
37807 wxWindow
*arg1
= (wxWindow
*) 0 ;
37814 PyObject
* obj0
= 0 ;
37815 PyObject
* obj1
= 0 ;
37816 char * kwnames
[] = {
37817 (char *) "self",(char *) "orientation", NULL
37820 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollRange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37821 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37822 if (!SWIG_IsOK(res1
)) {
37823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetScrollRange" "', expected argument " "1"" of type '" "wxWindow const *""'");
37825 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37826 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37827 if (!SWIG_IsOK(ecode2
)) {
37828 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_GetScrollRange" "', expected argument " "2"" of type '" "int""'");
37830 arg2
= static_cast< int >(val2
);
37832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37833 result
= (int)((wxWindow
const *)arg1
)->GetScrollRange(arg2
);
37834 wxPyEndAllowThreads(__tstate
);
37835 if (PyErr_Occurred()) SWIG_fail
;
37837 resultobj
= SWIG_From_int(static_cast< int >(result
));
37844 SWIGINTERN PyObject
*_wrap_Window_ScrollWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37845 PyObject
*resultobj
= 0;
37846 wxWindow
*arg1
= (wxWindow
*) 0 ;
37849 wxRect
*arg4
= (wxRect
*) NULL
;
37858 PyObject
* obj0
= 0 ;
37859 PyObject
* obj1
= 0 ;
37860 PyObject
* obj2
= 0 ;
37861 PyObject
* obj3
= 0 ;
37862 char * kwnames
[] = {
37863 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
37866 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_ScrollWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37867 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37868 if (!SWIG_IsOK(res1
)) {
37869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ScrollWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
37871 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37872 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37873 if (!SWIG_IsOK(ecode2
)) {
37874 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_ScrollWindow" "', expected argument " "2"" of type '" "int""'");
37876 arg2
= static_cast< int >(val2
);
37877 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37878 if (!SWIG_IsOK(ecode3
)) {
37879 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_ScrollWindow" "', expected argument " "3"" of type '" "int""'");
37881 arg3
= static_cast< int >(val3
);
37883 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxRect
, 0 | 0 );
37884 if (!SWIG_IsOK(res4
)) {
37885 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Window_ScrollWindow" "', expected argument " "4"" of type '" "wxRect const *""'");
37887 arg4
= reinterpret_cast< wxRect
* >(argp4
);
37890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37891 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
37892 wxPyEndAllowThreads(__tstate
);
37893 if (PyErr_Occurred()) SWIG_fail
;
37895 resultobj
= SWIG_Py_Void();
37902 SWIGINTERN PyObject
*_wrap_Window_ScrollLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37903 PyObject
*resultobj
= 0;
37904 wxWindow
*arg1
= (wxWindow
*) 0 ;
37911 PyObject
* obj0
= 0 ;
37912 PyObject
* obj1
= 0 ;
37913 char * kwnames
[] = {
37914 (char *) "self",(char *) "lines", NULL
37917 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollLines",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37918 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37919 if (!SWIG_IsOK(res1
)) {
37920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ScrollLines" "', expected argument " "1"" of type '" "wxWindow *""'");
37922 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37923 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37924 if (!SWIG_IsOK(ecode2
)) {
37925 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_ScrollLines" "', expected argument " "2"" of type '" "int""'");
37927 arg2
= static_cast< int >(val2
);
37929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37930 result
= (bool)(arg1
)->ScrollLines(arg2
);
37931 wxPyEndAllowThreads(__tstate
);
37932 if (PyErr_Occurred()) SWIG_fail
;
37935 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37943 SWIGINTERN PyObject
*_wrap_Window_ScrollPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37944 PyObject
*resultobj
= 0;
37945 wxWindow
*arg1
= (wxWindow
*) 0 ;
37952 PyObject
* obj0
= 0 ;
37953 PyObject
* obj1
= 0 ;
37954 char * kwnames
[] = {
37955 (char *) "self",(char *) "pages", NULL
37958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollPages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37959 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37960 if (!SWIG_IsOK(res1
)) {
37961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ScrollPages" "', expected argument " "1"" of type '" "wxWindow *""'");
37963 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37964 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37965 if (!SWIG_IsOK(ecode2
)) {
37966 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_ScrollPages" "', expected argument " "2"" of type '" "int""'");
37968 arg2
= static_cast< int >(val2
);
37970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37971 result
= (bool)(arg1
)->ScrollPages(arg2
);
37972 wxPyEndAllowThreads(__tstate
);
37973 if (PyErr_Occurred()) SWIG_fail
;
37976 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37984 SWIGINTERN PyObject
*_wrap_Window_LineUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37985 PyObject
*resultobj
= 0;
37986 wxWindow
*arg1
= (wxWindow
*) 0 ;
37990 PyObject
*swig_obj
[1] ;
37992 if (!args
) SWIG_fail
;
37993 swig_obj
[0] = args
;
37994 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37995 if (!SWIG_IsOK(res1
)) {
37996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_LineUp" "', expected argument " "1"" of type '" "wxWindow *""'");
37998 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38001 result
= (bool)(arg1
)->LineUp();
38002 wxPyEndAllowThreads(__tstate
);
38003 if (PyErr_Occurred()) SWIG_fail
;
38006 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38014 SWIGINTERN PyObject
*_wrap_Window_LineDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38015 PyObject
*resultobj
= 0;
38016 wxWindow
*arg1
= (wxWindow
*) 0 ;
38020 PyObject
*swig_obj
[1] ;
38022 if (!args
) SWIG_fail
;
38023 swig_obj
[0] = args
;
38024 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38025 if (!SWIG_IsOK(res1
)) {
38026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_LineDown" "', expected argument " "1"" of type '" "wxWindow *""'");
38028 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38031 result
= (bool)(arg1
)->LineDown();
38032 wxPyEndAllowThreads(__tstate
);
38033 if (PyErr_Occurred()) SWIG_fail
;
38036 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38044 SWIGINTERN PyObject
*_wrap_Window_PageUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38045 PyObject
*resultobj
= 0;
38046 wxWindow
*arg1
= (wxWindow
*) 0 ;
38050 PyObject
*swig_obj
[1] ;
38052 if (!args
) SWIG_fail
;
38053 swig_obj
[0] = args
;
38054 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38055 if (!SWIG_IsOK(res1
)) {
38056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_PageUp" "', expected argument " "1"" of type '" "wxWindow *""'");
38058 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38061 result
= (bool)(arg1
)->PageUp();
38062 wxPyEndAllowThreads(__tstate
);
38063 if (PyErr_Occurred()) SWIG_fail
;
38066 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38074 SWIGINTERN PyObject
*_wrap_Window_PageDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38075 PyObject
*resultobj
= 0;
38076 wxWindow
*arg1
= (wxWindow
*) 0 ;
38080 PyObject
*swig_obj
[1] ;
38082 if (!args
) SWIG_fail
;
38083 swig_obj
[0] = args
;
38084 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38085 if (!SWIG_IsOK(res1
)) {
38086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_PageDown" "', expected argument " "1"" of type '" "wxWindow *""'");
38088 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38091 result
= (bool)(arg1
)->PageDown();
38092 wxPyEndAllowThreads(__tstate
);
38093 if (PyErr_Occurred()) SWIG_fail
;
38096 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38104 SWIGINTERN PyObject
*_wrap_Window_SetHelpText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38105 PyObject
*resultobj
= 0;
38106 wxWindow
*arg1
= (wxWindow
*) 0 ;
38107 wxString
*arg2
= 0 ;
38110 bool temp2
= false ;
38111 PyObject
* obj0
= 0 ;
38112 PyObject
* obj1
= 0 ;
38113 char * kwnames
[] = {
38114 (char *) "self",(char *) "text", NULL
38117 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38118 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38119 if (!SWIG_IsOK(res1
)) {
38120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetHelpText" "', expected argument " "1"" of type '" "wxWindow *""'");
38122 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38124 arg2
= wxString_in_helper(obj1
);
38125 if (arg2
== NULL
) SWIG_fail
;
38129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38130 (arg1
)->SetHelpText((wxString
const &)*arg2
);
38131 wxPyEndAllowThreads(__tstate
);
38132 if (PyErr_Occurred()) SWIG_fail
;
38134 resultobj
= SWIG_Py_Void();
38149 SWIGINTERN PyObject
*_wrap_Window_SetHelpTextForId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38150 PyObject
*resultobj
= 0;
38151 wxWindow
*arg1
= (wxWindow
*) 0 ;
38152 wxString
*arg2
= 0 ;
38155 bool temp2
= false ;
38156 PyObject
* obj0
= 0 ;
38157 PyObject
* obj1
= 0 ;
38158 char * kwnames
[] = {
38159 (char *) "self",(char *) "text", NULL
38162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38163 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38164 if (!SWIG_IsOK(res1
)) {
38165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetHelpTextForId" "', expected argument " "1"" of type '" "wxWindow *""'");
38167 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38169 arg2
= wxString_in_helper(obj1
);
38170 if (arg2
== NULL
) SWIG_fail
;
38174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38175 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
38176 wxPyEndAllowThreads(__tstate
);
38177 if (PyErr_Occurred()) SWIG_fail
;
38179 resultobj
= SWIG_Py_Void();
38194 SWIGINTERN PyObject
*_wrap_Window_GetHelpTextAtPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38195 PyObject
*resultobj
= 0;
38196 wxWindow
*arg1
= (wxWindow
*) 0 ;
38197 wxPoint
*arg2
= 0 ;
38198 wxHelpEvent::Origin arg3
;
38205 PyObject
* obj0
= 0 ;
38206 PyObject
* obj1
= 0 ;
38207 PyObject
* obj2
= 0 ;
38208 char * kwnames
[] = {
38209 (char *) "self",(char *) "pt",(char *) "origin", NULL
38212 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_GetHelpTextAtPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38213 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38214 if (!SWIG_IsOK(res1
)) {
38215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetHelpTextAtPoint" "', expected argument " "1"" of type '" "wxWindow const *""'");
38217 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38220 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
38223 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxHelpEvent__Origin
, 0 | 0);
38224 if (!SWIG_IsOK(res3
)) {
38225 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Window_GetHelpTextAtPoint" "', expected argument " "3"" of type '" "wxHelpEvent::Origin""'");
38228 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Window_GetHelpTextAtPoint" "', expected argument " "3"" of type '" "wxHelpEvent::Origin""'");
38230 wxHelpEvent::Origin
* temp
= reinterpret_cast< wxHelpEvent::Origin
* >(argp3
);
38232 if (SWIG_IsNewObj(res3
)) delete temp
;
38236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38237 result
= ((wxWindow
const *)arg1
)->GetHelpTextAtPoint((wxPoint
const &)*arg2
,arg3
);
38238 wxPyEndAllowThreads(__tstate
);
38239 if (PyErr_Occurred()) SWIG_fail
;
38243 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38245 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38254 SWIGINTERN PyObject
*_wrap_Window_GetHelpText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38255 PyObject
*resultobj
= 0;
38256 wxWindow
*arg1
= (wxWindow
*) 0 ;
38260 PyObject
*swig_obj
[1] ;
38262 if (!args
) SWIG_fail
;
38263 swig_obj
[0] = args
;
38264 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38265 if (!SWIG_IsOK(res1
)) {
38266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetHelpText" "', expected argument " "1"" of type '" "wxWindow const *""'");
38268 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38271 result
= ((wxWindow
const *)arg1
)->GetHelpText();
38272 wxPyEndAllowThreads(__tstate
);
38273 if (PyErr_Occurred()) SWIG_fail
;
38277 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38279 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38288 SWIGINTERN PyObject
*_wrap_Window_SetToolTipString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38289 PyObject
*resultobj
= 0;
38290 wxWindow
*arg1
= (wxWindow
*) 0 ;
38291 wxString
*arg2
= 0 ;
38294 bool temp2
= false ;
38295 PyObject
* obj0
= 0 ;
38296 PyObject
* obj1
= 0 ;
38297 char * kwnames
[] = {
38298 (char *) "self",(char *) "tip", NULL
38301 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38302 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38303 if (!SWIG_IsOK(res1
)) {
38304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetToolTipString" "', expected argument " "1"" of type '" "wxWindow *""'");
38306 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38308 arg2
= wxString_in_helper(obj1
);
38309 if (arg2
== NULL
) SWIG_fail
;
38313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38314 (arg1
)->SetToolTip((wxString
const &)*arg2
);
38315 wxPyEndAllowThreads(__tstate
);
38316 if (PyErr_Occurred()) SWIG_fail
;
38318 resultobj
= SWIG_Py_Void();
38333 SWIGINTERN PyObject
*_wrap_Window_SetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38334 PyObject
*resultobj
= 0;
38335 wxWindow
*arg1
= (wxWindow
*) 0 ;
38336 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
38340 PyObject
* obj0
= 0 ;
38341 PyObject
* obj1
= 0 ;
38342 char * kwnames
[] = {
38343 (char *) "self",(char *) "tip", NULL
38346 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38347 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38348 if (!SWIG_IsOK(res1
)) {
38349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetToolTip" "', expected argument " "1"" of type '" "wxWindow *""'");
38351 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38352 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxToolTip
, SWIG_POINTER_DISOWN
| 0 );
38353 if (!SWIG_IsOK(res2
)) {
38354 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetToolTip" "', expected argument " "2"" of type '" "wxToolTip *""'");
38357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38358 (arg1
)->SetToolTip(arg2
);
38359 wxPyEndAllowThreads(__tstate
);
38360 if (PyErr_Occurred()) SWIG_fail
;
38362 resultobj
= SWIG_Py_Void();
38369 SWIGINTERN PyObject
*_wrap_Window_GetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38370 PyObject
*resultobj
= 0;
38371 wxWindow
*arg1
= (wxWindow
*) 0 ;
38372 wxToolTip
*result
= 0 ;
38375 PyObject
*swig_obj
[1] ;
38377 if (!args
) SWIG_fail
;
38378 swig_obj
[0] = args
;
38379 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38380 if (!SWIG_IsOK(res1
)) {
38381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetToolTip" "', expected argument " "1"" of type '" "wxWindow const *""'");
38383 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38386 result
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
38387 wxPyEndAllowThreads(__tstate
);
38388 if (PyErr_Occurred()) SWIG_fail
;
38391 resultobj
= wxPyMake_wxObject(result
, (bool)0);
38399 SWIGINTERN PyObject
*_wrap_Window_SetDropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38400 PyObject
*resultobj
= 0;
38401 wxWindow
*arg1
= (wxWindow
*) 0 ;
38402 wxPyDropTarget
*arg2
= (wxPyDropTarget
*) 0 ;
38406 PyObject
* obj0
= 0 ;
38407 PyObject
* obj1
= 0 ;
38408 char * kwnames
[] = {
38409 (char *) "self",(char *) "dropTarget", NULL
38412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38413 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38414 if (!SWIG_IsOK(res1
)) {
38415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetDropTarget" "', expected argument " "1"" of type '" "wxWindow *""'");
38417 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38418 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_DISOWN
| 0 );
38419 if (!SWIG_IsOK(res2
)) {
38420 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetDropTarget" "', expected argument " "2"" of type '" "wxPyDropTarget *""'");
38423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38424 (arg1
)->SetDropTarget(arg2
);
38425 wxPyEndAllowThreads(__tstate
);
38426 if (PyErr_Occurred()) SWIG_fail
;
38428 resultobj
= SWIG_Py_Void();
38435 SWIGINTERN PyObject
*_wrap_Window_GetDropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38436 PyObject
*resultobj
= 0;
38437 wxWindow
*arg1
= (wxWindow
*) 0 ;
38438 wxPyDropTarget
*result
= 0 ;
38441 PyObject
*swig_obj
[1] ;
38443 if (!args
) SWIG_fail
;
38444 swig_obj
[0] = args
;
38445 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38446 if (!SWIG_IsOK(res1
)) {
38447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetDropTarget" "', expected argument " "1"" of type '" "wxWindow const *""'");
38449 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38452 result
= (wxPyDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
38453 wxPyEndAllowThreads(__tstate
);
38454 if (PyErr_Occurred()) SWIG_fail
;
38456 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
38463 SWIGINTERN PyObject
*_wrap_Window_DragAcceptFiles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38464 PyObject
*resultobj
= 0;
38465 wxWindow
*arg1
= (wxWindow
*) 0 ;
38471 PyObject
* obj0
= 0 ;
38472 PyObject
* obj1
= 0 ;
38473 char * kwnames
[] = {
38474 (char *) "self",(char *) "accept", NULL
38477 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DragAcceptFiles",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38478 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38479 if (!SWIG_IsOK(res1
)) {
38480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_DragAcceptFiles" "', expected argument " "1"" of type '" "wxWindow *""'");
38482 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38483 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
38484 if (!SWIG_IsOK(ecode2
)) {
38485 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_DragAcceptFiles" "', expected argument " "2"" of type '" "bool""'");
38487 arg2
= static_cast< bool >(val2
);
38489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38490 (arg1
)->DragAcceptFiles(arg2
);
38491 wxPyEndAllowThreads(__tstate
);
38492 if (PyErr_Occurred()) SWIG_fail
;
38494 resultobj
= SWIG_Py_Void();
38501 SWIGINTERN PyObject
*_wrap_Window_SetConstraints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38502 PyObject
*resultobj
= 0;
38503 wxWindow
*arg1
= (wxWindow
*) 0 ;
38504 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
38508 PyObject
* obj0
= 0 ;
38509 PyObject
* obj1
= 0 ;
38510 char * kwnames
[] = {
38511 (char *) "self",(char *) "constraints", NULL
38514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38515 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38516 if (!SWIG_IsOK(res1
)) {
38517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetConstraints" "', expected argument " "1"" of type '" "wxWindow *""'");
38519 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38520 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_DISOWN
| 0 );
38521 if (!SWIG_IsOK(res2
)) {
38522 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetConstraints" "', expected argument " "2"" of type '" "wxLayoutConstraints *""'");
38525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38526 (arg1
)->SetConstraints(arg2
);
38527 wxPyEndAllowThreads(__tstate
);
38528 if (PyErr_Occurred()) SWIG_fail
;
38530 resultobj
= SWIG_Py_Void();
38537 SWIGINTERN PyObject
*_wrap_Window_GetConstraints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38538 PyObject
*resultobj
= 0;
38539 wxWindow
*arg1
= (wxWindow
*) 0 ;
38540 wxLayoutConstraints
*result
= 0 ;
38543 PyObject
*swig_obj
[1] ;
38545 if (!args
) SWIG_fail
;
38546 swig_obj
[0] = args
;
38547 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38548 if (!SWIG_IsOK(res1
)) {
38549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetConstraints" "', expected argument " "1"" of type '" "wxWindow const *""'");
38551 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38554 result
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
38555 wxPyEndAllowThreads(__tstate
);
38556 if (PyErr_Occurred()) SWIG_fail
;
38558 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
38565 SWIGINTERN PyObject
*_wrap_Window_SetAutoLayout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38566 PyObject
*resultobj
= 0;
38567 wxWindow
*arg1
= (wxWindow
*) 0 ;
38573 PyObject
* obj0
= 0 ;
38574 PyObject
* obj1
= 0 ;
38575 char * kwnames
[] = {
38576 (char *) "self",(char *) "autoLayout", NULL
38579 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38580 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38581 if (!SWIG_IsOK(res1
)) {
38582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetAutoLayout" "', expected argument " "1"" of type '" "wxWindow *""'");
38584 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38585 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
38586 if (!SWIG_IsOK(ecode2
)) {
38587 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetAutoLayout" "', expected argument " "2"" of type '" "bool""'");
38589 arg2
= static_cast< bool >(val2
);
38591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38592 (arg1
)->SetAutoLayout(arg2
);
38593 wxPyEndAllowThreads(__tstate
);
38594 if (PyErr_Occurred()) SWIG_fail
;
38596 resultobj
= SWIG_Py_Void();
38603 SWIGINTERN PyObject
*_wrap_Window_GetAutoLayout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38604 PyObject
*resultobj
= 0;
38605 wxWindow
*arg1
= (wxWindow
*) 0 ;
38609 PyObject
*swig_obj
[1] ;
38611 if (!args
) SWIG_fail
;
38612 swig_obj
[0] = args
;
38613 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38614 if (!SWIG_IsOK(res1
)) {
38615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetAutoLayout" "', expected argument " "1"" of type '" "wxWindow const *""'");
38617 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38620 result
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
38621 wxPyEndAllowThreads(__tstate
);
38622 if (PyErr_Occurred()) SWIG_fail
;
38625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38633 SWIGINTERN PyObject
*_wrap_Window_Layout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38634 PyObject
*resultobj
= 0;
38635 wxWindow
*arg1
= (wxWindow
*) 0 ;
38639 PyObject
*swig_obj
[1] ;
38641 if (!args
) SWIG_fail
;
38642 swig_obj
[0] = args
;
38643 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38644 if (!SWIG_IsOK(res1
)) {
38645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Layout" "', expected argument " "1"" of type '" "wxWindow *""'");
38647 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38650 result
= (bool)(arg1
)->Layout();
38651 wxPyEndAllowThreads(__tstate
);
38652 if (PyErr_Occurred()) SWIG_fail
;
38655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38663 SWIGINTERN PyObject
*_wrap_Window_SetSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38664 PyObject
*resultobj
= 0;
38665 wxWindow
*arg1
= (wxWindow
*) 0 ;
38666 wxSizer
*arg2
= (wxSizer
*) 0 ;
38667 bool arg3
= (bool) true ;
38673 PyObject
* obj0
= 0 ;
38674 PyObject
* obj1
= 0 ;
38675 PyObject
* obj2
= 0 ;
38676 char * kwnames
[] = {
38677 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
38680 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38681 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38682 if (!SWIG_IsOK(res1
)) {
38683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetSizer" "', expected argument " "1"" of type '" "wxWindow *""'");
38685 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38686 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxSizer
, SWIG_POINTER_DISOWN
| 0 );
38687 if (!SWIG_IsOK(res2
)) {
38688 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetSizer" "', expected argument " "2"" of type '" "wxSizer *""'");
38691 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
38692 if (!SWIG_IsOK(ecode3
)) {
38693 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_SetSizer" "', expected argument " "3"" of type '" "bool""'");
38695 arg3
= static_cast< bool >(val3
);
38698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38699 (arg1
)->SetSizer(arg2
,arg3
);
38700 wxPyEndAllowThreads(__tstate
);
38701 if (PyErr_Occurred()) SWIG_fail
;
38703 resultobj
= SWIG_Py_Void();
38710 SWIGINTERN PyObject
*_wrap_Window_SetSizerAndFit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38711 PyObject
*resultobj
= 0;
38712 wxWindow
*arg1
= (wxWindow
*) 0 ;
38713 wxSizer
*arg2
= (wxSizer
*) 0 ;
38714 bool arg3
= (bool) true ;
38720 PyObject
* obj0
= 0 ;
38721 PyObject
* obj1
= 0 ;
38722 PyObject
* obj2
= 0 ;
38723 char * kwnames
[] = {
38724 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
38727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38728 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38729 if (!SWIG_IsOK(res1
)) {
38730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetSizerAndFit" "', expected argument " "1"" of type '" "wxWindow *""'");
38732 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38733 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxSizer
, SWIG_POINTER_DISOWN
| 0 );
38734 if (!SWIG_IsOK(res2
)) {
38735 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetSizerAndFit" "', expected argument " "2"" of type '" "wxSizer *""'");
38738 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
38739 if (!SWIG_IsOK(ecode3
)) {
38740 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_SetSizerAndFit" "', expected argument " "3"" of type '" "bool""'");
38742 arg3
= static_cast< bool >(val3
);
38745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38746 (arg1
)->SetSizerAndFit(arg2
,arg3
);
38747 wxPyEndAllowThreads(__tstate
);
38748 if (PyErr_Occurred()) SWIG_fail
;
38750 resultobj
= SWIG_Py_Void();
38757 SWIGINTERN PyObject
*_wrap_Window_GetSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38758 PyObject
*resultobj
= 0;
38759 wxWindow
*arg1
= (wxWindow
*) 0 ;
38760 wxSizer
*result
= 0 ;
38763 PyObject
*swig_obj
[1] ;
38765 if (!args
) SWIG_fail
;
38766 swig_obj
[0] = args
;
38767 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38768 if (!SWIG_IsOK(res1
)) {
38769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetSizer" "', expected argument " "1"" of type '" "wxWindow const *""'");
38771 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38774 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
38775 wxPyEndAllowThreads(__tstate
);
38776 if (PyErr_Occurred()) SWIG_fail
;
38779 resultobj
= wxPyMake_wxObject(result
, (bool)0);
38787 SWIGINTERN PyObject
*_wrap_Window_SetContainingSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38788 PyObject
*resultobj
= 0;
38789 wxWindow
*arg1
= (wxWindow
*) 0 ;
38790 wxSizer
*arg2
= (wxSizer
*) 0 ;
38795 PyObject
* obj0
= 0 ;
38796 PyObject
* obj1
= 0 ;
38797 char * kwnames
[] = {
38798 (char *) "self",(char *) "sizer", NULL
38801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38802 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38803 if (!SWIG_IsOK(res1
)) {
38804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetContainingSizer" "', expected argument " "1"" of type '" "wxWindow *""'");
38806 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38807 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxSizer
, 0 | 0 );
38808 if (!SWIG_IsOK(res2
)) {
38809 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetContainingSizer" "', expected argument " "2"" of type '" "wxSizer *""'");
38811 arg2
= reinterpret_cast< wxSizer
* >(argp2
);
38813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38814 (arg1
)->SetContainingSizer(arg2
);
38815 wxPyEndAllowThreads(__tstate
);
38816 if (PyErr_Occurred()) SWIG_fail
;
38818 resultobj
= SWIG_Py_Void();
38825 SWIGINTERN PyObject
*_wrap_Window_GetContainingSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38826 PyObject
*resultobj
= 0;
38827 wxWindow
*arg1
= (wxWindow
*) 0 ;
38828 wxSizer
*result
= 0 ;
38831 PyObject
*swig_obj
[1] ;
38833 if (!args
) SWIG_fail
;
38834 swig_obj
[0] = args
;
38835 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38836 if (!SWIG_IsOK(res1
)) {
38837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetContainingSizer" "', expected argument " "1"" of type '" "wxWindow const *""'");
38839 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38842 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetContainingSizer();
38843 wxPyEndAllowThreads(__tstate
);
38844 if (PyErr_Occurred()) SWIG_fail
;
38847 resultobj
= wxPyMake_wxObject(result
, (bool)0);
38855 SWIGINTERN PyObject
*_wrap_Window_InheritAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38856 PyObject
*resultobj
= 0;
38857 wxWindow
*arg1
= (wxWindow
*) 0 ;
38860 PyObject
*swig_obj
[1] ;
38862 if (!args
) SWIG_fail
;
38863 swig_obj
[0] = args
;
38864 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38865 if (!SWIG_IsOK(res1
)) {
38866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_InheritAttributes" "', expected argument " "1"" of type '" "wxWindow *""'");
38868 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38871 (arg1
)->InheritAttributes();
38872 wxPyEndAllowThreads(__tstate
);
38873 if (PyErr_Occurred()) SWIG_fail
;
38875 resultobj
= SWIG_Py_Void();
38882 SWIGINTERN PyObject
*_wrap_Window_ShouldInheritColours(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38883 PyObject
*resultobj
= 0;
38884 wxWindow
*arg1
= (wxWindow
*) 0 ;
38888 PyObject
*swig_obj
[1] ;
38890 if (!args
) SWIG_fail
;
38891 swig_obj
[0] = args
;
38892 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38893 if (!SWIG_IsOK(res1
)) {
38894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ShouldInheritColours" "', expected argument " "1"" of type '" "wxWindow const *""'");
38896 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38899 result
= (bool)((wxWindow
const *)arg1
)->ShouldInheritColours();
38900 wxPyEndAllowThreads(__tstate
);
38901 if (PyErr_Occurred()) SWIG_fail
;
38904 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38912 SWIGINTERN PyObject
*_wrap_Window_CanSetTransparent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38913 PyObject
*resultobj
= 0;
38914 wxWindow
*arg1
= (wxWindow
*) 0 ;
38918 PyObject
*swig_obj
[1] ;
38920 if (!args
) SWIG_fail
;
38921 swig_obj
[0] = args
;
38922 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38923 if (!SWIG_IsOK(res1
)) {
38924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_CanSetTransparent" "', expected argument " "1"" of type '" "wxWindow *""'");
38926 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38929 result
= (bool)(arg1
)->CanSetTransparent();
38930 wxPyEndAllowThreads(__tstate
);
38931 if (PyErr_Occurred()) SWIG_fail
;
38934 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38942 SWIGINTERN PyObject
*_wrap_Window_SetTransparent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38943 PyObject
*resultobj
= 0;
38944 wxWindow
*arg1
= (wxWindow
*) 0 ;
38949 unsigned char val2
;
38951 PyObject
* obj0
= 0 ;
38952 PyObject
* obj1
= 0 ;
38953 char * kwnames
[] = {
38954 (char *) "self",(char *) "alpha", NULL
38957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTransparent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38958 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38959 if (!SWIG_IsOK(res1
)) {
38960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetTransparent" "', expected argument " "1"" of type '" "wxWindow *""'");
38962 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38963 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
38964 if (!SWIG_IsOK(ecode2
)) {
38965 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetTransparent" "', expected argument " "2"" of type '" "byte""'");
38967 arg2
= static_cast< byte
>(val2
);
38969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38970 result
= (bool)(arg1
)->SetTransparent(arg2
);
38971 wxPyEndAllowThreads(__tstate
);
38972 if (PyErr_Occurred()) SWIG_fail
;
38975 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38983 SWIGINTERN PyObject
*Window_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38985 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38986 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindow
, SWIG_NewClientData(obj
));
38987 return SWIG_Py_Void();
38990 SWIGINTERN PyObject
*Window_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38991 return SWIG_Python_InitShadowInstance(args
);
38994 SWIGINTERN PyObject
*_wrap_FindWindowById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38995 PyObject
*resultobj
= 0;
38997 wxWindow
*arg2
= (wxWindow
*) NULL
;
38998 wxWindow
*result
= 0 ;
39003 PyObject
* obj0
= 0 ;
39004 PyObject
* obj1
= 0 ;
39005 char * kwnames
[] = {
39006 (char *) "id",(char *) "parent", NULL
39009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowById",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39010 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
39011 if (!SWIG_IsOK(ecode1
)) {
39012 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FindWindowById" "', expected argument " "1"" of type '" "long""'");
39014 arg1
= static_cast< long >(val1
);
39016 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39017 if (!SWIG_IsOK(res2
)) {
39018 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindWindowById" "', expected argument " "2"" of type '" "wxWindow const *""'");
39020 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39023 if (!wxPyCheckForApp()) SWIG_fail
;
39024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39025 result
= (wxWindow
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
39026 wxPyEndAllowThreads(__tstate
);
39027 if (PyErr_Occurred()) SWIG_fail
;
39030 resultobj
= wxPyMake_wxObject(result
, 0);
39038 SWIGINTERN PyObject
*_wrap_FindWindowByName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39039 PyObject
*resultobj
= 0;
39040 wxString
*arg1
= 0 ;
39041 wxWindow
*arg2
= (wxWindow
*) NULL
;
39042 wxWindow
*result
= 0 ;
39043 bool temp1
= false ;
39046 PyObject
* obj0
= 0 ;
39047 PyObject
* obj1
= 0 ;
39048 char * kwnames
[] = {
39049 (char *) "name",(char *) "parent", NULL
39052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39054 arg1
= wxString_in_helper(obj0
);
39055 if (arg1
== NULL
) SWIG_fail
;
39059 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39060 if (!SWIG_IsOK(res2
)) {
39061 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindWindowByName" "', expected argument " "2"" of type '" "wxWindow const *""'");
39063 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39066 if (!wxPyCheckForApp()) SWIG_fail
;
39067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39068 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
39069 wxPyEndAllowThreads(__tstate
);
39070 if (PyErr_Occurred()) SWIG_fail
;
39073 resultobj
= wxPyMake_wxObject(result
, 0);
39089 SWIGINTERN PyObject
*_wrap_FindWindowByLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39090 PyObject
*resultobj
= 0;
39091 wxString
*arg1
= 0 ;
39092 wxWindow
*arg2
= (wxWindow
*) NULL
;
39093 wxWindow
*result
= 0 ;
39094 bool temp1
= false ;
39097 PyObject
* obj0
= 0 ;
39098 PyObject
* obj1
= 0 ;
39099 char * kwnames
[] = {
39100 (char *) "label",(char *) "parent", NULL
39103 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39105 arg1
= wxString_in_helper(obj0
);
39106 if (arg1
== NULL
) SWIG_fail
;
39110 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39111 if (!SWIG_IsOK(res2
)) {
39112 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindWindowByLabel" "', expected argument " "2"" of type '" "wxWindow const *""'");
39114 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39117 if (!wxPyCheckForApp()) SWIG_fail
;
39118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39119 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
39120 wxPyEndAllowThreads(__tstate
);
39121 if (PyErr_Occurred()) SWIG_fail
;
39124 resultobj
= wxPyMake_wxObject(result
, 0);
39140 SWIGINTERN PyObject
*_wrap_Window_FromHWND(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39141 PyObject
*resultobj
= 0;
39142 wxWindow
*arg1
= (wxWindow
*) 0 ;
39143 unsigned long arg2
;
39144 wxWindow
*result
= 0 ;
39147 unsigned long val2
;
39149 PyObject
* obj0
= 0 ;
39150 PyObject
* obj1
= 0 ;
39151 char * kwnames
[] = {
39152 (char *) "parent",(char *) "_hWnd", NULL
39155 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FromHWND",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39156 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39157 if (!SWIG_IsOK(res1
)) {
39158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_FromHWND" "', expected argument " "1"" of type '" "wxWindow *""'");
39160 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39161 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
39162 if (!SWIG_IsOK(ecode2
)) {
39163 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_FromHWND" "', expected argument " "2"" of type '" "unsigned long""'");
39165 arg2
= static_cast< unsigned long >(val2
);
39167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39168 result
= (wxWindow
*)wxWindow_FromHWND(arg1
,arg2
);
39169 wxPyEndAllowThreads(__tstate
);
39170 if (PyErr_Occurred()) SWIG_fail
;
39173 resultobj
= wxPyMake_wxObject(result
, 0);
39181 SWIGINTERN PyObject
*_wrap_GetTopLevelWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39182 PyObject
*resultobj
= 0;
39183 PyObject
*result
= 0 ;
39185 if (!SWIG_Python_UnpackTuple(args
,"GetTopLevelWindows",0,0,0)) SWIG_fail
;
39187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39188 result
= (PyObject
*)GetTopLevelWindows();
39189 wxPyEndAllowThreads(__tstate
);
39190 if (PyErr_Occurred()) SWIG_fail
;
39192 resultobj
= result
;
39199 SWIGINTERN PyObject
*_wrap_new_Validator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39200 PyObject
*resultobj
= 0;
39201 wxValidator
*result
= 0 ;
39203 if (!SWIG_Python_UnpackTuple(args
,"new_Validator",0,0,0)) SWIG_fail
;
39205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39206 result
= (wxValidator
*)new wxValidator();
39207 wxPyEndAllowThreads(__tstate
);
39208 if (PyErr_Occurred()) SWIG_fail
;
39210 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxValidator
, SWIG_POINTER_NEW
| 0 );
39217 SWIGINTERN PyObject
*_wrap_Validator_Clone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39218 PyObject
*resultobj
= 0;
39219 wxValidator
*arg1
= (wxValidator
*) 0 ;
39220 wxValidator
*result
= 0 ;
39223 PyObject
*swig_obj
[1] ;
39225 if (!args
) SWIG_fail
;
39226 swig_obj
[0] = args
;
39227 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxValidator
, 0 | 0 );
39228 if (!SWIG_IsOK(res1
)) {
39229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Validator_Clone" "', expected argument " "1"" of type '" "wxValidator *""'");
39231 arg1
= reinterpret_cast< wxValidator
* >(argp1
);
39233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39234 result
= (wxValidator
*)(arg1
)->Clone();
39235 wxPyEndAllowThreads(__tstate
);
39236 if (PyErr_Occurred()) SWIG_fail
;
39239 resultobj
= wxPyMake_wxObject(result
, 0);
39247 SWIGINTERN PyObject
*_wrap_Validator_Validate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39248 PyObject
*resultobj
= 0;
39249 wxValidator
*arg1
= (wxValidator
*) 0 ;
39250 wxWindow
*arg2
= (wxWindow
*) 0 ;
39256 PyObject
* obj0
= 0 ;
39257 PyObject
* obj1
= 0 ;
39258 char * kwnames
[] = {
39259 (char *) "self",(char *) "parent", NULL
39262 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39263 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxValidator
, 0 | 0 );
39264 if (!SWIG_IsOK(res1
)) {
39265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Validator_Validate" "', expected argument " "1"" of type '" "wxValidator *""'");
39267 arg1
= reinterpret_cast< wxValidator
* >(argp1
);
39268 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39269 if (!SWIG_IsOK(res2
)) {
39270 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Validator_Validate" "', expected argument " "2"" of type '" "wxWindow *""'");
39272 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39275 result
= (bool)(arg1
)->Validate(arg2
);
39276 wxPyEndAllowThreads(__tstate
);
39277 if (PyErr_Occurred()) SWIG_fail
;
39280 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39288 SWIGINTERN PyObject
*_wrap_Validator_TransferToWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39289 PyObject
*resultobj
= 0;
39290 wxValidator
*arg1
= (wxValidator
*) 0 ;
39294 PyObject
*swig_obj
[1] ;
39296 if (!args
) SWIG_fail
;
39297 swig_obj
[0] = args
;
39298 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxValidator
, 0 | 0 );
39299 if (!SWIG_IsOK(res1
)) {
39300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Validator_TransferToWindow" "', expected argument " "1"" of type '" "wxValidator *""'");
39302 arg1
= reinterpret_cast< wxValidator
* >(argp1
);
39304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39305 result
= (bool)(arg1
)->TransferToWindow();
39306 wxPyEndAllowThreads(__tstate
);
39307 if (PyErr_Occurred()) SWIG_fail
;
39310 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39318 SWIGINTERN PyObject
*_wrap_Validator_TransferFromWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39319 PyObject
*resultobj
= 0;
39320 wxValidator
*arg1
= (wxValidator
*) 0 ;
39324 PyObject
*swig_obj
[1] ;
39326 if (!args
) SWIG_fail
;
39327 swig_obj
[0] = args
;
39328 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxValidator
, 0 | 0 );
39329 if (!SWIG_IsOK(res1
)) {
39330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Validator_TransferFromWindow" "', expected argument " "1"" of type '" "wxValidator *""'");
39332 arg1
= reinterpret_cast< wxValidator
* >(argp1
);
39334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39335 result
= (bool)(arg1
)->TransferFromWindow();
39336 wxPyEndAllowThreads(__tstate
);
39337 if (PyErr_Occurred()) SWIG_fail
;
39340 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39348 SWIGINTERN PyObject
*_wrap_Validator_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39349 PyObject
*resultobj
= 0;
39350 wxValidator
*arg1
= (wxValidator
*) 0 ;
39351 wxWindow
*result
= 0 ;
39354 PyObject
*swig_obj
[1] ;
39356 if (!args
) SWIG_fail
;
39357 swig_obj
[0] = args
;
39358 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxValidator
, 0 | 0 );
39359 if (!SWIG_IsOK(res1
)) {
39360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Validator_GetWindow" "', expected argument " "1"" of type '" "wxValidator *""'");
39362 arg1
= reinterpret_cast< wxValidator
* >(argp1
);
39364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39365 result
= (wxWindow
*)(arg1
)->GetWindow();
39366 wxPyEndAllowThreads(__tstate
);
39367 if (PyErr_Occurred()) SWIG_fail
;
39370 resultobj
= wxPyMake_wxObject(result
, 0);
39378 SWIGINTERN PyObject
*_wrap_Validator_SetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39379 PyObject
*resultobj
= 0;
39380 wxValidator
*arg1
= (wxValidator
*) 0 ;
39381 wxWindow
*arg2
= (wxWindow
*) 0 ;
39386 PyObject
* obj0
= 0 ;
39387 PyObject
* obj1
= 0 ;
39388 char * kwnames
[] = {
39389 (char *) "self",(char *) "window", NULL
39392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39393 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxValidator
, 0 | 0 );
39394 if (!SWIG_IsOK(res1
)) {
39395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Validator_SetWindow" "', expected argument " "1"" of type '" "wxValidator *""'");
39397 arg1
= reinterpret_cast< wxValidator
* >(argp1
);
39398 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39399 if (!SWIG_IsOK(res2
)) {
39400 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Validator_SetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
39402 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39405 (arg1
)->SetWindow(arg2
);
39406 wxPyEndAllowThreads(__tstate
);
39407 if (PyErr_Occurred()) SWIG_fail
;
39409 resultobj
= SWIG_Py_Void();
39416 SWIGINTERN PyObject
*_wrap_Validator_IsSilent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39417 PyObject
*resultobj
= 0;
39420 if (!SWIG_Python_UnpackTuple(args
,"Validator_IsSilent",0,0,0)) SWIG_fail
;
39422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39423 result
= (bool)wxValidator::IsSilent();
39424 wxPyEndAllowThreads(__tstate
);
39425 if (PyErr_Occurred()) SWIG_fail
;
39428 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39436 SWIGINTERN PyObject
*_wrap_Validator_SetBellOnError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39437 PyObject
*resultobj
= 0;
39438 int arg1
= (int) true ;
39441 PyObject
* obj0
= 0 ;
39442 char * kwnames
[] = {
39443 (char *) "doIt", NULL
39446 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Validator_SetBellOnError",kwnames
,&obj0
)) SWIG_fail
;
39448 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
39449 if (!SWIG_IsOK(ecode1
)) {
39450 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Validator_SetBellOnError" "', expected argument " "1"" of type '" "int""'");
39452 arg1
= static_cast< int >(val1
);
39455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39456 wxValidator::SetBellOnError(arg1
);
39457 wxPyEndAllowThreads(__tstate
);
39458 if (PyErr_Occurred()) SWIG_fail
;
39460 resultobj
= SWIG_Py_Void();
39467 SWIGINTERN PyObject
*Validator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39469 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39470 SWIG_TypeNewClientData(SWIGTYPE_p_wxValidator
, SWIG_NewClientData(obj
));
39471 return SWIG_Py_Void();
39474 SWIGINTERN PyObject
*Validator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39475 return SWIG_Python_InitShadowInstance(args
);
39478 SWIGINTERN PyObject
*_wrap_new_PyValidator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39479 PyObject
*resultobj
= 0;
39480 wxPyValidator
*result
= 0 ;
39482 if (!SWIG_Python_UnpackTuple(args
,"new_PyValidator",0,0,0)) SWIG_fail
;
39484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39485 result
= (wxPyValidator
*)new wxPyValidator();
39486 wxPyEndAllowThreads(__tstate
);
39487 if (PyErr_Occurred()) SWIG_fail
;
39489 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyValidator
, SWIG_POINTER_NEW
| 0 );
39496 SWIGINTERN PyObject
*_wrap_PyValidator__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39497 PyObject
*resultobj
= 0;
39498 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
39499 PyObject
*arg2
= (PyObject
*) 0 ;
39500 PyObject
*arg3
= (PyObject
*) 0 ;
39501 int arg4
= (int) true ;
39506 PyObject
* obj0
= 0 ;
39507 PyObject
* obj1
= 0 ;
39508 PyObject
* obj2
= 0 ;
39509 PyObject
* obj3
= 0 ;
39510 char * kwnames
[] = {
39511 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
39514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
39515 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyValidator
, 0 | 0 );
39516 if (!SWIG_IsOK(res1
)) {
39517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyValidator__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyValidator *""'");
39519 arg1
= reinterpret_cast< wxPyValidator
* >(argp1
);
39523 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
39524 if (!SWIG_IsOK(ecode4
)) {
39525 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyValidator__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
39527 arg4
= static_cast< int >(val4
);
39530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39531 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
39532 wxPyEndAllowThreads(__tstate
);
39533 if (PyErr_Occurred()) SWIG_fail
;
39535 resultobj
= SWIG_Py_Void();
39542 SWIGINTERN PyObject
*PyValidator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39544 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39545 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyValidator
, SWIG_NewClientData(obj
));
39546 return SWIG_Py_Void();
39549 SWIGINTERN PyObject
*PyValidator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39550 return SWIG_Python_InitShadowInstance(args
);
39553 SWIGINTERN
int DefaultValidator_set(PyObject
*) {
39554 SWIG_Error(SWIG_AttributeError
,"Variable DefaultValidator is read-only.");
39559 SWIGINTERN PyObject
*DefaultValidator_get(void) {
39560 PyObject
*pyobj
= 0;
39562 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxDefaultValidator
), SWIGTYPE_p_wxValidator
, 0 );
39567 SWIGINTERN PyObject
*_wrap_new_Menu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39568 PyObject
*resultobj
= 0;
39569 wxString
const &arg1_defvalue
= wxPyEmptyString
;
39570 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
39571 long arg2
= (long) 0 ;
39572 wxMenu
*result
= 0 ;
39573 bool temp1
= false ;
39576 PyObject
* obj0
= 0 ;
39577 PyObject
* obj1
= 0 ;
39578 char * kwnames
[] = {
39579 (char *) "title",(char *) "style", NULL
39582 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Menu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39585 arg1
= wxString_in_helper(obj0
);
39586 if (arg1
== NULL
) SWIG_fail
;
39591 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
39592 if (!SWIG_IsOK(ecode2
)) {
39593 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Menu" "', expected argument " "2"" of type '" "long""'");
39595 arg2
= static_cast< long >(val2
);
39598 if (!wxPyCheckForApp()) SWIG_fail
;
39599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39600 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
39601 wxPyEndAllowThreads(__tstate
);
39602 if (PyErr_Occurred()) SWIG_fail
;
39604 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMenu
, SWIG_POINTER_NEW
| 0 );
39619 SWIGINTERN PyObject
*_wrap_Menu_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39620 PyObject
*resultobj
= 0;
39621 wxMenu
*arg1
= (wxMenu
*) 0 ;
39623 wxString
const &arg3_defvalue
= wxPyEmptyString
;
39624 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
39625 wxString
const &arg4_defvalue
= wxPyEmptyString
;
39626 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
39627 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
39628 wxMenuItem
*result
= 0 ;
39633 bool temp3
= false ;
39634 bool temp4
= false ;
39637 PyObject
* obj0
= 0 ;
39638 PyObject
* obj1
= 0 ;
39639 PyObject
* obj2
= 0 ;
39640 PyObject
* obj3
= 0 ;
39641 PyObject
* obj4
= 0 ;
39642 char * kwnames
[] = {
39643 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
39646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:Menu_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
39647 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39648 if (!SWIG_IsOK(res1
)) {
39649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_Append" "', expected argument " "1"" of type '" "wxMenu *""'");
39651 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39652 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39653 if (!SWIG_IsOK(ecode2
)) {
39654 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_Append" "', expected argument " "2"" of type '" "int""'");
39656 arg2
= static_cast< int >(val2
);
39659 arg3
= wxString_in_helper(obj2
);
39660 if (arg3
== NULL
) SWIG_fail
;
39666 arg4
= wxString_in_helper(obj3
);
39667 if (arg4
== NULL
) SWIG_fail
;
39672 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
39673 if (!SWIG_IsOK(ecode5
)) {
39674 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Menu_Append" "', expected argument " "5"" of type '" "wxItemKind""'");
39676 arg5
= static_cast< wxItemKind
>(val5
);
39679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39680 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
39681 wxPyEndAllowThreads(__tstate
);
39682 if (PyErr_Occurred()) SWIG_fail
;
39685 resultobj
= wxPyMake_wxObject(result
, (bool)0);
39709 SWIGINTERN PyObject
*_wrap_Menu_AppendSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39710 PyObject
*resultobj
= 0;
39711 wxMenu
*arg1
= (wxMenu
*) 0 ;
39712 wxMenuItem
*result
= 0 ;
39715 PyObject
*swig_obj
[1] ;
39717 if (!args
) SWIG_fail
;
39718 swig_obj
[0] = args
;
39719 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39720 if (!SWIG_IsOK(res1
)) {
39721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_AppendSeparator" "', expected argument " "1"" of type '" "wxMenu *""'");
39723 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39726 result
= (wxMenuItem
*)(arg1
)->AppendSeparator();
39727 wxPyEndAllowThreads(__tstate
);
39728 if (PyErr_Occurred()) SWIG_fail
;
39731 resultobj
= wxPyMake_wxObject(result
, (bool)0);
39739 SWIGINTERN PyObject
*_wrap_Menu_AppendCheckItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39740 PyObject
*resultobj
= 0;
39741 wxMenu
*arg1
= (wxMenu
*) 0 ;
39743 wxString
*arg3
= 0 ;
39744 wxString
const &arg4_defvalue
= wxPyEmptyString
;
39745 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
39746 wxMenuItem
*result
= 0 ;
39751 bool temp3
= false ;
39752 bool temp4
= false ;
39753 PyObject
* obj0
= 0 ;
39754 PyObject
* obj1
= 0 ;
39755 PyObject
* obj2
= 0 ;
39756 PyObject
* obj3
= 0 ;
39757 char * kwnames
[] = {
39758 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
39761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
39762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39763 if (!SWIG_IsOK(res1
)) {
39764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_AppendCheckItem" "', expected argument " "1"" of type '" "wxMenu *""'");
39766 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39767 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39768 if (!SWIG_IsOK(ecode2
)) {
39769 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_AppendCheckItem" "', expected argument " "2"" of type '" "int""'");
39771 arg2
= static_cast< int >(val2
);
39773 arg3
= wxString_in_helper(obj2
);
39774 if (arg3
== NULL
) SWIG_fail
;
39779 arg4
= wxString_in_helper(obj3
);
39780 if (arg4
== NULL
) SWIG_fail
;
39785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39786 result
= (wxMenuItem
*)(arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
39787 wxPyEndAllowThreads(__tstate
);
39788 if (PyErr_Occurred()) SWIG_fail
;
39791 resultobj
= wxPyMake_wxObject(result
, (bool)0);
39815 SWIGINTERN PyObject
*_wrap_Menu_AppendRadioItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39816 PyObject
*resultobj
= 0;
39817 wxMenu
*arg1
= (wxMenu
*) 0 ;
39819 wxString
*arg3
= 0 ;
39820 wxString
const &arg4_defvalue
= wxPyEmptyString
;
39821 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
39822 wxMenuItem
*result
= 0 ;
39827 bool temp3
= false ;
39828 bool temp4
= false ;
39829 PyObject
* obj0
= 0 ;
39830 PyObject
* obj1
= 0 ;
39831 PyObject
* obj2
= 0 ;
39832 PyObject
* obj3
= 0 ;
39833 char * kwnames
[] = {
39834 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
39837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
39838 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39839 if (!SWIG_IsOK(res1
)) {
39840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_AppendRadioItem" "', expected argument " "1"" of type '" "wxMenu *""'");
39842 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39843 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39844 if (!SWIG_IsOK(ecode2
)) {
39845 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_AppendRadioItem" "', expected argument " "2"" of type '" "int""'");
39847 arg2
= static_cast< int >(val2
);
39849 arg3
= wxString_in_helper(obj2
);
39850 if (arg3
== NULL
) SWIG_fail
;
39855 arg4
= wxString_in_helper(obj3
);
39856 if (arg4
== NULL
) SWIG_fail
;
39861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39862 result
= (wxMenuItem
*)(arg1
)->AppendRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
39863 wxPyEndAllowThreads(__tstate
);
39864 if (PyErr_Occurred()) SWIG_fail
;
39867 resultobj
= wxPyMake_wxObject(result
, (bool)0);
39891 SWIGINTERN PyObject
*_wrap_Menu_AppendMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39892 PyObject
*resultobj
= 0;
39893 wxMenu
*arg1
= (wxMenu
*) 0 ;
39895 wxString
*arg3
= 0 ;
39896 wxMenu
*arg4
= (wxMenu
*) 0 ;
39897 wxString
const &arg5_defvalue
= wxPyEmptyString
;
39898 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
39899 wxMenuItem
*result
= 0 ;
39904 bool temp3
= false ;
39907 bool temp5
= false ;
39908 PyObject
* obj0
= 0 ;
39909 PyObject
* obj1
= 0 ;
39910 PyObject
* obj2
= 0 ;
39911 PyObject
* obj3
= 0 ;
39912 PyObject
* obj4
= 0 ;
39913 char * kwnames
[] = {
39914 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
39917 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_AppendMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
39918 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39919 if (!SWIG_IsOK(res1
)) {
39920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_AppendMenu" "', expected argument " "1"" of type '" "wxMenu *""'");
39922 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39923 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39924 if (!SWIG_IsOK(ecode2
)) {
39925 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_AppendMenu" "', expected argument " "2"" of type '" "int""'");
39927 arg2
= static_cast< int >(val2
);
39929 arg3
= wxString_in_helper(obj2
);
39930 if (arg3
== NULL
) SWIG_fail
;
39933 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39934 if (!SWIG_IsOK(res4
)) {
39935 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Menu_AppendMenu" "', expected argument " "4"" of type '" "wxMenu *""'");
39937 arg4
= reinterpret_cast< wxMenu
* >(argp4
);
39940 arg5
= wxString_in_helper(obj4
);
39941 if (arg5
== NULL
) SWIG_fail
;
39946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39947 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
39948 wxPyEndAllowThreads(__tstate
);
39949 if (PyErr_Occurred()) SWIG_fail
;
39952 resultobj
= wxPyMake_wxObject(result
, (bool)0);
39976 SWIGINTERN PyObject
*_wrap_Menu_AppendSubMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39977 PyObject
*resultobj
= 0;
39978 wxMenu
*arg1
= (wxMenu
*) 0 ;
39979 wxMenu
*arg2
= (wxMenu
*) 0 ;
39980 wxString
*arg3
= 0 ;
39981 wxString
const &arg4_defvalue
= wxPyEmptyString
;
39982 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
39983 wxMenuItem
*result
= 0 ;
39988 bool temp3
= false ;
39989 bool temp4
= false ;
39990 PyObject
* obj0
= 0 ;
39991 PyObject
* obj1
= 0 ;
39992 PyObject
* obj2
= 0 ;
39993 PyObject
* obj3
= 0 ;
39994 char * kwnames
[] = {
39995 (char *) "self",(char *) "submenu",(char *) "text",(char *) "help", NULL
39998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendSubMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
39999 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40000 if (!SWIG_IsOK(res1
)) {
40001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_AppendSubMenu" "', expected argument " "1"" of type '" "wxMenu *""'");
40003 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40004 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40005 if (!SWIG_IsOK(res2
)) {
40006 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Menu_AppendSubMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
40008 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
40010 arg3
= wxString_in_helper(obj2
);
40011 if (arg3
== NULL
) SWIG_fail
;
40016 arg4
= wxString_in_helper(obj3
);
40017 if (arg4
== NULL
) SWIG_fail
;
40022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40023 result
= (wxMenuItem
*)(arg1
)->AppendSubMenu(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
40024 wxPyEndAllowThreads(__tstate
);
40025 if (PyErr_Occurred()) SWIG_fail
;
40028 resultobj
= wxPyMake_wxObject(result
, (bool)0);
40052 SWIGINTERN PyObject
*_wrap_Menu_AppendItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40053 PyObject
*resultobj
= 0;
40054 wxMenu
*arg1
= (wxMenu
*) 0 ;
40055 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
40056 wxMenuItem
*result
= 0 ;
40060 PyObject
* obj0
= 0 ;
40061 PyObject
* obj1
= 0 ;
40062 char * kwnames
[] = {
40063 (char *) "self",(char *) "item", NULL
40066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40067 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40068 if (!SWIG_IsOK(res1
)) {
40069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_AppendItem" "', expected argument " "1"" of type '" "wxMenu *""'");
40071 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40072 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_DISOWN
| 0 );
40073 if (!SWIG_IsOK(res2
)) {
40074 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Menu_AppendItem" "', expected argument " "2"" of type '" "wxMenuItem *""'");
40077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40078 result
= (wxMenuItem
*)(arg1
)->Append(arg2
);
40079 wxPyEndAllowThreads(__tstate
);
40080 if (PyErr_Occurred()) SWIG_fail
;
40083 resultobj
= wxPyMake_wxObject(result
, (bool)0);
40091 SWIGINTERN PyObject
*_wrap_Menu_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40092 PyObject
*resultobj
= 0;
40093 wxMenu
*arg1
= (wxMenu
*) 0 ;
40095 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
40096 wxMenuItem
*result
= 0 ;
40102 PyObject
* obj0
= 0 ;
40103 PyObject
* obj1
= 0 ;
40104 PyObject
* obj2
= 0 ;
40105 char * kwnames
[] = {
40106 (char *) "self",(char *) "pos",(char *) "item", NULL
40109 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40110 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40111 if (!SWIG_IsOK(res1
)) {
40112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_InsertItem" "', expected argument " "1"" of type '" "wxMenu *""'");
40114 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40115 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
40116 if (!SWIG_IsOK(ecode2
)) {
40117 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_InsertItem" "', expected argument " "2"" of type '" "size_t""'");
40119 arg2
= static_cast< size_t >(val2
);
40120 res3
= SWIG_ConvertPtr(obj2
, SWIG_as_voidptrptr(&arg3
), SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_DISOWN
| 0 );
40121 if (!SWIG_IsOK(res3
)) {
40122 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Menu_InsertItem" "', expected argument " "3"" of type '" "wxMenuItem *""'");
40125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40126 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
);
40127 wxPyEndAllowThreads(__tstate
);
40128 if (PyErr_Occurred()) SWIG_fail
;
40131 resultobj
= wxPyMake_wxObject(result
, (bool)0);
40139 SWIGINTERN PyObject
*_wrap_Menu_PrependItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40140 PyObject
*resultobj
= 0;
40141 wxMenu
*arg1
= (wxMenu
*) 0 ;
40142 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
40143 wxMenuItem
*result
= 0 ;
40147 PyObject
* obj0
= 0 ;
40148 PyObject
* obj1
= 0 ;
40149 char * kwnames
[] = {
40150 (char *) "self",(char *) "item", NULL
40153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40154 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40155 if (!SWIG_IsOK(res1
)) {
40156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_PrependItem" "', expected argument " "1"" of type '" "wxMenu *""'");
40158 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40159 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_DISOWN
| 0 );
40160 if (!SWIG_IsOK(res2
)) {
40161 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Menu_PrependItem" "', expected argument " "2"" of type '" "wxMenuItem *""'");
40164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40165 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
);
40166 wxPyEndAllowThreads(__tstate
);
40167 if (PyErr_Occurred()) SWIG_fail
;
40170 resultobj
= wxPyMake_wxObject(result
, (bool)0);
40178 SWIGINTERN PyObject
*_wrap_Menu_Break(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40179 PyObject
*resultobj
= 0;
40180 wxMenu
*arg1
= (wxMenu
*) 0 ;
40183 PyObject
*swig_obj
[1] ;
40185 if (!args
) SWIG_fail
;
40186 swig_obj
[0] = args
;
40187 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40188 if (!SWIG_IsOK(res1
)) {
40189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_Break" "', expected argument " "1"" of type '" "wxMenu *""'");
40191 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40195 wxPyEndAllowThreads(__tstate
);
40196 if (PyErr_Occurred()) SWIG_fail
;
40198 resultobj
= SWIG_Py_Void();
40205 SWIGINTERN PyObject
*_wrap_Menu_Insert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40206 PyObject
*resultobj
= 0;
40207 wxMenu
*arg1
= (wxMenu
*) 0 ;
40210 wxString
const &arg4_defvalue
= wxPyEmptyString
;
40211 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
40212 wxString
const &arg5_defvalue
= wxPyEmptyString
;
40213 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
40214 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
40215 wxMenuItem
*result
= 0 ;
40222 bool temp4
= false ;
40223 bool temp5
= false ;
40226 PyObject
* obj0
= 0 ;
40227 PyObject
* obj1
= 0 ;
40228 PyObject
* obj2
= 0 ;
40229 PyObject
* obj3
= 0 ;
40230 PyObject
* obj4
= 0 ;
40231 PyObject
* obj5
= 0 ;
40232 char * kwnames
[] = {
40233 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
40236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:Menu_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
40237 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40238 if (!SWIG_IsOK(res1
)) {
40239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_Insert" "', expected argument " "1"" of type '" "wxMenu *""'");
40241 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40242 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
40243 if (!SWIG_IsOK(ecode2
)) {
40244 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_Insert" "', expected argument " "2"" of type '" "size_t""'");
40246 arg2
= static_cast< size_t >(val2
);
40247 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
40248 if (!SWIG_IsOK(ecode3
)) {
40249 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Menu_Insert" "', expected argument " "3"" of type '" "int""'");
40251 arg3
= static_cast< int >(val3
);
40254 arg4
= wxString_in_helper(obj3
);
40255 if (arg4
== NULL
) SWIG_fail
;
40261 arg5
= wxString_in_helper(obj4
);
40262 if (arg5
== NULL
) SWIG_fail
;
40267 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
40268 if (!SWIG_IsOK(ecode6
)) {
40269 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Menu_Insert" "', expected argument " "6"" of type '" "wxItemKind""'");
40271 arg6
= static_cast< wxItemKind
>(val6
);
40274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40275 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
);
40276 wxPyEndAllowThreads(__tstate
);
40277 if (PyErr_Occurred()) SWIG_fail
;
40280 resultobj
= wxPyMake_wxObject(result
, (bool)0);
40304 SWIGINTERN PyObject
*_wrap_Menu_InsertSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40305 PyObject
*resultobj
= 0;
40306 wxMenu
*arg1
= (wxMenu
*) 0 ;
40308 wxMenuItem
*result
= 0 ;
40313 PyObject
* obj0
= 0 ;
40314 PyObject
* obj1
= 0 ;
40315 char * kwnames
[] = {
40316 (char *) "self",(char *) "pos", NULL
40319 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40320 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40321 if (!SWIG_IsOK(res1
)) {
40322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_InsertSeparator" "', expected argument " "1"" of type '" "wxMenu *""'");
40324 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40325 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
40326 if (!SWIG_IsOK(ecode2
)) {
40327 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_InsertSeparator" "', expected argument " "2"" of type '" "size_t""'");
40329 arg2
= static_cast< size_t >(val2
);
40331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40332 result
= (wxMenuItem
*)(arg1
)->InsertSeparator(arg2
);
40333 wxPyEndAllowThreads(__tstate
);
40334 if (PyErr_Occurred()) SWIG_fail
;
40337 resultobj
= wxPyMake_wxObject(result
, (bool)0);
40345 SWIGINTERN PyObject
*_wrap_Menu_InsertCheckItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40346 PyObject
*resultobj
= 0;
40347 wxMenu
*arg1
= (wxMenu
*) 0 ;
40350 wxString
*arg4
= 0 ;
40351 wxString
const &arg5_defvalue
= wxPyEmptyString
;
40352 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
40353 wxMenuItem
*result
= 0 ;
40360 bool temp4
= false ;
40361 bool temp5
= false ;
40362 PyObject
* obj0
= 0 ;
40363 PyObject
* obj1
= 0 ;
40364 PyObject
* obj2
= 0 ;
40365 PyObject
* obj3
= 0 ;
40366 PyObject
* obj4
= 0 ;
40367 char * kwnames
[] = {
40368 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
40371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40372 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40373 if (!SWIG_IsOK(res1
)) {
40374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_InsertCheckItem" "', expected argument " "1"" of type '" "wxMenu *""'");
40376 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40377 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
40378 if (!SWIG_IsOK(ecode2
)) {
40379 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_InsertCheckItem" "', expected argument " "2"" of type '" "size_t""'");
40381 arg2
= static_cast< size_t >(val2
);
40382 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
40383 if (!SWIG_IsOK(ecode3
)) {
40384 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Menu_InsertCheckItem" "', expected argument " "3"" of type '" "int""'");
40386 arg3
= static_cast< int >(val3
);
40388 arg4
= wxString_in_helper(obj3
);
40389 if (arg4
== NULL
) SWIG_fail
;
40394 arg5
= wxString_in_helper(obj4
);
40395 if (arg5
== NULL
) SWIG_fail
;
40400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40401 result
= (wxMenuItem
*)(arg1
)->InsertCheckItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
40402 wxPyEndAllowThreads(__tstate
);
40403 if (PyErr_Occurred()) SWIG_fail
;
40406 resultobj
= wxPyMake_wxObject(result
, (bool)0);
40430 SWIGINTERN PyObject
*_wrap_Menu_InsertRadioItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40431 PyObject
*resultobj
= 0;
40432 wxMenu
*arg1
= (wxMenu
*) 0 ;
40435 wxString
*arg4
= 0 ;
40436 wxString
const &arg5_defvalue
= wxPyEmptyString
;
40437 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
40438 wxMenuItem
*result
= 0 ;
40445 bool temp4
= false ;
40446 bool temp5
= false ;
40447 PyObject
* obj0
= 0 ;
40448 PyObject
* obj1
= 0 ;
40449 PyObject
* obj2
= 0 ;
40450 PyObject
* obj3
= 0 ;
40451 PyObject
* obj4
= 0 ;
40452 char * kwnames
[] = {
40453 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
40456 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40457 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40458 if (!SWIG_IsOK(res1
)) {
40459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_InsertRadioItem" "', expected argument " "1"" of type '" "wxMenu *""'");
40461 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40462 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
40463 if (!SWIG_IsOK(ecode2
)) {
40464 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_InsertRadioItem" "', expected argument " "2"" of type '" "size_t""'");
40466 arg2
= static_cast< size_t >(val2
);
40467 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
40468 if (!SWIG_IsOK(ecode3
)) {
40469 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Menu_InsertRadioItem" "', expected argument " "3"" of type '" "int""'");
40471 arg3
= static_cast< int >(val3
);
40473 arg4
= wxString_in_helper(obj3
);
40474 if (arg4
== NULL
) SWIG_fail
;
40479 arg5
= wxString_in_helper(obj4
);
40480 if (arg5
== NULL
) SWIG_fail
;
40485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40486 result
= (wxMenuItem
*)(arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
40487 wxPyEndAllowThreads(__tstate
);
40488 if (PyErr_Occurred()) SWIG_fail
;
40491 resultobj
= wxPyMake_wxObject(result
, (bool)0);
40515 SWIGINTERN PyObject
*_wrap_Menu_InsertMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40516 PyObject
*resultobj
= 0;
40517 wxMenu
*arg1
= (wxMenu
*) 0 ;
40520 wxString
*arg4
= 0 ;
40521 wxMenu
*arg5
= (wxMenu
*) 0 ;
40522 wxString
const &arg6_defvalue
= wxPyEmptyString
;
40523 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
40524 wxMenuItem
*result
= 0 ;
40531 bool temp4
= false ;
40534 bool temp6
= false ;
40535 PyObject
* obj0
= 0 ;
40536 PyObject
* obj1
= 0 ;
40537 PyObject
* obj2
= 0 ;
40538 PyObject
* obj3
= 0 ;
40539 PyObject
* obj4
= 0 ;
40540 PyObject
* obj5
= 0 ;
40541 char * kwnames
[] = {
40542 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
40545 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
40546 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40547 if (!SWIG_IsOK(res1
)) {
40548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_InsertMenu" "', expected argument " "1"" of type '" "wxMenu *""'");
40550 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40551 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
40552 if (!SWIG_IsOK(ecode2
)) {
40553 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_InsertMenu" "', expected argument " "2"" of type '" "size_t""'");
40555 arg2
= static_cast< size_t >(val2
);
40556 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
40557 if (!SWIG_IsOK(ecode3
)) {
40558 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Menu_InsertMenu" "', expected argument " "3"" of type '" "int""'");
40560 arg3
= static_cast< int >(val3
);
40562 arg4
= wxString_in_helper(obj3
);
40563 if (arg4
== NULL
) SWIG_fail
;
40566 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40567 if (!SWIG_IsOK(res5
)) {
40568 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "Menu_InsertMenu" "', expected argument " "5"" of type '" "wxMenu *""'");
40570 arg5
= reinterpret_cast< wxMenu
* >(argp5
);
40573 arg6
= wxString_in_helper(obj5
);
40574 if (arg6
== NULL
) SWIG_fail
;
40579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40580 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
40581 wxPyEndAllowThreads(__tstate
);
40582 if (PyErr_Occurred()) SWIG_fail
;
40585 resultobj
= wxPyMake_wxObject(result
, (bool)0);
40609 SWIGINTERN PyObject
*_wrap_Menu_Prepend(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40610 PyObject
*resultobj
= 0;
40611 wxMenu
*arg1
= (wxMenu
*) 0 ;
40613 wxString
const &arg3_defvalue
= wxPyEmptyString
;
40614 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
40615 wxString
const &arg4_defvalue
= wxPyEmptyString
;
40616 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
40617 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
40618 wxMenuItem
*result
= 0 ;
40623 bool temp3
= false ;
40624 bool temp4
= false ;
40627 PyObject
* obj0
= 0 ;
40628 PyObject
* obj1
= 0 ;
40629 PyObject
* obj2
= 0 ;
40630 PyObject
* obj3
= 0 ;
40631 PyObject
* obj4
= 0 ;
40632 char * kwnames
[] = {
40633 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
40636 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:Menu_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40637 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40638 if (!SWIG_IsOK(res1
)) {
40639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_Prepend" "', expected argument " "1"" of type '" "wxMenu *""'");
40641 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40642 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40643 if (!SWIG_IsOK(ecode2
)) {
40644 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_Prepend" "', expected argument " "2"" of type '" "int""'");
40646 arg2
= static_cast< int >(val2
);
40649 arg3
= wxString_in_helper(obj2
);
40650 if (arg3
== NULL
) SWIG_fail
;
40656 arg4
= wxString_in_helper(obj3
);
40657 if (arg4
== NULL
) SWIG_fail
;
40662 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
40663 if (!SWIG_IsOK(ecode5
)) {
40664 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Menu_Prepend" "', expected argument " "5"" of type '" "wxItemKind""'");
40666 arg5
= static_cast< wxItemKind
>(val5
);
40669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40670 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
40671 wxPyEndAllowThreads(__tstate
);
40672 if (PyErr_Occurred()) SWIG_fail
;
40675 resultobj
= wxPyMake_wxObject(result
, (bool)0);
40699 SWIGINTERN PyObject
*_wrap_Menu_PrependSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40700 PyObject
*resultobj
= 0;
40701 wxMenu
*arg1
= (wxMenu
*) 0 ;
40702 wxMenuItem
*result
= 0 ;
40705 PyObject
*swig_obj
[1] ;
40707 if (!args
) SWIG_fail
;
40708 swig_obj
[0] = args
;
40709 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40710 if (!SWIG_IsOK(res1
)) {
40711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_PrependSeparator" "', expected argument " "1"" of type '" "wxMenu *""'");
40713 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40716 result
= (wxMenuItem
*)(arg1
)->PrependSeparator();
40717 wxPyEndAllowThreads(__tstate
);
40718 if (PyErr_Occurred()) SWIG_fail
;
40721 resultobj
= wxPyMake_wxObject(result
, (bool)0);
40729 SWIGINTERN PyObject
*_wrap_Menu_PrependCheckItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40730 PyObject
*resultobj
= 0;
40731 wxMenu
*arg1
= (wxMenu
*) 0 ;
40733 wxString
*arg3
= 0 ;
40734 wxString
const &arg4_defvalue
= wxPyEmptyString
;
40735 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
40736 wxMenuItem
*result
= 0 ;
40741 bool temp3
= false ;
40742 bool temp4
= false ;
40743 PyObject
* obj0
= 0 ;
40744 PyObject
* obj1
= 0 ;
40745 PyObject
* obj2
= 0 ;
40746 PyObject
* obj3
= 0 ;
40747 char * kwnames
[] = {
40748 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
40751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
40752 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40753 if (!SWIG_IsOK(res1
)) {
40754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_PrependCheckItem" "', expected argument " "1"" of type '" "wxMenu *""'");
40756 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40757 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40758 if (!SWIG_IsOK(ecode2
)) {
40759 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_PrependCheckItem" "', expected argument " "2"" of type '" "int""'");
40761 arg2
= static_cast< int >(val2
);
40763 arg3
= wxString_in_helper(obj2
);
40764 if (arg3
== NULL
) SWIG_fail
;
40769 arg4
= wxString_in_helper(obj3
);
40770 if (arg4
== NULL
) SWIG_fail
;
40775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40776 result
= (wxMenuItem
*)(arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
40777 wxPyEndAllowThreads(__tstate
);
40778 if (PyErr_Occurred()) SWIG_fail
;
40781 resultobj
= wxPyMake_wxObject(result
, (bool)0);
40805 SWIGINTERN PyObject
*_wrap_Menu_PrependRadioItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40806 PyObject
*resultobj
= 0;
40807 wxMenu
*arg1
= (wxMenu
*) 0 ;
40809 wxString
*arg3
= 0 ;
40810 wxString
const &arg4_defvalue
= wxPyEmptyString
;
40811 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
40812 wxMenuItem
*result
= 0 ;
40817 bool temp3
= false ;
40818 bool temp4
= false ;
40819 PyObject
* obj0
= 0 ;
40820 PyObject
* obj1
= 0 ;
40821 PyObject
* obj2
= 0 ;
40822 PyObject
* obj3
= 0 ;
40823 char * kwnames
[] = {
40824 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
40827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
40828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40829 if (!SWIG_IsOK(res1
)) {
40830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_PrependRadioItem" "', expected argument " "1"" of type '" "wxMenu *""'");
40832 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40833 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40834 if (!SWIG_IsOK(ecode2
)) {
40835 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_PrependRadioItem" "', expected argument " "2"" of type '" "int""'");
40837 arg2
= static_cast< int >(val2
);
40839 arg3
= wxString_in_helper(obj2
);
40840 if (arg3
== NULL
) SWIG_fail
;
40845 arg4
= wxString_in_helper(obj3
);
40846 if (arg4
== NULL
) SWIG_fail
;
40851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40852 result
= (wxMenuItem
*)(arg1
)->PrependRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
40853 wxPyEndAllowThreads(__tstate
);
40854 if (PyErr_Occurred()) SWIG_fail
;
40857 resultobj
= wxPyMake_wxObject(result
, (bool)0);
40881 SWIGINTERN PyObject
*_wrap_Menu_PrependMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40882 PyObject
*resultobj
= 0;
40883 wxMenu
*arg1
= (wxMenu
*) 0 ;
40885 wxString
*arg3
= 0 ;
40886 wxMenu
*arg4
= (wxMenu
*) 0 ;
40887 wxString
const &arg5_defvalue
= wxPyEmptyString
;
40888 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
40889 wxMenuItem
*result
= 0 ;
40894 bool temp3
= false ;
40897 bool temp5
= false ;
40898 PyObject
* obj0
= 0 ;
40899 PyObject
* obj1
= 0 ;
40900 PyObject
* obj2
= 0 ;
40901 PyObject
* obj3
= 0 ;
40902 PyObject
* obj4
= 0 ;
40903 char * kwnames
[] = {
40904 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
40907 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_PrependMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40908 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40909 if (!SWIG_IsOK(res1
)) {
40910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_PrependMenu" "', expected argument " "1"" of type '" "wxMenu *""'");
40912 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40913 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40914 if (!SWIG_IsOK(ecode2
)) {
40915 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_PrependMenu" "', expected argument " "2"" of type '" "int""'");
40917 arg2
= static_cast< int >(val2
);
40919 arg3
= wxString_in_helper(obj2
);
40920 if (arg3
== NULL
) SWIG_fail
;
40923 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40924 if (!SWIG_IsOK(res4
)) {
40925 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Menu_PrependMenu" "', expected argument " "4"" of type '" "wxMenu *""'");
40927 arg4
= reinterpret_cast< wxMenu
* >(argp4
);
40930 arg5
= wxString_in_helper(obj4
);
40931 if (arg5
== NULL
) SWIG_fail
;
40936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40937 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
40938 wxPyEndAllowThreads(__tstate
);
40939 if (PyErr_Occurred()) SWIG_fail
;
40942 resultobj
= wxPyMake_wxObject(result
, (bool)0);
40966 SWIGINTERN PyObject
*_wrap_Menu_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40967 PyObject
*resultobj
= 0;
40968 wxMenu
*arg1
= (wxMenu
*) 0 ;
40970 wxMenuItem
*result
= 0 ;
40975 PyObject
* obj0
= 0 ;
40976 PyObject
* obj1
= 0 ;
40977 char * kwnames
[] = {
40978 (char *) "self",(char *) "id", NULL
40981 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40982 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40983 if (!SWIG_IsOK(res1
)) {
40984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_Remove" "', expected argument " "1"" of type '" "wxMenu *""'");
40986 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40987 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40988 if (!SWIG_IsOK(ecode2
)) {
40989 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_Remove" "', expected argument " "2"" of type '" "int""'");
40991 arg2
= static_cast< int >(val2
);
40993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40994 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
40995 wxPyEndAllowThreads(__tstate
);
40996 if (PyErr_Occurred()) SWIG_fail
;
40999 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
41007 SWIGINTERN PyObject
*_wrap_Menu_RemoveItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41008 PyObject
*resultobj
= 0;
41009 wxMenu
*arg1
= (wxMenu
*) 0 ;
41010 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
41011 wxMenuItem
*result
= 0 ;
41016 PyObject
* obj0
= 0 ;
41017 PyObject
* obj1
= 0 ;
41018 char * kwnames
[] = {
41019 (char *) "self",(char *) "item", NULL
41022 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41023 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
41024 if (!SWIG_IsOK(res1
)) {
41025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_RemoveItem" "', expected argument " "1"" of type '" "wxMenu *""'");
41027 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
41028 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
41029 if (!SWIG_IsOK(res2
)) {
41030 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Menu_RemoveItem" "', expected argument " "2"" of type '" "wxMenuItem *""'");
41032 arg2
= reinterpret_cast< wxMenuItem
* >(argp2
);
41034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41035 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
41036 wxPyEndAllowThreads(__tstate
);
41037 if (PyErr_Occurred()) SWIG_fail
;
41040 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
41048 SWIGINTERN PyObject
*_wrap_Menu_Delete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41049 PyObject
*resultobj
= 0;
41050 wxMenu
*arg1
= (wxMenu
*) 0 ;
41057 PyObject
* obj0
= 0 ;
41058 PyObject
* obj1
= 0 ;
41059 char * kwnames
[] = {
41060 (char *) "self",(char *) "id", NULL
41063 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Delete",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41064 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
41065 if (!SWIG_IsOK(res1
)) {
41066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_Delete" "', expected argument " "1"" of type '" "wxMenu *""'");
41068 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
41069 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41070 if (!SWIG_IsOK(ecode2
)) {
41071 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_Delete" "', expected argument " "2"" of type '" "int""'");
41073 arg2
= static_cast< int >(val2
);
41075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41076 result
= (bool)(arg1
)->Delete(arg2
);
41077 wxPyEndAllowThreads(__tstate
);
41078 if (PyErr_Occurred()) SWIG_fail
;
41081 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41089 SWIGINTERN PyObject
*_wrap_Menu_DeleteItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41090 PyObject
*resultobj
= 0;
41091 wxMenu
*arg1
= (wxMenu
*) 0 ;
41092 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
41098 PyObject
* obj0
= 0 ;
41099 PyObject
* obj1
= 0 ;
41100 char * kwnames
[] = {
41101 (char *) "self",(char *) "item", NULL
41104 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DeleteItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41105 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
41106 if (!SWIG_IsOK(res1
)) {
41107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_DeleteItem" "', expected argument " "1"" of type '" "wxMenu *""'");
41109 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
41110 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
41111 if (!SWIG_IsOK(res2
)) {
41112 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Menu_DeleteItem" "', expected argument " "2"" of type '" "wxMenuItem *""'");
41114 arg2
= reinterpret_cast< wxMenuItem
* >(argp2
);
41116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41117 result
= (bool)(arg1
)->Delete(arg2
);
41118 wxPyEndAllowThreads(__tstate
);
41119 if (PyErr_Occurred()) SWIG_fail
;
41122 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41130 SWIGINTERN PyObject
*_wrap_Menu_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41131 PyObject
*resultobj
= 0;
41132 wxMenu
*arg1
= (wxMenu
*) 0 ;
41135 PyObject
*swig_obj
[1] ;
41137 if (!args
) SWIG_fail
;
41138 swig_obj
[0] = args
;
41139 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
41140 if (!SWIG_IsOK(res1
)) {
41141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_Destroy" "', expected argument " "1"" of type '" "wxMenu *""'");
41143 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
41145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41146 wxMenu_Destroy(arg1
);
41147 wxPyEndAllowThreads(__tstate
);
41148 if (PyErr_Occurred()) SWIG_fail
;
41150 resultobj
= SWIG_Py_Void();
41157 SWIGINTERN PyObject
*_wrap_Menu_DestroyId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41158 PyObject
*resultobj
= 0;
41159 wxMenu
*arg1
= (wxMenu
*) 0 ;
41166 PyObject
* obj0
= 0 ;
41167 PyObject
* obj1
= 0 ;
41168 char * kwnames
[] = {
41169 (char *) "self",(char *) "id", NULL
41172 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41173 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
41174 if (!SWIG_IsOK(res1
)) {
41175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_DestroyId" "', expected argument " "1"" of type '" "wxMenu *""'");
41177 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
41178 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41179 if (!SWIG_IsOK(ecode2
)) {
41180 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_DestroyId" "', expected argument " "2"" of type '" "int""'");
41182 arg2
= static_cast< int >(val2
);
41184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41185 result
= (bool)(arg1
)->Destroy(arg2
);
41186 wxPyEndAllowThreads(__tstate
);
41187 if (PyErr_Occurred()) SWIG_fail
;
41190 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41198 SWIGINTERN PyObject
*_wrap_Menu_DestroyItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41199 PyObject
*resultobj
= 0;
41200 wxMenu
*arg1
= (wxMenu
*) 0 ;
41201 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
41207 PyObject
* obj0
= 0 ;
41208 PyObject
* obj1
= 0 ;
41209 char * kwnames
[] = {
41210 (char *) "self",(char *) "item", NULL
41213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41214 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
41215 if (!SWIG_IsOK(res1
)) {
41216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_DestroyItem" "', expected argument " "1"" of type '" "wxMenu *""'");
41218 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
41219 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
41220 if (!SWIG_IsOK(res2
)) {
41221 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Menu_DestroyItem" "', expected argument " "2"" of type '" "wxMenuItem *""'");
41223 arg2
= reinterpret_cast< wxMenuItem
* >(argp2
);
41225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41226 result
= (bool)(arg1
)->Destroy(arg2
);
41227 wxPyEndAllowThreads(__tstate
);
41228 if (PyErr_Occurred()) SWIG_fail
;
41231 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41239 SWIGINTERN PyObject
*_wrap_Menu_GetMenuItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41240 PyObject
*resultobj
= 0;
41241 wxMenu
*arg1
= (wxMenu
*) 0 ;
41245 PyObject
*swig_obj
[1] ;
41247 if (!args
) SWIG_fail
;
41248 swig_obj
[0] = args
;
41249 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
41250 if (!SWIG_IsOK(res1
)) {
41251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_GetMenuItemCount" "', expected argument " "1"" of type '" "wxMenu const *""'");
41253 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
41255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41256 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
41257 wxPyEndAllowThreads(__tstate
);
41258 if (PyErr_Occurred()) SWIG_fail
;
41260 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
41267 SWIGINTERN PyObject
*_wrap_Menu_GetMenuItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41268 PyObject
*resultobj
= 0;
41269 wxMenu
*arg1
= (wxMenu
*) 0 ;
41270 PyObject
*result
= 0 ;
41273 PyObject
*swig_obj
[1] ;
41275 if (!args
) SWIG_fail
;
41276 swig_obj
[0] = args
;
41277 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
41278 if (!SWIG_IsOK(res1
)) {
41279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_GetMenuItems" "', expected argument " "1"" of type '" "wxMenu *""'");
41281 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
41283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41284 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
41285 wxPyEndAllowThreads(__tstate
);
41286 if (PyErr_Occurred()) SWIG_fail
;
41288 resultobj
= result
;
41295 SWIGINTERN PyObject
*_wrap_Menu_FindItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41296 PyObject
*resultobj
= 0;
41297 wxMenu
*arg1
= (wxMenu
*) 0 ;
41298 wxString
*arg2
= 0 ;
41302 bool temp2
= false ;
41303 PyObject
* obj0
= 0 ;
41304 PyObject
* obj1
= 0 ;
41305 char * kwnames
[] = {
41306 (char *) "self",(char *) "item", NULL
41309 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41310 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
41311 if (!SWIG_IsOK(res1
)) {
41312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_FindItem" "', expected argument " "1"" of type '" "wxMenu const *""'");
41314 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
41316 arg2
= wxString_in_helper(obj1
);
41317 if (arg2
== NULL
) SWIG_fail
;
41321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41322 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
41323 wxPyEndAllowThreads(__tstate
);
41324 if (PyErr_Occurred()) SWIG_fail
;
41326 resultobj
= SWIG_From_int(static_cast< int >(result
));
41341 SWIGINTERN PyObject
*_wrap_Menu_FindItemById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41342 PyObject
*resultobj
= 0;
41343 wxMenu
*arg1
= (wxMenu
*) 0 ;
41345 wxMenuItem
*result
= 0 ;
41350 PyObject
* obj0
= 0 ;
41351 PyObject
* obj1
= 0 ;
41352 char * kwnames
[] = {
41353 (char *) "self",(char *) "id", NULL
41356 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemById",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41357 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
41358 if (!SWIG_IsOK(res1
)) {
41359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_FindItemById" "', expected argument " "1"" of type '" "wxMenu const *""'");
41361 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
41362 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41363 if (!SWIG_IsOK(ecode2
)) {
41364 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_FindItemById" "', expected argument " "2"" of type '" "int""'");
41366 arg2
= static_cast< int >(val2
);
41368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41369 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
41370 wxPyEndAllowThreads(__tstate
);
41371 if (PyErr_Occurred()) SWIG_fail
;
41374 resultobj
= wxPyMake_wxObject(result
, (bool)0);
41382 SWIGINTERN PyObject
*_wrap_Menu_FindItemByPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41383 PyObject
*resultobj
= 0;
41384 wxMenu
*arg1
= (wxMenu
*) 0 ;
41386 wxMenuItem
*result
= 0 ;
41391 PyObject
* obj0
= 0 ;
41392 PyObject
* obj1
= 0 ;
41393 char * kwnames
[] = {
41394 (char *) "self",(char *) "position", NULL
41397 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41398 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
41399 if (!SWIG_IsOK(res1
)) {
41400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_FindItemByPosition" "', expected argument " "1"" of type '" "wxMenu const *""'");
41402 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
41403 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
41404 if (!SWIG_IsOK(ecode2
)) {
41405 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_FindItemByPosition" "', expected argument " "2"" of type '" "size_t""'");
41407 arg2
= static_cast< size_t >(val2
);
41409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41410 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
41411 wxPyEndAllowThreads(__tstate
);
41412 if (PyErr_Occurred()) SWIG_fail
;
41415 resultobj
= wxPyMake_wxObject(result
, (bool)0);
41423 SWIGINTERN PyObject
*_wrap_Menu_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41424 PyObject
*resultobj
= 0;
41425 wxMenu
*arg1
= (wxMenu
*) 0 ;
41434 PyObject
* obj0
= 0 ;
41435 PyObject
* obj1
= 0 ;
41436 PyObject
* obj2
= 0 ;
41437 char * kwnames
[] = {
41438 (char *) "self",(char *) "id",(char *) "enable", NULL
41441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41442 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
41443 if (!SWIG_IsOK(res1
)) {
41444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_Enable" "', expected argument " "1"" of type '" "wxMenu *""'");
41446 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
41447 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41448 if (!SWIG_IsOK(ecode2
)) {
41449 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_Enable" "', expected argument " "2"" of type '" "int""'");
41451 arg2
= static_cast< int >(val2
);
41452 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
41453 if (!SWIG_IsOK(ecode3
)) {
41454 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Menu_Enable" "', expected argument " "3"" of type '" "bool""'");
41456 arg3
= static_cast< bool >(val3
);
41458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41459 (arg1
)->Enable(arg2
,arg3
);
41460 wxPyEndAllowThreads(__tstate
);
41461 if (PyErr_Occurred()) SWIG_fail
;
41463 resultobj
= SWIG_Py_Void();
41470 SWIGINTERN PyObject
*_wrap_Menu_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41471 PyObject
*resultobj
= 0;
41472 wxMenu
*arg1
= (wxMenu
*) 0 ;
41479 PyObject
* obj0
= 0 ;
41480 PyObject
* obj1
= 0 ;
41481 char * kwnames
[] = {
41482 (char *) "self",(char *) "id", NULL
41485 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41486 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
41487 if (!SWIG_IsOK(res1
)) {
41488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_IsEnabled" "', expected argument " "1"" of type '" "wxMenu const *""'");
41490 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
41491 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41492 if (!SWIG_IsOK(ecode2
)) {
41493 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_IsEnabled" "', expected argument " "2"" of type '" "int""'");
41495 arg2
= static_cast< int >(val2
);
41497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41498 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
41499 wxPyEndAllowThreads(__tstate
);
41500 if (PyErr_Occurred()) SWIG_fail
;
41503 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41511 SWIGINTERN PyObject
*_wrap_Menu_Check(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41512 PyObject
*resultobj
= 0;
41513 wxMenu
*arg1
= (wxMenu
*) 0 ;
41522 PyObject
* obj0
= 0 ;
41523 PyObject
* obj1
= 0 ;
41524 PyObject
* obj2
= 0 ;
41525 char * kwnames
[] = {
41526 (char *) "self",(char *) "id",(char *) "check", NULL
41529 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Check",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41530 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
41531 if (!SWIG_IsOK(res1
)) {
41532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_Check" "', expected argument " "1"" of type '" "wxMenu *""'");
41534 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
41535 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41536 if (!SWIG_IsOK(ecode2
)) {
41537 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_Check" "', expected argument " "2"" of type '" "int""'");
41539 arg2
= static_cast< int >(val2
);
41540 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
41541 if (!SWIG_IsOK(ecode3
)) {
41542 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Menu_Check" "', expected argument " "3"" of type '" "bool""'");
41544 arg3
= static_cast< bool >(val3
);
41546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41547 (arg1
)->Check(arg2
,arg3
);
41548 wxPyEndAllowThreads(__tstate
);
41549 if (PyErr_Occurred()) SWIG_fail
;
41551 resultobj
= SWIG_Py_Void();
41558 SWIGINTERN PyObject
*_wrap_Menu_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41559 PyObject
*resultobj
= 0;
41560 wxMenu
*arg1
= (wxMenu
*) 0 ;
41567 PyObject
* obj0
= 0 ;
41568 PyObject
* obj1
= 0 ;
41569 char * kwnames
[] = {
41570 (char *) "self",(char *) "id", NULL
41573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsChecked",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41574 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
41575 if (!SWIG_IsOK(res1
)) {
41576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_IsChecked" "', expected argument " "1"" of type '" "wxMenu const *""'");
41578 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
41579 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41580 if (!SWIG_IsOK(ecode2
)) {
41581 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_IsChecked" "', expected argument " "2"" of type '" "int""'");
41583 arg2
= static_cast< int >(val2
);
41585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41586 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
41587 wxPyEndAllowThreads(__tstate
);
41588 if (PyErr_Occurred()) SWIG_fail
;
41591 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41599 SWIGINTERN PyObject
*_wrap_Menu_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41600 PyObject
*resultobj
= 0;
41601 wxMenu
*arg1
= (wxMenu
*) 0 ;
41603 wxString
*arg3
= 0 ;
41608 bool temp3
= false ;
41609 PyObject
* obj0
= 0 ;
41610 PyObject
* obj1
= 0 ;
41611 PyObject
* obj2
= 0 ;
41612 char * kwnames
[] = {
41613 (char *) "self",(char *) "id",(char *) "label", NULL
41616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
41618 if (!SWIG_IsOK(res1
)) {
41619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_SetLabel" "', expected argument " "1"" of type '" "wxMenu *""'");
41621 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
41622 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41623 if (!SWIG_IsOK(ecode2
)) {
41624 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_SetLabel" "', expected argument " "2"" of type '" "int""'");
41626 arg2
= static_cast< int >(val2
);
41628 arg3
= wxString_in_helper(obj2
);
41629 if (arg3
== NULL
) SWIG_fail
;
41633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41634 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
41635 wxPyEndAllowThreads(__tstate
);
41636 if (PyErr_Occurred()) SWIG_fail
;
41638 resultobj
= SWIG_Py_Void();
41653 SWIGINTERN PyObject
*_wrap_Menu_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41654 PyObject
*resultobj
= 0;
41655 wxMenu
*arg1
= (wxMenu
*) 0 ;
41662 PyObject
* obj0
= 0 ;
41663 PyObject
* obj1
= 0 ;
41664 char * kwnames
[] = {
41665 (char *) "self",(char *) "id", NULL
41668 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41669 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
41670 if (!SWIG_IsOK(res1
)) {
41671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_GetLabel" "', expected argument " "1"" of type '" "wxMenu const *""'");
41673 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
41674 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41675 if (!SWIG_IsOK(ecode2
)) {
41676 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_GetLabel" "', expected argument " "2"" of type '" "int""'");
41678 arg2
= static_cast< int >(val2
);
41680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41681 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
41682 wxPyEndAllowThreads(__tstate
);
41683 if (PyErr_Occurred()) SWIG_fail
;
41687 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
41689 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
41698 SWIGINTERN PyObject
*_wrap_Menu_SetHelpString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41699 PyObject
*resultobj
= 0;
41700 wxMenu
*arg1
= (wxMenu
*) 0 ;
41702 wxString
*arg3
= 0 ;
41707 bool temp3
= false ;
41708 PyObject
* obj0
= 0 ;
41709 PyObject
* obj1
= 0 ;
41710 PyObject
* obj2
= 0 ;
41711 char * kwnames
[] = {
41712 (char *) "self",(char *) "id",(char *) "helpString", NULL
41715 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41716 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
41717 if (!SWIG_IsOK(res1
)) {
41718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_SetHelpString" "', expected argument " "1"" of type '" "wxMenu *""'");
41720 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
41721 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41722 if (!SWIG_IsOK(ecode2
)) {
41723 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_SetHelpString" "', expected argument " "2"" of type '" "int""'");
41725 arg2
= static_cast< int >(val2
);
41727 arg3
= wxString_in_helper(obj2
);
41728 if (arg3
== NULL
) SWIG_fail
;
41732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41733 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
41734 wxPyEndAllowThreads(__tstate
);
41735 if (PyErr_Occurred()) SWIG_fail
;
41737 resultobj
= SWIG_Py_Void();
41752 SWIGINTERN PyObject
*_wrap_Menu_GetHelpString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41753 PyObject
*resultobj
= 0;
41754 wxMenu
*arg1
= (wxMenu
*) 0 ;
41761 PyObject
* obj0
= 0 ;
41762 PyObject
* obj1
= 0 ;
41763 char * kwnames
[] = {
41764 (char *) "self",(char *) "id", NULL
41767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetHelpString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41768 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
41769 if (!SWIG_IsOK(res1
)) {
41770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_GetHelpString" "', expected argument " "1"" of type '" "wxMenu const *""'");
41772 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
41773 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41774 if (!SWIG_IsOK(ecode2
)) {
41775 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_GetHelpString" "', expected argument " "2"" of type '" "int""'");
41777 arg2
= static_cast< int >(val2
);
41779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41780 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
41781 wxPyEndAllowThreads(__tstate
);
41782 if (PyErr_Occurred()) SWIG_fail
;
41786 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
41788 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
41797 SWIGINTERN PyObject
*_wrap_Menu_SetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41798 PyObject
*resultobj
= 0;
41799 wxMenu
*arg1
= (wxMenu
*) 0 ;
41800 wxString
*arg2
= 0 ;
41803 bool temp2
= false ;
41804 PyObject
* obj0
= 0 ;
41805 PyObject
* obj1
= 0 ;
41806 char * kwnames
[] = {
41807 (char *) "self",(char *) "title", NULL
41810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41811 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
41812 if (!SWIG_IsOK(res1
)) {
41813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_SetTitle" "', expected argument " "1"" of type '" "wxMenu *""'");
41815 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
41817 arg2
= wxString_in_helper(obj1
);
41818 if (arg2
== NULL
) SWIG_fail
;
41822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41823 (arg1
)->SetTitle((wxString
const &)*arg2
);
41824 wxPyEndAllowThreads(__tstate
);
41825 if (PyErr_Occurred()) SWIG_fail
;
41827 resultobj
= SWIG_Py_Void();
41842 SWIGINTERN PyObject
*_wrap_Menu_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41843 PyObject
*resultobj
= 0;
41844 wxMenu
*arg1
= (wxMenu
*) 0 ;
41848 PyObject
*swig_obj
[1] ;
41850 if (!args
) SWIG_fail
;
41851 swig_obj
[0] = args
;
41852 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
41853 if (!SWIG_IsOK(res1
)) {
41854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_GetTitle" "', expected argument " "1"" of type '" "wxMenu const *""'");
41856 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
41858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41859 result
= ((wxMenu
const *)arg1
)->GetTitle();
41860 wxPyEndAllowThreads(__tstate
);
41861 if (PyErr_Occurred()) SWIG_fail
;
41865 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
41867 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
41876 SWIGINTERN PyObject
*_wrap_Menu_SetEventHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41877 PyObject
*resultobj
= 0;
41878 wxMenu
*arg1
= (wxMenu
*) 0 ;
41879 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
41884 PyObject
* obj0
= 0 ;
41885 PyObject
* obj1
= 0 ;
41886 char * kwnames
[] = {
41887 (char *) "self",(char *) "handler", NULL
41890 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41891 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
41892 if (!SWIG_IsOK(res1
)) {
41893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_SetEventHandler" "', expected argument " "1"" of type '" "wxMenu *""'");
41895 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
41896 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
41897 if (!SWIG_IsOK(res2
)) {
41898 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Menu_SetEventHandler" "', expected argument " "2"" of type '" "wxEvtHandler *""'");
41900 arg2
= reinterpret_cast< wxEvtHandler
* >(argp2
);
41902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41903 (arg1
)->SetEventHandler(arg2
);
41904 wxPyEndAllowThreads(__tstate
);
41905 if (PyErr_Occurred()) SWIG_fail
;
41907 resultobj
= SWIG_Py_Void();
41914 SWIGINTERN PyObject
*_wrap_Menu_GetEventHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41915 PyObject
*resultobj
= 0;
41916 wxMenu
*arg1
= (wxMenu
*) 0 ;
41917 wxEvtHandler
*result
= 0 ;
41920 PyObject
*swig_obj
[1] ;
41922 if (!args
) SWIG_fail
;
41923 swig_obj
[0] = args
;
41924 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
41925 if (!SWIG_IsOK(res1
)) {
41926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_GetEventHandler" "', expected argument " "1"" of type '" "wxMenu const *""'");
41928 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
41930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41931 result
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
41932 wxPyEndAllowThreads(__tstate
);
41933 if (PyErr_Occurred()) SWIG_fail
;
41936 resultobj
= wxPyMake_wxObject(result
, 0);
41944 SWIGINTERN PyObject
*_wrap_Menu_SetInvokingWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41945 PyObject
*resultobj
= 0;
41946 wxMenu
*arg1
= (wxMenu
*) 0 ;
41947 wxWindow
*arg2
= (wxWindow
*) 0 ;
41952 PyObject
* obj0
= 0 ;
41953 PyObject
* obj1
= 0 ;
41954 char * kwnames
[] = {
41955 (char *) "self",(char *) "win", NULL
41958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41959 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
41960 if (!SWIG_IsOK(res1
)) {
41961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_SetInvokingWindow" "', expected argument " "1"" of type '" "wxMenu *""'");
41963 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
41964 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41965 if (!SWIG_IsOK(res2
)) {
41966 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Menu_SetInvokingWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
41968 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
41970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41971 (arg1
)->SetInvokingWindow(arg2
);
41972 wxPyEndAllowThreads(__tstate
);
41973 if (PyErr_Occurred()) SWIG_fail
;
41975 resultobj
= SWIG_Py_Void();
41982 SWIGINTERN PyObject
*_wrap_Menu_GetInvokingWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41983 PyObject
*resultobj
= 0;
41984 wxMenu
*arg1
= (wxMenu
*) 0 ;
41985 wxWindow
*result
= 0 ;
41988 PyObject
*swig_obj
[1] ;
41990 if (!args
) SWIG_fail
;
41991 swig_obj
[0] = args
;
41992 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
41993 if (!SWIG_IsOK(res1
)) {
41994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_GetInvokingWindow" "', expected argument " "1"" of type '" "wxMenu const *""'");
41996 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
41998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41999 result
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
42000 wxPyEndAllowThreads(__tstate
);
42001 if (PyErr_Occurred()) SWIG_fail
;
42004 resultobj
= wxPyMake_wxObject(result
, 0);
42012 SWIGINTERN PyObject
*_wrap_Menu_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42013 PyObject
*resultobj
= 0;
42014 wxMenu
*arg1
= (wxMenu
*) 0 ;
42018 PyObject
*swig_obj
[1] ;
42020 if (!args
) SWIG_fail
;
42021 swig_obj
[0] = args
;
42022 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
42023 if (!SWIG_IsOK(res1
)) {
42024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_GetStyle" "', expected argument " "1"" of type '" "wxMenu const *""'");
42026 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
42028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42029 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
42030 wxPyEndAllowThreads(__tstate
);
42031 if (PyErr_Occurred()) SWIG_fail
;
42033 resultobj
= SWIG_From_long(static_cast< long >(result
));
42040 SWIGINTERN PyObject
*_wrap_Menu_UpdateUI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42041 PyObject
*resultobj
= 0;
42042 wxMenu
*arg1
= (wxMenu
*) 0 ;
42043 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
42048 PyObject
* obj0
= 0 ;
42049 PyObject
* obj1
= 0 ;
42050 char * kwnames
[] = {
42051 (char *) "self",(char *) "source", NULL
42054 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42055 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
42056 if (!SWIG_IsOK(res1
)) {
42057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_UpdateUI" "', expected argument " "1"" of type '" "wxMenu *""'");
42059 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
42061 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
42062 if (!SWIG_IsOK(res2
)) {
42063 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Menu_UpdateUI" "', expected argument " "2"" of type '" "wxEvtHandler *""'");
42065 arg2
= reinterpret_cast< wxEvtHandler
* >(argp2
);
42068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42069 (arg1
)->UpdateUI(arg2
);
42070 wxPyEndAllowThreads(__tstate
);
42071 if (PyErr_Occurred()) SWIG_fail
;
42073 resultobj
= SWIG_Py_Void();
42080 SWIGINTERN PyObject
*_wrap_Menu_GetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42081 PyObject
*resultobj
= 0;
42082 wxMenu
*arg1
= (wxMenu
*) 0 ;
42083 wxMenuBar
*result
= 0 ;
42086 PyObject
*swig_obj
[1] ;
42088 if (!args
) SWIG_fail
;
42089 swig_obj
[0] = args
;
42090 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
42091 if (!SWIG_IsOK(res1
)) {
42092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_GetMenuBar" "', expected argument " "1"" of type '" "wxMenu const *""'");
42094 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
42096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42097 result
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
42098 wxPyEndAllowThreads(__tstate
);
42099 if (PyErr_Occurred()) SWIG_fail
;
42102 resultobj
= wxPyMake_wxObject(result
, (bool)0);
42110 SWIGINTERN PyObject
*_wrap_Menu_Attach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42111 PyObject
*resultobj
= 0;
42112 wxMenu
*arg1
= (wxMenu
*) 0 ;
42113 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
42118 PyObject
* obj0
= 0 ;
42119 PyObject
* obj1
= 0 ;
42120 char * kwnames
[] = {
42121 (char *) "self",(char *) "menubar", NULL
42124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42125 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
42126 if (!SWIG_IsOK(res1
)) {
42127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_Attach" "', expected argument " "1"" of type '" "wxMenu *""'");
42129 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
42130 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenuBarBase
, 0 | 0 );
42131 if (!SWIG_IsOK(res2
)) {
42132 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Menu_Attach" "', expected argument " "2"" of type '" "wxMenuBarBase *""'");
42134 arg2
= reinterpret_cast< wxMenuBarBase
* >(argp2
);
42136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42137 (arg1
)->Attach(arg2
);
42138 wxPyEndAllowThreads(__tstate
);
42139 if (PyErr_Occurred()) SWIG_fail
;
42141 resultobj
= SWIG_Py_Void();
42148 SWIGINTERN PyObject
*_wrap_Menu_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42149 PyObject
*resultobj
= 0;
42150 wxMenu
*arg1
= (wxMenu
*) 0 ;
42153 PyObject
*swig_obj
[1] ;
42155 if (!args
) SWIG_fail
;
42156 swig_obj
[0] = args
;
42157 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
42158 if (!SWIG_IsOK(res1
)) {
42159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_Detach" "', expected argument " "1"" of type '" "wxMenu *""'");
42161 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
42163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42165 wxPyEndAllowThreads(__tstate
);
42166 if (PyErr_Occurred()) SWIG_fail
;
42168 resultobj
= SWIG_Py_Void();
42175 SWIGINTERN PyObject
*_wrap_Menu_IsAttached(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42176 PyObject
*resultobj
= 0;
42177 wxMenu
*arg1
= (wxMenu
*) 0 ;
42181 PyObject
*swig_obj
[1] ;
42183 if (!args
) SWIG_fail
;
42184 swig_obj
[0] = args
;
42185 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
42186 if (!SWIG_IsOK(res1
)) {
42187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_IsAttached" "', expected argument " "1"" of type '" "wxMenu const *""'");
42189 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
42191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42192 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
42193 wxPyEndAllowThreads(__tstate
);
42194 if (PyErr_Occurred()) SWIG_fail
;
42197 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42205 SWIGINTERN PyObject
*_wrap_Menu_SetParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42206 PyObject
*resultobj
= 0;
42207 wxMenu
*arg1
= (wxMenu
*) 0 ;
42208 wxMenu
*arg2
= (wxMenu
*) 0 ;
42213 PyObject
* obj0
= 0 ;
42214 PyObject
* obj1
= 0 ;
42215 char * kwnames
[] = {
42216 (char *) "self",(char *) "parent", NULL
42219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42220 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
42221 if (!SWIG_IsOK(res1
)) {
42222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_SetParent" "', expected argument " "1"" of type '" "wxMenu *""'");
42224 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
42225 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
42226 if (!SWIG_IsOK(res2
)) {
42227 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Menu_SetParent" "', expected argument " "2"" of type '" "wxMenu *""'");
42229 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
42231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42232 (arg1
)->SetParent(arg2
);
42233 wxPyEndAllowThreads(__tstate
);
42234 if (PyErr_Occurred()) SWIG_fail
;
42236 resultobj
= SWIG_Py_Void();
42243 SWIGINTERN PyObject
*_wrap_Menu_GetParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42244 PyObject
*resultobj
= 0;
42245 wxMenu
*arg1
= (wxMenu
*) 0 ;
42246 wxMenu
*result
= 0 ;
42249 PyObject
*swig_obj
[1] ;
42251 if (!args
) SWIG_fail
;
42252 swig_obj
[0] = args
;
42253 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
42254 if (!SWIG_IsOK(res1
)) {
42255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_GetParent" "', expected argument " "1"" of type '" "wxMenu const *""'");
42257 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
42259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42260 result
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
42261 wxPyEndAllowThreads(__tstate
);
42262 if (PyErr_Occurred()) SWIG_fail
;
42265 resultobj
= wxPyMake_wxObject(result
, 0);
42273 SWIGINTERN PyObject
*Menu_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42275 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42276 SWIG_TypeNewClientData(SWIGTYPE_p_wxMenu
, SWIG_NewClientData(obj
));
42277 return SWIG_Py_Void();
42280 SWIGINTERN PyObject
*Menu_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42281 return SWIG_Python_InitShadowInstance(args
);
42284 SWIGINTERN PyObject
*_wrap_new_MenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42285 PyObject
*resultobj
= 0;
42286 long arg1
= (long) 0 ;
42287 wxMenuBar
*result
= 0 ;
42290 PyObject
* obj0
= 0 ;
42291 char * kwnames
[] = {
42292 (char *) "style", NULL
42295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MenuBar",kwnames
,&obj0
)) SWIG_fail
;
42297 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
42298 if (!SWIG_IsOK(ecode1
)) {
42299 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_MenuBar" "', expected argument " "1"" of type '" "long""'");
42301 arg1
= static_cast< long >(val1
);
42304 if (!wxPyCheckForApp()) SWIG_fail
;
42305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42306 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
42307 wxPyEndAllowThreads(__tstate
);
42308 if (PyErr_Occurred()) SWIG_fail
;
42310 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_NEW
| 0 );
42317 SWIGINTERN PyObject
*_wrap_MenuBar_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42318 PyObject
*resultobj
= 0;
42319 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
42320 wxMenu
*arg2
= (wxMenu
*) 0 ;
42321 wxString
*arg3
= 0 ;
42327 bool temp3
= false ;
42328 PyObject
* obj0
= 0 ;
42329 PyObject
* obj1
= 0 ;
42330 PyObject
* obj2
= 0 ;
42331 char * kwnames
[] = {
42332 (char *) "self",(char *) "menu",(char *) "title", NULL
42335 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
42336 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
42337 if (!SWIG_IsOK(res1
)) {
42338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_Append" "', expected argument " "1"" of type '" "wxMenuBar *""'");
42340 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
42341 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
42342 if (!SWIG_IsOK(res2
)) {
42343 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MenuBar_Append" "', expected argument " "2"" of type '" "wxMenu *""'");
42345 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
42347 arg3
= wxString_in_helper(obj2
);
42348 if (arg3
== NULL
) SWIG_fail
;
42352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42353 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
42354 wxPyEndAllowThreads(__tstate
);
42355 if (PyErr_Occurred()) SWIG_fail
;
42358 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42374 SWIGINTERN PyObject
*_wrap_MenuBar_Insert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42375 PyObject
*resultobj
= 0;
42376 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
42378 wxMenu
*arg3
= (wxMenu
*) 0 ;
42379 wxString
*arg4
= 0 ;
42387 bool temp4
= false ;
42388 PyObject
* obj0
= 0 ;
42389 PyObject
* obj1
= 0 ;
42390 PyObject
* obj2
= 0 ;
42391 PyObject
* obj3
= 0 ;
42392 char * kwnames
[] = {
42393 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
42396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
42397 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
42398 if (!SWIG_IsOK(res1
)) {
42399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_Insert" "', expected argument " "1"" of type '" "wxMenuBar *""'");
42401 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
42402 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
42403 if (!SWIG_IsOK(ecode2
)) {
42404 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_Insert" "', expected argument " "2"" of type '" "size_t""'");
42406 arg2
= static_cast< size_t >(val2
);
42407 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxMenu
, 0 | 0 );
42408 if (!SWIG_IsOK(res3
)) {
42409 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "MenuBar_Insert" "', expected argument " "3"" of type '" "wxMenu *""'");
42411 arg3
= reinterpret_cast< wxMenu
* >(argp3
);
42413 arg4
= wxString_in_helper(obj3
);
42414 if (arg4
== NULL
) SWIG_fail
;
42418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42419 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
42420 wxPyEndAllowThreads(__tstate
);
42421 if (PyErr_Occurred()) SWIG_fail
;
42424 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42440 SWIGINTERN PyObject
*_wrap_MenuBar_GetMenuCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42441 PyObject
*resultobj
= 0;
42442 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
42446 PyObject
*swig_obj
[1] ;
42448 if (!args
) SWIG_fail
;
42449 swig_obj
[0] = args
;
42450 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
42451 if (!SWIG_IsOK(res1
)) {
42452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_GetMenuCount" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
42454 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
42456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42457 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
42458 wxPyEndAllowThreads(__tstate
);
42459 if (PyErr_Occurred()) SWIG_fail
;
42461 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
42468 SWIGINTERN PyObject
*_wrap_MenuBar_GetMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42469 PyObject
*resultobj
= 0;
42470 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
42472 wxMenu
*result
= 0 ;
42477 PyObject
* obj0
= 0 ;
42478 PyObject
* obj1
= 0 ;
42479 char * kwnames
[] = {
42480 (char *) "self",(char *) "pos", NULL
42483 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42484 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
42485 if (!SWIG_IsOK(res1
)) {
42486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_GetMenu" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
42488 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
42489 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
42490 if (!SWIG_IsOK(ecode2
)) {
42491 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_GetMenu" "', expected argument " "2"" of type '" "size_t""'");
42493 arg2
= static_cast< size_t >(val2
);
42495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42496 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
42497 wxPyEndAllowThreads(__tstate
);
42498 if (PyErr_Occurred()) SWIG_fail
;
42501 resultobj
= wxPyMake_wxObject(result
, 0);
42509 SWIGINTERN PyObject
*_wrap_MenuBar_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42510 PyObject
*resultobj
= 0;
42511 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
42513 wxMenu
*arg3
= (wxMenu
*) 0 ;
42514 wxString
*arg4
= 0 ;
42515 wxMenu
*result
= 0 ;
42522 bool temp4
= false ;
42523 PyObject
* obj0
= 0 ;
42524 PyObject
* obj1
= 0 ;
42525 PyObject
* obj2
= 0 ;
42526 PyObject
* obj3
= 0 ;
42527 char * kwnames
[] = {
42528 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
42531 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
42532 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
42533 if (!SWIG_IsOK(res1
)) {
42534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_Replace" "', expected argument " "1"" of type '" "wxMenuBar *""'");
42536 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
42537 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
42538 if (!SWIG_IsOK(ecode2
)) {
42539 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_Replace" "', expected argument " "2"" of type '" "size_t""'");
42541 arg2
= static_cast< size_t >(val2
);
42542 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxMenu
, 0 | 0 );
42543 if (!SWIG_IsOK(res3
)) {
42544 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "MenuBar_Replace" "', expected argument " "3"" of type '" "wxMenu *""'");
42546 arg3
= reinterpret_cast< wxMenu
* >(argp3
);
42548 arg4
= wxString_in_helper(obj3
);
42549 if (arg4
== NULL
) SWIG_fail
;
42553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42554 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
42555 wxPyEndAllowThreads(__tstate
);
42556 if (PyErr_Occurred()) SWIG_fail
;
42559 resultobj
= wxPyMake_wxObject(result
, 0);
42575 SWIGINTERN PyObject
*_wrap_MenuBar_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42576 PyObject
*resultobj
= 0;
42577 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
42579 wxMenu
*result
= 0 ;
42584 PyObject
* obj0
= 0 ;
42585 PyObject
* obj1
= 0 ;
42586 char * kwnames
[] = {
42587 (char *) "self",(char *) "pos", NULL
42590 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42591 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
42592 if (!SWIG_IsOK(res1
)) {
42593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_Remove" "', expected argument " "1"" of type '" "wxMenuBar *""'");
42595 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
42596 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
42597 if (!SWIG_IsOK(ecode2
)) {
42598 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_Remove" "', expected argument " "2"" of type '" "size_t""'");
42600 arg2
= static_cast< size_t >(val2
);
42602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42603 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
42604 wxPyEndAllowThreads(__tstate
);
42605 if (PyErr_Occurred()) SWIG_fail
;
42608 resultobj
= wxPyMake_wxObject(result
, 0);
42616 SWIGINTERN PyObject
*_wrap_MenuBar_EnableTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42617 PyObject
*resultobj
= 0;
42618 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
42627 PyObject
* obj0
= 0 ;
42628 PyObject
* obj1
= 0 ;
42629 PyObject
* obj2
= 0 ;
42630 char * kwnames
[] = {
42631 (char *) "self",(char *) "pos",(char *) "enable", NULL
42634 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
42635 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
42636 if (!SWIG_IsOK(res1
)) {
42637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_EnableTop" "', expected argument " "1"" of type '" "wxMenuBar *""'");
42639 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
42640 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
42641 if (!SWIG_IsOK(ecode2
)) {
42642 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_EnableTop" "', expected argument " "2"" of type '" "size_t""'");
42644 arg2
= static_cast< size_t >(val2
);
42645 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
42646 if (!SWIG_IsOK(ecode3
)) {
42647 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MenuBar_EnableTop" "', expected argument " "3"" of type '" "bool""'");
42649 arg3
= static_cast< bool >(val3
);
42651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42652 (arg1
)->EnableTop(arg2
,arg3
);
42653 wxPyEndAllowThreads(__tstate
);
42654 if (PyErr_Occurred()) SWIG_fail
;
42656 resultobj
= SWIG_Py_Void();
42663 SWIGINTERN PyObject
*_wrap_MenuBar_IsEnabledTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42664 PyObject
*resultobj
= 0;
42665 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
42672 PyObject
* obj0
= 0 ;
42673 PyObject
* obj1
= 0 ;
42674 char * kwnames
[] = {
42675 (char *) "self",(char *) "pos", NULL
42678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42679 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
42680 if (!SWIG_IsOK(res1
)) {
42681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_IsEnabledTop" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
42683 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
42684 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
42685 if (!SWIG_IsOK(ecode2
)) {
42686 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_IsEnabledTop" "', expected argument " "2"" of type '" "size_t""'");
42688 arg2
= static_cast< size_t >(val2
);
42690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42691 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
42692 wxPyEndAllowThreads(__tstate
);
42693 if (PyErr_Occurred()) SWIG_fail
;
42696 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42704 SWIGINTERN PyObject
*_wrap_MenuBar_SetLabelTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42705 PyObject
*resultobj
= 0;
42706 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
42708 wxString
*arg3
= 0 ;
42713 bool temp3
= false ;
42714 PyObject
* obj0
= 0 ;
42715 PyObject
* obj1
= 0 ;
42716 PyObject
* obj2
= 0 ;
42717 char * kwnames
[] = {
42718 (char *) "self",(char *) "pos",(char *) "label", NULL
42721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
42722 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
42723 if (!SWIG_IsOK(res1
)) {
42724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_SetLabelTop" "', expected argument " "1"" of type '" "wxMenuBar *""'");
42726 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
42727 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
42728 if (!SWIG_IsOK(ecode2
)) {
42729 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_SetLabelTop" "', expected argument " "2"" of type '" "size_t""'");
42731 arg2
= static_cast< size_t >(val2
);
42733 arg3
= wxString_in_helper(obj2
);
42734 if (arg3
== NULL
) SWIG_fail
;
42738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42739 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
42740 wxPyEndAllowThreads(__tstate
);
42741 if (PyErr_Occurred()) SWIG_fail
;
42743 resultobj
= SWIG_Py_Void();
42758 SWIGINTERN PyObject
*_wrap_MenuBar_GetLabelTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42759 PyObject
*resultobj
= 0;
42760 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
42767 PyObject
* obj0
= 0 ;
42768 PyObject
* obj1
= 0 ;
42769 char * kwnames
[] = {
42770 (char *) "self",(char *) "pos", NULL
42773 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42774 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
42775 if (!SWIG_IsOK(res1
)) {
42776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_GetLabelTop" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
42778 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
42779 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
42780 if (!SWIG_IsOK(ecode2
)) {
42781 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_GetLabelTop" "', expected argument " "2"" of type '" "size_t""'");
42783 arg2
= static_cast< size_t >(val2
);
42785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42786 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
42787 wxPyEndAllowThreads(__tstate
);
42788 if (PyErr_Occurred()) SWIG_fail
;
42792 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
42794 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
42803 SWIGINTERN PyObject
*_wrap_MenuBar_FindMenuItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42804 PyObject
*resultobj
= 0;
42805 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
42806 wxString
*arg2
= 0 ;
42807 wxString
*arg3
= 0 ;
42811 bool temp2
= false ;
42812 bool temp3
= false ;
42813 PyObject
* obj0
= 0 ;
42814 PyObject
* obj1
= 0 ;
42815 PyObject
* obj2
= 0 ;
42816 char * kwnames
[] = {
42817 (char *) "self",(char *) "menu",(char *) "item", NULL
42820 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
42821 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
42822 if (!SWIG_IsOK(res1
)) {
42823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_FindMenuItem" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
42825 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
42827 arg2
= wxString_in_helper(obj1
);
42828 if (arg2
== NULL
) SWIG_fail
;
42832 arg3
= wxString_in_helper(obj2
);
42833 if (arg3
== NULL
) SWIG_fail
;
42837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42838 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
42839 wxPyEndAllowThreads(__tstate
);
42840 if (PyErr_Occurred()) SWIG_fail
;
42842 resultobj
= SWIG_From_int(static_cast< int >(result
));
42865 SWIGINTERN PyObject
*_wrap_MenuBar_FindItemById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42866 PyObject
*resultobj
= 0;
42867 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
42869 wxMenuItem
*result
= 0 ;
42874 PyObject
* obj0
= 0 ;
42875 PyObject
* obj1
= 0 ;
42876 char * kwnames
[] = {
42877 (char *) "self",(char *) "id", NULL
42880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindItemById",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42881 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
42882 if (!SWIG_IsOK(res1
)) {
42883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_FindItemById" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
42885 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
42886 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42887 if (!SWIG_IsOK(ecode2
)) {
42888 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_FindItemById" "', expected argument " "2"" of type '" "int""'");
42890 arg2
= static_cast< int >(val2
);
42892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42893 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
42894 wxPyEndAllowThreads(__tstate
);
42895 if (PyErr_Occurred()) SWIG_fail
;
42898 resultobj
= wxPyMake_wxObject(result
, (bool)0);
42906 SWIGINTERN PyObject
*_wrap_MenuBar_FindMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42907 PyObject
*resultobj
= 0;
42908 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
42909 wxString
*arg2
= 0 ;
42913 bool temp2
= false ;
42914 PyObject
* obj0
= 0 ;
42915 PyObject
* obj1
= 0 ;
42916 char * kwnames
[] = {
42917 (char *) "self",(char *) "title", NULL
42920 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42921 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
42922 if (!SWIG_IsOK(res1
)) {
42923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_FindMenu" "', expected argument " "1"" of type '" "wxMenuBar *""'");
42925 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
42927 arg2
= wxString_in_helper(obj1
);
42928 if (arg2
== NULL
) SWIG_fail
;
42932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42933 result
= (int)(arg1
)->FindMenu((wxString
const &)*arg2
);
42934 wxPyEndAllowThreads(__tstate
);
42935 if (PyErr_Occurred()) SWIG_fail
;
42937 resultobj
= SWIG_From_int(static_cast< int >(result
));
42952 SWIGINTERN PyObject
*_wrap_MenuBar_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42953 PyObject
*resultobj
= 0;
42954 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
42963 PyObject
* obj0
= 0 ;
42964 PyObject
* obj1
= 0 ;
42965 PyObject
* obj2
= 0 ;
42966 char * kwnames
[] = {
42967 (char *) "self",(char *) "id",(char *) "enable", NULL
42970 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
42971 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
42972 if (!SWIG_IsOK(res1
)) {
42973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_Enable" "', expected argument " "1"" of type '" "wxMenuBar *""'");
42975 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
42976 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42977 if (!SWIG_IsOK(ecode2
)) {
42978 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_Enable" "', expected argument " "2"" of type '" "int""'");
42980 arg2
= static_cast< int >(val2
);
42981 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
42982 if (!SWIG_IsOK(ecode3
)) {
42983 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MenuBar_Enable" "', expected argument " "3"" of type '" "bool""'");
42985 arg3
= static_cast< bool >(val3
);
42987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42988 (arg1
)->Enable(arg2
,arg3
);
42989 wxPyEndAllowThreads(__tstate
);
42990 if (PyErr_Occurred()) SWIG_fail
;
42992 resultobj
= SWIG_Py_Void();
42999 SWIGINTERN PyObject
*_wrap_MenuBar_Check(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43000 PyObject
*resultobj
= 0;
43001 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
43010 PyObject
* obj0
= 0 ;
43011 PyObject
* obj1
= 0 ;
43012 PyObject
* obj2
= 0 ;
43013 char * kwnames
[] = {
43014 (char *) "self",(char *) "id",(char *) "check", NULL
43017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Check",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
43018 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
43019 if (!SWIG_IsOK(res1
)) {
43020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_Check" "', expected argument " "1"" of type '" "wxMenuBar *""'");
43022 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
43023 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43024 if (!SWIG_IsOK(ecode2
)) {
43025 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_Check" "', expected argument " "2"" of type '" "int""'");
43027 arg2
= static_cast< int >(val2
);
43028 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
43029 if (!SWIG_IsOK(ecode3
)) {
43030 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MenuBar_Check" "', expected argument " "3"" of type '" "bool""'");
43032 arg3
= static_cast< bool >(val3
);
43034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43035 (arg1
)->Check(arg2
,arg3
);
43036 wxPyEndAllowThreads(__tstate
);
43037 if (PyErr_Occurred()) SWIG_fail
;
43039 resultobj
= SWIG_Py_Void();
43046 SWIGINTERN PyObject
*_wrap_MenuBar_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43047 PyObject
*resultobj
= 0;
43048 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
43055 PyObject
* obj0
= 0 ;
43056 PyObject
* obj1
= 0 ;
43057 char * kwnames
[] = {
43058 (char *) "self",(char *) "id", NULL
43061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsChecked",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43062 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
43063 if (!SWIG_IsOK(res1
)) {
43064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_IsChecked" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
43066 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
43067 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43068 if (!SWIG_IsOK(ecode2
)) {
43069 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_IsChecked" "', expected argument " "2"" of type '" "int""'");
43071 arg2
= static_cast< int >(val2
);
43073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43074 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
43075 wxPyEndAllowThreads(__tstate
);
43076 if (PyErr_Occurred()) SWIG_fail
;
43079 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43087 SWIGINTERN PyObject
*_wrap_MenuBar_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43088 PyObject
*resultobj
= 0;
43089 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
43096 PyObject
* obj0
= 0 ;
43097 PyObject
* obj1
= 0 ;
43098 char * kwnames
[] = {
43099 (char *) "self",(char *) "id", NULL
43102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43103 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
43104 if (!SWIG_IsOK(res1
)) {
43105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_IsEnabled" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
43107 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
43108 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43109 if (!SWIG_IsOK(ecode2
)) {
43110 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_IsEnabled" "', expected argument " "2"" of type '" "int""'");
43112 arg2
= static_cast< int >(val2
);
43114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43115 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
43116 wxPyEndAllowThreads(__tstate
);
43117 if (PyErr_Occurred()) SWIG_fail
;
43120 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43128 SWIGINTERN PyObject
*_wrap_MenuBar_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43129 PyObject
*resultobj
= 0;
43130 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
43132 wxString
*arg3
= 0 ;
43137 bool temp3
= false ;
43138 PyObject
* obj0
= 0 ;
43139 PyObject
* obj1
= 0 ;
43140 PyObject
* obj2
= 0 ;
43141 char * kwnames
[] = {
43142 (char *) "self",(char *) "id",(char *) "label", NULL
43145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
43146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
43147 if (!SWIG_IsOK(res1
)) {
43148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_SetLabel" "', expected argument " "1"" of type '" "wxMenuBar *""'");
43150 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
43151 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43152 if (!SWIG_IsOK(ecode2
)) {
43153 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_SetLabel" "', expected argument " "2"" of type '" "int""'");
43155 arg2
= static_cast< int >(val2
);
43157 arg3
= wxString_in_helper(obj2
);
43158 if (arg3
== NULL
) SWIG_fail
;
43162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43163 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
43164 wxPyEndAllowThreads(__tstate
);
43165 if (PyErr_Occurred()) SWIG_fail
;
43167 resultobj
= SWIG_Py_Void();
43182 SWIGINTERN PyObject
*_wrap_MenuBar_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43183 PyObject
*resultobj
= 0;
43184 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
43191 PyObject
* obj0
= 0 ;
43192 PyObject
* obj1
= 0 ;
43193 char * kwnames
[] = {
43194 (char *) "self",(char *) "id", NULL
43197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
43199 if (!SWIG_IsOK(res1
)) {
43200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_GetLabel" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
43202 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
43203 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43204 if (!SWIG_IsOK(ecode2
)) {
43205 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_GetLabel" "', expected argument " "2"" of type '" "int""'");
43207 arg2
= static_cast< int >(val2
);
43209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43210 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
43211 wxPyEndAllowThreads(__tstate
);
43212 if (PyErr_Occurred()) SWIG_fail
;
43216 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
43218 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
43227 SWIGINTERN PyObject
*_wrap_MenuBar_SetHelpString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43228 PyObject
*resultobj
= 0;
43229 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
43231 wxString
*arg3
= 0 ;
43236 bool temp3
= false ;
43237 PyObject
* obj0
= 0 ;
43238 PyObject
* obj1
= 0 ;
43239 PyObject
* obj2
= 0 ;
43240 char * kwnames
[] = {
43241 (char *) "self",(char *) "id",(char *) "helpString", NULL
43244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
43245 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
43246 if (!SWIG_IsOK(res1
)) {
43247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_SetHelpString" "', expected argument " "1"" of type '" "wxMenuBar *""'");
43249 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
43250 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43251 if (!SWIG_IsOK(ecode2
)) {
43252 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_SetHelpString" "', expected argument " "2"" of type '" "int""'");
43254 arg2
= static_cast< int >(val2
);
43256 arg3
= wxString_in_helper(obj2
);
43257 if (arg3
== NULL
) SWIG_fail
;
43261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43262 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
43263 wxPyEndAllowThreads(__tstate
);
43264 if (PyErr_Occurred()) SWIG_fail
;
43266 resultobj
= SWIG_Py_Void();
43281 SWIGINTERN PyObject
*_wrap_MenuBar_GetHelpString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43282 PyObject
*resultobj
= 0;
43283 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
43290 PyObject
* obj0
= 0 ;
43291 PyObject
* obj1
= 0 ;
43292 char * kwnames
[] = {
43293 (char *) "self",(char *) "id", NULL
43296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetHelpString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
43298 if (!SWIG_IsOK(res1
)) {
43299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_GetHelpString" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
43301 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
43302 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43303 if (!SWIG_IsOK(ecode2
)) {
43304 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_GetHelpString" "', expected argument " "2"" of type '" "int""'");
43306 arg2
= static_cast< int >(val2
);
43308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43309 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
43310 wxPyEndAllowThreads(__tstate
);
43311 if (PyErr_Occurred()) SWIG_fail
;
43315 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
43317 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
43326 SWIGINTERN PyObject
*_wrap_MenuBar_GetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43327 PyObject
*resultobj
= 0;
43328 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
43329 wxFrame
*result
= 0 ;
43332 PyObject
*swig_obj
[1] ;
43334 if (!args
) SWIG_fail
;
43335 swig_obj
[0] = args
;
43336 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
43337 if (!SWIG_IsOK(res1
)) {
43338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_GetFrame" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
43340 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
43342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43343 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
43344 wxPyEndAllowThreads(__tstate
);
43345 if (PyErr_Occurred()) SWIG_fail
;
43348 resultobj
= wxPyMake_wxObject(result
, (bool)0);
43356 SWIGINTERN PyObject
*_wrap_MenuBar_IsAttached(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43357 PyObject
*resultobj
= 0;
43358 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
43362 PyObject
*swig_obj
[1] ;
43364 if (!args
) SWIG_fail
;
43365 swig_obj
[0] = args
;
43366 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
43367 if (!SWIG_IsOK(res1
)) {
43368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_IsAttached" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
43370 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
43372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43373 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
43374 wxPyEndAllowThreads(__tstate
);
43375 if (PyErr_Occurred()) SWIG_fail
;
43378 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43386 SWIGINTERN PyObject
*_wrap_MenuBar_Attach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43387 PyObject
*resultobj
= 0;
43388 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
43389 wxFrame
*arg2
= (wxFrame
*) 0 ;
43394 PyObject
* obj0
= 0 ;
43395 PyObject
* obj1
= 0 ;
43396 char * kwnames
[] = {
43397 (char *) "self",(char *) "frame", NULL
43400 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43401 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
43402 if (!SWIG_IsOK(res1
)) {
43403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_Attach" "', expected argument " "1"" of type '" "wxMenuBar *""'");
43405 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
43406 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
43407 if (!SWIG_IsOK(res2
)) {
43408 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MenuBar_Attach" "', expected argument " "2"" of type '" "wxFrame *""'");
43410 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
43412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43413 (arg1
)->Attach(arg2
);
43414 wxPyEndAllowThreads(__tstate
);
43415 if (PyErr_Occurred()) SWIG_fail
;
43417 resultobj
= SWIG_Py_Void();
43424 SWIGINTERN PyObject
*_wrap_MenuBar_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43425 PyObject
*resultobj
= 0;
43426 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
43429 PyObject
*swig_obj
[1] ;
43431 if (!args
) SWIG_fail
;
43432 swig_obj
[0] = args
;
43433 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
43434 if (!SWIG_IsOK(res1
)) {
43435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_Detach" "', expected argument " "1"" of type '" "wxMenuBar *""'");
43437 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
43439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43441 wxPyEndAllowThreads(__tstate
);
43442 if (PyErr_Occurred()) SWIG_fail
;
43444 resultobj
= SWIG_Py_Void();
43451 SWIGINTERN PyObject
*_wrap_MenuBar_UpdateMenus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43452 PyObject
*resultobj
= 0;
43453 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
43456 PyObject
*swig_obj
[1] ;
43458 if (!args
) SWIG_fail
;
43459 swig_obj
[0] = args
;
43460 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
43461 if (!SWIG_IsOK(res1
)) {
43462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_UpdateMenus" "', expected argument " "1"" of type '" "wxMenuBar *""'");
43464 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
43466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43467 (arg1
)->UpdateMenus();
43468 wxPyEndAllowThreads(__tstate
);
43469 if (PyErr_Occurred()) SWIG_fail
;
43471 resultobj
= SWIG_Py_Void();
43478 SWIGINTERN PyObject
*_wrap_MenuBar_SetAutoWindowMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43479 PyObject
*resultobj
= 0;
43483 PyObject
* obj0
= 0 ;
43484 char * kwnames
[] = {
43485 (char *) "enable", NULL
43488 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_SetAutoWindowMenu",kwnames
,&obj0
)) SWIG_fail
;
43489 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
43490 if (!SWIG_IsOK(ecode1
)) {
43491 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "MenuBar_SetAutoWindowMenu" "', expected argument " "1"" of type '" "bool""'");
43493 arg1
= static_cast< bool >(val1
);
43495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43496 wxMenuBar_SetAutoWindowMenu(arg1
);
43497 wxPyEndAllowThreads(__tstate
);
43498 if (PyErr_Occurred()) SWIG_fail
;
43500 resultobj
= SWIG_Py_Void();
43507 SWIGINTERN PyObject
*_wrap_MenuBar_GetAutoWindowMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43508 PyObject
*resultobj
= 0;
43511 if (!SWIG_Python_UnpackTuple(args
,"MenuBar_GetAutoWindowMenu",0,0,0)) SWIG_fail
;
43513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43514 result
= (bool)wxMenuBar_GetAutoWindowMenu();
43515 wxPyEndAllowThreads(__tstate
);
43516 if (PyErr_Occurred()) SWIG_fail
;
43519 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43527 SWIGINTERN PyObject
*MenuBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43529 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43530 SWIG_TypeNewClientData(SWIGTYPE_p_wxMenuBar
, SWIG_NewClientData(obj
));
43531 return SWIG_Py_Void();
43534 SWIGINTERN PyObject
*MenuBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43535 return SWIG_Python_InitShadowInstance(args
);
43538 SWIGINTERN PyObject
*_wrap_new_MenuItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43539 PyObject
*resultobj
= 0;
43540 wxMenu
*arg1
= (wxMenu
*) NULL
;
43541 int arg2
= (int) wxID_ANY
;
43542 wxString
const &arg3_defvalue
= wxPyEmptyString
;
43543 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
43544 wxString
const &arg4_defvalue
= wxPyEmptyString
;
43545 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
43546 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
43547 wxMenu
*arg6
= (wxMenu
*) NULL
;
43548 wxMenuItem
*result
= 0 ;
43553 bool temp3
= false ;
43554 bool temp4
= false ;
43559 PyObject
* obj0
= 0 ;
43560 PyObject
* obj1
= 0 ;
43561 PyObject
* obj2
= 0 ;
43562 PyObject
* obj3
= 0 ;
43563 PyObject
* obj4
= 0 ;
43564 PyObject
* obj5
= 0 ;
43565 char * kwnames
[] = {
43566 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
43569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_MenuItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
43571 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
43572 if (!SWIG_IsOK(res1
)) {
43573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MenuItem" "', expected argument " "1"" of type '" "wxMenu *""'");
43575 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
43578 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43579 if (!SWIG_IsOK(ecode2
)) {
43580 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MenuItem" "', expected argument " "2"" of type '" "int""'");
43582 arg2
= static_cast< int >(val2
);
43586 arg3
= wxString_in_helper(obj2
);
43587 if (arg3
== NULL
) SWIG_fail
;
43593 arg4
= wxString_in_helper(obj3
);
43594 if (arg4
== NULL
) SWIG_fail
;
43599 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
43600 if (!SWIG_IsOK(ecode5
)) {
43601 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_MenuItem" "', expected argument " "5"" of type '" "wxItemKind""'");
43603 arg5
= static_cast< wxItemKind
>(val5
);
43606 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxMenu
, 0 | 0 );
43607 if (!SWIG_IsOK(res6
)) {
43608 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_MenuItem" "', expected argument " "6"" of type '" "wxMenu *""'");
43610 arg6
= reinterpret_cast< wxMenu
* >(argp6
);
43613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43614 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
43615 wxPyEndAllowThreads(__tstate
);
43616 if (PyErr_Occurred()) SWIG_fail
;
43619 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_NEW
);
43643 SWIGINTERN PyObject
*_wrap_delete_MenuItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43644 PyObject
*resultobj
= 0;
43645 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
43648 PyObject
*swig_obj
[1] ;
43650 if (!args
) SWIG_fail
;
43651 swig_obj
[0] = args
;
43652 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_DISOWN
| 0 );
43653 if (!SWIG_IsOK(res1
)) {
43654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MenuItem" "', expected argument " "1"" of type '" "wxMenuItem *""'");
43656 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
43658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43661 wxPyEndAllowThreads(__tstate
);
43662 if (PyErr_Occurred()) SWIG_fail
;
43664 resultobj
= SWIG_Py_Void();
43671 SWIGINTERN PyObject
*_wrap_MenuItem_GetMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43672 PyObject
*resultobj
= 0;
43673 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
43674 wxMenu
*result
= 0 ;
43677 PyObject
*swig_obj
[1] ;
43679 if (!args
) SWIG_fail
;
43680 swig_obj
[0] = args
;
43681 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
43682 if (!SWIG_IsOK(res1
)) {
43683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetMenu" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
43685 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
43687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43688 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
43689 wxPyEndAllowThreads(__tstate
);
43690 if (PyErr_Occurred()) SWIG_fail
;
43693 resultobj
= wxPyMake_wxObject(result
, 0);
43701 SWIGINTERN PyObject
*_wrap_MenuItem_SetMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43702 PyObject
*resultobj
= 0;
43703 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
43704 wxMenu
*arg2
= (wxMenu
*) 0 ;
43709 PyObject
* obj0
= 0 ;
43710 PyObject
* obj1
= 0 ;
43711 char * kwnames
[] = {
43712 (char *) "self",(char *) "menu", NULL
43715 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43716 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
43717 if (!SWIG_IsOK(res1
)) {
43718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetMenu" "', expected argument " "1"" of type '" "wxMenuItem *""'");
43720 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
43721 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
43722 if (!SWIG_IsOK(res2
)) {
43723 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MenuItem_SetMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
43725 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
43727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43728 (arg1
)->SetMenu(arg2
);
43729 wxPyEndAllowThreads(__tstate
);
43730 if (PyErr_Occurred()) SWIG_fail
;
43732 resultobj
= SWIG_Py_Void();
43739 SWIGINTERN PyObject
*_wrap_MenuItem_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43740 PyObject
*resultobj
= 0;
43741 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
43747 PyObject
* obj0
= 0 ;
43748 PyObject
* obj1
= 0 ;
43749 char * kwnames
[] = {
43750 (char *) "self",(char *) "id", NULL
43753 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43754 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
43755 if (!SWIG_IsOK(res1
)) {
43756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetId" "', expected argument " "1"" of type '" "wxMenuItem *""'");
43758 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
43759 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43760 if (!SWIG_IsOK(ecode2
)) {
43761 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuItem_SetId" "', expected argument " "2"" of type '" "int""'");
43763 arg2
= static_cast< int >(val2
);
43765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43766 (arg1
)->SetId(arg2
);
43767 wxPyEndAllowThreads(__tstate
);
43768 if (PyErr_Occurred()) SWIG_fail
;
43770 resultobj
= SWIG_Py_Void();
43777 SWIGINTERN PyObject
*_wrap_MenuItem_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43778 PyObject
*resultobj
= 0;
43779 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
43783 PyObject
*swig_obj
[1] ;
43785 if (!args
) SWIG_fail
;
43786 swig_obj
[0] = args
;
43787 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
43788 if (!SWIG_IsOK(res1
)) {
43789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetId" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
43791 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
43793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43794 result
= (int)((wxMenuItem
const *)arg1
)->GetId();
43795 wxPyEndAllowThreads(__tstate
);
43796 if (PyErr_Occurred()) SWIG_fail
;
43798 resultobj
= SWIG_From_int(static_cast< int >(result
));
43805 SWIGINTERN PyObject
*_wrap_MenuItem_IsSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43806 PyObject
*resultobj
= 0;
43807 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
43811 PyObject
*swig_obj
[1] ;
43813 if (!args
) SWIG_fail
;
43814 swig_obj
[0] = args
;
43815 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
43816 if (!SWIG_IsOK(res1
)) {
43817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_IsSeparator" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
43819 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
43821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43822 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
43823 wxPyEndAllowThreads(__tstate
);
43824 if (PyErr_Occurred()) SWIG_fail
;
43827 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43835 SWIGINTERN PyObject
*_wrap_MenuItem_SetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43836 PyObject
*resultobj
= 0;
43837 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
43838 wxString
*arg2
= 0 ;
43841 bool temp2
= false ;
43842 PyObject
* obj0
= 0 ;
43843 PyObject
* obj1
= 0 ;
43844 char * kwnames
[] = {
43845 (char *) "self",(char *) "str", NULL
43848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43849 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
43850 if (!SWIG_IsOK(res1
)) {
43851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetText" "', expected argument " "1"" of type '" "wxMenuItem *""'");
43853 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
43855 arg2
= wxString_in_helper(obj1
);
43856 if (arg2
== NULL
) SWIG_fail
;
43860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43861 (arg1
)->SetText((wxString
const &)*arg2
);
43862 wxPyEndAllowThreads(__tstate
);
43863 if (PyErr_Occurred()) SWIG_fail
;
43865 resultobj
= SWIG_Py_Void();
43880 SWIGINTERN PyObject
*_wrap_MenuItem_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43881 PyObject
*resultobj
= 0;
43882 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
43886 PyObject
*swig_obj
[1] ;
43888 if (!args
) SWIG_fail
;
43889 swig_obj
[0] = args
;
43890 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
43891 if (!SWIG_IsOK(res1
)) {
43892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetLabel" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
43894 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
43896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43897 result
= ((wxMenuItem
const *)arg1
)->GetLabel();
43898 wxPyEndAllowThreads(__tstate
);
43899 if (PyErr_Occurred()) SWIG_fail
;
43903 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
43905 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
43914 SWIGINTERN PyObject
*_wrap_MenuItem_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43915 PyObject
*resultobj
= 0;
43916 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
43917 wxString
*result
= 0 ;
43920 PyObject
*swig_obj
[1] ;
43922 if (!args
) SWIG_fail
;
43923 swig_obj
[0] = args
;
43924 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
43925 if (!SWIG_IsOK(res1
)) {
43926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetText" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
43928 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
43930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43932 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
43933 result
= (wxString
*) &_result_ref
;
43935 wxPyEndAllowThreads(__tstate
);
43936 if (PyErr_Occurred()) SWIG_fail
;
43940 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
43942 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
43951 SWIGINTERN PyObject
*_wrap_MenuItem_GetLabelFromText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43952 PyObject
*resultobj
= 0;
43953 wxString
*arg1
= 0 ;
43955 bool temp1
= false ;
43956 PyObject
* obj0
= 0 ;
43957 char * kwnames
[] = {
43958 (char *) "text", NULL
43961 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) SWIG_fail
;
43963 arg1
= wxString_in_helper(obj0
);
43964 if (arg1
== NULL
) SWIG_fail
;
43968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43969 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
43970 wxPyEndAllowThreads(__tstate
);
43971 if (PyErr_Occurred()) SWIG_fail
;
43975 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
43977 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
43994 SWIGINTERN PyObject
*_wrap_MenuItem_GetKind(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43995 PyObject
*resultobj
= 0;
43996 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
44000 PyObject
*swig_obj
[1] ;
44002 if (!args
) SWIG_fail
;
44003 swig_obj
[0] = args
;
44004 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
44005 if (!SWIG_IsOK(res1
)) {
44006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetKind" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
44008 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
44010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44011 result
= (wxItemKind
)((wxMenuItem
const *)arg1
)->GetKind();
44012 wxPyEndAllowThreads(__tstate
);
44013 if (PyErr_Occurred()) SWIG_fail
;
44015 resultobj
= SWIG_From_int(static_cast< int >(result
));
44022 SWIGINTERN PyObject
*_wrap_MenuItem_SetKind(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44023 PyObject
*resultobj
= 0;
44024 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
44030 PyObject
* obj0
= 0 ;
44031 PyObject
* obj1
= 0 ;
44032 char * kwnames
[] = {
44033 (char *) "self",(char *) "kind", NULL
44036 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetKind",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44037 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
44038 if (!SWIG_IsOK(res1
)) {
44039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetKind" "', expected argument " "1"" of type '" "wxMenuItem *""'");
44041 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
44042 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44043 if (!SWIG_IsOK(ecode2
)) {
44044 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuItem_SetKind" "', expected argument " "2"" of type '" "wxItemKind""'");
44046 arg2
= static_cast< wxItemKind
>(val2
);
44048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44049 (arg1
)->SetKind(arg2
);
44050 wxPyEndAllowThreads(__tstate
);
44051 if (PyErr_Occurred()) SWIG_fail
;
44053 resultobj
= SWIG_Py_Void();
44060 SWIGINTERN PyObject
*_wrap_MenuItem_SetCheckable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44061 PyObject
*resultobj
= 0;
44062 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
44068 PyObject
* obj0
= 0 ;
44069 PyObject
* obj1
= 0 ;
44070 char * kwnames
[] = {
44071 (char *) "self",(char *) "checkable", NULL
44074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
44076 if (!SWIG_IsOK(res1
)) {
44077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetCheckable" "', expected argument " "1"" of type '" "wxMenuItem *""'");
44079 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
44080 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
44081 if (!SWIG_IsOK(ecode2
)) {
44082 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuItem_SetCheckable" "', expected argument " "2"" of type '" "bool""'");
44084 arg2
= static_cast< bool >(val2
);
44086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44087 (arg1
)->SetCheckable(arg2
);
44088 wxPyEndAllowThreads(__tstate
);
44089 if (PyErr_Occurred()) SWIG_fail
;
44091 resultobj
= SWIG_Py_Void();
44098 SWIGINTERN PyObject
*_wrap_MenuItem_IsCheckable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44099 PyObject
*resultobj
= 0;
44100 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
44104 PyObject
*swig_obj
[1] ;
44106 if (!args
) SWIG_fail
;
44107 swig_obj
[0] = args
;
44108 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
44109 if (!SWIG_IsOK(res1
)) {
44110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_IsCheckable" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
44112 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
44114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44115 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
44116 wxPyEndAllowThreads(__tstate
);
44117 if (PyErr_Occurred()) SWIG_fail
;
44120 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44128 SWIGINTERN PyObject
*_wrap_MenuItem_IsSubMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44129 PyObject
*resultobj
= 0;
44130 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
44134 PyObject
*swig_obj
[1] ;
44136 if (!args
) SWIG_fail
;
44137 swig_obj
[0] = args
;
44138 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
44139 if (!SWIG_IsOK(res1
)) {
44140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_IsSubMenu" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
44142 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
44144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44145 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
44146 wxPyEndAllowThreads(__tstate
);
44147 if (PyErr_Occurred()) SWIG_fail
;
44150 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44158 SWIGINTERN PyObject
*_wrap_MenuItem_SetSubMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44159 PyObject
*resultobj
= 0;
44160 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
44161 wxMenu
*arg2
= (wxMenu
*) 0 ;
44166 PyObject
* obj0
= 0 ;
44167 PyObject
* obj1
= 0 ;
44168 char * kwnames
[] = {
44169 (char *) "self",(char *) "menu", NULL
44172 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44173 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
44174 if (!SWIG_IsOK(res1
)) {
44175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetSubMenu" "', expected argument " "1"" of type '" "wxMenuItem *""'");
44177 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
44178 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
44179 if (!SWIG_IsOK(res2
)) {
44180 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MenuItem_SetSubMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
44182 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
44184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44185 (arg1
)->SetSubMenu(arg2
);
44186 wxPyEndAllowThreads(__tstate
);
44187 if (PyErr_Occurred()) SWIG_fail
;
44189 resultobj
= SWIG_Py_Void();
44196 SWIGINTERN PyObject
*_wrap_MenuItem_GetSubMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44197 PyObject
*resultobj
= 0;
44198 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
44199 wxMenu
*result
= 0 ;
44202 PyObject
*swig_obj
[1] ;
44204 if (!args
) SWIG_fail
;
44205 swig_obj
[0] = args
;
44206 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
44207 if (!SWIG_IsOK(res1
)) {
44208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetSubMenu" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
44210 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
44212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44213 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
44214 wxPyEndAllowThreads(__tstate
);
44215 if (PyErr_Occurred()) SWIG_fail
;
44218 resultobj
= wxPyMake_wxObject(result
, 0);
44226 SWIGINTERN PyObject
*_wrap_MenuItem_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44227 PyObject
*resultobj
= 0;
44228 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
44229 bool arg2
= (bool) true ;
44234 PyObject
* obj0
= 0 ;
44235 PyObject
* obj1
= 0 ;
44236 char * kwnames
[] = {
44237 (char *) "self",(char *) "enable", NULL
44240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44241 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
44242 if (!SWIG_IsOK(res1
)) {
44243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_Enable" "', expected argument " "1"" of type '" "wxMenuItem *""'");
44245 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
44247 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
44248 if (!SWIG_IsOK(ecode2
)) {
44249 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuItem_Enable" "', expected argument " "2"" of type '" "bool""'");
44251 arg2
= static_cast< bool >(val2
);
44254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44255 (arg1
)->Enable(arg2
);
44256 wxPyEndAllowThreads(__tstate
);
44257 if (PyErr_Occurred()) SWIG_fail
;
44259 resultobj
= SWIG_Py_Void();
44266 SWIGINTERN PyObject
*_wrap_MenuItem_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44267 PyObject
*resultobj
= 0;
44268 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
44272 PyObject
*swig_obj
[1] ;
44274 if (!args
) SWIG_fail
;
44275 swig_obj
[0] = args
;
44276 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
44277 if (!SWIG_IsOK(res1
)) {
44278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_IsEnabled" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
44280 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
44282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44283 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
44284 wxPyEndAllowThreads(__tstate
);
44285 if (PyErr_Occurred()) SWIG_fail
;
44288 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44296 SWIGINTERN PyObject
*_wrap_MenuItem_Check(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44297 PyObject
*resultobj
= 0;
44298 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
44299 bool arg2
= (bool) true ;
44304 PyObject
* obj0
= 0 ;
44305 PyObject
* obj1
= 0 ;
44306 char * kwnames
[] = {
44307 (char *) "self",(char *) "check", NULL
44310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44311 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
44312 if (!SWIG_IsOK(res1
)) {
44313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_Check" "', expected argument " "1"" of type '" "wxMenuItem *""'");
44315 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
44317 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
44318 if (!SWIG_IsOK(ecode2
)) {
44319 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuItem_Check" "', expected argument " "2"" of type '" "bool""'");
44321 arg2
= static_cast< bool >(val2
);
44324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44325 (arg1
)->Check(arg2
);
44326 wxPyEndAllowThreads(__tstate
);
44327 if (PyErr_Occurred()) SWIG_fail
;
44329 resultobj
= SWIG_Py_Void();
44336 SWIGINTERN PyObject
*_wrap_MenuItem_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44337 PyObject
*resultobj
= 0;
44338 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
44342 PyObject
*swig_obj
[1] ;
44344 if (!args
) SWIG_fail
;
44345 swig_obj
[0] = args
;
44346 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
44347 if (!SWIG_IsOK(res1
)) {
44348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_IsChecked" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
44350 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
44352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44353 result
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
44354 wxPyEndAllowThreads(__tstate
);
44355 if (PyErr_Occurred()) SWIG_fail
;
44358 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44366 SWIGINTERN PyObject
*_wrap_MenuItem_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44367 PyObject
*resultobj
= 0;
44368 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
44371 PyObject
*swig_obj
[1] ;
44373 if (!args
) SWIG_fail
;
44374 swig_obj
[0] = args
;
44375 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
44376 if (!SWIG_IsOK(res1
)) {
44377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_Toggle" "', expected argument " "1"" of type '" "wxMenuItem *""'");
44379 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
44381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44383 wxPyEndAllowThreads(__tstate
);
44384 if (PyErr_Occurred()) SWIG_fail
;
44386 resultobj
= SWIG_Py_Void();
44393 SWIGINTERN PyObject
*_wrap_MenuItem_SetHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44394 PyObject
*resultobj
= 0;
44395 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
44396 wxString
*arg2
= 0 ;
44399 bool temp2
= false ;
44400 PyObject
* obj0
= 0 ;
44401 PyObject
* obj1
= 0 ;
44402 char * kwnames
[] = {
44403 (char *) "self",(char *) "str", NULL
44406 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44407 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
44408 if (!SWIG_IsOK(res1
)) {
44409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetHelp" "', expected argument " "1"" of type '" "wxMenuItem *""'");
44411 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
44413 arg2
= wxString_in_helper(obj1
);
44414 if (arg2
== NULL
) SWIG_fail
;
44418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44419 (arg1
)->SetHelp((wxString
const &)*arg2
);
44420 wxPyEndAllowThreads(__tstate
);
44421 if (PyErr_Occurred()) SWIG_fail
;
44423 resultobj
= SWIG_Py_Void();
44438 SWIGINTERN PyObject
*_wrap_MenuItem_GetHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44439 PyObject
*resultobj
= 0;
44440 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
44441 wxString
*result
= 0 ;
44444 PyObject
*swig_obj
[1] ;
44446 if (!args
) SWIG_fail
;
44447 swig_obj
[0] = args
;
44448 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
44449 if (!SWIG_IsOK(res1
)) {
44450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetHelp" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
44452 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
44454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44456 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
44457 result
= (wxString
*) &_result_ref
;
44459 wxPyEndAllowThreads(__tstate
);
44460 if (PyErr_Occurred()) SWIG_fail
;
44464 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
44466 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
44475 SWIGINTERN PyObject
*_wrap_MenuItem_GetAccel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44476 PyObject
*resultobj
= 0;
44477 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
44478 wxAcceleratorEntry
*result
= 0 ;
44481 PyObject
*swig_obj
[1] ;
44483 if (!args
) SWIG_fail
;
44484 swig_obj
[0] = args
;
44485 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
44486 if (!SWIG_IsOK(res1
)) {
44487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetAccel" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
44489 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
44491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44492 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
44493 wxPyEndAllowThreads(__tstate
);
44494 if (PyErr_Occurred()) SWIG_fail
;
44496 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0 | 0 );
44503 SWIGINTERN PyObject
*_wrap_MenuItem_SetAccel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44504 PyObject
*resultobj
= 0;
44505 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
44506 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
44511 PyObject
* obj0
= 0 ;
44512 PyObject
* obj1
= 0 ;
44513 char * kwnames
[] = {
44514 (char *) "self",(char *) "accel", NULL
44517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44518 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
44519 if (!SWIG_IsOK(res1
)) {
44520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetAccel" "', expected argument " "1"" of type '" "wxMenuItem *""'");
44522 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
44523 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxAcceleratorEntry
, 0 | 0 );
44524 if (!SWIG_IsOK(res2
)) {
44525 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MenuItem_SetAccel" "', expected argument " "2"" of type '" "wxAcceleratorEntry *""'");
44527 arg2
= reinterpret_cast< wxAcceleratorEntry
* >(argp2
);
44529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44530 (arg1
)->SetAccel(arg2
);
44531 wxPyEndAllowThreads(__tstate
);
44532 if (PyErr_Occurred()) SWIG_fail
;
44534 resultobj
= SWIG_Py_Void();
44541 SWIGINTERN PyObject
*_wrap_MenuItem_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44542 PyObject
*resultobj
= 0;
44543 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
44544 wxBitmap
*arg2
= 0 ;
44549 PyObject
* obj0
= 0 ;
44550 PyObject
* obj1
= 0 ;
44551 char * kwnames
[] = {
44552 (char *) "self",(char *) "bitmap", NULL
44555 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44556 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
44557 if (!SWIG_IsOK(res1
)) {
44558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetBitmap" "', expected argument " "1"" of type '" "wxMenuItem *""'");
44560 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
44561 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
44562 if (!SWIG_IsOK(res2
)) {
44563 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MenuItem_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
44566 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MenuItem_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
44568 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
44570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44571 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
44572 wxPyEndAllowThreads(__tstate
);
44573 if (PyErr_Occurred()) SWIG_fail
;
44575 resultobj
= SWIG_Py_Void();
44582 SWIGINTERN PyObject
*_wrap_MenuItem_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44583 PyObject
*resultobj
= 0;
44584 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
44585 wxBitmap
*result
= 0 ;
44588 PyObject
*swig_obj
[1] ;
44590 if (!args
) SWIG_fail
;
44591 swig_obj
[0] = args
;
44592 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
44593 if (!SWIG_IsOK(res1
)) {
44594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetBitmap" "', expected argument " "1"" of type '" "wxMenuItem *""'");
44596 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
44598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44600 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
44601 result
= (wxBitmap
*) &_result_ref
;
44603 wxPyEndAllowThreads(__tstate
);
44604 if (PyErr_Occurred()) SWIG_fail
;
44607 wxBitmap
* resultptr
= new wxBitmap(*result
);
44608 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
44616 SWIGINTERN PyObject
*_wrap_MenuItem_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44617 PyObject
*resultobj
= 0;
44618 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
44624 PyObject
* obj0
= 0 ;
44625 PyObject
* obj1
= 0 ;
44626 char * kwnames
[] = {
44627 (char *) "self",(char *) "font", NULL
44630 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44631 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
44632 if (!SWIG_IsOK(res1
)) {
44633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetFont" "', expected argument " "1"" of type '" "wxMenuItem *""'");
44635 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
44636 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
44637 if (!SWIG_IsOK(res2
)) {
44638 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MenuItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
44641 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MenuItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
44643 arg2
= reinterpret_cast< wxFont
* >(argp2
);
44645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44646 (arg1
)->SetFont((wxFont
const &)*arg2
);
44647 wxPyEndAllowThreads(__tstate
);
44648 if (PyErr_Occurred()) SWIG_fail
;
44650 resultobj
= SWIG_Py_Void();
44657 SWIGINTERN PyObject
*_wrap_MenuItem_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44658 PyObject
*resultobj
= 0;
44659 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
44663 PyObject
*swig_obj
[1] ;
44665 if (!args
) SWIG_fail
;
44666 swig_obj
[0] = args
;
44667 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
44668 if (!SWIG_IsOK(res1
)) {
44669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetFont" "', expected argument " "1"" of type '" "wxMenuItem *""'");
44671 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
44673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44674 result
= (arg1
)->GetFont();
44675 wxPyEndAllowThreads(__tstate
);
44676 if (PyErr_Occurred()) SWIG_fail
;
44678 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
44685 SWIGINTERN PyObject
*_wrap_MenuItem_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44686 PyObject
*resultobj
= 0;
44687 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
44688 wxColour
*arg2
= 0 ;
44692 PyObject
* obj0
= 0 ;
44693 PyObject
* obj1
= 0 ;
44694 char * kwnames
[] = {
44695 (char *) "self",(char *) "colText", NULL
44698 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44699 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
44700 if (!SWIG_IsOK(res1
)) {
44701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetTextColour" "', expected argument " "1"" of type '" "wxMenuItem *""'");
44703 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
44706 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
44709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44710 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
44711 wxPyEndAllowThreads(__tstate
);
44712 if (PyErr_Occurred()) SWIG_fail
;
44714 resultobj
= SWIG_Py_Void();
44721 SWIGINTERN PyObject
*_wrap_MenuItem_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44722 PyObject
*resultobj
= 0;
44723 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
44727 PyObject
*swig_obj
[1] ;
44729 if (!args
) SWIG_fail
;
44730 swig_obj
[0] = args
;
44731 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
44732 if (!SWIG_IsOK(res1
)) {
44733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetTextColour" "', expected argument " "1"" of type '" "wxMenuItem *""'");
44735 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
44737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44738 result
= (arg1
)->GetTextColour();
44739 wxPyEndAllowThreads(__tstate
);
44740 if (PyErr_Occurred()) SWIG_fail
;
44742 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
44749 SWIGINTERN PyObject
*_wrap_MenuItem_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44750 PyObject
*resultobj
= 0;
44751 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
44752 wxColour
*arg2
= 0 ;
44756 PyObject
* obj0
= 0 ;
44757 PyObject
* obj1
= 0 ;
44758 char * kwnames
[] = {
44759 (char *) "self",(char *) "colBack", NULL
44762 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44763 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
44764 if (!SWIG_IsOK(res1
)) {
44765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetBackgroundColour" "', expected argument " "1"" of type '" "wxMenuItem *""'");
44767 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
44770 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
44773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44774 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
44775 wxPyEndAllowThreads(__tstate
);
44776 if (PyErr_Occurred()) SWIG_fail
;
44778 resultobj
= SWIG_Py_Void();
44785 SWIGINTERN PyObject
*_wrap_MenuItem_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44786 PyObject
*resultobj
= 0;
44787 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
44791 PyObject
*swig_obj
[1] ;
44793 if (!args
) SWIG_fail
;
44794 swig_obj
[0] = args
;
44795 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
44796 if (!SWIG_IsOK(res1
)) {
44797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetBackgroundColour" "', expected argument " "1"" of type '" "wxMenuItem *""'");
44799 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
44801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44802 result
= (arg1
)->GetBackgroundColour();
44803 wxPyEndAllowThreads(__tstate
);
44804 if (PyErr_Occurred()) SWIG_fail
;
44806 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
44813 SWIGINTERN PyObject
*_wrap_MenuItem_SetBitmaps(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44814 PyObject
*resultobj
= 0;
44815 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
44816 wxBitmap
*arg2
= 0 ;
44817 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
44818 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
44825 PyObject
* obj0
= 0 ;
44826 PyObject
* obj1
= 0 ;
44827 PyObject
* obj2
= 0 ;
44828 char * kwnames
[] = {
44829 (char *) "self",(char *) "bmpChecked",(char *) "bmpUnchecked", NULL
44832 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MenuItem_SetBitmaps",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
44833 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
44834 if (!SWIG_IsOK(res1
)) {
44835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetBitmaps" "', expected argument " "1"" of type '" "wxMenuItem *""'");
44837 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
44838 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
44839 if (!SWIG_IsOK(res2
)) {
44840 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MenuItem_SetBitmaps" "', expected argument " "2"" of type '" "wxBitmap const &""'");
44843 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MenuItem_SetBitmaps" "', expected argument " "2"" of type '" "wxBitmap const &""'");
44845 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
44847 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
44848 if (!SWIG_IsOK(res3
)) {
44849 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "MenuItem_SetBitmaps" "', expected argument " "3"" of type '" "wxBitmap const &""'");
44852 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MenuItem_SetBitmaps" "', expected argument " "3"" of type '" "wxBitmap const &""'");
44854 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
44857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44858 (arg1
)->SetBitmaps((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
44859 wxPyEndAllowThreads(__tstate
);
44860 if (PyErr_Occurred()) SWIG_fail
;
44862 resultobj
= SWIG_Py_Void();
44869 SWIGINTERN PyObject
*_wrap_MenuItem_SetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44870 PyObject
*resultobj
= 0;
44871 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
44872 wxBitmap
*arg2
= 0 ;
44877 PyObject
* obj0
= 0 ;
44878 PyObject
* obj1
= 0 ;
44879 char * kwnames
[] = {
44880 (char *) "self",(char *) "bmpDisabled", NULL
44883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
44885 if (!SWIG_IsOK(res1
)) {
44886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetDisabledBitmap" "', expected argument " "1"" of type '" "wxMenuItem *""'");
44888 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
44889 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
44890 if (!SWIG_IsOK(res2
)) {
44891 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MenuItem_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
44894 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MenuItem_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
44896 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
44898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44899 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
44900 wxPyEndAllowThreads(__tstate
);
44901 if (PyErr_Occurred()) SWIG_fail
;
44903 resultobj
= SWIG_Py_Void();
44910 SWIGINTERN PyObject
*_wrap_MenuItem_GetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44911 PyObject
*resultobj
= 0;
44912 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
44913 wxBitmap
*result
= 0 ;
44916 PyObject
*swig_obj
[1] ;
44918 if (!args
) SWIG_fail
;
44919 swig_obj
[0] = args
;
44920 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
44921 if (!SWIG_IsOK(res1
)) {
44922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetDisabledBitmap" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
44924 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
44926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44928 wxBitmap
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetDisabledBitmap();
44929 result
= (wxBitmap
*) &_result_ref
;
44931 wxPyEndAllowThreads(__tstate
);
44932 if (PyErr_Occurred()) SWIG_fail
;
44935 wxBitmap
* resultptr
= new wxBitmap(*result
);
44936 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
44944 SWIGINTERN PyObject
*_wrap_MenuItem_SetMarginWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44945 PyObject
*resultobj
= 0;
44946 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
44952 PyObject
* obj0
= 0 ;
44953 PyObject
* obj1
= 0 ;
44954 char * kwnames
[] = {
44955 (char *) "self",(char *) "nWidth", NULL
44958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMarginWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44959 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
44960 if (!SWIG_IsOK(res1
)) {
44961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetMarginWidth" "', expected argument " "1"" of type '" "wxMenuItem *""'");
44963 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
44964 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44965 if (!SWIG_IsOK(ecode2
)) {
44966 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuItem_SetMarginWidth" "', expected argument " "2"" of type '" "int""'");
44968 arg2
= static_cast< int >(val2
);
44970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44971 (arg1
)->SetMarginWidth(arg2
);
44972 wxPyEndAllowThreads(__tstate
);
44973 if (PyErr_Occurred()) SWIG_fail
;
44975 resultobj
= SWIG_Py_Void();
44982 SWIGINTERN PyObject
*_wrap_MenuItem_GetMarginWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44983 PyObject
*resultobj
= 0;
44984 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
44988 PyObject
*swig_obj
[1] ;
44990 if (!args
) SWIG_fail
;
44991 swig_obj
[0] = args
;
44992 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
44993 if (!SWIG_IsOK(res1
)) {
44994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetMarginWidth" "', expected argument " "1"" of type '" "wxMenuItem *""'");
44996 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
44998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44999 result
= (int)(arg1
)->GetMarginWidth();
45000 wxPyEndAllowThreads(__tstate
);
45001 if (PyErr_Occurred()) SWIG_fail
;
45003 resultobj
= SWIG_From_int(static_cast< int >(result
));
45010 SWIGINTERN PyObject
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45011 PyObject
*resultobj
= 0;
45014 if (!SWIG_Python_UnpackTuple(args
,"MenuItem_GetDefaultMarginWidth",0,0,0)) SWIG_fail
;
45016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45017 result
= (int)wxMenuItem::GetDefaultMarginWidth();
45018 wxPyEndAllowThreads(__tstate
);
45019 if (PyErr_Occurred()) SWIG_fail
;
45021 resultobj
= SWIG_From_int(static_cast< int >(result
));
45028 SWIGINTERN PyObject
*_wrap_MenuItem_IsOwnerDrawn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45029 PyObject
*resultobj
= 0;
45030 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
45034 PyObject
*swig_obj
[1] ;
45036 if (!args
) SWIG_fail
;
45037 swig_obj
[0] = args
;
45038 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
45039 if (!SWIG_IsOK(res1
)) {
45040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_IsOwnerDrawn" "', expected argument " "1"" of type '" "wxMenuItem *""'");
45042 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
45044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45045 result
= (bool)(arg1
)->IsOwnerDrawn();
45046 wxPyEndAllowThreads(__tstate
);
45047 if (PyErr_Occurred()) SWIG_fail
;
45050 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45058 SWIGINTERN PyObject
*_wrap_MenuItem_SetOwnerDrawn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45059 PyObject
*resultobj
= 0;
45060 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
45061 bool arg2
= (bool) true ;
45066 PyObject
* obj0
= 0 ;
45067 PyObject
* obj1
= 0 ;
45068 char * kwnames
[] = {
45069 (char *) "self",(char *) "ownerDrawn", NULL
45072 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_SetOwnerDrawn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45073 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
45074 if (!SWIG_IsOK(res1
)) {
45075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetOwnerDrawn" "', expected argument " "1"" of type '" "wxMenuItem *""'");
45077 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
45079 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
45080 if (!SWIG_IsOK(ecode2
)) {
45081 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuItem_SetOwnerDrawn" "', expected argument " "2"" of type '" "bool""'");
45083 arg2
= static_cast< bool >(val2
);
45086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45087 (arg1
)->SetOwnerDrawn(arg2
);
45088 wxPyEndAllowThreads(__tstate
);
45089 if (PyErr_Occurred()) SWIG_fail
;
45091 resultobj
= SWIG_Py_Void();
45098 SWIGINTERN PyObject
*_wrap_MenuItem_ResetOwnerDrawn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45099 PyObject
*resultobj
= 0;
45100 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
45103 PyObject
*swig_obj
[1] ;
45105 if (!args
) SWIG_fail
;
45106 swig_obj
[0] = args
;
45107 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
45108 if (!SWIG_IsOK(res1
)) {
45109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_ResetOwnerDrawn" "', expected argument " "1"" of type '" "wxMenuItem *""'");
45111 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
45113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45114 (arg1
)->ResetOwnerDrawn();
45115 wxPyEndAllowThreads(__tstate
);
45116 if (PyErr_Occurred()) SWIG_fail
;
45118 resultobj
= SWIG_Py_Void();
45125 SWIGINTERN PyObject
*MenuItem_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45127 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45128 SWIG_TypeNewClientData(SWIGTYPE_p_wxMenuItem
, SWIG_NewClientData(obj
));
45129 return SWIG_Py_Void();
45132 SWIGINTERN PyObject
*MenuItem_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45133 return SWIG_Python_InitShadowInstance(args
);
45136 SWIGINTERN
int ControlNameStr_set(PyObject
*) {
45137 SWIG_Error(SWIG_AttributeError
,"Variable ControlNameStr is read-only.");
45142 SWIGINTERN PyObject
*ControlNameStr_get(void) {
45143 PyObject
*pyobj
= 0;
45147 pyobj
= PyUnicode_FromWideChar((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
45149 pyobj
= PyString_FromStringAndSize((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
45156 SWIGINTERN PyObject
*_wrap_new_Control(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45157 PyObject
*resultobj
= 0;
45158 wxWindow
*arg1
= (wxWindow
*) 0 ;
45159 int arg2
= (int) -1 ;
45160 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
45161 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
45162 wxSize
const &arg4_defvalue
= wxDefaultSize
;
45163 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
45164 long arg5
= (long) 0 ;
45165 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
45166 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
45167 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
45168 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
45169 wxControl
*result
= 0 ;
45180 bool temp7
= false ;
45181 PyObject
* obj0
= 0 ;
45182 PyObject
* obj1
= 0 ;
45183 PyObject
* obj2
= 0 ;
45184 PyObject
* obj3
= 0 ;
45185 PyObject
* obj4
= 0 ;
45186 PyObject
* obj5
= 0 ;
45187 PyObject
* obj6
= 0 ;
45188 char * kwnames
[] = {
45189 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
45192 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Control",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
45193 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
45194 if (!SWIG_IsOK(res1
)) {
45195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Control" "', expected argument " "1"" of type '" "wxWindow *""'");
45197 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
45199 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45200 if (!SWIG_IsOK(ecode2
)) {
45201 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Control" "', expected argument " "2"" of type '" "int""'");
45203 arg2
= static_cast< int >(val2
);
45208 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
45214 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
45218 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
45219 if (!SWIG_IsOK(ecode5
)) {
45220 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Control" "', expected argument " "5"" of type '" "long""'");
45222 arg5
= static_cast< long >(val5
);
45225 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
45226 if (!SWIG_IsOK(res6
)) {
45227 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_Control" "', expected argument " "6"" of type '" "wxValidator const &""'");
45230 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Control" "', expected argument " "6"" of type '" "wxValidator const &""'");
45232 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
45236 arg7
= wxString_in_helper(obj6
);
45237 if (arg7
== NULL
) SWIG_fail
;
45242 if (!wxPyCheckForApp()) SWIG_fail
;
45243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45244 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
45245 wxPyEndAllowThreads(__tstate
);
45246 if (PyErr_Occurred()) SWIG_fail
;
45248 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxControl
, SWIG_POINTER_NEW
| 0 );
45263 SWIGINTERN PyObject
*_wrap_new_PreControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45264 PyObject
*resultobj
= 0;
45265 wxControl
*result
= 0 ;
45267 if (!SWIG_Python_UnpackTuple(args
,"new_PreControl",0,0,0)) SWIG_fail
;
45269 if (!wxPyCheckForApp()) SWIG_fail
;
45270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45271 result
= (wxControl
*)new wxControl();
45272 wxPyEndAllowThreads(__tstate
);
45273 if (PyErr_Occurred()) SWIG_fail
;
45275 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxControl
, SWIG_POINTER_OWN
| 0 );
45282 SWIGINTERN PyObject
*_wrap_Control_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45283 PyObject
*resultobj
= 0;
45284 wxControl
*arg1
= (wxControl
*) 0 ;
45285 wxWindow
*arg2
= (wxWindow
*) 0 ;
45286 int arg3
= (int) -1 ;
45287 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
45288 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
45289 wxSize
const &arg5_defvalue
= wxDefaultSize
;
45290 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
45291 long arg6
= (long) 0 ;
45292 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
45293 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
45294 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
45295 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
45309 bool temp8
= false ;
45310 PyObject
* obj0
= 0 ;
45311 PyObject
* obj1
= 0 ;
45312 PyObject
* obj2
= 0 ;
45313 PyObject
* obj3
= 0 ;
45314 PyObject
* obj4
= 0 ;
45315 PyObject
* obj5
= 0 ;
45316 PyObject
* obj6
= 0 ;
45317 PyObject
* obj7
= 0 ;
45318 char * kwnames
[] = {
45319 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
45322 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Control_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
45323 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxControl
, 0 | 0 );
45324 if (!SWIG_IsOK(res1
)) {
45325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Control_Create" "', expected argument " "1"" of type '" "wxControl *""'");
45327 arg1
= reinterpret_cast< wxControl
* >(argp1
);
45328 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
45329 if (!SWIG_IsOK(res2
)) {
45330 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Control_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
45332 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
45334 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
45335 if (!SWIG_IsOK(ecode3
)) {
45336 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Control_Create" "', expected argument " "3"" of type '" "int""'");
45338 arg3
= static_cast< int >(val3
);
45343 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
45349 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
45353 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
45354 if (!SWIG_IsOK(ecode6
)) {
45355 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Control_Create" "', expected argument " "6"" of type '" "long""'");
45357 arg6
= static_cast< long >(val6
);
45360 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
45361 if (!SWIG_IsOK(res7
)) {
45362 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "Control_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
45365 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Control_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
45367 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
45371 arg8
= wxString_in_helper(obj7
);
45372 if (arg8
== NULL
) SWIG_fail
;
45377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45378 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
45379 wxPyEndAllowThreads(__tstate
);
45380 if (PyErr_Occurred()) SWIG_fail
;
45383 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45399 SWIGINTERN PyObject
*_wrap_Control_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45400 PyObject
*resultobj
= 0;
45401 wxControl
*arg1
= (wxControl
*) 0 ;
45405 PyObject
*swig_obj
[1] ;
45407 if (!args
) SWIG_fail
;
45408 swig_obj
[0] = args
;
45409 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxControl
, 0 | 0 );
45410 if (!SWIG_IsOK(res1
)) {
45411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Control_GetAlignment" "', expected argument " "1"" of type '" "wxControl const *""'");
45413 arg1
= reinterpret_cast< wxControl
* >(argp1
);
45415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45416 result
= (int)((wxControl
const *)arg1
)->GetAlignment();
45417 wxPyEndAllowThreads(__tstate
);
45418 if (PyErr_Occurred()) SWIG_fail
;
45420 resultobj
= SWIG_From_int(static_cast< int >(result
));
45427 SWIGINTERN PyObject
*_wrap_Control_GetLabelText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45428 PyObject
*resultobj
= 0;
45429 wxControl
*arg1
= (wxControl
*) 0 ;
45433 PyObject
*swig_obj
[1] ;
45435 if (!args
) SWIG_fail
;
45436 swig_obj
[0] = args
;
45437 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxControl
, 0 | 0 );
45438 if (!SWIG_IsOK(res1
)) {
45439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Control_GetLabelText" "', expected argument " "1"" of type '" "wxControl const *""'");
45441 arg1
= reinterpret_cast< wxControl
* >(argp1
);
45443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45444 result
= ((wxControl
const *)arg1
)->GetLabelText();
45445 wxPyEndAllowThreads(__tstate
);
45446 if (PyErr_Occurred()) SWIG_fail
;
45450 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
45452 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
45461 SWIGINTERN PyObject
*_wrap_Control_Command(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45462 PyObject
*resultobj
= 0;
45463 wxControl
*arg1
= (wxControl
*) 0 ;
45464 wxCommandEvent
*arg2
= 0 ;
45469 PyObject
* obj0
= 0 ;
45470 PyObject
* obj1
= 0 ;
45471 char * kwnames
[] = {
45472 (char *) "self",(char *) "event", NULL
45475 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45476 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxControl
, 0 | 0 );
45477 if (!SWIG_IsOK(res1
)) {
45478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Control_Command" "', expected argument " "1"" of type '" "wxControl *""'");
45480 arg1
= reinterpret_cast< wxControl
* >(argp1
);
45481 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCommandEvent
, 0 );
45482 if (!SWIG_IsOK(res2
)) {
45483 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Control_Command" "', expected argument " "2"" of type '" "wxCommandEvent &""'");
45486 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Control_Command" "', expected argument " "2"" of type '" "wxCommandEvent &""'");
45488 arg2
= reinterpret_cast< wxCommandEvent
* >(argp2
);
45490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45491 (arg1
)->Command(*arg2
);
45492 wxPyEndAllowThreads(__tstate
);
45493 if (PyErr_Occurred()) SWIG_fail
;
45495 resultobj
= SWIG_Py_Void();
45502 SWIGINTERN PyObject
*_wrap_Control_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45503 PyObject
*resultobj
= 0;
45504 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
45505 SwigValueWrapper
<wxVisualAttributes
> result
;
45508 PyObject
* obj0
= 0 ;
45509 char * kwnames
[] = {
45510 (char *) "variant", NULL
45513 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Control_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
45515 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
45516 if (!SWIG_IsOK(ecode1
)) {
45517 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Control_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
45519 arg1
= static_cast< wxWindowVariant
>(val1
);
45522 if (!wxPyCheckForApp()) SWIG_fail
;
45523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45524 result
= wxControl::GetClassDefaultAttributes(arg1
);
45525 wxPyEndAllowThreads(__tstate
);
45526 if (PyErr_Occurred()) SWIG_fail
;
45528 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
45535 SWIGINTERN PyObject
*Control_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45537 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45538 SWIG_TypeNewClientData(SWIGTYPE_p_wxControl
, SWIG_NewClientData(obj
));
45539 return SWIG_Py_Void();
45542 SWIGINTERN PyObject
*Control_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45543 return SWIG_Python_InitShadowInstance(args
);
45546 SWIGINTERN PyObject
*_wrap_ItemContainer_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45547 PyObject
*resultobj
= 0;
45548 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
45549 wxString
*arg2
= 0 ;
45550 PyObject
*arg3
= (PyObject
*) NULL
;
45554 bool temp2
= false ;
45555 PyObject
* obj0
= 0 ;
45556 PyObject
* obj1
= 0 ;
45557 PyObject
* obj2
= 0 ;
45558 char * kwnames
[] = {
45559 (char *) "self",(char *) "item",(char *) "clientData", NULL
45562 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
45563 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
45564 if (!SWIG_IsOK(res1
)) {
45565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_Append" "', expected argument " "1"" of type '" "wxItemContainer *""'");
45567 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
45569 arg2
= wxString_in_helper(obj1
);
45570 if (arg2
== NULL
) SWIG_fail
;
45577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45578 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
45579 wxPyEndAllowThreads(__tstate
);
45580 if (PyErr_Occurred()) SWIG_fail
;
45582 resultobj
= SWIG_From_int(static_cast< int >(result
));
45597 SWIGINTERN PyObject
*_wrap_ItemContainer_AppendItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45598 PyObject
*resultobj
= 0;
45599 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
45600 wxArrayString
*arg2
= 0 ;
45603 bool temp2
= false ;
45604 PyObject
* obj0
= 0 ;
45605 PyObject
* obj1
= 0 ;
45606 char * kwnames
[] = {
45607 (char *) "self",(char *) "strings", NULL
45610 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45611 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
45612 if (!SWIG_IsOK(res1
)) {
45613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_AppendItems" "', expected argument " "1"" of type '" "wxItemContainer *""'");
45615 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
45617 if (! PySequence_Check(obj1
)) {
45618 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
45621 arg2
= new wxArrayString
;
45623 int i
, len
=PySequence_Length(obj1
);
45624 for (i
=0; i
<len
; i
++) {
45625 PyObject
* item
= PySequence_GetItem(obj1
, i
);
45626 wxString
* s
= wxString_in_helper(item
);
45627 if (PyErr_Occurred()) SWIG_fail
;
45634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45635 (arg1
)->Append((wxArrayString
const &)*arg2
);
45636 wxPyEndAllowThreads(__tstate
);
45637 if (PyErr_Occurred()) SWIG_fail
;
45639 resultobj
= SWIG_Py_Void();
45641 if (temp2
) delete arg2
;
45646 if (temp2
) delete arg2
;
45652 SWIGINTERN PyObject
*_wrap_ItemContainer_Insert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45653 PyObject
*resultobj
= 0;
45654 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
45655 wxString
*arg2
= 0 ;
45656 unsigned int arg3
;
45657 PyObject
*arg4
= (PyObject
*) NULL
;
45661 bool temp2
= false ;
45662 unsigned int val3
;
45664 PyObject
* obj0
= 0 ;
45665 PyObject
* obj1
= 0 ;
45666 PyObject
* obj2
= 0 ;
45667 PyObject
* obj3
= 0 ;
45668 char * kwnames
[] = {
45669 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
45672 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
45673 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
45674 if (!SWIG_IsOK(res1
)) {
45675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_Insert" "', expected argument " "1"" of type '" "wxItemContainer *""'");
45677 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
45679 arg2
= wxString_in_helper(obj1
);
45680 if (arg2
== NULL
) SWIG_fail
;
45683 ecode3
= SWIG_AsVal_unsigned_SS_int(obj2
, &val3
);
45684 if (!SWIG_IsOK(ecode3
)) {
45685 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ItemContainer_Insert" "', expected argument " "3"" of type '" "unsigned int""'");
45687 arg3
= static_cast< unsigned int >(val3
);
45692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45693 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
45694 wxPyEndAllowThreads(__tstate
);
45695 if (PyErr_Occurred()) SWIG_fail
;
45697 resultobj
= SWIG_From_int(static_cast< int >(result
));
45712 SWIGINTERN PyObject
*_wrap_ItemContainer_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45713 PyObject
*resultobj
= 0;
45714 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
45717 PyObject
*swig_obj
[1] ;
45719 if (!args
) SWIG_fail
;
45720 swig_obj
[0] = args
;
45721 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
45722 if (!SWIG_IsOK(res1
)) {
45723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_Clear" "', expected argument " "1"" of type '" "wxItemContainer *""'");
45725 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
45727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45729 wxPyEndAllowThreads(__tstate
);
45730 if (PyErr_Occurred()) SWIG_fail
;
45732 resultobj
= SWIG_Py_Void();
45739 SWIGINTERN PyObject
*_wrap_ItemContainer_Delete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45740 PyObject
*resultobj
= 0;
45741 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
45742 unsigned int arg2
;
45745 unsigned int val2
;
45747 PyObject
* obj0
= 0 ;
45748 PyObject
* obj1
= 0 ;
45749 char * kwnames
[] = {
45750 (char *) "self",(char *) "n", NULL
45753 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Delete",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45754 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
45755 if (!SWIG_IsOK(res1
)) {
45756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_Delete" "', expected argument " "1"" of type '" "wxItemContainer *""'");
45758 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
45759 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
45760 if (!SWIG_IsOK(ecode2
)) {
45761 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ItemContainer_Delete" "', expected argument " "2"" of type '" "unsigned int""'");
45763 arg2
= static_cast< unsigned int >(val2
);
45765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45766 (arg1
)->Delete(arg2
);
45767 wxPyEndAllowThreads(__tstate
);
45768 if (PyErr_Occurred()) SWIG_fail
;
45770 resultobj
= SWIG_Py_Void();
45777 SWIGINTERN PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45778 PyObject
*resultobj
= 0;
45779 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
45780 unsigned int arg2
;
45781 PyObject
*result
= 0 ;
45784 unsigned int val2
;
45786 PyObject
* obj0
= 0 ;
45787 PyObject
* obj1
= 0 ;
45788 char * kwnames
[] = {
45789 (char *) "self",(char *) "n", NULL
45792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45793 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
45794 if (!SWIG_IsOK(res1
)) {
45795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_GetClientData" "', expected argument " "1"" of type '" "wxItemContainer *""'");
45797 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
45798 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
45799 if (!SWIG_IsOK(ecode2
)) {
45800 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ItemContainer_GetClientData" "', expected argument " "2"" of type '" "unsigned int""'");
45802 arg2
= static_cast< unsigned int >(val2
);
45804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45805 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
45806 wxPyEndAllowThreads(__tstate
);
45807 if (PyErr_Occurred()) SWIG_fail
;
45809 resultobj
= result
;
45816 SWIGINTERN PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45817 PyObject
*resultobj
= 0;
45818 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
45819 unsigned int arg2
;
45820 PyObject
*arg3
= (PyObject
*) 0 ;
45823 unsigned int val2
;
45825 PyObject
* obj0
= 0 ;
45826 PyObject
* obj1
= 0 ;
45827 PyObject
* obj2
= 0 ;
45828 char * kwnames
[] = {
45829 (char *) "self",(char *) "n",(char *) "clientData", NULL
45832 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetClientData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
45833 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
45834 if (!SWIG_IsOK(res1
)) {
45835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_SetClientData" "', expected argument " "1"" of type '" "wxItemContainer *""'");
45837 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
45838 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
45839 if (!SWIG_IsOK(ecode2
)) {
45840 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ItemContainer_SetClientData" "', expected argument " "2"" of type '" "unsigned int""'");
45842 arg2
= static_cast< unsigned int >(val2
);
45845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45846 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
45847 wxPyEndAllowThreads(__tstate
);
45848 if (PyErr_Occurred()) SWIG_fail
;
45850 resultobj
= SWIG_Py_Void();
45857 SWIGINTERN PyObject
*_wrap_ItemContainer_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45858 PyObject
*resultobj
= 0;
45859 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
45860 unsigned int result
;
45863 PyObject
*swig_obj
[1] ;
45865 if (!args
) SWIG_fail
;
45866 swig_obj
[0] = args
;
45867 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
45868 if (!SWIG_IsOK(res1
)) {
45869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_GetCount" "', expected argument " "1"" of type '" "wxItemContainer const *""'");
45871 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
45873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45874 result
= (unsigned int)((wxItemContainer
const *)arg1
)->GetCount();
45875 wxPyEndAllowThreads(__tstate
);
45876 if (PyErr_Occurred()) SWIG_fail
;
45878 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
45885 SWIGINTERN PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45886 PyObject
*resultobj
= 0;
45887 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
45891 PyObject
*swig_obj
[1] ;
45893 if (!args
) SWIG_fail
;
45894 swig_obj
[0] = args
;
45895 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
45896 if (!SWIG_IsOK(res1
)) {
45897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_IsEmpty" "', expected argument " "1"" of type '" "wxItemContainer const *""'");
45899 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
45901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45902 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
45903 wxPyEndAllowThreads(__tstate
);
45904 if (PyErr_Occurred()) SWIG_fail
;
45907 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45915 SWIGINTERN PyObject
*_wrap_ItemContainer_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45916 PyObject
*resultobj
= 0;
45917 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
45918 unsigned int arg2
;
45922 unsigned int val2
;
45924 PyObject
* obj0
= 0 ;
45925 PyObject
* obj1
= 0 ;
45926 char * kwnames
[] = {
45927 (char *) "self",(char *) "n", NULL
45930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
45932 if (!SWIG_IsOK(res1
)) {
45933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_GetString" "', expected argument " "1"" of type '" "wxItemContainer const *""'");
45935 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
45936 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
45937 if (!SWIG_IsOK(ecode2
)) {
45938 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ItemContainer_GetString" "', expected argument " "2"" of type '" "unsigned int""'");
45940 arg2
= static_cast< unsigned int >(val2
);
45942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45943 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
45944 wxPyEndAllowThreads(__tstate
);
45945 if (PyErr_Occurred()) SWIG_fail
;
45949 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
45951 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
45960 SWIGINTERN PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45961 PyObject
*resultobj
= 0;
45962 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
45963 wxArrayString result
;
45966 PyObject
*swig_obj
[1] ;
45968 if (!args
) SWIG_fail
;
45969 swig_obj
[0] = args
;
45970 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
45971 if (!SWIG_IsOK(res1
)) {
45972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_GetStrings" "', expected argument " "1"" of type '" "wxItemContainer const *""'");
45974 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
45976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45977 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
45978 wxPyEndAllowThreads(__tstate
);
45979 if (PyErr_Occurred()) SWIG_fail
;
45982 resultobj
= wxArrayString2PyList_helper(result
);
45990 SWIGINTERN PyObject
*_wrap_ItemContainer_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45991 PyObject
*resultobj
= 0;
45992 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
45993 unsigned int arg2
;
45994 wxString
*arg3
= 0 ;
45997 unsigned int val2
;
45999 bool temp3
= false ;
46000 PyObject
* obj0
= 0 ;
46001 PyObject
* obj1
= 0 ;
46002 PyObject
* obj2
= 0 ;
46003 char * kwnames
[] = {
46004 (char *) "self",(char *) "n",(char *) "s", NULL
46007 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
46008 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
46009 if (!SWIG_IsOK(res1
)) {
46010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_SetString" "', expected argument " "1"" of type '" "wxItemContainer *""'");
46012 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
46013 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
46014 if (!SWIG_IsOK(ecode2
)) {
46015 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ItemContainer_SetString" "', expected argument " "2"" of type '" "unsigned int""'");
46017 arg2
= static_cast< unsigned int >(val2
);
46019 arg3
= wxString_in_helper(obj2
);
46020 if (arg3
== NULL
) SWIG_fail
;
46024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46025 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
46026 wxPyEndAllowThreads(__tstate
);
46027 if (PyErr_Occurred()) SWIG_fail
;
46029 resultobj
= SWIG_Py_Void();
46044 SWIGINTERN PyObject
*_wrap_ItemContainer_FindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46045 PyObject
*resultobj
= 0;
46046 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
46047 wxString
*arg2
= 0 ;
46051 bool temp2
= false ;
46052 PyObject
* obj0
= 0 ;
46053 PyObject
* obj1
= 0 ;
46054 char * kwnames
[] = {
46055 (char *) "self",(char *) "s", NULL
46058 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46059 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
46060 if (!SWIG_IsOK(res1
)) {
46061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_FindString" "', expected argument " "1"" of type '" "wxItemContainer const *""'");
46063 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
46065 arg2
= wxString_in_helper(obj1
);
46066 if (arg2
== NULL
) SWIG_fail
;
46070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46071 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
46072 wxPyEndAllowThreads(__tstate
);
46073 if (PyErr_Occurred()) SWIG_fail
;
46075 resultobj
= SWIG_From_int(static_cast< int >(result
));
46090 SWIGINTERN PyObject
*_wrap_ItemContainer_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46091 PyObject
*resultobj
= 0;
46092 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
46098 PyObject
* obj0
= 0 ;
46099 PyObject
* obj1
= 0 ;
46100 char * kwnames
[] = {
46101 (char *) "self",(char *) "n", NULL
46104 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46105 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
46106 if (!SWIG_IsOK(res1
)) {
46107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_SetSelection" "', expected argument " "1"" of type '" "wxItemContainer *""'");
46109 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
46110 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
46111 if (!SWIG_IsOK(ecode2
)) {
46112 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ItemContainer_SetSelection" "', expected argument " "2"" of type '" "int""'");
46114 arg2
= static_cast< int >(val2
);
46116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46117 (arg1
)->SetSelection(arg2
);
46118 wxPyEndAllowThreads(__tstate
);
46119 if (PyErr_Occurred()) SWIG_fail
;
46121 resultobj
= SWIG_Py_Void();
46128 SWIGINTERN PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46129 PyObject
*resultobj
= 0;
46130 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
46134 PyObject
*swig_obj
[1] ;
46136 if (!args
) SWIG_fail
;
46137 swig_obj
[0] = args
;
46138 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
46139 if (!SWIG_IsOK(res1
)) {
46140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_GetSelection" "', expected argument " "1"" of type '" "wxItemContainer const *""'");
46142 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
46144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46145 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
46146 wxPyEndAllowThreads(__tstate
);
46147 if (PyErr_Occurred()) SWIG_fail
;
46149 resultobj
= SWIG_From_int(static_cast< int >(result
));
46156 SWIGINTERN PyObject
*_wrap_ItemContainer_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46157 PyObject
*resultobj
= 0;
46158 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
46159 wxString
*arg2
= 0 ;
46163 bool temp2
= false ;
46164 PyObject
* obj0
= 0 ;
46165 PyObject
* obj1
= 0 ;
46166 char * kwnames
[] = {
46167 (char *) "self",(char *) "s", NULL
46170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46171 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
46172 if (!SWIG_IsOK(res1
)) {
46173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_SetStringSelection" "', expected argument " "1"" of type '" "wxItemContainer *""'");
46175 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
46177 arg2
= wxString_in_helper(obj1
);
46178 if (arg2
== NULL
) SWIG_fail
;
46182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46183 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
46184 wxPyEndAllowThreads(__tstate
);
46185 if (PyErr_Occurred()) SWIG_fail
;
46188 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46204 SWIGINTERN PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46205 PyObject
*resultobj
= 0;
46206 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
46210 PyObject
*swig_obj
[1] ;
46212 if (!args
) SWIG_fail
;
46213 swig_obj
[0] = args
;
46214 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
46215 if (!SWIG_IsOK(res1
)) {
46216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_GetStringSelection" "', expected argument " "1"" of type '" "wxItemContainer const *""'");
46218 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
46220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46221 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
46222 wxPyEndAllowThreads(__tstate
);
46223 if (PyErr_Occurred()) SWIG_fail
;
46227 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
46229 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
46238 SWIGINTERN PyObject
*_wrap_ItemContainer_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46239 PyObject
*resultobj
= 0;
46240 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
46246 PyObject
* obj0
= 0 ;
46247 PyObject
* obj1
= 0 ;
46248 char * kwnames
[] = {
46249 (char *) "self",(char *) "n", NULL
46252 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Select",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46253 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
46254 if (!SWIG_IsOK(res1
)) {
46255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_Select" "', expected argument " "1"" of type '" "wxItemContainer *""'");
46257 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
46258 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
46259 if (!SWIG_IsOK(ecode2
)) {
46260 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ItemContainer_Select" "', expected argument " "2"" of type '" "int""'");
46262 arg2
= static_cast< int >(val2
);
46264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46265 (arg1
)->Select(arg2
);
46266 wxPyEndAllowThreads(__tstate
);
46267 if (PyErr_Occurred()) SWIG_fail
;
46269 resultobj
= SWIG_Py_Void();
46276 SWIGINTERN PyObject
*ItemContainer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46278 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
46279 SWIG_TypeNewClientData(SWIGTYPE_p_wxItemContainer
, SWIG_NewClientData(obj
));
46280 return SWIG_Py_Void();
46283 SWIGINTERN PyObject
*ControlWithItems_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46285 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
46286 SWIG_TypeNewClientData(SWIGTYPE_p_wxControlWithItems
, SWIG_NewClientData(obj
));
46287 return SWIG_Py_Void();
46290 SWIGINTERN PyObject
*_wrap_new_SizerItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46291 PyObject
*resultobj
= 0;
46292 wxSizerItem
*result
= 0 ;
46294 if (!SWIG_Python_UnpackTuple(args
,"new_SizerItem",0,0,0)) SWIG_fail
;
46296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46297 result
= (wxSizerItem
*)new wxSizerItem();
46298 wxPyEndAllowThreads(__tstate
);
46299 if (PyErr_Occurred()) SWIG_fail
;
46301 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_NEW
| 0 );
46308 SWIGINTERN PyObject
*_wrap_delete_SizerItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46309 PyObject
*resultobj
= 0;
46310 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
46313 PyObject
*swig_obj
[1] ;
46315 if (!args
) SWIG_fail
;
46316 swig_obj
[0] = args
;
46317 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_DISOWN
| 0 );
46318 if (!SWIG_IsOK(res1
)) {
46319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SizerItem" "', expected argument " "1"" of type '" "wxSizerItem *""'");
46321 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
46323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46326 wxPyEndAllowThreads(__tstate
);
46327 if (PyErr_Occurred()) SWIG_fail
;
46329 resultobj
= SWIG_Py_Void();
46336 SWIGINTERN PyObject
*_wrap_new_SizerItemWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46337 PyObject
*resultobj
= 0;
46338 wxWindow
*arg1
= (wxWindow
*) 0 ;
46342 PyObject
*arg5
= (PyObject
*) NULL
;
46343 wxSizerItem
*result
= 0 ;
46352 PyObject
* obj0
= 0 ;
46353 PyObject
* obj1
= 0 ;
46354 PyObject
* obj2
= 0 ;
46355 PyObject
* obj3
= 0 ;
46356 PyObject
* obj4
= 0 ;
46357 char * kwnames
[] = {
46358 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
46361 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
46362 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
46363 if (!SWIG_IsOK(res1
)) {
46364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SizerItemWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
46366 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
46367 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
46368 if (!SWIG_IsOK(ecode2
)) {
46369 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SizerItemWindow" "', expected argument " "2"" of type '" "int""'");
46371 arg2
= static_cast< int >(val2
);
46372 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
46373 if (!SWIG_IsOK(ecode3
)) {
46374 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SizerItemWindow" "', expected argument " "3"" of type '" "int""'");
46376 arg3
= static_cast< int >(val3
);
46377 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
46378 if (!SWIG_IsOK(ecode4
)) {
46379 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_SizerItemWindow" "', expected argument " "4"" of type '" "int""'");
46381 arg4
= static_cast< int >(val4
);
46386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46387 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
46388 wxPyEndAllowThreads(__tstate
);
46389 if (PyErr_Occurred()) SWIG_fail
;
46391 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_OWN
| 0 );
46398 SWIGINTERN PyObject
*_wrap_new_SizerItemSpacer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46399 PyObject
*resultobj
= 0;
46405 PyObject
*arg6
= (PyObject
*) NULL
;
46406 wxSizerItem
*result
= 0 ;
46417 PyObject
* obj0
= 0 ;
46418 PyObject
* obj1
= 0 ;
46419 PyObject
* obj2
= 0 ;
46420 PyObject
* obj3
= 0 ;
46421 PyObject
* obj4
= 0 ;
46422 PyObject
* obj5
= 0 ;
46423 char * kwnames
[] = {
46424 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
46427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_SizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
46428 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
46429 if (!SWIG_IsOK(ecode1
)) {
46430 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SizerItemSpacer" "', expected argument " "1"" of type '" "int""'");
46432 arg1
= static_cast< int >(val1
);
46433 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
46434 if (!SWIG_IsOK(ecode2
)) {
46435 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SizerItemSpacer" "', expected argument " "2"" of type '" "int""'");
46437 arg2
= static_cast< int >(val2
);
46438 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
46439 if (!SWIG_IsOK(ecode3
)) {
46440 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SizerItemSpacer" "', expected argument " "3"" of type '" "int""'");
46442 arg3
= static_cast< int >(val3
);
46443 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
46444 if (!SWIG_IsOK(ecode4
)) {
46445 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_SizerItemSpacer" "', expected argument " "4"" of type '" "int""'");
46447 arg4
= static_cast< int >(val4
);
46448 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
46449 if (!SWIG_IsOK(ecode5
)) {
46450 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SizerItemSpacer" "', expected argument " "5"" of type '" "int""'");
46452 arg5
= static_cast< int >(val5
);
46457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46458 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
46459 wxPyEndAllowThreads(__tstate
);
46460 if (PyErr_Occurred()) SWIG_fail
;
46462 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_OWN
| 0 );
46469 SWIGINTERN PyObject
*_wrap_new_SizerItemSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46470 PyObject
*resultobj
= 0;
46471 wxSizer
*arg1
= (wxSizer
*) 0 ;
46475 PyObject
*arg5
= (PyObject
*) NULL
;
46476 wxSizerItem
*result
= 0 ;
46484 PyObject
* obj0
= 0 ;
46485 PyObject
* obj1
= 0 ;
46486 PyObject
* obj2
= 0 ;
46487 PyObject
* obj3
= 0 ;
46488 PyObject
* obj4
= 0 ;
46489 char * kwnames
[] = {
46490 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
46493 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
46494 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxSizer
, SWIG_POINTER_DISOWN
| 0 );
46495 if (!SWIG_IsOK(res1
)) {
46496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SizerItemSizer" "', expected argument " "1"" of type '" "wxSizer *""'");
46498 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
46499 if (!SWIG_IsOK(ecode2
)) {
46500 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SizerItemSizer" "', expected argument " "2"" of type '" "int""'");
46502 arg2
= static_cast< int >(val2
);
46503 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
46504 if (!SWIG_IsOK(ecode3
)) {
46505 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SizerItemSizer" "', expected argument " "3"" of type '" "int""'");
46507 arg3
= static_cast< int >(val3
);
46508 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
46509 if (!SWIG_IsOK(ecode4
)) {
46510 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_SizerItemSizer" "', expected argument " "4"" of type '" "int""'");
46512 arg4
= static_cast< int >(val4
);
46517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46518 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
46519 wxPyEndAllowThreads(__tstate
);
46520 if (PyErr_Occurred()) SWIG_fail
;
46522 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_OWN
| 0 );
46529 SWIGINTERN PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46530 PyObject
*resultobj
= 0;
46531 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
46534 PyObject
*swig_obj
[1] ;
46536 if (!args
) SWIG_fail
;
46537 swig_obj
[0] = args
;
46538 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
46539 if (!SWIG_IsOK(res1
)) {
46540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_DeleteWindows" "', expected argument " "1"" of type '" "wxSizerItem *""'");
46542 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
46544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46545 (arg1
)->DeleteWindows();
46546 wxPyEndAllowThreads(__tstate
);
46547 if (PyErr_Occurred()) SWIG_fail
;
46549 resultobj
= SWIG_Py_Void();
46556 SWIGINTERN PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46557 PyObject
*resultobj
= 0;
46558 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
46561 PyObject
*swig_obj
[1] ;
46563 if (!args
) SWIG_fail
;
46564 swig_obj
[0] = args
;
46565 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
46566 if (!SWIG_IsOK(res1
)) {
46567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_DetachSizer" "', expected argument " "1"" of type '" "wxSizerItem *""'");
46569 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
46571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46572 (arg1
)->DetachSizer();
46573 wxPyEndAllowThreads(__tstate
);
46574 if (PyErr_Occurred()) SWIG_fail
;
46576 resultobj
= SWIG_Py_Void();
46583 SWIGINTERN PyObject
*_wrap_SizerItem_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46584 PyObject
*resultobj
= 0;
46585 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
46589 PyObject
*swig_obj
[1] ;
46591 if (!args
) SWIG_fail
;
46592 swig_obj
[0] = args
;
46593 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
46594 if (!SWIG_IsOK(res1
)) {
46595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetSize" "', expected argument " "1"" of type '" "wxSizerItem *""'");
46597 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
46599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46600 result
= (arg1
)->GetSize();
46601 wxPyEndAllowThreads(__tstate
);
46602 if (PyErr_Occurred()) SWIG_fail
;
46604 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
46611 SWIGINTERN PyObject
*_wrap_SizerItem_CalcMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46612 PyObject
*resultobj
= 0;
46613 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
46617 PyObject
*swig_obj
[1] ;
46619 if (!args
) SWIG_fail
;
46620 swig_obj
[0] = args
;
46621 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
46622 if (!SWIG_IsOK(res1
)) {
46623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_CalcMin" "', expected argument " "1"" of type '" "wxSizerItem *""'");
46625 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
46627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46628 result
= (arg1
)->CalcMin();
46629 wxPyEndAllowThreads(__tstate
);
46630 if (PyErr_Occurred()) SWIG_fail
;
46632 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
46639 SWIGINTERN PyObject
*_wrap_SizerItem_SetDimension(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46640 PyObject
*resultobj
= 0;
46641 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
46642 wxPoint
*arg2
= 0 ;
46648 PyObject
* obj0
= 0 ;
46649 PyObject
* obj1
= 0 ;
46650 PyObject
* obj2
= 0 ;
46651 char * kwnames
[] = {
46652 (char *) "self",(char *) "pos",(char *) "size", NULL
46655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
46656 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
46657 if (!SWIG_IsOK(res1
)) {
46658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetDimension" "', expected argument " "1"" of type '" "wxSizerItem *""'");
46660 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
46663 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
46667 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
46670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46671 (arg1
)->SetDimension((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
46672 wxPyEndAllowThreads(__tstate
);
46673 if (PyErr_Occurred()) SWIG_fail
;
46675 resultobj
= SWIG_Py_Void();
46682 SWIGINTERN PyObject
*_wrap_SizerItem_GetMinSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46683 PyObject
*resultobj
= 0;
46684 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
46688 PyObject
*swig_obj
[1] ;
46690 if (!args
) SWIG_fail
;
46691 swig_obj
[0] = args
;
46692 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
46693 if (!SWIG_IsOK(res1
)) {
46694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetMinSize" "', expected argument " "1"" of type '" "wxSizerItem *""'");
46696 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
46698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46699 result
= (arg1
)->GetMinSize();
46700 wxPyEndAllowThreads(__tstate
);
46701 if (PyErr_Occurred()) SWIG_fail
;
46703 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
46710 SWIGINTERN PyObject
*_wrap_SizerItem_GetMinSizeWithBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46711 PyObject
*resultobj
= 0;
46712 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
46716 PyObject
*swig_obj
[1] ;
46718 if (!args
) SWIG_fail
;
46719 swig_obj
[0] = args
;
46720 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
46721 if (!SWIG_IsOK(res1
)) {
46722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetMinSizeWithBorder" "', expected argument " "1"" of type '" "wxSizerItem const *""'");
46724 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
46726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46727 result
= ((wxSizerItem
const *)arg1
)->GetMinSizeWithBorder();
46728 wxPyEndAllowThreads(__tstate
);
46729 if (PyErr_Occurred()) SWIG_fail
;
46731 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
46738 SWIGINTERN PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46739 PyObject
*resultobj
= 0;
46740 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
46749 PyObject
* obj0
= 0 ;
46750 PyObject
* obj1
= 0 ;
46751 PyObject
* obj2
= 0 ;
46752 char * kwnames
[] = {
46753 (char *) "self",(char *) "x",(char *) "y", NULL
46756 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetInitSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
46757 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
46758 if (!SWIG_IsOK(res1
)) {
46759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetInitSize" "', expected argument " "1"" of type '" "wxSizerItem *""'");
46761 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
46762 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
46763 if (!SWIG_IsOK(ecode2
)) {
46764 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SizerItem_SetInitSize" "', expected argument " "2"" of type '" "int""'");
46766 arg2
= static_cast< int >(val2
);
46767 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
46768 if (!SWIG_IsOK(ecode3
)) {
46769 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SizerItem_SetInitSize" "', expected argument " "3"" of type '" "int""'");
46771 arg3
= static_cast< int >(val3
);
46773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46774 (arg1
)->SetInitSize(arg2
,arg3
);
46775 wxPyEndAllowThreads(__tstate
);
46776 if (PyErr_Occurred()) SWIG_fail
;
46778 resultobj
= SWIG_Py_Void();
46785 SWIGINTERN PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46786 PyObject
*resultobj
= 0;
46787 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
46796 PyObject
* obj0
= 0 ;
46797 PyObject
* obj1
= 0 ;
46798 PyObject
* obj2
= 0 ;
46799 char * kwnames
[] = {
46800 (char *) "self",(char *) "width",(char *) "height", NULL
46803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetRatioWH",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
46804 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
46805 if (!SWIG_IsOK(res1
)) {
46806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetRatioWH" "', expected argument " "1"" of type '" "wxSizerItem *""'");
46808 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
46809 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
46810 if (!SWIG_IsOK(ecode2
)) {
46811 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SizerItem_SetRatioWH" "', expected argument " "2"" of type '" "int""'");
46813 arg2
= static_cast< int >(val2
);
46814 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
46815 if (!SWIG_IsOK(ecode3
)) {
46816 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SizerItem_SetRatioWH" "', expected argument " "3"" of type '" "int""'");
46818 arg3
= static_cast< int >(val3
);
46820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46821 (arg1
)->SetRatio(arg2
,arg3
);
46822 wxPyEndAllowThreads(__tstate
);
46823 if (PyErr_Occurred()) SWIG_fail
;
46825 resultobj
= SWIG_Py_Void();
46832 SWIGINTERN PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46833 PyObject
*resultobj
= 0;
46834 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
46839 PyObject
* obj0
= 0 ;
46840 PyObject
* obj1
= 0 ;
46841 char * kwnames
[] = {
46842 (char *) "self",(char *) "size", NULL
46845 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46846 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
46847 if (!SWIG_IsOK(res1
)) {
46848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetRatioSize" "', expected argument " "1"" of type '" "wxSizerItem *""'");
46850 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
46853 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
46856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46857 (arg1
)->SetRatio((wxSize
const &)*arg2
);
46858 wxPyEndAllowThreads(__tstate
);
46859 if (PyErr_Occurred()) SWIG_fail
;
46861 resultobj
= SWIG_Py_Void();
46868 SWIGINTERN PyObject
*_wrap_SizerItem_SetRatio(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46869 PyObject
*resultobj
= 0;
46870 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
46876 PyObject
* obj0
= 0 ;
46877 PyObject
* obj1
= 0 ;
46878 char * kwnames
[] = {
46879 (char *) "self",(char *) "ratio", NULL
46882 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatio",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46883 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
46884 if (!SWIG_IsOK(res1
)) {
46885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetRatio" "', expected argument " "1"" of type '" "wxSizerItem *""'");
46887 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
46888 ecode2
= SWIG_AsVal_float(obj1
, &val2
);
46889 if (!SWIG_IsOK(ecode2
)) {
46890 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SizerItem_SetRatio" "', expected argument " "2"" of type '" "float""'");
46892 arg2
= static_cast< float >(val2
);
46894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46895 (arg1
)->SetRatio(arg2
);
46896 wxPyEndAllowThreads(__tstate
);
46897 if (PyErr_Occurred()) SWIG_fail
;
46899 resultobj
= SWIG_Py_Void();
46906 SWIGINTERN PyObject
*_wrap_SizerItem_GetRatio(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46907 PyObject
*resultobj
= 0;
46908 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
46912 PyObject
*swig_obj
[1] ;
46914 if (!args
) SWIG_fail
;
46915 swig_obj
[0] = args
;
46916 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
46917 if (!SWIG_IsOK(res1
)) {
46918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetRatio" "', expected argument " "1"" of type '" "wxSizerItem *""'");
46920 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
46922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46923 result
= (float)(arg1
)->GetRatio();
46924 wxPyEndAllowThreads(__tstate
);
46925 if (PyErr_Occurred()) SWIG_fail
;
46927 resultobj
= SWIG_From_float(static_cast< float >(result
));
46934 SWIGINTERN PyObject
*_wrap_SizerItem_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46935 PyObject
*resultobj
= 0;
46936 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
46940 PyObject
*swig_obj
[1] ;
46942 if (!args
) SWIG_fail
;
46943 swig_obj
[0] = args
;
46944 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
46945 if (!SWIG_IsOK(res1
)) {
46946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetRect" "', expected argument " "1"" of type '" "wxSizerItem *""'");
46948 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
46950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46951 result
= (arg1
)->GetRect();
46952 wxPyEndAllowThreads(__tstate
);
46953 if (PyErr_Occurred()) SWIG_fail
;
46955 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
46962 SWIGINTERN PyObject
*_wrap_SizerItem_IsWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46963 PyObject
*resultobj
= 0;
46964 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
46968 PyObject
*swig_obj
[1] ;
46970 if (!args
) SWIG_fail
;
46971 swig_obj
[0] = args
;
46972 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
46973 if (!SWIG_IsOK(res1
)) {
46974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_IsWindow" "', expected argument " "1"" of type '" "wxSizerItem *""'");
46976 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
46978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46979 result
= (bool)(arg1
)->IsWindow();
46980 wxPyEndAllowThreads(__tstate
);
46981 if (PyErr_Occurred()) SWIG_fail
;
46984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46992 SWIGINTERN PyObject
*_wrap_SizerItem_IsSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46993 PyObject
*resultobj
= 0;
46994 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
46998 PyObject
*swig_obj
[1] ;
47000 if (!args
) SWIG_fail
;
47001 swig_obj
[0] = args
;
47002 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
47003 if (!SWIG_IsOK(res1
)) {
47004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_IsSizer" "', expected argument " "1"" of type '" "wxSizerItem *""'");
47006 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
47008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47009 result
= (bool)(arg1
)->IsSizer();
47010 wxPyEndAllowThreads(__tstate
);
47011 if (PyErr_Occurred()) SWIG_fail
;
47014 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
47022 SWIGINTERN PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47023 PyObject
*resultobj
= 0;
47024 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
47028 PyObject
*swig_obj
[1] ;
47030 if (!args
) SWIG_fail
;
47031 swig_obj
[0] = args
;
47032 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
47033 if (!SWIG_IsOK(res1
)) {
47034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_IsSpacer" "', expected argument " "1"" of type '" "wxSizerItem *""'");
47036 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
47038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47039 result
= (bool)(arg1
)->IsSpacer();
47040 wxPyEndAllowThreads(__tstate
);
47041 if (PyErr_Occurred()) SWIG_fail
;
47044 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
47052 SWIGINTERN PyObject
*_wrap_SizerItem_SetProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47053 PyObject
*resultobj
= 0;
47054 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
47060 PyObject
* obj0
= 0 ;
47061 PyObject
* obj1
= 0 ;
47062 char * kwnames
[] = {
47063 (char *) "self",(char *) "proportion", NULL
47066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetProportion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47067 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
47068 if (!SWIG_IsOK(res1
)) {
47069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetProportion" "', expected argument " "1"" of type '" "wxSizerItem *""'");
47071 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
47072 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
47073 if (!SWIG_IsOK(ecode2
)) {
47074 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SizerItem_SetProportion" "', expected argument " "2"" of type '" "int""'");
47076 arg2
= static_cast< int >(val2
);
47078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47079 (arg1
)->SetProportion(arg2
);
47080 wxPyEndAllowThreads(__tstate
);
47081 if (PyErr_Occurred()) SWIG_fail
;
47083 resultobj
= SWIG_Py_Void();
47090 SWIGINTERN PyObject
*_wrap_SizerItem_GetProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47091 PyObject
*resultobj
= 0;
47092 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
47096 PyObject
*swig_obj
[1] ;
47098 if (!args
) SWIG_fail
;
47099 swig_obj
[0] = args
;
47100 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
47101 if (!SWIG_IsOK(res1
)) {
47102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetProportion" "', expected argument " "1"" of type '" "wxSizerItem *""'");
47104 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
47106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47107 result
= (int)(arg1
)->GetProportion();
47108 wxPyEndAllowThreads(__tstate
);
47109 if (PyErr_Occurred()) SWIG_fail
;
47111 resultobj
= SWIG_From_int(static_cast< int >(result
));
47118 SWIGINTERN PyObject
*_wrap_SizerItem_SetFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47119 PyObject
*resultobj
= 0;
47120 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
47126 PyObject
* obj0
= 0 ;
47127 PyObject
* obj1
= 0 ;
47128 char * kwnames
[] = {
47129 (char *) "self",(char *) "flag", NULL
47132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetFlag",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47133 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
47134 if (!SWIG_IsOK(res1
)) {
47135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetFlag" "', expected argument " "1"" of type '" "wxSizerItem *""'");
47137 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
47138 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
47139 if (!SWIG_IsOK(ecode2
)) {
47140 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SizerItem_SetFlag" "', expected argument " "2"" of type '" "int""'");
47142 arg2
= static_cast< int >(val2
);
47144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47145 (arg1
)->SetFlag(arg2
);
47146 wxPyEndAllowThreads(__tstate
);
47147 if (PyErr_Occurred()) SWIG_fail
;
47149 resultobj
= SWIG_Py_Void();
47156 SWIGINTERN PyObject
*_wrap_SizerItem_GetFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47157 PyObject
*resultobj
= 0;
47158 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
47162 PyObject
*swig_obj
[1] ;
47164 if (!args
) SWIG_fail
;
47165 swig_obj
[0] = args
;
47166 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
47167 if (!SWIG_IsOK(res1
)) {
47168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetFlag" "', expected argument " "1"" of type '" "wxSizerItem *""'");
47170 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
47172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47173 result
= (int)(arg1
)->GetFlag();
47174 wxPyEndAllowThreads(__tstate
);
47175 if (PyErr_Occurred()) SWIG_fail
;
47177 resultobj
= SWIG_From_int(static_cast< int >(result
));
47184 SWIGINTERN PyObject
*_wrap_SizerItem_SetBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47185 PyObject
*resultobj
= 0;
47186 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
47192 PyObject
* obj0
= 0 ;
47193 PyObject
* obj1
= 0 ;
47194 char * kwnames
[] = {
47195 (char *) "self",(char *) "border", NULL
47198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47199 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
47200 if (!SWIG_IsOK(res1
)) {
47201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetBorder" "', expected argument " "1"" of type '" "wxSizerItem *""'");
47203 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
47204 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
47205 if (!SWIG_IsOK(ecode2
)) {
47206 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SizerItem_SetBorder" "', expected argument " "2"" of type '" "int""'");
47208 arg2
= static_cast< int >(val2
);
47210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47211 (arg1
)->SetBorder(arg2
);
47212 wxPyEndAllowThreads(__tstate
);
47213 if (PyErr_Occurred()) SWIG_fail
;
47215 resultobj
= SWIG_Py_Void();
47222 SWIGINTERN PyObject
*_wrap_SizerItem_GetBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47223 PyObject
*resultobj
= 0;
47224 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
47228 PyObject
*swig_obj
[1] ;
47230 if (!args
) SWIG_fail
;
47231 swig_obj
[0] = args
;
47232 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
47233 if (!SWIG_IsOK(res1
)) {
47234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetBorder" "', expected argument " "1"" of type '" "wxSizerItem *""'");
47236 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
47238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47239 result
= (int)(arg1
)->GetBorder();
47240 wxPyEndAllowThreads(__tstate
);
47241 if (PyErr_Occurred()) SWIG_fail
;
47243 resultobj
= SWIG_From_int(static_cast< int >(result
));
47250 SWIGINTERN PyObject
*_wrap_SizerItem_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47251 PyObject
*resultobj
= 0;
47252 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
47253 wxWindow
*result
= 0 ;
47256 PyObject
*swig_obj
[1] ;
47258 if (!args
) SWIG_fail
;
47259 swig_obj
[0] = args
;
47260 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
47261 if (!SWIG_IsOK(res1
)) {
47262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetWindow" "', expected argument " "1"" of type '" "wxSizerItem *""'");
47264 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
47266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47267 result
= (wxWindow
*)(arg1
)->GetWindow();
47268 wxPyEndAllowThreads(__tstate
);
47269 if (PyErr_Occurred()) SWIG_fail
;
47272 resultobj
= wxPyMake_wxObject(result
, 0);
47280 SWIGINTERN PyObject
*_wrap_SizerItem_SetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47281 PyObject
*resultobj
= 0;
47282 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
47283 wxWindow
*arg2
= (wxWindow
*) 0 ;
47288 PyObject
* obj0
= 0 ;
47289 PyObject
* obj1
= 0 ;
47290 char * kwnames
[] = {
47291 (char *) "self",(char *) "window", NULL
47294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
47296 if (!SWIG_IsOK(res1
)) {
47297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetWindow" "', expected argument " "1"" of type '" "wxSizerItem *""'");
47299 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
47300 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
47301 if (!SWIG_IsOK(res2
)) {
47302 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SizerItem_SetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
47304 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
47306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47307 (arg1
)->SetWindow(arg2
);
47308 wxPyEndAllowThreads(__tstate
);
47309 if (PyErr_Occurred()) SWIG_fail
;
47311 resultobj
= SWIG_Py_Void();
47318 SWIGINTERN PyObject
*_wrap_SizerItem_GetSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47319 PyObject
*resultobj
= 0;
47320 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
47321 wxSizer
*result
= 0 ;
47324 PyObject
*swig_obj
[1] ;
47326 if (!args
) SWIG_fail
;
47327 swig_obj
[0] = args
;
47328 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
47329 if (!SWIG_IsOK(res1
)) {
47330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetSizer" "', expected argument " "1"" of type '" "wxSizerItem *""'");
47332 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
47334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47335 result
= (wxSizer
*)(arg1
)->GetSizer();
47336 wxPyEndAllowThreads(__tstate
);
47337 if (PyErr_Occurred()) SWIG_fail
;
47340 resultobj
= wxPyMake_wxObject(result
, (bool)0);
47348 SWIGINTERN PyObject
*_wrap_SizerItem_SetSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47349 PyObject
*resultobj
= 0;
47350 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
47351 wxSizer
*arg2
= (wxSizer
*) 0 ;
47355 PyObject
* obj0
= 0 ;
47356 PyObject
* obj1
= 0 ;
47357 char * kwnames
[] = {
47358 (char *) "self",(char *) "sizer", NULL
47361 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47362 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
47363 if (!SWIG_IsOK(res1
)) {
47364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetSizer" "', expected argument " "1"" of type '" "wxSizerItem *""'");
47366 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
47367 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxSizer
, SWIG_POINTER_DISOWN
| 0 );
47368 if (!SWIG_IsOK(res2
)) {
47369 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SizerItem_SetSizer" "', expected argument " "2"" of type '" "wxSizer *""'");
47372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47373 (arg1
)->SetSizer(arg2
);
47374 wxPyEndAllowThreads(__tstate
);
47375 if (PyErr_Occurred()) SWIG_fail
;
47377 resultobj
= SWIG_Py_Void();
47384 SWIGINTERN PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47385 PyObject
*resultobj
= 0;
47386 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
47387 wxSize
*result
= 0 ;
47390 PyObject
*swig_obj
[1] ;
47392 if (!args
) SWIG_fail
;
47393 swig_obj
[0] = args
;
47394 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
47395 if (!SWIG_IsOK(res1
)) {
47396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetSpacer" "', expected argument " "1"" of type '" "wxSizerItem *""'");
47398 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
47400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47402 wxSize
const &_result_ref
= (arg1
)->GetSpacer();
47403 result
= (wxSize
*) &_result_ref
;
47405 wxPyEndAllowThreads(__tstate
);
47406 if (PyErr_Occurred()) SWIG_fail
;
47408 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSize
, 0 | 0 );
47415 SWIGINTERN PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47416 PyObject
*resultobj
= 0;
47417 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
47422 PyObject
* obj0
= 0 ;
47423 PyObject
* obj1
= 0 ;
47424 char * kwnames
[] = {
47425 (char *) "self",(char *) "size", NULL
47428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47429 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
47430 if (!SWIG_IsOK(res1
)) {
47431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetSpacer" "', expected argument " "1"" of type '" "wxSizerItem *""'");
47433 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
47436 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
47439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47440 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
47441 wxPyEndAllowThreads(__tstate
);
47442 if (PyErr_Occurred()) SWIG_fail
;
47444 resultobj
= SWIG_Py_Void();
47451 SWIGINTERN PyObject
*_wrap_SizerItem_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47452 PyObject
*resultobj
= 0;
47453 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
47459 PyObject
* obj0
= 0 ;
47460 PyObject
* obj1
= 0 ;
47461 char * kwnames
[] = {
47462 (char *) "self",(char *) "show", NULL
47465 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47466 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
47467 if (!SWIG_IsOK(res1
)) {
47468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_Show" "', expected argument " "1"" of type '" "wxSizerItem *""'");
47470 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
47471 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
47472 if (!SWIG_IsOK(ecode2
)) {
47473 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SizerItem_Show" "', expected argument " "2"" of type '" "bool""'");
47475 arg2
= static_cast< bool >(val2
);
47477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47478 (arg1
)->Show(arg2
);
47479 wxPyEndAllowThreads(__tstate
);
47480 if (PyErr_Occurred()) SWIG_fail
;
47482 resultobj
= SWIG_Py_Void();
47489 SWIGINTERN PyObject
*_wrap_SizerItem_IsShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47490 PyObject
*resultobj
= 0;
47491 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
47495 PyObject
*swig_obj
[1] ;
47497 if (!args
) SWIG_fail
;
47498 swig_obj
[0] = args
;
47499 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
47500 if (!SWIG_IsOK(res1
)) {
47501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_IsShown" "', expected argument " "1"" of type '" "wxSizerItem *""'");
47503 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
47505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47506 result
= (bool)(arg1
)->IsShown();
47507 wxPyEndAllowThreads(__tstate
);
47508 if (PyErr_Occurred()) SWIG_fail
;
47511 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
47519 SWIGINTERN PyObject
*_wrap_SizerItem_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47520 PyObject
*resultobj
= 0;
47521 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
47525 PyObject
*swig_obj
[1] ;
47527 if (!args
) SWIG_fail
;
47528 swig_obj
[0] = args
;
47529 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
47530 if (!SWIG_IsOK(res1
)) {
47531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetPosition" "', expected argument " "1"" of type '" "wxSizerItem *""'");
47533 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
47535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47536 result
= (arg1
)->GetPosition();
47537 wxPyEndAllowThreads(__tstate
);
47538 if (PyErr_Occurred()) SWIG_fail
;
47540 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
47547 SWIGINTERN PyObject
*_wrap_SizerItem_GetUserData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47548 PyObject
*resultobj
= 0;
47549 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
47550 PyObject
*result
= 0 ;
47553 PyObject
*swig_obj
[1] ;
47555 if (!args
) SWIG_fail
;
47556 swig_obj
[0] = args
;
47557 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
47558 if (!SWIG_IsOK(res1
)) {
47559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetUserData" "', expected argument " "1"" of type '" "wxSizerItem *""'");
47561 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
47563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47564 result
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
47565 wxPyEndAllowThreads(__tstate
);
47566 if (PyErr_Occurred()) SWIG_fail
;
47568 resultobj
= result
;
47575 SWIGINTERN PyObject
*_wrap_SizerItem_SetUserData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47576 PyObject
*resultobj
= 0;
47577 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
47578 PyObject
*arg2
= (PyObject
*) 0 ;
47581 PyObject
* obj0
= 0 ;
47582 PyObject
* obj1
= 0 ;
47583 char * kwnames
[] = {
47584 (char *) "self",(char *) "userData", NULL
47587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetUserData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
47589 if (!SWIG_IsOK(res1
)) {
47590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetUserData" "', expected argument " "1"" of type '" "wxSizerItem *""'");
47592 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
47595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47596 wxSizerItem_SetUserData(arg1
,arg2
);
47597 wxPyEndAllowThreads(__tstate
);
47598 if (PyErr_Occurred()) SWIG_fail
;
47600 resultobj
= SWIG_Py_Void();
47607 SWIGINTERN PyObject
*SizerItem_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47609 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
47610 SWIG_TypeNewClientData(SWIGTYPE_p_wxSizerItem
, SWIG_NewClientData(obj
));
47611 return SWIG_Py_Void();
47614 SWIGINTERN PyObject
*SizerItem_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47615 return SWIG_Python_InitShadowInstance(args
);
47618 SWIGINTERN PyObject
*_wrap_delete_Sizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47619 PyObject
*resultobj
= 0;
47620 wxSizer
*arg1
= (wxSizer
*) 0 ;
47623 PyObject
*swig_obj
[1] ;
47625 if (!args
) SWIG_fail
;
47626 swig_obj
[0] = args
;
47627 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizer
, SWIG_POINTER_DISOWN
| 0 );
47628 if (!SWIG_IsOK(res1
)) {
47629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Sizer" "', expected argument " "1"" of type '" "wxSizer *""'");
47631 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
47633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47636 wxPyEndAllowThreads(__tstate
);
47637 if (PyErr_Occurred()) SWIG_fail
;
47639 resultobj
= SWIG_Py_Void();
47646 SWIGINTERN PyObject
*_wrap_Sizer__setOORInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47647 PyObject
*resultobj
= 0;
47648 wxSizer
*arg1
= (wxSizer
*) 0 ;
47649 PyObject
*arg2
= (PyObject
*) 0 ;
47652 PyObject
* obj0
= 0 ;
47653 PyObject
* obj1
= 0 ;
47654 char * kwnames
[] = {
47655 (char *) "self",(char *) "_self", NULL
47658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
47660 if (!SWIG_IsOK(res1
)) {
47661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer__setOORInfo" "', expected argument " "1"" of type '" "wxSizer *""'");
47663 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
47666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47667 wxSizer__setOORInfo(arg1
,arg2
);
47668 wxPyEndAllowThreads(__tstate
);
47669 if (PyErr_Occurred()) SWIG_fail
;
47671 resultobj
= SWIG_Py_Void();
47678 SWIGINTERN PyObject
*_wrap_Sizer_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47679 PyObject
*resultobj
= 0;
47680 wxSizer
*arg1
= (wxSizer
*) 0 ;
47681 PyObject
*arg2
= (PyObject
*) 0 ;
47682 int arg3
= (int) 0 ;
47683 int arg4
= (int) 0 ;
47684 int arg5
= (int) 0 ;
47685 PyObject
*arg6
= (PyObject
*) NULL
;
47686 wxSizerItem
*result
= 0 ;
47695 PyObject
* obj0
= 0 ;
47696 PyObject
* obj1
= 0 ;
47697 PyObject
* obj2
= 0 ;
47698 PyObject
* obj3
= 0 ;
47699 PyObject
* obj4
= 0 ;
47700 PyObject
* obj5
= 0 ;
47701 char * kwnames
[] = {
47702 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
47705 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
47706 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
47707 if (!SWIG_IsOK(res1
)) {
47708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_Add" "', expected argument " "1"" of type '" "wxSizer *""'");
47710 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
47713 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
47714 if (!SWIG_IsOK(ecode3
)) {
47715 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Sizer_Add" "', expected argument " "3"" of type '" "int""'");
47717 arg3
= static_cast< int >(val3
);
47720 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
47721 if (!SWIG_IsOK(ecode4
)) {
47722 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Sizer_Add" "', expected argument " "4"" of type '" "int""'");
47724 arg4
= static_cast< int >(val4
);
47727 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
47728 if (!SWIG_IsOK(ecode5
)) {
47729 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Sizer_Add" "', expected argument " "5"" of type '" "int""'");
47731 arg5
= static_cast< int >(val5
);
47737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47738 result
= (wxSizerItem
*)wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
47739 wxPyEndAllowThreads(__tstate
);
47740 if (PyErr_Occurred()) SWIG_fail
;
47742 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, 0 | 0 );
47749 SWIGINTERN PyObject
*_wrap_Sizer_Insert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47750 PyObject
*resultobj
= 0;
47751 wxSizer
*arg1
= (wxSizer
*) 0 ;
47753 PyObject
*arg3
= (PyObject
*) 0 ;
47754 int arg4
= (int) 0 ;
47755 int arg5
= (int) 0 ;
47756 int arg6
= (int) 0 ;
47757 PyObject
*arg7
= (PyObject
*) NULL
;
47758 wxSizerItem
*result
= 0 ;
47769 PyObject
* obj0
= 0 ;
47770 PyObject
* obj1
= 0 ;
47771 PyObject
* obj2
= 0 ;
47772 PyObject
* obj3
= 0 ;
47773 PyObject
* obj4
= 0 ;
47774 PyObject
* obj5
= 0 ;
47775 PyObject
* obj6
= 0 ;
47776 char * kwnames
[] = {
47777 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
47780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Sizer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
47781 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
47782 if (!SWIG_IsOK(res1
)) {
47783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_Insert" "', expected argument " "1"" of type '" "wxSizer *""'");
47785 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
47786 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
47787 if (!SWIG_IsOK(ecode2
)) {
47788 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Sizer_Insert" "', expected argument " "2"" of type '" "int""'");
47790 arg2
= static_cast< int >(val2
);
47793 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
47794 if (!SWIG_IsOK(ecode4
)) {
47795 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Sizer_Insert" "', expected argument " "4"" of type '" "int""'");
47797 arg4
= static_cast< int >(val4
);
47800 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
47801 if (!SWIG_IsOK(ecode5
)) {
47802 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Sizer_Insert" "', expected argument " "5"" of type '" "int""'");
47804 arg5
= static_cast< int >(val5
);
47807 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
47808 if (!SWIG_IsOK(ecode6
)) {
47809 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Sizer_Insert" "', expected argument " "6"" of type '" "int""'");
47811 arg6
= static_cast< int >(val6
);
47817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47818 result
= (wxSizerItem
*)wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
47819 wxPyEndAllowThreads(__tstate
);
47820 if (PyErr_Occurred()) SWIG_fail
;
47822 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, 0 | 0 );
47829 SWIGINTERN PyObject
*_wrap_Sizer_Prepend(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47830 PyObject
*resultobj
= 0;
47831 wxSizer
*arg1
= (wxSizer
*) 0 ;
47832 PyObject
*arg2
= (PyObject
*) 0 ;
47833 int arg3
= (int) 0 ;
47834 int arg4
= (int) 0 ;
47835 int arg5
= (int) 0 ;
47836 PyObject
*arg6
= (PyObject
*) NULL
;
47837 wxSizerItem
*result
= 0 ;
47846 PyObject
* obj0
= 0 ;
47847 PyObject
* obj1
= 0 ;
47848 PyObject
* obj2
= 0 ;
47849 PyObject
* obj3
= 0 ;
47850 PyObject
* obj4
= 0 ;
47851 PyObject
* obj5
= 0 ;
47852 char * kwnames
[] = {
47853 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
47856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
47857 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
47858 if (!SWIG_IsOK(res1
)) {
47859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_Prepend" "', expected argument " "1"" of type '" "wxSizer *""'");
47861 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
47864 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
47865 if (!SWIG_IsOK(ecode3
)) {
47866 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Sizer_Prepend" "', expected argument " "3"" of type '" "int""'");
47868 arg3
= static_cast< int >(val3
);
47871 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
47872 if (!SWIG_IsOK(ecode4
)) {
47873 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Sizer_Prepend" "', expected argument " "4"" of type '" "int""'");
47875 arg4
= static_cast< int >(val4
);
47878 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
47879 if (!SWIG_IsOK(ecode5
)) {
47880 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Sizer_Prepend" "', expected argument " "5"" of type '" "int""'");
47882 arg5
= static_cast< int >(val5
);
47888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47889 result
= (wxSizerItem
*)wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
47890 wxPyEndAllowThreads(__tstate
);
47891 if (PyErr_Occurred()) SWIG_fail
;
47893 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, 0 | 0 );
47900 SWIGINTERN PyObject
*_wrap_Sizer_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47901 PyObject
*resultobj
= 0;
47902 wxSizer
*arg1
= (wxSizer
*) 0 ;
47903 PyObject
*arg2
= (PyObject
*) 0 ;
47907 PyObject
* obj0
= 0 ;
47908 PyObject
* obj1
= 0 ;
47909 char * kwnames
[] = {
47910 (char *) "self",(char *) "item", NULL
47913 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47914 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
47915 if (!SWIG_IsOK(res1
)) {
47916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_Remove" "', expected argument " "1"" of type '" "wxSizer *""'");
47918 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
47921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47922 result
= (bool)wxSizer_Remove(arg1
,arg2
);
47923 wxPyEndAllowThreads(__tstate
);
47924 if (PyErr_Occurred()) SWIG_fail
;
47927 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
47935 SWIGINTERN PyObject
*_wrap_Sizer_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47936 PyObject
*resultobj
= 0;
47937 wxSizer
*arg1
= (wxSizer
*) 0 ;
47938 PyObject
*arg2
= (PyObject
*) 0 ;
47942 PyObject
* obj0
= 0 ;
47943 PyObject
* obj1
= 0 ;
47944 char * kwnames
[] = {
47945 (char *) "self",(char *) "item", NULL
47948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Detach",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
47950 if (!SWIG_IsOK(res1
)) {
47951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_Detach" "', expected argument " "1"" of type '" "wxSizer *""'");
47953 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
47956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47957 result
= (bool)wxSizer_Detach(arg1
,arg2
);
47958 wxPyEndAllowThreads(__tstate
);
47959 if (PyErr_Occurred()) SWIG_fail
;
47962 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
47970 SWIGINTERN PyObject
*_wrap_Sizer_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47971 PyObject
*resultobj
= 0;
47972 wxSizer
*arg1
= (wxSizer
*) 0 ;
47973 PyObject
*arg2
= (PyObject
*) 0 ;
47974 wxSizerItem
*result
= 0 ;
47977 PyObject
* obj0
= 0 ;
47978 PyObject
* obj1
= 0 ;
47979 char * kwnames
[] = {
47980 (char *) "self",(char *) "item", NULL
47983 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_GetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47984 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
47985 if (!SWIG_IsOK(res1
)) {
47986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_GetItem" "', expected argument " "1"" of type '" "wxSizer *""'");
47988 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
47991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47992 result
= (wxSizerItem
*)wxSizer_GetItem(arg1
,arg2
);
47993 wxPyEndAllowThreads(__tstate
);
47994 if (PyErr_Occurred()) SWIG_fail
;
47996 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, 0 | 0 );
48003 SWIGINTERN PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48004 PyObject
*resultobj
= 0;
48005 wxSizer
*arg1
= (wxSizer
*) 0 ;
48006 PyObject
*arg2
= (PyObject
*) 0 ;
48011 PyObject
* obj0
= 0 ;
48012 PyObject
* obj1
= 0 ;
48013 PyObject
* obj2
= 0 ;
48014 char * kwnames
[] = {
48015 (char *) "self",(char *) "item",(char *) "size", NULL
48018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
48019 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
48020 if (!SWIG_IsOK(res1
)) {
48021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer__SetItemMinSize" "', expected argument " "1"" of type '" "wxSizer *""'");
48023 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
48027 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
48030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48031 wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize
const &)*arg3
);
48032 wxPyEndAllowThreads(__tstate
);
48033 if (PyErr_Occurred()) SWIG_fail
;
48035 resultobj
= SWIG_Py_Void();
48042 SWIGINTERN PyObject
*_wrap_Sizer__ReplaceWin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48043 PyObject
*resultobj
= 0;
48044 wxSizer
*arg1
= (wxSizer
*) 0 ;
48045 wxWindow
*arg2
= (wxWindow
*) 0 ;
48046 wxWindow
*arg3
= (wxWindow
*) 0 ;
48047 bool arg4
= (bool) false ;
48057 PyObject
* obj0
= 0 ;
48058 PyObject
* obj1
= 0 ;
48059 PyObject
* obj2
= 0 ;
48060 PyObject
* obj3
= 0 ;
48061 char * kwnames
[] = {
48062 (char *) "self",(char *) "oldwin",(char *) "newwin",(char *) "recursive", NULL
48065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Sizer__ReplaceWin",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
48066 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
48067 if (!SWIG_IsOK(res1
)) {
48068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer__ReplaceWin" "', expected argument " "1"" of type '" "wxSizer *""'");
48070 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
48071 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
48072 if (!SWIG_IsOK(res2
)) {
48073 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Sizer__ReplaceWin" "', expected argument " "2"" of type '" "wxWindow *""'");
48075 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
48076 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
48077 if (!SWIG_IsOK(res3
)) {
48078 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Sizer__ReplaceWin" "', expected argument " "3"" of type '" "wxWindow *""'");
48080 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
48082 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
48083 if (!SWIG_IsOK(ecode4
)) {
48084 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Sizer__ReplaceWin" "', expected argument " "4"" of type '" "bool""'");
48086 arg4
= static_cast< bool >(val4
);
48089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48090 result
= (bool)(arg1
)->Replace(arg2
,arg3
,arg4
);
48091 wxPyEndAllowThreads(__tstate
);
48092 if (PyErr_Occurred()) SWIG_fail
;
48095 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
48103 SWIGINTERN PyObject
*_wrap_Sizer__ReplaceSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48104 PyObject
*resultobj
= 0;
48105 wxSizer
*arg1
= (wxSizer
*) 0 ;
48106 wxSizer
*arg2
= (wxSizer
*) 0 ;
48107 wxSizer
*arg3
= (wxSizer
*) 0 ;
48108 bool arg4
= (bool) false ;
48118 PyObject
* obj0
= 0 ;
48119 PyObject
* obj1
= 0 ;
48120 PyObject
* obj2
= 0 ;
48121 PyObject
* obj3
= 0 ;
48122 char * kwnames
[] = {
48123 (char *) "self",(char *) "oldsz",(char *) "newsz",(char *) "recursive", NULL
48126 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Sizer__ReplaceSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
48127 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
48128 if (!SWIG_IsOK(res1
)) {
48129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer__ReplaceSizer" "', expected argument " "1"" of type '" "wxSizer *""'");
48131 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
48132 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxSizer
, 0 | 0 );
48133 if (!SWIG_IsOK(res2
)) {
48134 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Sizer__ReplaceSizer" "', expected argument " "2"" of type '" "wxSizer *""'");
48136 arg2
= reinterpret_cast< wxSizer
* >(argp2
);
48137 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxSizer
, 0 | 0 );
48138 if (!SWIG_IsOK(res3
)) {
48139 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Sizer__ReplaceSizer" "', expected argument " "3"" of type '" "wxSizer *""'");
48141 arg3
= reinterpret_cast< wxSizer
* >(argp3
);
48143 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
48144 if (!SWIG_IsOK(ecode4
)) {
48145 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Sizer__ReplaceSizer" "', expected argument " "4"" of type '" "bool""'");
48147 arg4
= static_cast< bool >(val4
);
48150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48151 result
= (bool)(arg1
)->Replace(arg2
,arg3
,arg4
);
48152 wxPyEndAllowThreads(__tstate
);
48153 if (PyErr_Occurred()) SWIG_fail
;
48156 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
48164 SWIGINTERN PyObject
*_wrap_Sizer__ReplaceItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48165 PyObject
*resultobj
= 0;
48166 wxSizer
*arg1
= (wxSizer
*) 0 ;
48168 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
48176 PyObject
* obj0
= 0 ;
48177 PyObject
* obj1
= 0 ;
48178 PyObject
* obj2
= 0 ;
48179 char * kwnames
[] = {
48180 (char *) "self",(char *) "index",(char *) "newitem", NULL
48183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__ReplaceItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
48184 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
48185 if (!SWIG_IsOK(res1
)) {
48186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer__ReplaceItem" "', expected argument " "1"" of type '" "wxSizer *""'");
48188 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
48189 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
48190 if (!SWIG_IsOK(ecode2
)) {
48191 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Sizer__ReplaceItem" "', expected argument " "2"" of type '" "size_t""'");
48193 arg2
= static_cast< size_t >(val2
);
48194 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
48195 if (!SWIG_IsOK(res3
)) {
48196 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Sizer__ReplaceItem" "', expected argument " "3"" of type '" "wxSizerItem *""'");
48198 arg3
= reinterpret_cast< wxSizerItem
* >(argp3
);
48200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48201 result
= (bool)(arg1
)->Replace(arg2
,arg3
);
48202 wxPyEndAllowThreads(__tstate
);
48203 if (PyErr_Occurred()) SWIG_fail
;
48206 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
48214 SWIGINTERN PyObject
*_wrap_Sizer_SetContainingWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48215 PyObject
*resultobj
= 0;
48216 wxSizer
*arg1
= (wxSizer
*) 0 ;
48217 wxWindow
*arg2
= (wxWindow
*) 0 ;
48222 PyObject
* obj0
= 0 ;
48223 PyObject
* obj1
= 0 ;
48224 char * kwnames
[] = {
48225 (char *) "self",(char *) "window", NULL
48228 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetContainingWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
48229 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
48230 if (!SWIG_IsOK(res1
)) {
48231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_SetContainingWindow" "', expected argument " "1"" of type '" "wxSizer *""'");
48233 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
48234 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
48235 if (!SWIG_IsOK(res2
)) {
48236 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Sizer_SetContainingWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
48238 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
48240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48241 (arg1
)->SetContainingWindow(arg2
);
48242 wxPyEndAllowThreads(__tstate
);
48243 if (PyErr_Occurred()) SWIG_fail
;
48245 resultobj
= SWIG_Py_Void();
48252 SWIGINTERN PyObject
*_wrap_Sizer_GetContainingWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48253 PyObject
*resultobj
= 0;
48254 wxSizer
*arg1
= (wxSizer
*) 0 ;
48255 wxWindow
*result
= 0 ;
48258 PyObject
*swig_obj
[1] ;
48260 if (!args
) SWIG_fail
;
48261 swig_obj
[0] = args
;
48262 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
48263 if (!SWIG_IsOK(res1
)) {
48264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_GetContainingWindow" "', expected argument " "1"" of type '" "wxSizer const *""'");
48266 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
48268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48269 result
= (wxWindow
*)((wxSizer
const *)arg1
)->GetContainingWindow();
48270 wxPyEndAllowThreads(__tstate
);
48271 if (PyErr_Occurred()) SWIG_fail
;
48274 resultobj
= wxPyMake_wxObject(result
, 0);
48282 SWIGINTERN PyObject
*_wrap_Sizer_AddItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48283 PyObject
*resultobj
= 0;
48284 wxSizer
*arg1
= (wxSizer
*) 0 ;
48285 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
48286 wxSizerItem
*result
= 0 ;
48290 PyObject
* obj0
= 0 ;
48291 PyObject
* obj1
= 0 ;
48292 char * kwnames
[] = {
48293 (char *) "self",(char *) "item", NULL
48296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
48297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
48298 if (!SWIG_IsOK(res1
)) {
48299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_AddItem" "', expected argument " "1"" of type '" "wxSizer *""'");
48301 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
48302 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_DISOWN
| 0 );
48303 if (!SWIG_IsOK(res2
)) {
48304 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Sizer_AddItem" "', expected argument " "2"" of type '" "wxSizerItem *""'");
48307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48308 result
= (wxSizerItem
*)(arg1
)->Add(arg2
);
48309 wxPyEndAllowThreads(__tstate
);
48310 if (PyErr_Occurred()) SWIG_fail
;
48312 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, 0 | 0 );
48319 SWIGINTERN PyObject
*_wrap_Sizer_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48320 PyObject
*resultobj
= 0;
48321 wxSizer
*arg1
= (wxSizer
*) 0 ;
48323 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
48324 wxSizerItem
*result
= 0 ;
48330 PyObject
* obj0
= 0 ;
48331 PyObject
* obj1
= 0 ;
48332 PyObject
* obj2
= 0 ;
48333 char * kwnames
[] = {
48334 (char *) "self",(char *) "index",(char *) "item", NULL
48337 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
48338 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
48339 if (!SWIG_IsOK(res1
)) {
48340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_InsertItem" "', expected argument " "1"" of type '" "wxSizer *""'");
48342 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
48343 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
48344 if (!SWIG_IsOK(ecode2
)) {
48345 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Sizer_InsertItem" "', expected argument " "2"" of type '" "size_t""'");
48347 arg2
= static_cast< size_t >(val2
);
48348 res3
= SWIG_ConvertPtr(obj2
, SWIG_as_voidptrptr(&arg3
), SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_DISOWN
| 0 );
48349 if (!SWIG_IsOK(res3
)) {
48350 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Sizer_InsertItem" "', expected argument " "3"" of type '" "wxSizerItem *""'");
48353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48354 result
= (wxSizerItem
*)(arg1
)->Insert(arg2
,arg3
);
48355 wxPyEndAllowThreads(__tstate
);
48356 if (PyErr_Occurred()) SWIG_fail
;
48358 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, 0 | 0 );
48365 SWIGINTERN PyObject
*_wrap_Sizer_PrependItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48366 PyObject
*resultobj
= 0;
48367 wxSizer
*arg1
= (wxSizer
*) 0 ;
48368 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
48369 wxSizerItem
*result
= 0 ;
48373 PyObject
* obj0
= 0 ;
48374 PyObject
* obj1
= 0 ;
48375 char * kwnames
[] = {
48376 (char *) "self",(char *) "item", NULL
48379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
48380 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
48381 if (!SWIG_IsOK(res1
)) {
48382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_PrependItem" "', expected argument " "1"" of type '" "wxSizer *""'");
48384 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
48385 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_DISOWN
| 0 );
48386 if (!SWIG_IsOK(res2
)) {
48387 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Sizer_PrependItem" "', expected argument " "2"" of type '" "wxSizerItem *""'");
48390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48391 result
= (wxSizerItem
*)(arg1
)->Prepend(arg2
);
48392 wxPyEndAllowThreads(__tstate
);
48393 if (PyErr_Occurred()) SWIG_fail
;
48395 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, 0 | 0 );
48402 SWIGINTERN PyObject
*_wrap_Sizer_SetDimension(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48403 PyObject
*resultobj
= 0;
48404 wxSizer
*arg1
= (wxSizer
*) 0 ;
48419 PyObject
* obj0
= 0 ;
48420 PyObject
* obj1
= 0 ;
48421 PyObject
* obj2
= 0 ;
48422 PyObject
* obj3
= 0 ;
48423 PyObject
* obj4
= 0 ;
48424 char * kwnames
[] = {
48425 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
48428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Sizer_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
48429 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
48430 if (!SWIG_IsOK(res1
)) {
48431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_SetDimension" "', expected argument " "1"" of type '" "wxSizer *""'");
48433 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
48434 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
48435 if (!SWIG_IsOK(ecode2
)) {
48436 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Sizer_SetDimension" "', expected argument " "2"" of type '" "int""'");
48438 arg2
= static_cast< int >(val2
);
48439 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
48440 if (!SWIG_IsOK(ecode3
)) {
48441 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Sizer_SetDimension" "', expected argument " "3"" of type '" "int""'");
48443 arg3
= static_cast< int >(val3
);
48444 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
48445 if (!SWIG_IsOK(ecode4
)) {
48446 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Sizer_SetDimension" "', expected argument " "4"" of type '" "int""'");
48448 arg4
= static_cast< int >(val4
);
48449 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
48450 if (!SWIG_IsOK(ecode5
)) {
48451 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Sizer_SetDimension" "', expected argument " "5"" of type '" "int""'");
48453 arg5
= static_cast< int >(val5
);
48455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48456 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
48457 wxPyEndAllowThreads(__tstate
);
48458 if (PyErr_Occurred()) SWIG_fail
;
48460 resultobj
= SWIG_Py_Void();
48467 SWIGINTERN PyObject
*_wrap_Sizer_SetMinSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48468 PyObject
*resultobj
= 0;
48469 wxSizer
*arg1
= (wxSizer
*) 0 ;
48474 PyObject
* obj0
= 0 ;
48475 PyObject
* obj1
= 0 ;
48476 char * kwnames
[] = {
48477 (char *) "self",(char *) "size", NULL
48480 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
48481 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
48482 if (!SWIG_IsOK(res1
)) {
48483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_SetMinSize" "', expected argument " "1"" of type '" "wxSizer *""'");
48485 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
48488 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
48491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48492 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
48493 wxPyEndAllowThreads(__tstate
);
48494 if (PyErr_Occurred()) SWIG_fail
;
48496 resultobj
= SWIG_Py_Void();
48503 SWIGINTERN PyObject
*_wrap_Sizer_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48504 PyObject
*resultobj
= 0;
48505 wxSizer
*arg1
= (wxSizer
*) 0 ;
48509 PyObject
*swig_obj
[1] ;
48511 if (!args
) SWIG_fail
;
48512 swig_obj
[0] = args
;
48513 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
48514 if (!SWIG_IsOK(res1
)) {
48515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_GetSize" "', expected argument " "1"" of type '" "wxSizer *""'");
48517 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
48519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48520 result
= (arg1
)->GetSize();
48521 wxPyEndAllowThreads(__tstate
);
48522 if (PyErr_Occurred()) SWIG_fail
;
48524 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
48531 SWIGINTERN PyObject
*_wrap_Sizer_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48532 PyObject
*resultobj
= 0;
48533 wxSizer
*arg1
= (wxSizer
*) 0 ;
48537 PyObject
*swig_obj
[1] ;
48539 if (!args
) SWIG_fail
;
48540 swig_obj
[0] = args
;
48541 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
48542 if (!SWIG_IsOK(res1
)) {
48543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_GetPosition" "', expected argument " "1"" of type '" "wxSizer *""'");
48545 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
48547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48548 result
= (arg1
)->GetPosition();
48549 wxPyEndAllowThreads(__tstate
);
48550 if (PyErr_Occurred()) SWIG_fail
;
48552 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
48559 SWIGINTERN PyObject
*_wrap_Sizer_GetMinSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48560 PyObject
*resultobj
= 0;
48561 wxSizer
*arg1
= (wxSizer
*) 0 ;
48565 PyObject
*swig_obj
[1] ;
48567 if (!args
) SWIG_fail
;
48568 swig_obj
[0] = args
;
48569 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
48570 if (!SWIG_IsOK(res1
)) {
48571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_GetMinSize" "', expected argument " "1"" of type '" "wxSizer *""'");
48573 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
48575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48576 result
= (arg1
)->GetMinSize();
48577 wxPyEndAllowThreads(__tstate
);
48578 if (PyErr_Occurred()) SWIG_fail
;
48580 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
48587 SWIGINTERN PyObject
*_wrap_Sizer_RecalcSizes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48588 PyObject
*resultobj
= 0;
48589 wxSizer
*arg1
= (wxSizer
*) 0 ;
48592 PyObject
*swig_obj
[1] ;
48594 if (!args
) SWIG_fail
;
48595 swig_obj
[0] = args
;
48596 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
48597 if (!SWIG_IsOK(res1
)) {
48598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_RecalcSizes" "', expected argument " "1"" of type '" "wxSizer *""'");
48600 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
48602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48603 (arg1
)->RecalcSizes();
48604 wxPyEndAllowThreads(__tstate
);
48605 if (PyErr_Occurred()) SWIG_fail
;
48607 resultobj
= SWIG_Py_Void();
48614 SWIGINTERN PyObject
*_wrap_Sizer_CalcMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48615 PyObject
*resultobj
= 0;
48616 wxSizer
*arg1
= (wxSizer
*) 0 ;
48620 PyObject
*swig_obj
[1] ;
48622 if (!args
) SWIG_fail
;
48623 swig_obj
[0] = args
;
48624 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
48625 if (!SWIG_IsOK(res1
)) {
48626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_CalcMin" "', expected argument " "1"" of type '" "wxSizer *""'");
48628 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
48630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48631 result
= (arg1
)->CalcMin();
48632 wxPyEndAllowThreads(__tstate
);
48633 if (PyErr_Occurred()) SWIG_fail
;
48635 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
48642 SWIGINTERN PyObject
*_wrap_Sizer_Layout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48643 PyObject
*resultobj
= 0;
48644 wxSizer
*arg1
= (wxSizer
*) 0 ;
48647 PyObject
*swig_obj
[1] ;
48649 if (!args
) SWIG_fail
;
48650 swig_obj
[0] = args
;
48651 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
48652 if (!SWIG_IsOK(res1
)) {
48653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_Layout" "', expected argument " "1"" of type '" "wxSizer *""'");
48655 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
48657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48659 wxPyEndAllowThreads(__tstate
);
48660 if (PyErr_Occurred()) SWIG_fail
;
48662 resultobj
= SWIG_Py_Void();
48669 SWIGINTERN PyObject
*_wrap_Sizer_Fit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48670 PyObject
*resultobj
= 0;
48671 wxSizer
*arg1
= (wxSizer
*) 0 ;
48672 wxWindow
*arg2
= (wxWindow
*) 0 ;
48678 PyObject
* obj0
= 0 ;
48679 PyObject
* obj1
= 0 ;
48680 char * kwnames
[] = {
48681 (char *) "self",(char *) "window", NULL
48684 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
48685 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
48686 if (!SWIG_IsOK(res1
)) {
48687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_Fit" "', expected argument " "1"" of type '" "wxSizer *""'");
48689 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
48690 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
48691 if (!SWIG_IsOK(res2
)) {
48692 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Sizer_Fit" "', expected argument " "2"" of type '" "wxWindow *""'");
48694 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
48696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48697 result
= (arg1
)->Fit(arg2
);
48698 wxPyEndAllowThreads(__tstate
);
48699 if (PyErr_Occurred()) SWIG_fail
;
48701 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
48708 SWIGINTERN PyObject
*_wrap_Sizer_FitInside(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48709 PyObject
*resultobj
= 0;
48710 wxSizer
*arg1
= (wxSizer
*) 0 ;
48711 wxWindow
*arg2
= (wxWindow
*) 0 ;
48716 PyObject
* obj0
= 0 ;
48717 PyObject
* obj1
= 0 ;
48718 char * kwnames
[] = {
48719 (char *) "self",(char *) "window", NULL
48722 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
48723 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
48724 if (!SWIG_IsOK(res1
)) {
48725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_FitInside" "', expected argument " "1"" of type '" "wxSizer *""'");
48727 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
48728 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
48729 if (!SWIG_IsOK(res2
)) {
48730 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Sizer_FitInside" "', expected argument " "2"" of type '" "wxWindow *""'");
48732 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
48734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48735 (arg1
)->FitInside(arg2
);
48736 wxPyEndAllowThreads(__tstate
);
48737 if (PyErr_Occurred()) SWIG_fail
;
48739 resultobj
= SWIG_Py_Void();
48746 SWIGINTERN PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48747 PyObject
*resultobj
= 0;
48748 wxSizer
*arg1
= (wxSizer
*) 0 ;
48749 wxWindow
*arg2
= (wxWindow
*) 0 ;
48754 PyObject
* obj0
= 0 ;
48755 PyObject
* obj1
= 0 ;
48756 char * kwnames
[] = {
48757 (char *) "self",(char *) "window", NULL
48760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
48761 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
48762 if (!SWIG_IsOK(res1
)) {
48763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_SetSizeHints" "', expected argument " "1"" of type '" "wxSizer *""'");
48765 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
48766 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
48767 if (!SWIG_IsOK(res2
)) {
48768 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Sizer_SetSizeHints" "', expected argument " "2"" of type '" "wxWindow *""'");
48770 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
48772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48773 (arg1
)->SetSizeHints(arg2
);
48774 wxPyEndAllowThreads(__tstate
);
48775 if (PyErr_Occurred()) SWIG_fail
;
48777 resultobj
= SWIG_Py_Void();
48784 SWIGINTERN PyObject
*_wrap_Sizer_SetVirtualSizeHints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48785 PyObject
*resultobj
= 0;
48786 wxSizer
*arg1
= (wxSizer
*) 0 ;
48787 wxWindow
*arg2
= (wxWindow
*) 0 ;
48792 PyObject
* obj0
= 0 ;
48793 PyObject
* obj1
= 0 ;
48794 char * kwnames
[] = {
48795 (char *) "self",(char *) "window", NULL
48798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
48799 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
48800 if (!SWIG_IsOK(res1
)) {
48801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_SetVirtualSizeHints" "', expected argument " "1"" of type '" "wxSizer *""'");
48803 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
48804 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
48805 if (!SWIG_IsOK(res2
)) {
48806 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Sizer_SetVirtualSizeHints" "', expected argument " "2"" of type '" "wxWindow *""'");
48808 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
48810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48811 (arg1
)->SetVirtualSizeHints(arg2
);
48812 wxPyEndAllowThreads(__tstate
);
48813 if (PyErr_Occurred()) SWIG_fail
;
48815 resultobj
= SWIG_Py_Void();
48822 SWIGINTERN PyObject
*_wrap_Sizer_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48823 PyObject
*resultobj
= 0;
48824 wxSizer
*arg1
= (wxSizer
*) 0 ;
48825 bool arg2
= (bool) false ;
48830 PyObject
* obj0
= 0 ;
48831 PyObject
* obj1
= 0 ;
48832 char * kwnames
[] = {
48833 (char *) "self",(char *) "deleteWindows", NULL
48836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
48837 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
48838 if (!SWIG_IsOK(res1
)) {
48839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_Clear" "', expected argument " "1"" of type '" "wxSizer *""'");
48841 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
48843 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
48844 if (!SWIG_IsOK(ecode2
)) {
48845 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Sizer_Clear" "', expected argument " "2"" of type '" "bool""'");
48847 arg2
= static_cast< bool >(val2
);
48850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48851 (arg1
)->Clear(arg2
);
48852 wxPyEndAllowThreads(__tstate
);
48853 if (PyErr_Occurred()) SWIG_fail
;
48855 resultobj
= SWIG_Py_Void();
48862 SWIGINTERN PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48863 PyObject
*resultobj
= 0;
48864 wxSizer
*arg1
= (wxSizer
*) 0 ;
48867 PyObject
*swig_obj
[1] ;
48869 if (!args
) SWIG_fail
;
48870 swig_obj
[0] = args
;
48871 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
48872 if (!SWIG_IsOK(res1
)) {
48873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_DeleteWindows" "', expected argument " "1"" of type '" "wxSizer *""'");
48875 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
48877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48878 (arg1
)->DeleteWindows();
48879 wxPyEndAllowThreads(__tstate
);
48880 if (PyErr_Occurred()) SWIG_fail
;
48882 resultobj
= SWIG_Py_Void();
48889 SWIGINTERN PyObject
*_wrap_Sizer_GetChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48890 PyObject
*resultobj
= 0;
48891 wxSizer
*arg1
= (wxSizer
*) 0 ;
48892 PyObject
*result
= 0 ;
48895 PyObject
*swig_obj
[1] ;
48897 if (!args
) SWIG_fail
;
48898 swig_obj
[0] = args
;
48899 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
48900 if (!SWIG_IsOK(res1
)) {
48901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_GetChildren" "', expected argument " "1"" of type '" "wxSizer *""'");
48903 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
48905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48906 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
48907 wxPyEndAllowThreads(__tstate
);
48908 if (PyErr_Occurred()) SWIG_fail
;
48910 resultobj
= result
;
48917 SWIGINTERN PyObject
*_wrap_Sizer_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48918 PyObject
*resultobj
= 0;
48919 wxSizer
*arg1
= (wxSizer
*) 0 ;
48920 PyObject
*arg2
= (PyObject
*) 0 ;
48921 bool arg3
= (bool) true ;
48922 bool arg4
= (bool) false ;
48930 PyObject
* obj0
= 0 ;
48931 PyObject
* obj1
= 0 ;
48932 PyObject
* obj2
= 0 ;
48933 PyObject
* obj3
= 0 ;
48934 char * kwnames
[] = {
48935 (char *) "self",(char *) "item",(char *) "show",(char *) "recursive", NULL
48938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
48939 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
48940 if (!SWIG_IsOK(res1
)) {
48941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_Show" "', expected argument " "1"" of type '" "wxSizer *""'");
48943 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
48946 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
48947 if (!SWIG_IsOK(ecode3
)) {
48948 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Sizer_Show" "', expected argument " "3"" of type '" "bool""'");
48950 arg3
= static_cast< bool >(val3
);
48953 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
48954 if (!SWIG_IsOK(ecode4
)) {
48955 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Sizer_Show" "', expected argument " "4"" of type '" "bool""'");
48957 arg4
= static_cast< bool >(val4
);
48960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48961 result
= (bool)wxSizer_Show(arg1
,arg2
,arg3
,arg4
);
48962 wxPyEndAllowThreads(__tstate
);
48963 if (PyErr_Occurred()) SWIG_fail
;
48966 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
48974 SWIGINTERN PyObject
*_wrap_Sizer_IsShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48975 PyObject
*resultobj
= 0;
48976 wxSizer
*arg1
= (wxSizer
*) 0 ;
48977 PyObject
*arg2
= (PyObject
*) 0 ;
48981 PyObject
* obj0
= 0 ;
48982 PyObject
* obj1
= 0 ;
48983 char * kwnames
[] = {
48984 (char *) "self",(char *) "item", NULL
48987 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
48988 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
48989 if (!SWIG_IsOK(res1
)) {
48990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_IsShown" "', expected argument " "1"" of type '" "wxSizer *""'");
48992 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
48995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48996 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
48997 wxPyEndAllowThreads(__tstate
);
48998 if (PyErr_Occurred()) SWIG_fail
;
49001 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
49009 SWIGINTERN PyObject
*_wrap_Sizer_ShowItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49010 PyObject
*resultobj
= 0;
49011 wxSizer
*arg1
= (wxSizer
*) 0 ;
49017 PyObject
* obj0
= 0 ;
49018 PyObject
* obj1
= 0 ;
49019 char * kwnames
[] = {
49020 (char *) "self",(char *) "show", NULL
49023 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
49024 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
49025 if (!SWIG_IsOK(res1
)) {
49026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_ShowItems" "', expected argument " "1"" of type '" "wxSizer *""'");
49028 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
49029 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
49030 if (!SWIG_IsOK(ecode2
)) {
49031 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Sizer_ShowItems" "', expected argument " "2"" of type '" "bool""'");
49033 arg2
= static_cast< bool >(val2
);
49035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49036 (arg1
)->ShowItems(arg2
);
49037 wxPyEndAllowThreads(__tstate
);
49038 if (PyErr_Occurred()) SWIG_fail
;
49040 resultobj
= SWIG_Py_Void();
49047 SWIGINTERN PyObject
*Sizer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49049 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
49050 SWIG_TypeNewClientData(SWIGTYPE_p_wxSizer
, SWIG_NewClientData(obj
));
49051 return SWIG_Py_Void();
49054 SWIGINTERN PyObject
*_wrap_new_PySizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49055 PyObject
*resultobj
= 0;
49056 wxPySizer
*result
= 0 ;
49058 if (!SWIG_Python_UnpackTuple(args
,"new_PySizer",0,0,0)) SWIG_fail
;
49060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49061 result
= (wxPySizer
*)new wxPySizer();
49062 wxPyEndAllowThreads(__tstate
);
49063 if (PyErr_Occurred()) SWIG_fail
;
49065 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPySizer
, SWIG_POINTER_NEW
| 0 );
49072 SWIGINTERN PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49073 PyObject
*resultobj
= 0;
49074 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
49075 PyObject
*arg2
= (PyObject
*) 0 ;
49076 PyObject
*arg3
= (PyObject
*) 0 ;
49079 PyObject
* obj0
= 0 ;
49080 PyObject
* obj1
= 0 ;
49081 PyObject
* obj2
= 0 ;
49082 char * kwnames
[] = {
49083 (char *) "self",(char *) "self",(char *) "_class", NULL
49086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
49087 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPySizer
, 0 | 0 );
49088 if (!SWIG_IsOK(res1
)) {
49089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PySizer__setCallbackInfo" "', expected argument " "1"" of type '" "wxPySizer *""'");
49091 arg1
= reinterpret_cast< wxPySizer
* >(argp1
);
49095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49096 (arg1
)->_setCallbackInfo(arg2
,arg3
);
49097 wxPyEndAllowThreads(__tstate
);
49098 if (PyErr_Occurred()) SWIG_fail
;
49100 resultobj
= SWIG_Py_Void();
49107 SWIGINTERN PyObject
*PySizer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49109 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
49110 SWIG_TypeNewClientData(SWIGTYPE_p_wxPySizer
, SWIG_NewClientData(obj
));
49111 return SWIG_Py_Void();
49114 SWIGINTERN PyObject
*PySizer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49115 return SWIG_Python_InitShadowInstance(args
);
49118 SWIGINTERN PyObject
*_wrap_new_BoxSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49119 PyObject
*resultobj
= 0;
49120 int arg1
= (int) wxHORIZONTAL
;
49121 wxBoxSizer
*result
= 0 ;
49124 PyObject
* obj0
= 0 ;
49125 char * kwnames
[] = {
49126 (char *) "orient", NULL
49129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BoxSizer",kwnames
,&obj0
)) SWIG_fail
;
49131 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
49132 if (!SWIG_IsOK(ecode1
)) {
49133 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_BoxSizer" "', expected argument " "1"" of type '" "int""'");
49135 arg1
= static_cast< int >(val1
);
49138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49139 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
49140 wxPyEndAllowThreads(__tstate
);
49141 if (PyErr_Occurred()) SWIG_fail
;
49143 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBoxSizer
, SWIG_POINTER_NEW
| 0 );
49150 SWIGINTERN PyObject
*_wrap_BoxSizer_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49151 PyObject
*resultobj
= 0;
49152 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
49156 PyObject
*swig_obj
[1] ;
49158 if (!args
) SWIG_fail
;
49159 swig_obj
[0] = args
;
49160 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBoxSizer
, 0 | 0 );
49161 if (!SWIG_IsOK(res1
)) {
49162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BoxSizer_GetOrientation" "', expected argument " "1"" of type '" "wxBoxSizer *""'");
49164 arg1
= reinterpret_cast< wxBoxSizer
* >(argp1
);
49166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49167 result
= (int)(arg1
)->GetOrientation();
49168 wxPyEndAllowThreads(__tstate
);
49169 if (PyErr_Occurred()) SWIG_fail
;
49171 resultobj
= SWIG_From_int(static_cast< int >(result
));
49178 SWIGINTERN PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49179 PyObject
*resultobj
= 0;
49180 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
49186 PyObject
* obj0
= 0 ;
49187 PyObject
* obj1
= 0 ;
49188 char * kwnames
[] = {
49189 (char *) "self",(char *) "orient", NULL
49192 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BoxSizer_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
49193 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBoxSizer
, 0 | 0 );
49194 if (!SWIG_IsOK(res1
)) {
49195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BoxSizer_SetOrientation" "', expected argument " "1"" of type '" "wxBoxSizer *""'");
49197 arg1
= reinterpret_cast< wxBoxSizer
* >(argp1
);
49198 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
49199 if (!SWIG_IsOK(ecode2
)) {
49200 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BoxSizer_SetOrientation" "', expected argument " "2"" of type '" "int""'");
49202 arg2
= static_cast< int >(val2
);
49204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49205 (arg1
)->SetOrientation(arg2
);
49206 wxPyEndAllowThreads(__tstate
);
49207 if (PyErr_Occurred()) SWIG_fail
;
49209 resultobj
= SWIG_Py_Void();
49216 SWIGINTERN PyObject
*BoxSizer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49218 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
49219 SWIG_TypeNewClientData(SWIGTYPE_p_wxBoxSizer
, SWIG_NewClientData(obj
));
49220 return SWIG_Py_Void();
49223 SWIGINTERN PyObject
*BoxSizer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49224 return SWIG_Python_InitShadowInstance(args
);
49227 SWIGINTERN PyObject
*_wrap_new_StaticBoxSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49228 PyObject
*resultobj
= 0;
49229 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
49230 int arg2
= (int) wxHORIZONTAL
;
49231 wxStaticBoxSizer
*result
= 0 ;
49236 PyObject
* obj0
= 0 ;
49237 PyObject
* obj1
= 0 ;
49238 char * kwnames
[] = {
49239 (char *) "box",(char *) "orient", NULL
49242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_StaticBoxSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
49243 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBox
, 0 | 0 );
49244 if (!SWIG_IsOK(res1
)) {
49245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBoxSizer" "', expected argument " "1"" of type '" "wxStaticBox *""'");
49247 arg1
= reinterpret_cast< wxStaticBox
* >(argp1
);
49249 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
49250 if (!SWIG_IsOK(ecode2
)) {
49251 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBoxSizer" "', expected argument " "2"" of type '" "int""'");
49253 arg2
= static_cast< int >(val2
);
49256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49257 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
49258 wxPyEndAllowThreads(__tstate
);
49259 if (PyErr_Occurred()) SWIG_fail
;
49261 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBoxSizer
, SWIG_POINTER_NEW
| 0 );
49268 SWIGINTERN PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49269 PyObject
*resultobj
= 0;
49270 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
49271 wxStaticBox
*result
= 0 ;
49274 PyObject
*swig_obj
[1] ;
49276 if (!args
) SWIG_fail
;
49277 swig_obj
[0] = args
;
49278 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticBoxSizer
, 0 | 0 );
49279 if (!SWIG_IsOK(res1
)) {
49280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBoxSizer_GetStaticBox" "', expected argument " "1"" of type '" "wxStaticBoxSizer *""'");
49282 arg1
= reinterpret_cast< wxStaticBoxSizer
* >(argp1
);
49284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49285 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
49286 wxPyEndAllowThreads(__tstate
);
49287 if (PyErr_Occurred()) SWIG_fail
;
49290 resultobj
= wxPyMake_wxObject(result
, (bool)0);
49298 SWIGINTERN PyObject
*StaticBoxSizer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49300 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
49301 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBoxSizer
, SWIG_NewClientData(obj
));
49302 return SWIG_Py_Void();
49305 SWIGINTERN PyObject
*StaticBoxSizer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49306 return SWIG_Python_InitShadowInstance(args
);
49309 SWIGINTERN PyObject
*_wrap_new_GridSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49310 PyObject
*resultobj
= 0;
49311 int arg1
= (int) 1 ;
49312 int arg2
= (int) 0 ;
49313 int arg3
= (int) 0 ;
49314 int arg4
= (int) 0 ;
49315 wxGridSizer
*result
= 0 ;
49324 PyObject
* obj0
= 0 ;
49325 PyObject
* obj1
= 0 ;
49326 PyObject
* obj2
= 0 ;
49327 PyObject
* obj3
= 0 ;
49328 char * kwnames
[] = {
49329 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
49332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_GridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
49334 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
49335 if (!SWIG_IsOK(ecode1
)) {
49336 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GridSizer" "', expected argument " "1"" of type '" "int""'");
49338 arg1
= static_cast< int >(val1
);
49341 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
49342 if (!SWIG_IsOK(ecode2
)) {
49343 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GridSizer" "', expected argument " "2"" of type '" "int""'");
49345 arg2
= static_cast< int >(val2
);
49348 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
49349 if (!SWIG_IsOK(ecode3
)) {
49350 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_GridSizer" "', expected argument " "3"" of type '" "int""'");
49352 arg3
= static_cast< int >(val3
);
49355 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
49356 if (!SWIG_IsOK(ecode4
)) {
49357 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_GridSizer" "', expected argument " "4"" of type '" "int""'");
49359 arg4
= static_cast< int >(val4
);
49362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49363 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
49364 wxPyEndAllowThreads(__tstate
);
49365 if (PyErr_Occurred()) SWIG_fail
;
49367 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_NEW
| 0 );
49374 SWIGINTERN PyObject
*_wrap_GridSizer_SetCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49375 PyObject
*resultobj
= 0;
49376 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
49382 PyObject
* obj0
= 0 ;
49383 PyObject
* obj1
= 0 ;
49384 char * kwnames
[] = {
49385 (char *) "self",(char *) "cols", NULL
49388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetCols",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
49389 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridSizer
, 0 | 0 );
49390 if (!SWIG_IsOK(res1
)) {
49391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizer_SetCols" "', expected argument " "1"" of type '" "wxGridSizer *""'");
49393 arg1
= reinterpret_cast< wxGridSizer
* >(argp1
);
49394 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
49395 if (!SWIG_IsOK(ecode2
)) {
49396 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridSizer_SetCols" "', expected argument " "2"" of type '" "int""'");
49398 arg2
= static_cast< int >(val2
);
49400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49401 (arg1
)->SetCols(arg2
);
49402 wxPyEndAllowThreads(__tstate
);
49403 if (PyErr_Occurred()) SWIG_fail
;
49405 resultobj
= SWIG_Py_Void();
49412 SWIGINTERN PyObject
*_wrap_GridSizer_SetRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49413 PyObject
*resultobj
= 0;
49414 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
49420 PyObject
* obj0
= 0 ;
49421 PyObject
* obj1
= 0 ;
49422 char * kwnames
[] = {
49423 (char *) "self",(char *) "rows", NULL
49426 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetRows",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
49427 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridSizer
, 0 | 0 );
49428 if (!SWIG_IsOK(res1
)) {
49429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizer_SetRows" "', expected argument " "1"" of type '" "wxGridSizer *""'");
49431 arg1
= reinterpret_cast< wxGridSizer
* >(argp1
);
49432 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
49433 if (!SWIG_IsOK(ecode2
)) {
49434 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridSizer_SetRows" "', expected argument " "2"" of type '" "int""'");
49436 arg2
= static_cast< int >(val2
);
49438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49439 (arg1
)->SetRows(arg2
);
49440 wxPyEndAllowThreads(__tstate
);
49441 if (PyErr_Occurred()) SWIG_fail
;
49443 resultobj
= SWIG_Py_Void();
49450 SWIGINTERN PyObject
*_wrap_GridSizer_SetVGap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49451 PyObject
*resultobj
= 0;
49452 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
49458 PyObject
* obj0
= 0 ;
49459 PyObject
* obj1
= 0 ;
49460 char * kwnames
[] = {
49461 (char *) "self",(char *) "gap", NULL
49464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetVGap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
49465 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridSizer
, 0 | 0 );
49466 if (!SWIG_IsOK(res1
)) {
49467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizer_SetVGap" "', expected argument " "1"" of type '" "wxGridSizer *""'");
49469 arg1
= reinterpret_cast< wxGridSizer
* >(argp1
);
49470 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
49471 if (!SWIG_IsOK(ecode2
)) {
49472 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridSizer_SetVGap" "', expected argument " "2"" of type '" "int""'");
49474 arg2
= static_cast< int >(val2
);
49476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49477 (arg1
)->SetVGap(arg2
);
49478 wxPyEndAllowThreads(__tstate
);
49479 if (PyErr_Occurred()) SWIG_fail
;
49481 resultobj
= SWIG_Py_Void();
49488 SWIGINTERN PyObject
*_wrap_GridSizer_SetHGap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49489 PyObject
*resultobj
= 0;
49490 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
49496 PyObject
* obj0
= 0 ;
49497 PyObject
* obj1
= 0 ;
49498 char * kwnames
[] = {
49499 (char *) "self",(char *) "gap", NULL
49502 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetHGap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
49503 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridSizer
, 0 | 0 );
49504 if (!SWIG_IsOK(res1
)) {
49505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizer_SetHGap" "', expected argument " "1"" of type '" "wxGridSizer *""'");
49507 arg1
= reinterpret_cast< wxGridSizer
* >(argp1
);
49508 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
49509 if (!SWIG_IsOK(ecode2
)) {
49510 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridSizer_SetHGap" "', expected argument " "2"" of type '" "int""'");
49512 arg2
= static_cast< int >(val2
);
49514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49515 (arg1
)->SetHGap(arg2
);
49516 wxPyEndAllowThreads(__tstate
);
49517 if (PyErr_Occurred()) SWIG_fail
;
49519 resultobj
= SWIG_Py_Void();
49526 SWIGINTERN PyObject
*_wrap_GridSizer_GetCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49527 PyObject
*resultobj
= 0;
49528 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
49532 PyObject
*swig_obj
[1] ;
49534 if (!args
) SWIG_fail
;
49535 swig_obj
[0] = args
;
49536 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridSizer
, 0 | 0 );
49537 if (!SWIG_IsOK(res1
)) {
49538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizer_GetCols" "', expected argument " "1"" of type '" "wxGridSizer *""'");
49540 arg1
= reinterpret_cast< wxGridSizer
* >(argp1
);
49542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49543 result
= (int)(arg1
)->GetCols();
49544 wxPyEndAllowThreads(__tstate
);
49545 if (PyErr_Occurred()) SWIG_fail
;
49547 resultobj
= SWIG_From_int(static_cast< int >(result
));
49554 SWIGINTERN PyObject
*_wrap_GridSizer_GetRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49555 PyObject
*resultobj
= 0;
49556 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
49560 PyObject
*swig_obj
[1] ;
49562 if (!args
) SWIG_fail
;
49563 swig_obj
[0] = args
;
49564 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridSizer
, 0 | 0 );
49565 if (!SWIG_IsOK(res1
)) {
49566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizer_GetRows" "', expected argument " "1"" of type '" "wxGridSizer *""'");
49568 arg1
= reinterpret_cast< wxGridSizer
* >(argp1
);
49570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49571 result
= (int)(arg1
)->GetRows();
49572 wxPyEndAllowThreads(__tstate
);
49573 if (PyErr_Occurred()) SWIG_fail
;
49575 resultobj
= SWIG_From_int(static_cast< int >(result
));
49582 SWIGINTERN PyObject
*_wrap_GridSizer_GetVGap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49583 PyObject
*resultobj
= 0;
49584 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
49588 PyObject
*swig_obj
[1] ;
49590 if (!args
) SWIG_fail
;
49591 swig_obj
[0] = args
;
49592 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridSizer
, 0 | 0 );
49593 if (!SWIG_IsOK(res1
)) {
49594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizer_GetVGap" "', expected argument " "1"" of type '" "wxGridSizer *""'");
49596 arg1
= reinterpret_cast< wxGridSizer
* >(argp1
);
49598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49599 result
= (int)(arg1
)->GetVGap();
49600 wxPyEndAllowThreads(__tstate
);
49601 if (PyErr_Occurred()) SWIG_fail
;
49603 resultobj
= SWIG_From_int(static_cast< int >(result
));
49610 SWIGINTERN PyObject
*_wrap_GridSizer_GetHGap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49611 PyObject
*resultobj
= 0;
49612 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
49616 PyObject
*swig_obj
[1] ;
49618 if (!args
) SWIG_fail
;
49619 swig_obj
[0] = args
;
49620 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridSizer
, 0 | 0 );
49621 if (!SWIG_IsOK(res1
)) {
49622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizer_GetHGap" "', expected argument " "1"" of type '" "wxGridSizer *""'");
49624 arg1
= reinterpret_cast< wxGridSizer
* >(argp1
);
49626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49627 result
= (int)(arg1
)->GetHGap();
49628 wxPyEndAllowThreads(__tstate
);
49629 if (PyErr_Occurred()) SWIG_fail
;
49631 resultobj
= SWIG_From_int(static_cast< int >(result
));
49638 SWIGINTERN PyObject
*GridSizer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49640 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
49641 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridSizer
, SWIG_NewClientData(obj
));
49642 return SWIG_Py_Void();
49645 SWIGINTERN PyObject
*GridSizer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49646 return SWIG_Python_InitShadowInstance(args
);
49649 SWIGINTERN PyObject
*_wrap_new_FlexGridSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49650 PyObject
*resultobj
= 0;
49651 int arg1
= (int) 1 ;
49652 int arg2
= (int) 0 ;
49653 int arg3
= (int) 0 ;
49654 int arg4
= (int) 0 ;
49655 wxFlexGridSizer
*result
= 0 ;
49664 PyObject
* obj0
= 0 ;
49665 PyObject
* obj1
= 0 ;
49666 PyObject
* obj2
= 0 ;
49667 PyObject
* obj3
= 0 ;
49668 char * kwnames
[] = {
49669 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
49672 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_FlexGridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
49674 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
49675 if (!SWIG_IsOK(ecode1
)) {
49676 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FlexGridSizer" "', expected argument " "1"" of type '" "int""'");
49678 arg1
= static_cast< int >(val1
);
49681 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
49682 if (!SWIG_IsOK(ecode2
)) {
49683 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FlexGridSizer" "', expected argument " "2"" of type '" "int""'");
49685 arg2
= static_cast< int >(val2
);
49688 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
49689 if (!SWIG_IsOK(ecode3
)) {
49690 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FlexGridSizer" "', expected argument " "3"" of type '" "int""'");
49692 arg3
= static_cast< int >(val3
);
49695 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
49696 if (!SWIG_IsOK(ecode4
)) {
49697 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FlexGridSizer" "', expected argument " "4"" of type '" "int""'");
49699 arg4
= static_cast< int >(val4
);
49702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49703 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
49704 wxPyEndAllowThreads(__tstate
);
49705 if (PyErr_Occurred()) SWIG_fail
;
49707 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_NEW
| 0 );
49714 SWIGINTERN PyObject
*_wrap_FlexGridSizer_AddGrowableRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49715 PyObject
*resultobj
= 0;
49716 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
49718 int arg3
= (int) 0 ;
49725 PyObject
* obj0
= 0 ;
49726 PyObject
* obj1
= 0 ;
49727 PyObject
* obj2
= 0 ;
49728 char * kwnames
[] = {
49729 (char *) "self",(char *) "idx",(char *) "proportion", NULL
49732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
49733 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFlexGridSizer
, 0 | 0 );
49734 if (!SWIG_IsOK(res1
)) {
49735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FlexGridSizer_AddGrowableRow" "', expected argument " "1"" of type '" "wxFlexGridSizer *""'");
49737 arg1
= reinterpret_cast< wxFlexGridSizer
* >(argp1
);
49738 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
49739 if (!SWIG_IsOK(ecode2
)) {
49740 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FlexGridSizer_AddGrowableRow" "', expected argument " "2"" of type '" "size_t""'");
49742 arg2
= static_cast< size_t >(val2
);
49744 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
49745 if (!SWIG_IsOK(ecode3
)) {
49746 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FlexGridSizer_AddGrowableRow" "', expected argument " "3"" of type '" "int""'");
49748 arg3
= static_cast< int >(val3
);
49751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49752 (arg1
)->AddGrowableRow(arg2
,arg3
);
49753 wxPyEndAllowThreads(__tstate
);
49754 if (PyErr_Occurred()) SWIG_fail
;
49756 resultobj
= SWIG_Py_Void();
49763 SWIGINTERN PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49764 PyObject
*resultobj
= 0;
49765 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
49771 PyObject
* obj0
= 0 ;
49772 PyObject
* obj1
= 0 ;
49773 char * kwnames
[] = {
49774 (char *) "self",(char *) "idx", NULL
49777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
49778 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFlexGridSizer
, 0 | 0 );
49779 if (!SWIG_IsOK(res1
)) {
49780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FlexGridSizer_RemoveGrowableRow" "', expected argument " "1"" of type '" "wxFlexGridSizer *""'");
49782 arg1
= reinterpret_cast< wxFlexGridSizer
* >(argp1
);
49783 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
49784 if (!SWIG_IsOK(ecode2
)) {
49785 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FlexGridSizer_RemoveGrowableRow" "', expected argument " "2"" of type '" "size_t""'");
49787 arg2
= static_cast< size_t >(val2
);
49789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49790 (arg1
)->RemoveGrowableRow(arg2
);
49791 wxPyEndAllowThreads(__tstate
);
49792 if (PyErr_Occurred()) SWIG_fail
;
49794 resultobj
= SWIG_Py_Void();
49801 SWIGINTERN PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49802 PyObject
*resultobj
= 0;
49803 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
49805 int arg3
= (int) 0 ;
49812 PyObject
* obj0
= 0 ;
49813 PyObject
* obj1
= 0 ;
49814 PyObject
* obj2
= 0 ;
49815 char * kwnames
[] = {
49816 (char *) "self",(char *) "idx",(char *) "proportion", NULL
49819 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
49820 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFlexGridSizer
, 0 | 0 );
49821 if (!SWIG_IsOK(res1
)) {
49822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FlexGridSizer_AddGrowableCol" "', expected argument " "1"" of type '" "wxFlexGridSizer *""'");
49824 arg1
= reinterpret_cast< wxFlexGridSizer
* >(argp1
);
49825 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
49826 if (!SWIG_IsOK(ecode2
)) {
49827 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FlexGridSizer_AddGrowableCol" "', expected argument " "2"" of type '" "size_t""'");
49829 arg2
= static_cast< size_t >(val2
);
49831 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
49832 if (!SWIG_IsOK(ecode3
)) {
49833 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FlexGridSizer_AddGrowableCol" "', expected argument " "3"" of type '" "int""'");
49835 arg3
= static_cast< int >(val3
);
49838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49839 (arg1
)->AddGrowableCol(arg2
,arg3
);
49840 wxPyEndAllowThreads(__tstate
);
49841 if (PyErr_Occurred()) SWIG_fail
;
49843 resultobj
= SWIG_Py_Void();
49850 SWIGINTERN PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49851 PyObject
*resultobj
= 0;
49852 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
49858 PyObject
* obj0
= 0 ;
49859 PyObject
* obj1
= 0 ;
49860 char * kwnames
[] = {
49861 (char *) "self",(char *) "idx", NULL
49864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
49865 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFlexGridSizer
, 0 | 0 );
49866 if (!SWIG_IsOK(res1
)) {
49867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FlexGridSizer_RemoveGrowableCol" "', expected argument " "1"" of type '" "wxFlexGridSizer *""'");
49869 arg1
= reinterpret_cast< wxFlexGridSizer
* >(argp1
);
49870 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
49871 if (!SWIG_IsOK(ecode2
)) {
49872 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FlexGridSizer_RemoveGrowableCol" "', expected argument " "2"" of type '" "size_t""'");
49874 arg2
= static_cast< size_t >(val2
);
49876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49877 (arg1
)->RemoveGrowableCol(arg2
);
49878 wxPyEndAllowThreads(__tstate
);
49879 if (PyErr_Occurred()) SWIG_fail
;
49881 resultobj
= SWIG_Py_Void();
49888 SWIGINTERN PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49889 PyObject
*resultobj
= 0;
49890 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
49896 PyObject
* obj0
= 0 ;
49897 PyObject
* obj1
= 0 ;
49898 char * kwnames
[] = {
49899 (char *) "self",(char *) "direction", NULL
49902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
49903 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFlexGridSizer
, 0 | 0 );
49904 if (!SWIG_IsOK(res1
)) {
49905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FlexGridSizer_SetFlexibleDirection" "', expected argument " "1"" of type '" "wxFlexGridSizer *""'");
49907 arg1
= reinterpret_cast< wxFlexGridSizer
* >(argp1
);
49908 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
49909 if (!SWIG_IsOK(ecode2
)) {
49910 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FlexGridSizer_SetFlexibleDirection" "', expected argument " "2"" of type '" "int""'");
49912 arg2
= static_cast< int >(val2
);
49914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49915 (arg1
)->SetFlexibleDirection(arg2
);
49916 wxPyEndAllowThreads(__tstate
);
49917 if (PyErr_Occurred()) SWIG_fail
;
49919 resultobj
= SWIG_Py_Void();
49926 SWIGINTERN PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49927 PyObject
*resultobj
= 0;
49928 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
49932 PyObject
*swig_obj
[1] ;
49934 if (!args
) SWIG_fail
;
49935 swig_obj
[0] = args
;
49936 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFlexGridSizer
, 0 | 0 );
49937 if (!SWIG_IsOK(res1
)) {
49938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FlexGridSizer_GetFlexibleDirection" "', expected argument " "1"" of type '" "wxFlexGridSizer *""'");
49940 arg1
= reinterpret_cast< wxFlexGridSizer
* >(argp1
);
49942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49943 result
= (int)(arg1
)->GetFlexibleDirection();
49944 wxPyEndAllowThreads(__tstate
);
49945 if (PyErr_Occurred()) SWIG_fail
;
49947 resultobj
= SWIG_From_int(static_cast< int >(result
));
49954 SWIGINTERN PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49955 PyObject
*resultobj
= 0;
49956 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
49957 wxFlexSizerGrowMode arg2
;
49962 PyObject
* obj0
= 0 ;
49963 PyObject
* obj1
= 0 ;
49964 char * kwnames
[] = {
49965 (char *) "self",(char *) "mode", NULL
49968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
49969 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFlexGridSizer
, 0 | 0 );
49970 if (!SWIG_IsOK(res1
)) {
49971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FlexGridSizer_SetNonFlexibleGrowMode" "', expected argument " "1"" of type '" "wxFlexGridSizer *""'");
49973 arg1
= reinterpret_cast< wxFlexGridSizer
* >(argp1
);
49974 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
49975 if (!SWIG_IsOK(ecode2
)) {
49976 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FlexGridSizer_SetNonFlexibleGrowMode" "', expected argument " "2"" of type '" "wxFlexSizerGrowMode""'");
49978 arg2
= static_cast< wxFlexSizerGrowMode
>(val2
);
49980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49981 (arg1
)->SetNonFlexibleGrowMode(arg2
);
49982 wxPyEndAllowThreads(__tstate
);
49983 if (PyErr_Occurred()) SWIG_fail
;
49985 resultobj
= SWIG_Py_Void();
49992 SWIGINTERN PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49993 PyObject
*resultobj
= 0;
49994 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
49995 wxFlexSizerGrowMode result
;
49998 PyObject
*swig_obj
[1] ;
50000 if (!args
) SWIG_fail
;
50001 swig_obj
[0] = args
;
50002 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFlexGridSizer
, 0 | 0 );
50003 if (!SWIG_IsOK(res1
)) {
50004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FlexGridSizer_GetNonFlexibleGrowMode" "', expected argument " "1"" of type '" "wxFlexGridSizer *""'");
50006 arg1
= reinterpret_cast< wxFlexGridSizer
* >(argp1
);
50008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50009 result
= (wxFlexSizerGrowMode
)(arg1
)->GetNonFlexibleGrowMode();
50010 wxPyEndAllowThreads(__tstate
);
50011 if (PyErr_Occurred()) SWIG_fail
;
50013 resultobj
= SWIG_From_int(static_cast< int >(result
));
50020 SWIGINTERN PyObject
*_wrap_FlexGridSizer_GetRowHeights(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
50021 PyObject
*resultobj
= 0;
50022 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
50023 wxArrayInt
*result
= 0 ;
50026 PyObject
*swig_obj
[1] ;
50028 if (!args
) SWIG_fail
;
50029 swig_obj
[0] = args
;
50030 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFlexGridSizer
, 0 | 0 );
50031 if (!SWIG_IsOK(res1
)) {
50032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FlexGridSizer_GetRowHeights" "', expected argument " "1"" of type '" "wxFlexGridSizer const *""'");
50034 arg1
= reinterpret_cast< wxFlexGridSizer
* >(argp1
);
50036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50038 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetRowHeights();
50039 result
= (wxArrayInt
*) &_result_ref
;
50041 wxPyEndAllowThreads(__tstate
);
50042 if (PyErr_Occurred()) SWIG_fail
;
50045 resultobj
= wxArrayInt2PyList_helper(*result
);
50053 SWIGINTERN PyObject
*_wrap_FlexGridSizer_GetColWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
50054 PyObject
*resultobj
= 0;
50055 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
50056 wxArrayInt
*result
= 0 ;
50059 PyObject
*swig_obj
[1] ;
50061 if (!args
) SWIG_fail
;
50062 swig_obj
[0] = args
;
50063 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFlexGridSizer
, 0 | 0 );
50064 if (!SWIG_IsOK(res1
)) {
50065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FlexGridSizer_GetColWidths" "', expected argument " "1"" of type '" "wxFlexGridSizer const *""'");
50067 arg1
= reinterpret_cast< wxFlexGridSizer
* >(argp1
);
50069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50071 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetColWidths();
50072 result
= (wxArrayInt
*) &_result_ref
;
50074 wxPyEndAllowThreads(__tstate
);
50075 if (PyErr_Occurred()) SWIG_fail
;
50078 resultobj
= wxArrayInt2PyList_helper(*result
);
50086 SWIGINTERN PyObject
*FlexGridSizer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
50088 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
50089 SWIG_TypeNewClientData(SWIGTYPE_p_wxFlexGridSizer
, SWIG_NewClientData(obj
));
50090 return SWIG_Py_Void();
50093 SWIGINTERN PyObject
*FlexGridSizer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
50094 return SWIG_Python_InitShadowInstance(args
);
50097 SWIGINTERN PyObject
*_wrap_new_StdDialogButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
50098 PyObject
*resultobj
= 0;
50099 wxStdDialogButtonSizer
*result
= 0 ;
50101 if (!SWIG_Python_UnpackTuple(args
,"new_StdDialogButtonSizer",0,0,0)) SWIG_fail
;
50103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50104 result
= (wxStdDialogButtonSizer
*)new wxStdDialogButtonSizer();
50105 wxPyEndAllowThreads(__tstate
);
50106 if (PyErr_Occurred()) SWIG_fail
;
50108 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_NEW
| 0 );
50115 SWIGINTERN PyObject
*_wrap_StdDialogButtonSizer_AddButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
50116 PyObject
*resultobj
= 0;
50117 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
50118 wxButton
*arg2
= (wxButton
*) 0 ;
50123 PyObject
* obj0
= 0 ;
50124 PyObject
* obj1
= 0 ;
50125 char * kwnames
[] = {
50126 (char *) "self",(char *) "button", NULL
50129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_AddButton",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
50130 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
50131 if (!SWIG_IsOK(res1
)) {
50132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StdDialogButtonSizer_AddButton" "', expected argument " "1"" of type '" "wxStdDialogButtonSizer *""'");
50134 arg1
= reinterpret_cast< wxStdDialogButtonSizer
* >(argp1
);
50135 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxButton
, 0 | 0 );
50136 if (!SWIG_IsOK(res2
)) {
50137 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StdDialogButtonSizer_AddButton" "', expected argument " "2"" of type '" "wxButton *""'");
50139 arg2
= reinterpret_cast< wxButton
* >(argp2
);
50141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50142 (arg1
)->AddButton(arg2
);
50143 wxPyEndAllowThreads(__tstate
);
50144 if (PyErr_Occurred()) SWIG_fail
;
50146 resultobj
= SWIG_Py_Void();
50153 SWIGINTERN PyObject
*_wrap_StdDialogButtonSizer_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
50154 PyObject
*resultobj
= 0;
50155 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
50158 PyObject
*swig_obj
[1] ;
50160 if (!args
) SWIG_fail
;
50161 swig_obj
[0] = args
;
50162 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
50163 if (!SWIG_IsOK(res1
)) {
50164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StdDialogButtonSizer_Realize" "', expected argument " "1"" of type '" "wxStdDialogButtonSizer *""'");
50166 arg1
= reinterpret_cast< wxStdDialogButtonSizer
* >(argp1
);
50168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50170 wxPyEndAllowThreads(__tstate
);
50171 if (PyErr_Occurred()) SWIG_fail
;
50173 resultobj
= SWIG_Py_Void();
50180 SWIGINTERN PyObject
*_wrap_StdDialogButtonSizer_SetAffirmativeButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
50181 PyObject
*resultobj
= 0;
50182 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
50183 wxButton
*arg2
= (wxButton
*) 0 ;
50188 PyObject
* obj0
= 0 ;
50189 PyObject
* obj1
= 0 ;
50190 char * kwnames
[] = {
50191 (char *) "self",(char *) "button", NULL
50194 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetAffirmativeButton",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
50195 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
50196 if (!SWIG_IsOK(res1
)) {
50197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StdDialogButtonSizer_SetAffirmativeButton" "', expected argument " "1"" of type '" "wxStdDialogButtonSizer *""'");
50199 arg1
= reinterpret_cast< wxStdDialogButtonSizer
* >(argp1
);
50200 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxButton
, 0 | 0 );
50201 if (!SWIG_IsOK(res2
)) {
50202 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StdDialogButtonSizer_SetAffirmativeButton" "', expected argument " "2"" of type '" "wxButton *""'");
50204 arg2
= reinterpret_cast< wxButton
* >(argp2
);
50206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50207 (arg1
)->SetAffirmativeButton(arg2
);
50208 wxPyEndAllowThreads(__tstate
);
50209 if (PyErr_Occurred()) SWIG_fail
;
50211 resultobj
= SWIG_Py_Void();
50218 SWIGINTERN PyObject
*_wrap_StdDialogButtonSizer_SetNegativeButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
50219 PyObject
*resultobj
= 0;
50220 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
50221 wxButton
*arg2
= (wxButton
*) 0 ;
50226 PyObject
* obj0
= 0 ;
50227 PyObject
* obj1
= 0 ;
50228 char * kwnames
[] = {
50229 (char *) "self",(char *) "button", NULL
50232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetNegativeButton",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
50233 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
50234 if (!SWIG_IsOK(res1
)) {
50235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StdDialogButtonSizer_SetNegativeButton" "', expected argument " "1"" of type '" "wxStdDialogButtonSizer *""'");
50237 arg1
= reinterpret_cast< wxStdDialogButtonSizer
* >(argp1
);
50238 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxButton
, 0 | 0 );
50239 if (!SWIG_IsOK(res2
)) {
50240 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StdDialogButtonSizer_SetNegativeButton" "', expected argument " "2"" of type '" "wxButton *""'");
50242 arg2
= reinterpret_cast< wxButton
* >(argp2
);
50244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50245 (arg1
)->SetNegativeButton(arg2
);
50246 wxPyEndAllowThreads(__tstate
);
50247 if (PyErr_Occurred()) SWIG_fail
;
50249 resultobj
= SWIG_Py_Void();
50256 SWIGINTERN PyObject
*_wrap_StdDialogButtonSizer_SetCancelButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
50257 PyObject
*resultobj
= 0;
50258 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
50259 wxButton
*arg2
= (wxButton
*) 0 ;
50264 PyObject
* obj0
= 0 ;
50265 PyObject
* obj1
= 0 ;
50266 char * kwnames
[] = {
50267 (char *) "self",(char *) "button", NULL
50270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetCancelButton",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
50271 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
50272 if (!SWIG_IsOK(res1
)) {
50273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StdDialogButtonSizer_SetCancelButton" "', expected argument " "1"" of type '" "wxStdDialogButtonSizer *""'");
50275 arg1
= reinterpret_cast< wxStdDialogButtonSizer
* >(argp1
);
50276 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxButton
, 0 | 0 );
50277 if (!SWIG_IsOK(res2
)) {
50278 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StdDialogButtonSizer_SetCancelButton" "', expected argument " "2"" of type '" "wxButton *""'");
50280 arg2
= reinterpret_cast< wxButton
* >(argp2
);
50282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50283 (arg1
)->SetCancelButton(arg2
);
50284 wxPyEndAllowThreads(__tstate
);
50285 if (PyErr_Occurred()) SWIG_fail
;
50287 resultobj
= SWIG_Py_Void();
50294 SWIGINTERN PyObject
*_wrap_StdDialogButtonSizer_GetAffirmativeButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
50295 PyObject
*resultobj
= 0;
50296 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
50297 wxButton
*result
= 0 ;
50300 PyObject
*swig_obj
[1] ;
50302 if (!args
) SWIG_fail
;
50303 swig_obj
[0] = args
;
50304 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
50305 if (!SWIG_IsOK(res1
)) {
50306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StdDialogButtonSizer_GetAffirmativeButton" "', expected argument " "1"" of type '" "wxStdDialogButtonSizer const *""'");
50308 arg1
= reinterpret_cast< wxStdDialogButtonSizer
* >(argp1
);
50310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50311 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetAffirmativeButton();
50312 wxPyEndAllowThreads(__tstate
);
50313 if (PyErr_Occurred()) SWIG_fail
;
50316 resultobj
= wxPyMake_wxObject(result
, (bool)0);
50324 SWIGINTERN PyObject
*_wrap_StdDialogButtonSizer_GetApplyButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
50325 PyObject
*resultobj
= 0;
50326 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
50327 wxButton
*result
= 0 ;
50330 PyObject
*swig_obj
[1] ;
50332 if (!args
) SWIG_fail
;
50333 swig_obj
[0] = args
;
50334 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
50335 if (!SWIG_IsOK(res1
)) {
50336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StdDialogButtonSizer_GetApplyButton" "', expected argument " "1"" of type '" "wxStdDialogButtonSizer const *""'");
50338 arg1
= reinterpret_cast< wxStdDialogButtonSizer
* >(argp1
);
50340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50341 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetApplyButton();
50342 wxPyEndAllowThreads(__tstate
);
50343 if (PyErr_Occurred()) SWIG_fail
;
50346 resultobj
= wxPyMake_wxObject(result
, (bool)0);
50354 SWIGINTERN PyObject
*_wrap_StdDialogButtonSizer_GetNegativeButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
50355 PyObject
*resultobj
= 0;
50356 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
50357 wxButton
*result
= 0 ;
50360 PyObject
*swig_obj
[1] ;
50362 if (!args
) SWIG_fail
;
50363 swig_obj
[0] = args
;
50364 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
50365 if (!SWIG_IsOK(res1
)) {
50366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StdDialogButtonSizer_GetNegativeButton" "', expected argument " "1"" of type '" "wxStdDialogButtonSizer const *""'");
50368 arg1
= reinterpret_cast< wxStdDialogButtonSizer
* >(argp1
);
50370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50371 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetNegativeButton();
50372 wxPyEndAllowThreads(__tstate
);
50373 if (PyErr_Occurred()) SWIG_fail
;
50376 resultobj
= wxPyMake_wxObject(result
, (bool)0);
50384 SWIGINTERN PyObject
*_wrap_StdDialogButtonSizer_GetCancelButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
50385 PyObject
*resultobj
= 0;
50386 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
50387 wxButton
*result
= 0 ;
50390 PyObject
*swig_obj
[1] ;
50392 if (!args
) SWIG_fail
;
50393 swig_obj
[0] = args
;
50394 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
50395 if (!SWIG_IsOK(res1
)) {
50396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StdDialogButtonSizer_GetCancelButton" "', expected argument " "1"" of type '" "wxStdDialogButtonSizer const *""'");
50398 arg1
= reinterpret_cast< wxStdDialogButtonSizer
* >(argp1
);
50400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50401 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetCancelButton();
50402 wxPyEndAllowThreads(__tstate
);
50403 if (PyErr_Occurred()) SWIG_fail
;
50406 resultobj
= wxPyMake_wxObject(result
, (bool)0);
50414 SWIGINTERN PyObject
*_wrap_StdDialogButtonSizer_GetHelpButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
50415 PyObject
*resultobj
= 0;
50416 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
50417 wxButton
*result
= 0 ;
50420 PyObject
*swig_obj
[1] ;
50422 if (!args
) SWIG_fail
;
50423 swig_obj
[0] = args
;
50424 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
50425 if (!SWIG_IsOK(res1
)) {
50426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StdDialogButtonSizer_GetHelpButton" "', expected argument " "1"" of type '" "wxStdDialogButtonSizer const *""'");
50428 arg1
= reinterpret_cast< wxStdDialogButtonSizer
* >(argp1
);
50430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50431 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetHelpButton();
50432 wxPyEndAllowThreads(__tstate
);
50433 if (PyErr_Occurred()) SWIG_fail
;
50436 resultobj
= wxPyMake_wxObject(result
, (bool)0);
50444 SWIGINTERN PyObject
*StdDialogButtonSizer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
50446 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
50447 SWIG_TypeNewClientData(SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_NewClientData(obj
));
50448 return SWIG_Py_Void();
50451 SWIGINTERN PyObject
*StdDialogButtonSizer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
50452 return SWIG_Python_InitShadowInstance(args
);
50455 SWIGINTERN PyObject
*_wrap_new_GBPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
50456 PyObject
*resultobj
= 0;
50457 int arg1
= (int) 0 ;
50458 int arg2
= (int) 0 ;
50459 wxGBPosition
*result
= 0 ;
50464 PyObject
* obj0
= 0 ;
50465 PyObject
* obj1
= 0 ;
50466 char * kwnames
[] = {
50467 (char *) "row",(char *) "col", NULL
50470 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
50472 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
50473 if (!SWIG_IsOK(ecode1
)) {
50474 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GBPosition" "', expected argument " "1"" of type '" "int""'");
50476 arg1
= static_cast< int >(val1
);
50479 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
50480 if (!SWIG_IsOK(ecode2
)) {
50481 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GBPosition" "', expected argument " "2"" of type '" "int""'");
50483 arg2
= static_cast< int >(val2
);
50486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50487 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
50488 wxPyEndAllowThreads(__tstate
);
50489 if (PyErr_Occurred()) SWIG_fail
;
50491 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_NEW
| 0 );
50498 SWIGINTERN PyObject
*_wrap_delete_GBPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
50499 PyObject
*resultobj
= 0;
50500 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
50503 PyObject
*swig_obj
[1] ;
50505 if (!args
) SWIG_fail
;
50506 swig_obj
[0] = args
;
50507 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_DISOWN
| 0 );
50508 if (!SWIG_IsOK(res1
)) {
50509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GBPosition" "', expected argument " "1"" of type '" "wxGBPosition *""'");
50511 arg1
= reinterpret_cast< wxGBPosition
* >(argp1
);
50513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50516 wxPyEndAllowThreads(__tstate
);
50517 if (PyErr_Occurred()) SWIG_fail
;
50519 resultobj
= SWIG_Py_Void();
50526 SWIGINTERN PyObject
*_wrap_GBPosition_GetRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
50527 PyObject
*resultobj
= 0;
50528 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
50532 PyObject
*swig_obj
[1] ;
50534 if (!args
) SWIG_fail
;
50535 swig_obj
[0] = args
;
50536 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBPosition
, 0 | 0 );
50537 if (!SWIG_IsOK(res1
)) {
50538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBPosition_GetRow" "', expected argument " "1"" of type '" "wxGBPosition const *""'");
50540 arg1
= reinterpret_cast< wxGBPosition
* >(argp1
);
50542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50543 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
50544 wxPyEndAllowThreads(__tstate
);
50545 if (PyErr_Occurred()) SWIG_fail
;
50547 resultobj
= SWIG_From_int(static_cast< int >(result
));
50554 SWIGINTERN PyObject
*_wrap_GBPosition_GetCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
50555 PyObject
*resultobj
= 0;
50556 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
50560 PyObject
*swig_obj
[1] ;
50562 if (!args
) SWIG_fail
;
50563 swig_obj
[0] = args
;
50564 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBPosition
, 0 | 0 );
50565 if (!SWIG_IsOK(res1
)) {
50566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBPosition_GetCol" "', expected argument " "1"" of type '" "wxGBPosition const *""'");
50568 arg1
= reinterpret_cast< wxGBPosition
* >(argp1
);
50570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50571 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
50572 wxPyEndAllowThreads(__tstate
);
50573 if (PyErr_Occurred()) SWIG_fail
;
50575 resultobj
= SWIG_From_int(static_cast< int >(result
));
50582 SWIGINTERN PyObject
*_wrap_GBPosition_SetRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
50583 PyObject
*resultobj
= 0;
50584 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
50590 PyObject
* obj0
= 0 ;
50591 PyObject
* obj1
= 0 ;
50592 char * kwnames
[] = {
50593 (char *) "self",(char *) "row", NULL
50596 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetRow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
50597 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBPosition
, 0 | 0 );
50598 if (!SWIG_IsOK(res1
)) {
50599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBPosition_SetRow" "', expected argument " "1"" of type '" "wxGBPosition *""'");
50601 arg1
= reinterpret_cast< wxGBPosition
* >(argp1
);
50602 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
50603 if (!SWIG_IsOK(ecode2
)) {
50604 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GBPosition_SetRow" "', expected argument " "2"" of type '" "int""'");
50606 arg2
= static_cast< int >(val2
);
50608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50609 (arg1
)->SetRow(arg2
);
50610 wxPyEndAllowThreads(__tstate
);
50611 if (PyErr_Occurred()) SWIG_fail
;
50613 resultobj
= SWIG_Py_Void();
50620 SWIGINTERN PyObject
*_wrap_GBPosition_SetCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
50621 PyObject
*resultobj
= 0;
50622 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
50628 PyObject
* obj0
= 0 ;
50629 PyObject
* obj1
= 0 ;
50630 char * kwnames
[] = {
50631 (char *) "self",(char *) "col", NULL
50634 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetCol",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
50635 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBPosition
, 0 | 0 );
50636 if (!SWIG_IsOK(res1
)) {
50637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBPosition_SetCol" "', expected argument " "1"" of type '" "wxGBPosition *""'");
50639 arg1
= reinterpret_cast< wxGBPosition
* >(argp1
);
50640 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
50641 if (!SWIG_IsOK(ecode2
)) {
50642 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GBPosition_SetCol" "', expected argument " "2"" of type '" "int""'");
50644 arg2
= static_cast< int >(val2
);
50646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50647 (arg1
)->SetCol(arg2
);
50648 wxPyEndAllowThreads(__tstate
);
50649 if (PyErr_Occurred()) SWIG_fail
;
50651 resultobj
= SWIG_Py_Void();
50658 SWIGINTERN PyObject
*_wrap_GBPosition___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
50659 PyObject
*resultobj
= 0;
50660 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
50661 PyObject
*arg2
= (PyObject
*) 0 ;
50665 PyObject
* obj0
= 0 ;
50666 PyObject
* obj1
= 0 ;
50667 char * kwnames
[] = {
50668 (char *) "self",(char *) "other", NULL
50671 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
50672 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBPosition
, 0 | 0 );
50673 if (!SWIG_IsOK(res1
)) {
50674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBPosition___eq__" "', expected argument " "1"" of type '" "wxGBPosition *""'");
50676 arg1
= reinterpret_cast< wxGBPosition
* >(argp1
);
50679 result
= (bool)wxGBPosition___eq__(arg1
,arg2
);
50680 if (PyErr_Occurred()) SWIG_fail
;
50683 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
50691 SWIGINTERN PyObject
*_wrap_GBPosition___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
50692 PyObject
*resultobj
= 0;
50693 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
50694 PyObject
*arg2
= (PyObject
*) 0 ;
50698 PyObject
* obj0
= 0 ;
50699 PyObject
* obj1
= 0 ;
50700 char * kwnames
[] = {
50701 (char *) "self",(char *) "other", NULL
50704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
50705 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBPosition
, 0 | 0 );
50706 if (!SWIG_IsOK(res1
)) {
50707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBPosition___ne__" "', expected argument " "1"" of type '" "wxGBPosition *""'");
50709 arg1
= reinterpret_cast< wxGBPosition
* >(argp1
);
50712 result
= (bool)wxGBPosition___ne__(arg1
,arg2
);
50713 if (PyErr_Occurred()) SWIG_fail
;
50716 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
50724 SWIGINTERN PyObject
*_wrap_GBPosition_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
50725 PyObject
*resultobj
= 0;
50726 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
50727 int arg2
= (int) 0 ;
50728 int arg3
= (int) 0 ;
50735 PyObject
* obj0
= 0 ;
50736 PyObject
* obj1
= 0 ;
50737 PyObject
* obj2
= 0 ;
50738 char * kwnames
[] = {
50739 (char *) "self",(char *) "row",(char *) "col", NULL
50742 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBPosition_Set",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
50743 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBPosition
, 0 | 0 );
50744 if (!SWIG_IsOK(res1
)) {
50745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBPosition_Set" "', expected argument " "1"" of type '" "wxGBPosition *""'");
50747 arg1
= reinterpret_cast< wxGBPosition
* >(argp1
);
50749 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
50750 if (!SWIG_IsOK(ecode2
)) {
50751 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GBPosition_Set" "', expected argument " "2"" of type '" "int""'");
50753 arg2
= static_cast< int >(val2
);
50756 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
50757 if (!SWIG_IsOK(ecode3
)) {
50758 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GBPosition_Set" "', expected argument " "3"" of type '" "int""'");
50760 arg3
= static_cast< int >(val3
);
50763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50764 wxGBPosition_Set(arg1
,arg2
,arg3
);
50765 wxPyEndAllowThreads(__tstate
);
50766 if (PyErr_Occurred()) SWIG_fail
;
50768 resultobj
= SWIG_Py_Void();
50775 SWIGINTERN PyObject
*_wrap_GBPosition_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
50776 PyObject
*resultobj
= 0;
50777 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
50778 PyObject
*result
= 0 ;
50781 PyObject
*swig_obj
[1] ;
50783 if (!args
) SWIG_fail
;
50784 swig_obj
[0] = args
;
50785 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBPosition
, 0 | 0 );
50786 if (!SWIG_IsOK(res1
)) {
50787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBPosition_Get" "', expected argument " "1"" of type '" "wxGBPosition *""'");
50789 arg1
= reinterpret_cast< wxGBPosition
* >(argp1
);
50791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50792 result
= (PyObject
*)wxGBPosition_Get(arg1
);
50793 wxPyEndAllowThreads(__tstate
);
50794 if (PyErr_Occurred()) SWIG_fail
;
50796 resultobj
= result
;
50803 SWIGINTERN PyObject
*GBPosition_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
50805 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
50806 SWIG_TypeNewClientData(SWIGTYPE_p_wxGBPosition
, SWIG_NewClientData(obj
));
50807 return SWIG_Py_Void();
50810 SWIGINTERN PyObject
*GBPosition_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
50811 return SWIG_Python_InitShadowInstance(args
);
50814 SWIGINTERN PyObject
*_wrap_new_GBSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
50815 PyObject
*resultobj
= 0;
50816 int arg1
= (int) 1 ;
50817 int arg2
= (int) 1 ;
50818 wxGBSpan
*result
= 0 ;
50823 PyObject
* obj0
= 0 ;
50824 PyObject
* obj1
= 0 ;
50825 char * kwnames
[] = {
50826 (char *) "rowspan",(char *) "colspan", NULL
50829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBSpan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
50831 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
50832 if (!SWIG_IsOK(ecode1
)) {
50833 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GBSpan" "', expected argument " "1"" of type '" "int""'");
50835 arg1
= static_cast< int >(val1
);
50838 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
50839 if (!SWIG_IsOK(ecode2
)) {
50840 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GBSpan" "', expected argument " "2"" of type '" "int""'");
50842 arg2
= static_cast< int >(val2
);
50845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50846 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
50847 wxPyEndAllowThreads(__tstate
);
50848 if (PyErr_Occurred()) SWIG_fail
;
50850 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_NEW
| 0 );
50857 SWIGINTERN PyObject
*_wrap_delete_GBSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
50858 PyObject
*resultobj
= 0;
50859 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
50862 PyObject
*swig_obj
[1] ;
50864 if (!args
) SWIG_fail
;
50865 swig_obj
[0] = args
;
50866 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_DISOWN
| 0 );
50867 if (!SWIG_IsOK(res1
)) {
50868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GBSpan" "', expected argument " "1"" of type '" "wxGBSpan *""'");
50870 arg1
= reinterpret_cast< wxGBSpan
* >(argp1
);
50872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50875 wxPyEndAllowThreads(__tstate
);
50876 if (PyErr_Occurred()) SWIG_fail
;
50878 resultobj
= SWIG_Py_Void();
50885 SWIGINTERN PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
50886 PyObject
*resultobj
= 0;
50887 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
50891 PyObject
*swig_obj
[1] ;
50893 if (!args
) SWIG_fail
;
50894 swig_obj
[0] = args
;
50895 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBSpan
, 0 | 0 );
50896 if (!SWIG_IsOK(res1
)) {
50897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSpan_GetRowspan" "', expected argument " "1"" of type '" "wxGBSpan const *""'");
50899 arg1
= reinterpret_cast< wxGBSpan
* >(argp1
);
50901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50902 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
50903 wxPyEndAllowThreads(__tstate
);
50904 if (PyErr_Occurred()) SWIG_fail
;
50906 resultobj
= SWIG_From_int(static_cast< int >(result
));
50913 SWIGINTERN PyObject
*_wrap_GBSpan_GetColspan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
50914 PyObject
*resultobj
= 0;
50915 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
50919 PyObject
*swig_obj
[1] ;
50921 if (!args
) SWIG_fail
;
50922 swig_obj
[0] = args
;
50923 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBSpan
, 0 | 0 );
50924 if (!SWIG_IsOK(res1
)) {
50925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSpan_GetColspan" "', expected argument " "1"" of type '" "wxGBSpan const *""'");
50927 arg1
= reinterpret_cast< wxGBSpan
* >(argp1
);
50929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50930 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
50931 wxPyEndAllowThreads(__tstate
);
50932 if (PyErr_Occurred()) SWIG_fail
;
50934 resultobj
= SWIG_From_int(static_cast< int >(result
));
50941 SWIGINTERN PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
50942 PyObject
*resultobj
= 0;
50943 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
50949 PyObject
* obj0
= 0 ;
50950 PyObject
* obj1
= 0 ;
50951 char * kwnames
[] = {
50952 (char *) "self",(char *) "rowspan", NULL
50955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetRowspan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
50956 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBSpan
, 0 | 0 );
50957 if (!SWIG_IsOK(res1
)) {
50958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSpan_SetRowspan" "', expected argument " "1"" of type '" "wxGBSpan *""'");
50960 arg1
= reinterpret_cast< wxGBSpan
* >(argp1
);
50961 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
50962 if (!SWIG_IsOK(ecode2
)) {
50963 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GBSpan_SetRowspan" "', expected argument " "2"" of type '" "int""'");
50965 arg2
= static_cast< int >(val2
);
50967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50968 (arg1
)->SetRowspan(arg2
);
50969 wxPyEndAllowThreads(__tstate
);
50970 if (PyErr_Occurred()) SWIG_fail
;
50972 resultobj
= SWIG_Py_Void();
50979 SWIGINTERN PyObject
*_wrap_GBSpan_SetColspan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
50980 PyObject
*resultobj
= 0;
50981 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
50987 PyObject
* obj0
= 0 ;
50988 PyObject
* obj1
= 0 ;
50989 char * kwnames
[] = {
50990 (char *) "self",(char *) "colspan", NULL
50993 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetColspan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
50994 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBSpan
, 0 | 0 );
50995 if (!SWIG_IsOK(res1
)) {
50996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSpan_SetColspan" "', expected argument " "1"" of type '" "wxGBSpan *""'");
50998 arg1
= reinterpret_cast< wxGBSpan
* >(argp1
);
50999 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
51000 if (!SWIG_IsOK(ecode2
)) {
51001 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GBSpan_SetColspan" "', expected argument " "2"" of type '" "int""'");
51003 arg2
= static_cast< int >(val2
);
51005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51006 (arg1
)->SetColspan(arg2
);
51007 wxPyEndAllowThreads(__tstate
);
51008 if (PyErr_Occurred()) SWIG_fail
;
51010 resultobj
= SWIG_Py_Void();
51017 SWIGINTERN PyObject
*_wrap_GBSpan___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51018 PyObject
*resultobj
= 0;
51019 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
51020 PyObject
*arg2
= (PyObject
*) 0 ;
51024 PyObject
* obj0
= 0 ;
51025 PyObject
* obj1
= 0 ;
51026 char * kwnames
[] = {
51027 (char *) "self",(char *) "other", NULL
51030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
51031 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBSpan
, 0 | 0 );
51032 if (!SWIG_IsOK(res1
)) {
51033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSpan___eq__" "', expected argument " "1"" of type '" "wxGBSpan *""'");
51035 arg1
= reinterpret_cast< wxGBSpan
* >(argp1
);
51038 result
= (bool)wxGBSpan___eq__(arg1
,arg2
);
51039 if (PyErr_Occurred()) SWIG_fail
;
51042 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
51050 SWIGINTERN PyObject
*_wrap_GBSpan___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51051 PyObject
*resultobj
= 0;
51052 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
51053 PyObject
*arg2
= (PyObject
*) 0 ;
51057 PyObject
* obj0
= 0 ;
51058 PyObject
* obj1
= 0 ;
51059 char * kwnames
[] = {
51060 (char *) "self",(char *) "other", NULL
51063 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
51064 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBSpan
, 0 | 0 );
51065 if (!SWIG_IsOK(res1
)) {
51066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSpan___ne__" "', expected argument " "1"" of type '" "wxGBSpan *""'");
51068 arg1
= reinterpret_cast< wxGBSpan
* >(argp1
);
51071 result
= (bool)wxGBSpan___ne__(arg1
,arg2
);
51072 if (PyErr_Occurred()) SWIG_fail
;
51075 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
51083 SWIGINTERN PyObject
*_wrap_GBSpan_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51084 PyObject
*resultobj
= 0;
51085 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
51086 int arg2
= (int) 1 ;
51087 int arg3
= (int) 1 ;
51094 PyObject
* obj0
= 0 ;
51095 PyObject
* obj1
= 0 ;
51096 PyObject
* obj2
= 0 ;
51097 char * kwnames
[] = {
51098 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
51101 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBSpan_Set",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
51102 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBSpan
, 0 | 0 );
51103 if (!SWIG_IsOK(res1
)) {
51104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSpan_Set" "', expected argument " "1"" of type '" "wxGBSpan *""'");
51106 arg1
= reinterpret_cast< wxGBSpan
* >(argp1
);
51108 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
51109 if (!SWIG_IsOK(ecode2
)) {
51110 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GBSpan_Set" "', expected argument " "2"" of type '" "int""'");
51112 arg2
= static_cast< int >(val2
);
51115 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
51116 if (!SWIG_IsOK(ecode3
)) {
51117 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GBSpan_Set" "', expected argument " "3"" of type '" "int""'");
51119 arg3
= static_cast< int >(val3
);
51122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51123 wxGBSpan_Set(arg1
,arg2
,arg3
);
51124 wxPyEndAllowThreads(__tstate
);
51125 if (PyErr_Occurred()) SWIG_fail
;
51127 resultobj
= SWIG_Py_Void();
51134 SWIGINTERN PyObject
*_wrap_GBSpan_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
51135 PyObject
*resultobj
= 0;
51136 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
51137 PyObject
*result
= 0 ;
51140 PyObject
*swig_obj
[1] ;
51142 if (!args
) SWIG_fail
;
51143 swig_obj
[0] = args
;
51144 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBSpan
, 0 | 0 );
51145 if (!SWIG_IsOK(res1
)) {
51146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSpan_Get" "', expected argument " "1"" of type '" "wxGBSpan *""'");
51148 arg1
= reinterpret_cast< wxGBSpan
* >(argp1
);
51150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51151 result
= (PyObject
*)wxGBSpan_Get(arg1
);
51152 wxPyEndAllowThreads(__tstate
);
51153 if (PyErr_Occurred()) SWIG_fail
;
51155 resultobj
= result
;
51162 SWIGINTERN PyObject
*GBSpan_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
51164 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
51165 SWIG_TypeNewClientData(SWIGTYPE_p_wxGBSpan
, SWIG_NewClientData(obj
));
51166 return SWIG_Py_Void();
51169 SWIGINTERN PyObject
*GBSpan_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
51170 return SWIG_Python_InitShadowInstance(args
);
51173 SWIGINTERN
int DefaultSpan_set(PyObject
*) {
51174 SWIG_Error(SWIG_AttributeError
,"Variable DefaultSpan is read-only.");
51179 SWIGINTERN PyObject
*DefaultSpan_get(void) {
51180 PyObject
*pyobj
= 0;
51182 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxDefaultSpan
), SWIGTYPE_p_wxGBSpan
, 0 );
51187 SWIGINTERN PyObject
*_wrap_new_GBSizerItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
51188 PyObject
*resultobj
= 0;
51189 wxGBSizerItem
*result
= 0 ;
51191 if (!SWIG_Python_UnpackTuple(args
,"new_GBSizerItem",0,0,0)) SWIG_fail
;
51193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51194 result
= (wxGBSizerItem
*)new wxGBSizerItem();
51195 wxPyEndAllowThreads(__tstate
);
51196 if (PyErr_Occurred()) SWIG_fail
;
51198 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_NEW
| 0 );
51205 SWIGINTERN PyObject
*_wrap_delete_GBSizerItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
51206 PyObject
*resultobj
= 0;
51207 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
51210 PyObject
*swig_obj
[1] ;
51212 if (!args
) SWIG_fail
;
51213 swig_obj
[0] = args
;
51214 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_DISOWN
| 0 );
51215 if (!SWIG_IsOK(res1
)) {
51216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GBSizerItem" "', expected argument " "1"" of type '" "wxGBSizerItem *""'");
51218 arg1
= reinterpret_cast< wxGBSizerItem
* >(argp1
);
51220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51223 wxPyEndAllowThreads(__tstate
);
51224 if (PyErr_Occurred()) SWIG_fail
;
51226 resultobj
= SWIG_Py_Void();
51233 SWIGINTERN PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51234 PyObject
*resultobj
= 0;
51235 wxWindow
*arg1
= (wxWindow
*) 0 ;
51236 wxGBPosition
*arg2
= 0 ;
51237 wxGBSpan
*arg3
= 0 ;
51240 PyObject
*arg6
= (PyObject
*) NULL
;
51241 wxGBSizerItem
*result
= 0 ;
51244 wxGBPosition temp2
;
51250 PyObject
* obj0
= 0 ;
51251 PyObject
* obj1
= 0 ;
51252 PyObject
* obj2
= 0 ;
51253 PyObject
* obj3
= 0 ;
51254 PyObject
* obj4
= 0 ;
51255 PyObject
* obj5
= 0 ;
51256 char * kwnames
[] = {
51257 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
51260 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
51261 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
51262 if (!SWIG_IsOK(res1
)) {
51263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GBSizerItemWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
51265 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
51268 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
51272 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
51274 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
51275 if (!SWIG_IsOK(ecode4
)) {
51276 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_GBSizerItemWindow" "', expected argument " "4"" of type '" "int""'");
51278 arg4
= static_cast< int >(val4
);
51279 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
51280 if (!SWIG_IsOK(ecode5
)) {
51281 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_GBSizerItemWindow" "', expected argument " "5"" of type '" "int""'");
51283 arg5
= static_cast< int >(val5
);
51288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51289 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
51290 wxPyEndAllowThreads(__tstate
);
51291 if (PyErr_Occurred()) SWIG_fail
;
51293 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_OWN
| 0 );
51300 SWIGINTERN PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51301 PyObject
*resultobj
= 0;
51302 wxSizer
*arg1
= (wxSizer
*) 0 ;
51303 wxGBPosition
*arg2
= 0 ;
51304 wxGBSpan
*arg3
= 0 ;
51307 PyObject
*arg6
= (PyObject
*) NULL
;
51308 wxGBSizerItem
*result
= 0 ;
51310 wxGBPosition temp2
;
51316 PyObject
* obj0
= 0 ;
51317 PyObject
* obj1
= 0 ;
51318 PyObject
* obj2
= 0 ;
51319 PyObject
* obj3
= 0 ;
51320 PyObject
* obj4
= 0 ;
51321 PyObject
* obj5
= 0 ;
51322 char * kwnames
[] = {
51323 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
51326 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
51327 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxSizer
, SWIG_POINTER_DISOWN
| 0 );
51328 if (!SWIG_IsOK(res1
)) {
51329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GBSizerItemSizer" "', expected argument " "1"" of type '" "wxSizer *""'");
51333 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
51337 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
51339 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
51340 if (!SWIG_IsOK(ecode4
)) {
51341 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_GBSizerItemSizer" "', expected argument " "4"" of type '" "int""'");
51343 arg4
= static_cast< int >(val4
);
51344 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
51345 if (!SWIG_IsOK(ecode5
)) {
51346 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_GBSizerItemSizer" "', expected argument " "5"" of type '" "int""'");
51348 arg5
= static_cast< int >(val5
);
51353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51354 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
51355 wxPyEndAllowThreads(__tstate
);
51356 if (PyErr_Occurred()) SWIG_fail
;
51358 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_OWN
| 0 );
51365 SWIGINTERN PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51366 PyObject
*resultobj
= 0;
51369 wxGBPosition
*arg3
= 0 ;
51370 wxGBSpan
*arg4
= 0 ;
51373 PyObject
*arg7
= (PyObject
*) NULL
;
51374 wxGBSizerItem
*result
= 0 ;
51379 wxGBPosition temp3
;
51385 PyObject
* obj0
= 0 ;
51386 PyObject
* obj1
= 0 ;
51387 PyObject
* obj2
= 0 ;
51388 PyObject
* obj3
= 0 ;
51389 PyObject
* obj4
= 0 ;
51390 PyObject
* obj5
= 0 ;
51391 PyObject
* obj6
= 0 ;
51392 char * kwnames
[] = {
51393 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
51396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:new_GBSizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
51397 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
51398 if (!SWIG_IsOK(ecode1
)) {
51399 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GBSizerItemSpacer" "', expected argument " "1"" of type '" "int""'");
51401 arg1
= static_cast< int >(val1
);
51402 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
51403 if (!SWIG_IsOK(ecode2
)) {
51404 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GBSizerItemSpacer" "', expected argument " "2"" of type '" "int""'");
51406 arg2
= static_cast< int >(val2
);
51409 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
51413 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
51415 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
51416 if (!SWIG_IsOK(ecode5
)) {
51417 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_GBSizerItemSpacer" "', expected argument " "5"" of type '" "int""'");
51419 arg5
= static_cast< int >(val5
);
51420 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
51421 if (!SWIG_IsOK(ecode6
)) {
51422 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_GBSizerItemSpacer" "', expected argument " "6"" of type '" "int""'");
51424 arg6
= static_cast< int >(val6
);
51429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51430 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
51431 wxPyEndAllowThreads(__tstate
);
51432 if (PyErr_Occurred()) SWIG_fail
;
51434 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_OWN
| 0 );
51441 SWIGINTERN PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
51442 PyObject
*resultobj
= 0;
51443 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
51444 wxGBPosition result
;
51447 PyObject
*swig_obj
[1] ;
51449 if (!args
) SWIG_fail
;
51450 swig_obj
[0] = args
;
51451 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
51452 if (!SWIG_IsOK(res1
)) {
51453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSizerItem_GetPos" "', expected argument " "1"" of type '" "wxGBSizerItem const *""'");
51455 arg1
= reinterpret_cast< wxGBSizerItem
* >(argp1
);
51457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51458 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
51459 wxPyEndAllowThreads(__tstate
);
51460 if (PyErr_Occurred()) SWIG_fail
;
51462 resultobj
= SWIG_NewPointerObj((new wxGBPosition(static_cast< const wxGBPosition
& >(result
))), SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_OWN
| 0 );
51469 SWIGINTERN PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
51470 PyObject
*resultobj
= 0;
51471 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
51475 PyObject
*swig_obj
[1] ;
51477 if (!args
) SWIG_fail
;
51478 swig_obj
[0] = args
;
51479 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
51480 if (!SWIG_IsOK(res1
)) {
51481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSizerItem_GetSpan" "', expected argument " "1"" of type '" "wxGBSizerItem const *""'");
51483 arg1
= reinterpret_cast< wxGBSizerItem
* >(argp1
);
51485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51486 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
51487 wxPyEndAllowThreads(__tstate
);
51488 if (PyErr_Occurred()) SWIG_fail
;
51490 resultobj
= SWIG_NewPointerObj((new wxGBSpan(static_cast< const wxGBSpan
& >(result
))), SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_OWN
| 0 );
51497 SWIGINTERN PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51498 PyObject
*resultobj
= 0;
51499 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
51500 wxGBPosition
*arg2
= 0 ;
51504 wxGBPosition temp2
;
51505 PyObject
* obj0
= 0 ;
51506 PyObject
* obj1
= 0 ;
51507 char * kwnames
[] = {
51508 (char *) "self",(char *) "pos", NULL
51511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
51512 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
51513 if (!SWIG_IsOK(res1
)) {
51514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSizerItem_SetPos" "', expected argument " "1"" of type '" "wxGBSizerItem *""'");
51516 arg1
= reinterpret_cast< wxGBSizerItem
* >(argp1
);
51519 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
51522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51523 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
51524 wxPyEndAllowThreads(__tstate
);
51525 if (PyErr_Occurred()) SWIG_fail
;
51528 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
51536 SWIGINTERN PyObject
*_wrap_GBSizerItem_SetSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51537 PyObject
*resultobj
= 0;
51538 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
51539 wxGBSpan
*arg2
= 0 ;
51544 PyObject
* obj0
= 0 ;
51545 PyObject
* obj1
= 0 ;
51546 char * kwnames
[] = {
51547 (char *) "self",(char *) "span", NULL
51550 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
51551 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
51552 if (!SWIG_IsOK(res1
)) {
51553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSizerItem_SetSpan" "', expected argument " "1"" of type '" "wxGBSizerItem *""'");
51555 arg1
= reinterpret_cast< wxGBSizerItem
* >(argp1
);
51558 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
51561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51562 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
51563 wxPyEndAllowThreads(__tstate
);
51564 if (PyErr_Occurred()) SWIG_fail
;
51567 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
51575 SWIGINTERN PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51576 PyObject
*resultobj
= 0;
51577 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
51578 wxGBSizerItem
*arg2
= 0 ;
51584 PyObject
* obj0
= 0 ;
51585 PyObject
* obj1
= 0 ;
51586 char * kwnames
[] = {
51587 (char *) "self",(char *) "other", NULL
51590 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_Intersects",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
51591 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
51592 if (!SWIG_IsOK(res1
)) {
51593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSizerItem_Intersects" "', expected argument " "1"" of type '" "wxGBSizerItem *""'");
51595 arg1
= reinterpret_cast< wxGBSizerItem
* >(argp1
);
51596 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGBSizerItem
, 0 | 0);
51597 if (!SWIG_IsOK(res2
)) {
51598 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GBSizerItem_Intersects" "', expected argument " "2"" of type '" "wxGBSizerItem const &""'");
51601 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GBSizerItem_Intersects" "', expected argument " "2"" of type '" "wxGBSizerItem const &""'");
51603 arg2
= reinterpret_cast< wxGBSizerItem
* >(argp2
);
51605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51606 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
51607 wxPyEndAllowThreads(__tstate
);
51608 if (PyErr_Occurred()) SWIG_fail
;
51611 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
51619 SWIGINTERN PyObject
*_wrap_GBSizerItem_IntersectsPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51620 PyObject
*resultobj
= 0;
51621 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
51622 wxGBPosition
*arg2
= 0 ;
51623 wxGBSpan
*arg3
= 0 ;
51627 wxGBPosition temp2
;
51629 PyObject
* obj0
= 0 ;
51630 PyObject
* obj1
= 0 ;
51631 PyObject
* obj2
= 0 ;
51632 char * kwnames
[] = {
51633 (char *) "self",(char *) "pos",(char *) "span", NULL
51636 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_IntersectsPos",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
51637 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
51638 if (!SWIG_IsOK(res1
)) {
51639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSizerItem_IntersectsPos" "', expected argument " "1"" of type '" "wxGBSizerItem *""'");
51641 arg1
= reinterpret_cast< wxGBSizerItem
* >(argp1
);
51644 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
51648 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
51651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51652 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
51653 wxPyEndAllowThreads(__tstate
);
51654 if (PyErr_Occurred()) SWIG_fail
;
51657 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
51665 SWIGINTERN PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
51666 PyObject
*resultobj
= 0;
51667 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
51668 wxGBPosition result
;
51671 PyObject
*swig_obj
[1] ;
51673 if (!args
) SWIG_fail
;
51674 swig_obj
[0] = args
;
51675 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
51676 if (!SWIG_IsOK(res1
)) {
51677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSizerItem_GetEndPos" "', expected argument " "1"" of type '" "wxGBSizerItem *""'");
51679 arg1
= reinterpret_cast< wxGBSizerItem
* >(argp1
);
51681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51682 result
= wxGBSizerItem_GetEndPos(arg1
);
51683 wxPyEndAllowThreads(__tstate
);
51684 if (PyErr_Occurred()) SWIG_fail
;
51686 resultobj
= SWIG_NewPointerObj((new wxGBPosition(static_cast< const wxGBPosition
& >(result
))), SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_OWN
| 0 );
51693 SWIGINTERN PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
51694 PyObject
*resultobj
= 0;
51695 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
51696 wxGridBagSizer
*result
= 0 ;
51699 PyObject
*swig_obj
[1] ;
51701 if (!args
) SWIG_fail
;
51702 swig_obj
[0] = args
;
51703 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
51704 if (!SWIG_IsOK(res1
)) {
51705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSizerItem_GetGBSizer" "', expected argument " "1"" of type '" "wxGBSizerItem const *""'");
51707 arg1
= reinterpret_cast< wxGBSizerItem
* >(argp1
);
51709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51710 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
51711 wxPyEndAllowThreads(__tstate
);
51712 if (PyErr_Occurred()) SWIG_fail
;
51714 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
51721 SWIGINTERN PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51722 PyObject
*resultobj
= 0;
51723 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
51724 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
51729 PyObject
* obj0
= 0 ;
51730 PyObject
* obj1
= 0 ;
51731 char * kwnames
[] = {
51732 (char *) "self",(char *) "sizer", NULL
51735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
51736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
51737 if (!SWIG_IsOK(res1
)) {
51738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSizerItem_SetGBSizer" "', expected argument " "1"" of type '" "wxGBSizerItem *""'");
51740 arg1
= reinterpret_cast< wxGBSizerItem
* >(argp1
);
51741 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
51742 if (!SWIG_IsOK(res2
)) {
51743 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GBSizerItem_SetGBSizer" "', expected argument " "2"" of type '" "wxGridBagSizer *""'");
51745 arg2
= reinterpret_cast< wxGridBagSizer
* >(argp2
);
51747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51748 (arg1
)->SetGBSizer(arg2
);
51749 wxPyEndAllowThreads(__tstate
);
51750 if (PyErr_Occurred()) SWIG_fail
;
51752 resultobj
= SWIG_Py_Void();
51759 SWIGINTERN PyObject
*GBSizerItem_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
51761 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
51762 SWIG_TypeNewClientData(SWIGTYPE_p_wxGBSizerItem
, SWIG_NewClientData(obj
));
51763 return SWIG_Py_Void();
51766 SWIGINTERN PyObject
*GBSizerItem_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
51767 return SWIG_Python_InitShadowInstance(args
);
51770 SWIGINTERN PyObject
*_wrap_new_GridBagSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51771 PyObject
*resultobj
= 0;
51772 int arg1
= (int) 0 ;
51773 int arg2
= (int) 0 ;
51774 wxGridBagSizer
*result
= 0 ;
51779 PyObject
* obj0
= 0 ;
51780 PyObject
* obj1
= 0 ;
51781 char * kwnames
[] = {
51782 (char *) "vgap",(char *) "hgap", NULL
51785 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridBagSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
51787 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
51788 if (!SWIG_IsOK(ecode1
)) {
51789 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GridBagSizer" "', expected argument " "1"" of type '" "int""'");
51791 arg1
= static_cast< int >(val1
);
51794 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
51795 if (!SWIG_IsOK(ecode2
)) {
51796 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GridBagSizer" "', expected argument " "2"" of type '" "int""'");
51798 arg2
= static_cast< int >(val2
);
51801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51802 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
51803 wxPyEndAllowThreads(__tstate
);
51804 if (PyErr_Occurred()) SWIG_fail
;
51806 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_NEW
| 0 );
51813 SWIGINTERN PyObject
*_wrap_GridBagSizer_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51814 PyObject
*resultobj
= 0;
51815 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
51816 PyObject
*arg2
= (PyObject
*) 0 ;
51817 wxGBPosition
*arg3
= 0 ;
51818 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
51819 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
51820 int arg5
= (int) 0 ;
51821 int arg6
= (int) 0 ;
51822 PyObject
*arg7
= (PyObject
*) NULL
;
51823 wxGBSizerItem
*result
= 0 ;
51826 wxGBPosition temp3
;
51832 PyObject
* obj0
= 0 ;
51833 PyObject
* obj1
= 0 ;
51834 PyObject
* obj2
= 0 ;
51835 PyObject
* obj3
= 0 ;
51836 PyObject
* obj4
= 0 ;
51837 PyObject
* obj5
= 0 ;
51838 PyObject
* obj6
= 0 ;
51839 char * kwnames
[] = {
51840 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
51843 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
51844 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
51845 if (!SWIG_IsOK(res1
)) {
51846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_Add" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
51848 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
51852 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
51857 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
51861 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
51862 if (!SWIG_IsOK(ecode5
)) {
51863 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GridBagSizer_Add" "', expected argument " "5"" of type '" "int""'");
51865 arg5
= static_cast< int >(val5
);
51868 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
51869 if (!SWIG_IsOK(ecode6
)) {
51870 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GridBagSizer_Add" "', expected argument " "6"" of type '" "int""'");
51872 arg6
= static_cast< int >(val6
);
51878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51879 result
= (wxGBSizerItem
*)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
51880 wxPyEndAllowThreads(__tstate
);
51881 if (PyErr_Occurred()) SWIG_fail
;
51883 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
51890 SWIGINTERN PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51891 PyObject
*resultobj
= 0;
51892 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
51893 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
51894 wxGBSizerItem
*result
= 0 ;
51898 PyObject
* obj0
= 0 ;
51899 PyObject
* obj1
= 0 ;
51900 char * kwnames
[] = {
51901 (char *) "self",(char *) "item", NULL
51904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
51905 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
51906 if (!SWIG_IsOK(res1
)) {
51907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_AddItem" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
51909 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
51910 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_DISOWN
| 0 );
51911 if (!SWIG_IsOK(res2
)) {
51912 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_AddItem" "', expected argument " "2"" of type '" "wxGBSizerItem *""'");
51915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51916 result
= (wxGBSizerItem
*)(arg1
)->Add(arg2
);
51917 wxPyEndAllowThreads(__tstate
);
51918 if (PyErr_Occurred()) SWIG_fail
;
51920 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
51927 SWIGINTERN PyObject
*_wrap_GridBagSizer_GetCellSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51928 PyObject
*resultobj
= 0;
51929 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
51939 PyObject
* obj0
= 0 ;
51940 PyObject
* obj1
= 0 ;
51941 PyObject
* obj2
= 0 ;
51942 char * kwnames
[] = {
51943 (char *) "self",(char *) "row",(char *) "col", NULL
51946 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridBagSizer_GetCellSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
51947 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
51948 if (!SWIG_IsOK(res1
)) {
51949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_GetCellSize" "', expected argument " "1"" of type '" "wxGridBagSizer const *""'");
51951 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
51952 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
51953 if (!SWIG_IsOK(ecode2
)) {
51954 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridBagSizer_GetCellSize" "', expected argument " "2"" of type '" "int""'");
51956 arg2
= static_cast< int >(val2
);
51957 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
51958 if (!SWIG_IsOK(ecode3
)) {
51959 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridBagSizer_GetCellSize" "', expected argument " "3"" of type '" "int""'");
51961 arg3
= static_cast< int >(val3
);
51963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51964 result
= ((wxGridBagSizer
const *)arg1
)->GetCellSize(arg2
,arg3
);
51965 wxPyEndAllowThreads(__tstate
);
51966 if (PyErr_Occurred()) SWIG_fail
;
51968 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
51975 SWIGINTERN PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
51976 PyObject
*resultobj
= 0;
51977 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
51981 PyObject
*swig_obj
[1] ;
51983 if (!args
) SWIG_fail
;
51984 swig_obj
[0] = args
;
51985 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
51986 if (!SWIG_IsOK(res1
)) {
51987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_GetEmptyCellSize" "', expected argument " "1"" of type '" "wxGridBagSizer const *""'");
51989 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
51991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51992 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
51993 wxPyEndAllowThreads(__tstate
);
51994 if (PyErr_Occurred()) SWIG_fail
;
51996 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
52003 SWIGINTERN PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
52004 PyObject
*resultobj
= 0;
52005 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
52010 PyObject
* obj0
= 0 ;
52011 PyObject
* obj1
= 0 ;
52012 char * kwnames
[] = {
52013 (char *) "self",(char *) "sz", NULL
52016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
52017 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
52018 if (!SWIG_IsOK(res1
)) {
52019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_SetEmptyCellSize" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
52021 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
52024 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
52027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52028 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
52029 wxPyEndAllowThreads(__tstate
);
52030 if (PyErr_Occurred()) SWIG_fail
;
52032 resultobj
= SWIG_Py_Void();
52039 SWIGINTERN PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
52040 PyObject
*resultobj
= 0;
52041 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
52042 wxWindow
*arg2
= (wxWindow
*) 0 ;
52043 wxGBPosition result
;
52049 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
52050 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
52051 if (!SWIG_IsOK(res1
)) {
52052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_GetItemPosition" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
52054 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
52055 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
52056 if (!SWIG_IsOK(res2
)) {
52057 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_GetItemPosition" "', expected argument " "2"" of type '" "wxWindow *""'");
52059 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
52061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52062 result
= (arg1
)->GetItemPosition(arg2
);
52063 wxPyEndAllowThreads(__tstate
);
52064 if (PyErr_Occurred()) SWIG_fail
;
52066 resultobj
= SWIG_NewPointerObj((new wxGBPosition(static_cast< const wxGBPosition
& >(result
))), SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_OWN
| 0 );
52073 SWIGINTERN PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
52074 PyObject
*resultobj
= 0;
52075 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
52076 wxSizer
*arg2
= (wxSizer
*) 0 ;
52077 wxGBPosition result
;
52083 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
52084 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
52085 if (!SWIG_IsOK(res1
)) {
52086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_GetItemPosition" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
52088 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
52089 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxSizer
, 0 | 0 );
52090 if (!SWIG_IsOK(res2
)) {
52091 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_GetItemPosition" "', expected argument " "2"" of type '" "wxSizer *""'");
52093 arg2
= reinterpret_cast< wxSizer
* >(argp2
);
52095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52096 result
= (arg1
)->GetItemPosition(arg2
);
52097 wxPyEndAllowThreads(__tstate
);
52098 if (PyErr_Occurred()) SWIG_fail
;
52100 resultobj
= SWIG_NewPointerObj((new wxGBPosition(static_cast< const wxGBPosition
& >(result
))), SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_OWN
| 0 );
52107 SWIGINTERN PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
52108 PyObject
*resultobj
= 0;
52109 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
52111 wxGBPosition result
;
52117 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
52118 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
52119 if (!SWIG_IsOK(res1
)) {
52120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_GetItemPosition" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
52122 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
52123 ecode2
= SWIG_AsVal_size_t(swig_obj
[1], &val2
);
52124 if (!SWIG_IsOK(ecode2
)) {
52125 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridBagSizer_GetItemPosition" "', expected argument " "2"" of type '" "size_t""'");
52127 arg2
= static_cast< size_t >(val2
);
52129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52130 result
= (arg1
)->GetItemPosition(arg2
);
52131 wxPyEndAllowThreads(__tstate
);
52132 if (PyErr_Occurred()) SWIG_fail
;
52134 resultobj
= SWIG_NewPointerObj((new wxGBPosition(static_cast< const wxGBPosition
& >(result
))), SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_OWN
| 0 );
52141 SWIGINTERN PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
52145 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GridBagSizer_GetItemPosition",0,2,argv
))) SWIG_fail
;
52151 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxWindow
, 0);
52152 _v
= SWIG_CheckState(res
);
52154 if (!_v
) goto check_1
;
52155 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
, argc
, argv
);
52163 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxSizer
, 0);
52164 _v
= SWIG_CheckState(res
);
52166 if (!_v
) goto check_2
;
52167 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
, argc
, argv
);
52172 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
, argc
, argv
);
52176 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
52181 SWIGINTERN PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
52182 PyObject
*resultobj
= 0;
52183 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
52184 wxWindow
*arg2
= (wxWindow
*) 0 ;
52185 wxGBPosition
*arg3
= 0 ;
52191 wxGBPosition temp3
;
52193 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
52194 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
52195 if (!SWIG_IsOK(res1
)) {
52196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_SetItemPosition" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
52198 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
52199 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
52200 if (!SWIG_IsOK(res2
)) {
52201 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_SetItemPosition" "', expected argument " "2"" of type '" "wxWindow *""'");
52203 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
52206 if ( ! wxGBPosition_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
52209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52210 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
52211 wxPyEndAllowThreads(__tstate
);
52212 if (PyErr_Occurred()) SWIG_fail
;
52215 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
52223 SWIGINTERN PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
52224 PyObject
*resultobj
= 0;
52225 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
52226 wxSizer
*arg2
= (wxSizer
*) 0 ;
52227 wxGBPosition
*arg3
= 0 ;
52233 wxGBPosition temp3
;
52235 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
52236 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
52237 if (!SWIG_IsOK(res1
)) {
52238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_SetItemPosition" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
52240 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
52241 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxSizer
, 0 | 0 );
52242 if (!SWIG_IsOK(res2
)) {
52243 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_SetItemPosition" "', expected argument " "2"" of type '" "wxSizer *""'");
52245 arg2
= reinterpret_cast< wxSizer
* >(argp2
);
52248 if ( ! wxGBPosition_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
52251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52252 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
52253 wxPyEndAllowThreads(__tstate
);
52254 if (PyErr_Occurred()) SWIG_fail
;
52257 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
52265 SWIGINTERN PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
52266 PyObject
*resultobj
= 0;
52267 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
52269 wxGBPosition
*arg3
= 0 ;
52275 wxGBPosition temp3
;
52277 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
52278 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
52279 if (!SWIG_IsOK(res1
)) {
52280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_SetItemPosition" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
52282 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
52283 ecode2
= SWIG_AsVal_size_t(swig_obj
[1], &val2
);
52284 if (!SWIG_IsOK(ecode2
)) {
52285 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridBagSizer_SetItemPosition" "', expected argument " "2"" of type '" "size_t""'");
52287 arg2
= static_cast< size_t >(val2
);
52290 if ( ! wxGBPosition_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
52293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52294 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
52295 wxPyEndAllowThreads(__tstate
);
52296 if (PyErr_Occurred()) SWIG_fail
;
52299 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
52307 SWIGINTERN PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
52311 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GridBagSizer_SetItemPosition",0,3,argv
))) SWIG_fail
;
52317 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxWindow
, 0);
52318 _v
= SWIG_CheckState(res
);
52320 if (!_v
) goto check_1
;
52321 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
, argc
, argv
);
52329 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxSizer
, 0);
52330 _v
= SWIG_CheckState(res
);
52332 if (!_v
) goto check_2
;
52333 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
, argc
, argv
);
52338 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
, argc
, argv
);
52342 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
52347 SWIGINTERN PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
52348 PyObject
*resultobj
= 0;
52349 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
52350 wxWindow
*arg2
= (wxWindow
*) 0 ;
52357 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
52358 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
52359 if (!SWIG_IsOK(res1
)) {
52360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_GetItemSpan" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
52362 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
52363 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
52364 if (!SWIG_IsOK(res2
)) {
52365 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_GetItemSpan" "', expected argument " "2"" of type '" "wxWindow *""'");
52367 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
52369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52370 result
= (arg1
)->GetItemSpan(arg2
);
52371 wxPyEndAllowThreads(__tstate
);
52372 if (PyErr_Occurred()) SWIG_fail
;
52374 resultobj
= SWIG_NewPointerObj((new wxGBSpan(static_cast< const wxGBSpan
& >(result
))), SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_OWN
| 0 );
52381 SWIGINTERN PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
52382 PyObject
*resultobj
= 0;
52383 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
52384 wxSizer
*arg2
= (wxSizer
*) 0 ;
52391 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
52392 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
52393 if (!SWIG_IsOK(res1
)) {
52394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_GetItemSpan" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
52396 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
52397 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxSizer
, 0 | 0 );
52398 if (!SWIG_IsOK(res2
)) {
52399 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_GetItemSpan" "', expected argument " "2"" of type '" "wxSizer *""'");
52401 arg2
= reinterpret_cast< wxSizer
* >(argp2
);
52403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52404 result
= (arg1
)->GetItemSpan(arg2
);
52405 wxPyEndAllowThreads(__tstate
);
52406 if (PyErr_Occurred()) SWIG_fail
;
52408 resultobj
= SWIG_NewPointerObj((new wxGBSpan(static_cast< const wxGBSpan
& >(result
))), SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_OWN
| 0 );
52415 SWIGINTERN PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
52416 PyObject
*resultobj
= 0;
52417 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
52425 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
52426 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
52427 if (!SWIG_IsOK(res1
)) {
52428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_GetItemSpan" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
52430 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
52431 ecode2
= SWIG_AsVal_size_t(swig_obj
[1], &val2
);
52432 if (!SWIG_IsOK(ecode2
)) {
52433 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridBagSizer_GetItemSpan" "', expected argument " "2"" of type '" "size_t""'");
52435 arg2
= static_cast< size_t >(val2
);
52437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52438 result
= (arg1
)->GetItemSpan(arg2
);
52439 wxPyEndAllowThreads(__tstate
);
52440 if (PyErr_Occurred()) SWIG_fail
;
52442 resultobj
= SWIG_NewPointerObj((new wxGBSpan(static_cast< const wxGBSpan
& >(result
))), SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_OWN
| 0 );
52449 SWIGINTERN PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
52453 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GridBagSizer_GetItemSpan",0,2,argv
))) SWIG_fail
;
52459 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxWindow
, 0);
52460 _v
= SWIG_CheckState(res
);
52462 if (!_v
) goto check_1
;
52463 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
, argc
, argv
);
52471 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxSizer
, 0);
52472 _v
= SWIG_CheckState(res
);
52474 if (!_v
) goto check_2
;
52475 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
, argc
, argv
);
52480 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
, argc
, argv
);
52484 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
52489 SWIGINTERN PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
52490 PyObject
*resultobj
= 0;
52491 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
52492 wxWindow
*arg2
= (wxWindow
*) 0 ;
52493 wxGBSpan
*arg3
= 0 ;
52501 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
52502 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
52503 if (!SWIG_IsOK(res1
)) {
52504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_SetItemSpan" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
52506 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
52507 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
52508 if (!SWIG_IsOK(res2
)) {
52509 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_SetItemSpan" "', expected argument " "2"" of type '" "wxWindow *""'");
52511 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
52514 if ( ! wxGBSpan_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
52517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52518 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
52519 wxPyEndAllowThreads(__tstate
);
52520 if (PyErr_Occurred()) SWIG_fail
;
52523 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
52531 SWIGINTERN PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
52532 PyObject
*resultobj
= 0;
52533 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
52534 wxSizer
*arg2
= (wxSizer
*) 0 ;
52535 wxGBSpan
*arg3
= 0 ;
52543 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
52544 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
52545 if (!SWIG_IsOK(res1
)) {
52546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_SetItemSpan" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
52548 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
52549 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxSizer
, 0 | 0 );
52550 if (!SWIG_IsOK(res2
)) {
52551 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_SetItemSpan" "', expected argument " "2"" of type '" "wxSizer *""'");
52553 arg2
= reinterpret_cast< wxSizer
* >(argp2
);
52556 if ( ! wxGBSpan_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
52559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52560 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
52561 wxPyEndAllowThreads(__tstate
);
52562 if (PyErr_Occurred()) SWIG_fail
;
52565 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
52573 SWIGINTERN PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
52574 PyObject
*resultobj
= 0;
52575 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
52577 wxGBSpan
*arg3
= 0 ;
52585 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
52586 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
52587 if (!SWIG_IsOK(res1
)) {
52588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_SetItemSpan" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
52590 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
52591 ecode2
= SWIG_AsVal_size_t(swig_obj
[1], &val2
);
52592 if (!SWIG_IsOK(ecode2
)) {
52593 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridBagSizer_SetItemSpan" "', expected argument " "2"" of type '" "size_t""'");
52595 arg2
= static_cast< size_t >(val2
);
52598 if ( ! wxGBSpan_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
52601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52602 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
52603 wxPyEndAllowThreads(__tstate
);
52604 if (PyErr_Occurred()) SWIG_fail
;
52607 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
52615 SWIGINTERN PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
52619 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GridBagSizer_SetItemSpan",0,3,argv
))) SWIG_fail
;
52625 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxWindow
, 0);
52626 _v
= SWIG_CheckState(res
);
52628 if (!_v
) goto check_1
;
52629 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
, argc
, argv
);
52637 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxSizer
, 0);
52638 _v
= SWIG_CheckState(res
);
52640 if (!_v
) goto check_2
;
52641 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
, argc
, argv
);
52646 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
, argc
, argv
);
52650 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
52655 SWIGINTERN PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
52656 PyObject
*resultobj
= 0;
52657 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
52658 wxWindow
*arg2
= (wxWindow
*) 0 ;
52659 wxGBSizerItem
*result
= 0 ;
52665 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
52666 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
52667 if (!SWIG_IsOK(res1
)) {
52668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_FindItem" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
52670 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
52671 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
52672 if (!SWIG_IsOK(res2
)) {
52673 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_FindItem" "', expected argument " "2"" of type '" "wxWindow *""'");
52675 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
52677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52678 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
52679 wxPyEndAllowThreads(__tstate
);
52680 if (PyErr_Occurred()) SWIG_fail
;
52682 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
52689 SWIGINTERN PyObject
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
52690 PyObject
*resultobj
= 0;
52691 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
52692 wxSizer
*arg2
= (wxSizer
*) 0 ;
52693 wxGBSizerItem
*result
= 0 ;
52699 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
52700 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
52701 if (!SWIG_IsOK(res1
)) {
52702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_FindItem" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
52704 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
52705 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxSizer
, 0 | 0 );
52706 if (!SWIG_IsOK(res2
)) {
52707 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_FindItem" "', expected argument " "2"" of type '" "wxSizer *""'");
52709 arg2
= reinterpret_cast< wxSizer
* >(argp2
);
52711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52712 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
52713 wxPyEndAllowThreads(__tstate
);
52714 if (PyErr_Occurred()) SWIG_fail
;
52716 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
52723 SWIGINTERN PyObject
*_wrap_GridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
52727 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GridBagSizer_FindItem",0,2,argv
))) SWIG_fail
;
52733 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxWindow
, 0);
52734 _v
= SWIG_CheckState(res
);
52736 if (!_v
) goto check_1
;
52737 return _wrap_GridBagSizer_FindItem__SWIG_0(self
, argc
, argv
);
52742 return _wrap_GridBagSizer_FindItem__SWIG_1(self
, argc
, argv
);
52746 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
52751 SWIGINTERN PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
52752 PyObject
*resultobj
= 0;
52753 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
52754 wxGBPosition
*arg2
= 0 ;
52755 wxGBSizerItem
*result
= 0 ;
52758 wxGBPosition temp2
;
52759 PyObject
* obj0
= 0 ;
52760 PyObject
* obj1
= 0 ;
52761 char * kwnames
[] = {
52762 (char *) "self",(char *) "pos", NULL
52765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
52766 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
52767 if (!SWIG_IsOK(res1
)) {
52768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_FindItemAtPosition" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
52770 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
52773 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
52776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52777 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
52778 wxPyEndAllowThreads(__tstate
);
52779 if (PyErr_Occurred()) SWIG_fail
;
52781 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
52788 SWIGINTERN PyObject
*_wrap_GridBagSizer_FindItemAtPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
52789 PyObject
*resultobj
= 0;
52790 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
52791 wxPoint
*arg2
= 0 ;
52792 wxGBSizerItem
*result
= 0 ;
52796 PyObject
* obj0
= 0 ;
52797 PyObject
* obj1
= 0 ;
52798 char * kwnames
[] = {
52799 (char *) "self",(char *) "pt", NULL
52802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
52803 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
52804 if (!SWIG_IsOK(res1
)) {
52805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_FindItemAtPoint" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
52807 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
52810 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
52813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52814 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPoint((wxPoint
const &)*arg2
);
52815 wxPyEndAllowThreads(__tstate
);
52816 if (PyErr_Occurred()) SWIG_fail
;
52818 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
52825 SWIGINTERN PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
52826 PyObject
*resultobj
= 0;
52827 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
52828 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
52829 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
52837 PyObject
* obj0
= 0 ;
52838 PyObject
* obj1
= 0 ;
52839 PyObject
* obj2
= 0 ;
52840 char * kwnames
[] = {
52841 (char *) "self",(char *) "item",(char *) "excludeItem", NULL
52844 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GridBagSizer_CheckForIntersection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
52845 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
52846 if (!SWIG_IsOK(res1
)) {
52847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_CheckForIntersection" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
52849 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
52850 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
52851 if (!SWIG_IsOK(res2
)) {
52852 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_CheckForIntersection" "', expected argument " "2"" of type '" "wxGBSizerItem *""'");
52854 arg2
= reinterpret_cast< wxGBSizerItem
* >(argp2
);
52856 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
52857 if (!SWIG_IsOK(res3
)) {
52858 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "GridBagSizer_CheckForIntersection" "', expected argument " "3"" of type '" "wxGBSizerItem *""'");
52860 arg3
= reinterpret_cast< wxGBSizerItem
* >(argp3
);
52863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52864 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
52865 wxPyEndAllowThreads(__tstate
);
52866 if (PyErr_Occurred()) SWIG_fail
;
52869 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
52877 SWIGINTERN PyObject
*_wrap_GridBagSizer_CheckForIntersectionPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
52878 PyObject
*resultobj
= 0;
52879 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
52880 wxGBPosition
*arg2
= 0 ;
52881 wxGBSpan
*arg3
= 0 ;
52882 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
52886 wxGBPosition temp2
;
52890 PyObject
* obj0
= 0 ;
52891 PyObject
* obj1
= 0 ;
52892 PyObject
* obj2
= 0 ;
52893 PyObject
* obj3
= 0 ;
52894 char * kwnames
[] = {
52895 (char *) "self",(char *) "pos",(char *) "span",(char *) "excludeItem", NULL
52898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:GridBagSizer_CheckForIntersectionPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
52899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
52900 if (!SWIG_IsOK(res1
)) {
52901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_CheckForIntersectionPos" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
52903 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
52906 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
52910 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
52913 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
52914 if (!SWIG_IsOK(res4
)) {
52915 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "GridBagSizer_CheckForIntersectionPos" "', expected argument " "4"" of type '" "wxGBSizerItem *""'");
52917 arg4
= reinterpret_cast< wxGBSizerItem
* >(argp4
);
52920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52921 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
52922 wxPyEndAllowThreads(__tstate
);
52923 if (PyErr_Occurred()) SWIG_fail
;
52926 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
52934 SWIGINTERN PyObject
*GridBagSizer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52936 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
52937 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridBagSizer
, SWIG_NewClientData(obj
));
52938 return SWIG_Py_Void();
52941 SWIGINTERN PyObject
*GridBagSizer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52942 return SWIG_Python_InitShadowInstance(args
);
52945 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
52946 PyObject
*resultobj
= 0;
52947 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
52948 wxRelationship arg2
;
52949 wxWindow
*arg3
= (wxWindow
*) 0 ;
52951 int arg5
= (int) 0 ;
52952 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
52965 PyObject
* obj0
= 0 ;
52966 PyObject
* obj1
= 0 ;
52967 PyObject
* obj2
= 0 ;
52968 PyObject
* obj3
= 0 ;
52969 PyObject
* obj4
= 0 ;
52970 PyObject
* obj5
= 0 ;
52971 char * kwnames
[] = {
52972 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
52975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
52976 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
52977 if (!SWIG_IsOK(res1
)) {
52978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_Set" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
52980 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
52981 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
52982 if (!SWIG_IsOK(ecode2
)) {
52983 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IndividualLayoutConstraint_Set" "', expected argument " "2"" of type '" "wxRelationship""'");
52985 arg2
= static_cast< wxRelationship
>(val2
);
52986 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
52987 if (!SWIG_IsOK(res3
)) {
52988 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "IndividualLayoutConstraint_Set" "', expected argument " "3"" of type '" "wxWindow *""'");
52990 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
52991 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
52992 if (!SWIG_IsOK(ecode4
)) {
52993 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "IndividualLayoutConstraint_Set" "', expected argument " "4"" of type '" "wxEdge""'");
52995 arg4
= static_cast< wxEdge
>(val4
);
52997 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
52998 if (!SWIG_IsOK(ecode5
)) {
52999 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "IndividualLayoutConstraint_Set" "', expected argument " "5"" of type '" "int""'");
53001 arg5
= static_cast< int >(val5
);
53004 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
53005 if (!SWIG_IsOK(ecode6
)) {
53006 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "IndividualLayoutConstraint_Set" "', expected argument " "6"" of type '" "int""'");
53008 arg6
= static_cast< int >(val6
);
53011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53012 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
,arg6
);
53013 wxPyEndAllowThreads(__tstate
);
53014 if (PyErr_Occurred()) SWIG_fail
;
53016 resultobj
= SWIG_Py_Void();
53023 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
53024 PyObject
*resultobj
= 0;
53025 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
53026 wxWindow
*arg2
= (wxWindow
*) 0 ;
53027 int arg3
= (int) 0 ;
53034 PyObject
* obj0
= 0 ;
53035 PyObject
* obj1
= 0 ;
53036 PyObject
* obj2
= 0 ;
53037 char * kwnames
[] = {
53038 (char *) "self",(char *) "sibling",(char *) "marg", NULL
53041 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
53042 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
53043 if (!SWIG_IsOK(res1
)) {
53044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_LeftOf" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
53046 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
53047 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
53048 if (!SWIG_IsOK(res2
)) {
53049 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IndividualLayoutConstraint_LeftOf" "', expected argument " "2"" of type '" "wxWindow *""'");
53051 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
53053 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
53054 if (!SWIG_IsOK(ecode3
)) {
53055 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IndividualLayoutConstraint_LeftOf" "', expected argument " "3"" of type '" "int""'");
53057 arg3
= static_cast< int >(val3
);
53060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53061 (arg1
)->LeftOf(arg2
,arg3
);
53062 wxPyEndAllowThreads(__tstate
);
53063 if (PyErr_Occurred()) SWIG_fail
;
53065 resultobj
= SWIG_Py_Void();
53072 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
53073 PyObject
*resultobj
= 0;
53074 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
53075 wxWindow
*arg2
= (wxWindow
*) 0 ;
53076 int arg3
= (int) 0 ;
53083 PyObject
* obj0
= 0 ;
53084 PyObject
* obj1
= 0 ;
53085 PyObject
* obj2
= 0 ;
53086 char * kwnames
[] = {
53087 (char *) "self",(char *) "sibling",(char *) "marg", NULL
53090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
53091 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
53092 if (!SWIG_IsOK(res1
)) {
53093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_RightOf" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
53095 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
53096 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
53097 if (!SWIG_IsOK(res2
)) {
53098 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IndividualLayoutConstraint_RightOf" "', expected argument " "2"" of type '" "wxWindow *""'");
53100 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
53102 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
53103 if (!SWIG_IsOK(ecode3
)) {
53104 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IndividualLayoutConstraint_RightOf" "', expected argument " "3"" of type '" "int""'");
53106 arg3
= static_cast< int >(val3
);
53109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53110 (arg1
)->RightOf(arg2
,arg3
);
53111 wxPyEndAllowThreads(__tstate
);
53112 if (PyErr_Occurred()) SWIG_fail
;
53114 resultobj
= SWIG_Py_Void();
53121 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
53122 PyObject
*resultobj
= 0;
53123 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
53124 wxWindow
*arg2
= (wxWindow
*) 0 ;
53125 int arg3
= (int) 0 ;
53132 PyObject
* obj0
= 0 ;
53133 PyObject
* obj1
= 0 ;
53134 PyObject
* obj2
= 0 ;
53135 char * kwnames
[] = {
53136 (char *) "self",(char *) "sibling",(char *) "marg", NULL
53139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
53140 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
53141 if (!SWIG_IsOK(res1
)) {
53142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_Above" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
53144 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
53145 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
53146 if (!SWIG_IsOK(res2
)) {
53147 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IndividualLayoutConstraint_Above" "', expected argument " "2"" of type '" "wxWindow *""'");
53149 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
53151 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
53152 if (!SWIG_IsOK(ecode3
)) {
53153 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IndividualLayoutConstraint_Above" "', expected argument " "3"" of type '" "int""'");
53155 arg3
= static_cast< int >(val3
);
53158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53159 (arg1
)->Above(arg2
,arg3
);
53160 wxPyEndAllowThreads(__tstate
);
53161 if (PyErr_Occurred()) SWIG_fail
;
53163 resultobj
= SWIG_Py_Void();
53170 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
53171 PyObject
*resultobj
= 0;
53172 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
53173 wxWindow
*arg2
= (wxWindow
*) 0 ;
53174 int arg3
= (int) 0 ;
53181 PyObject
* obj0
= 0 ;
53182 PyObject
* obj1
= 0 ;
53183 PyObject
* obj2
= 0 ;
53184 char * kwnames
[] = {
53185 (char *) "self",(char *) "sibling",(char *) "marg", NULL
53188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
53189 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
53190 if (!SWIG_IsOK(res1
)) {
53191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_Below" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
53193 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
53194 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
53195 if (!SWIG_IsOK(res2
)) {
53196 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IndividualLayoutConstraint_Below" "', expected argument " "2"" of type '" "wxWindow *""'");
53198 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
53200 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
53201 if (!SWIG_IsOK(ecode3
)) {
53202 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IndividualLayoutConstraint_Below" "', expected argument " "3"" of type '" "int""'");
53204 arg3
= static_cast< int >(val3
);
53207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53208 (arg1
)->Below(arg2
,arg3
);
53209 wxPyEndAllowThreads(__tstate
);
53210 if (PyErr_Occurred()) SWIG_fail
;
53212 resultobj
= SWIG_Py_Void();
53219 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
53220 PyObject
*resultobj
= 0;
53221 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
53222 wxWindow
*arg2
= (wxWindow
*) 0 ;
53224 int arg4
= (int) 0 ;
53233 PyObject
* obj0
= 0 ;
53234 PyObject
* obj1
= 0 ;
53235 PyObject
* obj2
= 0 ;
53236 PyObject
* obj3
= 0 ;
53237 char * kwnames
[] = {
53238 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
53241 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
53242 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
53243 if (!SWIG_IsOK(res1
)) {
53244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_SameAs" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
53246 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
53247 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
53248 if (!SWIG_IsOK(res2
)) {
53249 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IndividualLayoutConstraint_SameAs" "', expected argument " "2"" of type '" "wxWindow *""'");
53251 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
53252 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
53253 if (!SWIG_IsOK(ecode3
)) {
53254 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IndividualLayoutConstraint_SameAs" "', expected argument " "3"" of type '" "wxEdge""'");
53256 arg3
= static_cast< wxEdge
>(val3
);
53258 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
53259 if (!SWIG_IsOK(ecode4
)) {
53260 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "IndividualLayoutConstraint_SameAs" "', expected argument " "4"" of type '" "int""'");
53262 arg4
= static_cast< int >(val4
);
53265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53266 (arg1
)->SameAs(arg2
,arg3
,arg4
);
53267 wxPyEndAllowThreads(__tstate
);
53268 if (PyErr_Occurred()) SWIG_fail
;
53270 resultobj
= SWIG_Py_Void();
53277 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
53278 PyObject
*resultobj
= 0;
53279 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
53280 wxWindow
*arg2
= (wxWindow
*) 0 ;
53291 PyObject
* obj0
= 0 ;
53292 PyObject
* obj1
= 0 ;
53293 PyObject
* obj2
= 0 ;
53294 PyObject
* obj3
= 0 ;
53295 char * kwnames
[] = {
53296 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
53299 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
53300 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
53301 if (!SWIG_IsOK(res1
)) {
53302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_PercentOf" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
53304 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
53305 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
53306 if (!SWIG_IsOK(res2
)) {
53307 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IndividualLayoutConstraint_PercentOf" "', expected argument " "2"" of type '" "wxWindow *""'");
53309 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
53310 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
53311 if (!SWIG_IsOK(ecode3
)) {
53312 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IndividualLayoutConstraint_PercentOf" "', expected argument " "3"" of type '" "wxEdge""'");
53314 arg3
= static_cast< wxEdge
>(val3
);
53315 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
53316 if (!SWIG_IsOK(ecode4
)) {
53317 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "IndividualLayoutConstraint_PercentOf" "', expected argument " "4"" of type '" "int""'");
53319 arg4
= static_cast< int >(val4
);
53321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53322 (arg1
)->PercentOf(arg2
,arg3
,arg4
);
53323 wxPyEndAllowThreads(__tstate
);
53324 if (PyErr_Occurred()) SWIG_fail
;
53326 resultobj
= SWIG_Py_Void();
53333 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_Absolute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
53334 PyObject
*resultobj
= 0;
53335 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
53341 PyObject
* obj0
= 0 ;
53342 PyObject
* obj1
= 0 ;
53343 char * kwnames
[] = {
53344 (char *) "self",(char *) "val", NULL
53347 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
53348 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
53349 if (!SWIG_IsOK(res1
)) {
53350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_Absolute" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
53352 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
53353 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
53354 if (!SWIG_IsOK(ecode2
)) {
53355 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IndividualLayoutConstraint_Absolute" "', expected argument " "2"" of type '" "int""'");
53357 arg2
= static_cast< int >(val2
);
53359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53360 (arg1
)->Absolute(arg2
);
53361 wxPyEndAllowThreads(__tstate
);
53362 if (PyErr_Occurred()) SWIG_fail
;
53364 resultobj
= SWIG_Py_Void();
53371 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
53372 PyObject
*resultobj
= 0;
53373 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
53376 PyObject
*swig_obj
[1] ;
53378 if (!args
) SWIG_fail
;
53379 swig_obj
[0] = args
;
53380 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
53381 if (!SWIG_IsOK(res1
)) {
53382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_Unconstrained" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
53384 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
53386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53387 (arg1
)->Unconstrained();
53388 wxPyEndAllowThreads(__tstate
);
53389 if (PyErr_Occurred()) SWIG_fail
;
53391 resultobj
= SWIG_Py_Void();
53398 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
53399 PyObject
*resultobj
= 0;
53400 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
53403 PyObject
*swig_obj
[1] ;
53405 if (!args
) SWIG_fail
;
53406 swig_obj
[0] = args
;
53407 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
53408 if (!SWIG_IsOK(res1
)) {
53409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_AsIs" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
53411 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
53413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53415 wxPyEndAllowThreads(__tstate
);
53416 if (PyErr_Occurred()) SWIG_fail
;
53418 resultobj
= SWIG_Py_Void();
53425 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
53426 PyObject
*resultobj
= 0;
53427 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
53428 wxWindow
*result
= 0 ;
53431 PyObject
*swig_obj
[1] ;
53433 if (!args
) SWIG_fail
;
53434 swig_obj
[0] = args
;
53435 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
53436 if (!SWIG_IsOK(res1
)) {
53437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_GetOtherWindow" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
53439 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
53441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53442 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
53443 wxPyEndAllowThreads(__tstate
);
53444 if (PyErr_Occurred()) SWIG_fail
;
53447 resultobj
= wxPyMake_wxObject(result
, 0);
53455 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
53456 PyObject
*resultobj
= 0;
53457 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
53461 PyObject
*swig_obj
[1] ;
53463 if (!args
) SWIG_fail
;
53464 swig_obj
[0] = args
;
53465 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
53466 if (!SWIG_IsOK(res1
)) {
53467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_GetMyEdge" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint const *""'");
53469 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
53471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53472 result
= (wxEdge
)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
53473 wxPyEndAllowThreads(__tstate
);
53474 if (PyErr_Occurred()) SWIG_fail
;
53476 resultobj
= SWIG_From_int(static_cast< int >(result
));
53483 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
53484 PyObject
*resultobj
= 0;
53485 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
53491 PyObject
* obj0
= 0 ;
53492 PyObject
* obj1
= 0 ;
53493 char * kwnames
[] = {
53494 (char *) "self",(char *) "which", NULL
53497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
53498 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
53499 if (!SWIG_IsOK(res1
)) {
53500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_SetEdge" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
53502 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
53503 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
53504 if (!SWIG_IsOK(ecode2
)) {
53505 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IndividualLayoutConstraint_SetEdge" "', expected argument " "2"" of type '" "wxEdge""'");
53507 arg2
= static_cast< wxEdge
>(val2
);
53509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53510 (arg1
)->SetEdge(arg2
);
53511 wxPyEndAllowThreads(__tstate
);
53512 if (PyErr_Occurred()) SWIG_fail
;
53514 resultobj
= SWIG_Py_Void();
53521 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
53522 PyObject
*resultobj
= 0;
53523 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
53529 PyObject
* obj0
= 0 ;
53530 PyObject
* obj1
= 0 ;
53531 char * kwnames
[] = {
53532 (char *) "self",(char *) "v", NULL
53535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
53536 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
53537 if (!SWIG_IsOK(res1
)) {
53538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_SetValue" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
53540 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
53541 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
53542 if (!SWIG_IsOK(ecode2
)) {
53543 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IndividualLayoutConstraint_SetValue" "', expected argument " "2"" of type '" "int""'");
53545 arg2
= static_cast< int >(val2
);
53547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53548 (arg1
)->SetValue(arg2
);
53549 wxPyEndAllowThreads(__tstate
);
53550 if (PyErr_Occurred()) SWIG_fail
;
53552 resultobj
= SWIG_Py_Void();
53559 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
53560 PyObject
*resultobj
= 0;
53561 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
53565 PyObject
*swig_obj
[1] ;
53567 if (!args
) SWIG_fail
;
53568 swig_obj
[0] = args
;
53569 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
53570 if (!SWIG_IsOK(res1
)) {
53571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_GetMargin" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
53573 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
53575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53576 result
= (int)(arg1
)->GetMargin();
53577 wxPyEndAllowThreads(__tstate
);
53578 if (PyErr_Occurred()) SWIG_fail
;
53580 resultobj
= SWIG_From_int(static_cast< int >(result
));
53587 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
53588 PyObject
*resultobj
= 0;
53589 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
53595 PyObject
* obj0
= 0 ;
53596 PyObject
* obj1
= 0 ;
53597 char * kwnames
[] = {
53598 (char *) "self",(char *) "m", NULL
53601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
53602 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
53603 if (!SWIG_IsOK(res1
)) {
53604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_SetMargin" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
53606 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
53607 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
53608 if (!SWIG_IsOK(ecode2
)) {
53609 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IndividualLayoutConstraint_SetMargin" "', expected argument " "2"" of type '" "int""'");
53611 arg2
= static_cast< int >(val2
);
53613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53614 (arg1
)->SetMargin(arg2
);
53615 wxPyEndAllowThreads(__tstate
);
53616 if (PyErr_Occurred()) SWIG_fail
;
53618 resultobj
= SWIG_Py_Void();
53625 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
53626 PyObject
*resultobj
= 0;
53627 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
53631 PyObject
*swig_obj
[1] ;
53633 if (!args
) SWIG_fail
;
53634 swig_obj
[0] = args
;
53635 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
53636 if (!SWIG_IsOK(res1
)) {
53637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_GetValue" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint const *""'");
53639 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
53641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53642 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
53643 wxPyEndAllowThreads(__tstate
);
53644 if (PyErr_Occurred()) SWIG_fail
;
53646 resultobj
= SWIG_From_int(static_cast< int >(result
));
53653 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
53654 PyObject
*resultobj
= 0;
53655 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
53659 PyObject
*swig_obj
[1] ;
53661 if (!args
) SWIG_fail
;
53662 swig_obj
[0] = args
;
53663 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
53664 if (!SWIG_IsOK(res1
)) {
53665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_GetPercent" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint const *""'");
53667 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
53669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53670 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
53671 wxPyEndAllowThreads(__tstate
);
53672 if (PyErr_Occurred()) SWIG_fail
;
53674 resultobj
= SWIG_From_int(static_cast< int >(result
));
53681 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
53682 PyObject
*resultobj
= 0;
53683 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
53687 PyObject
*swig_obj
[1] ;
53689 if (!args
) SWIG_fail
;
53690 swig_obj
[0] = args
;
53691 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
53692 if (!SWIG_IsOK(res1
)) {
53693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_GetOtherEdge" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint const *""'");
53695 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
53697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53698 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
53699 wxPyEndAllowThreads(__tstate
);
53700 if (PyErr_Occurred()) SWIG_fail
;
53702 resultobj
= SWIG_From_int(static_cast< int >(result
));
53709 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
53710 PyObject
*resultobj
= 0;
53711 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
53715 PyObject
*swig_obj
[1] ;
53717 if (!args
) SWIG_fail
;
53718 swig_obj
[0] = args
;
53719 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
53720 if (!SWIG_IsOK(res1
)) {
53721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_GetDone" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint const *""'");
53723 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
53725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53726 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
53727 wxPyEndAllowThreads(__tstate
);
53728 if (PyErr_Occurred()) SWIG_fail
;
53731 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
53739 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_SetDone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
53740 PyObject
*resultobj
= 0;
53741 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
53747 PyObject
* obj0
= 0 ;
53748 PyObject
* obj1
= 0 ;
53749 char * kwnames
[] = {
53750 (char *) "self",(char *) "d", NULL
53753 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
53754 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
53755 if (!SWIG_IsOK(res1
)) {
53756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_SetDone" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
53758 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
53759 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
53760 if (!SWIG_IsOK(ecode2
)) {
53761 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IndividualLayoutConstraint_SetDone" "', expected argument " "2"" of type '" "bool""'");
53763 arg2
= static_cast< bool >(val2
);
53765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53766 (arg1
)->SetDone(arg2
);
53767 wxPyEndAllowThreads(__tstate
);
53768 if (PyErr_Occurred()) SWIG_fail
;
53770 resultobj
= SWIG_Py_Void();
53777 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
53778 PyObject
*resultobj
= 0;
53779 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
53780 wxRelationship result
;
53783 PyObject
*swig_obj
[1] ;
53785 if (!args
) SWIG_fail
;
53786 swig_obj
[0] = args
;
53787 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
53788 if (!SWIG_IsOK(res1
)) {
53789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_GetRelationship" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
53791 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
53793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53794 result
= (wxRelationship
)(arg1
)->GetRelationship();
53795 wxPyEndAllowThreads(__tstate
);
53796 if (PyErr_Occurred()) SWIG_fail
;
53798 resultobj
= SWIG_From_int(static_cast< int >(result
));
53805 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
53806 PyObject
*resultobj
= 0;
53807 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
53808 wxRelationship arg2
;
53813 PyObject
* obj0
= 0 ;
53814 PyObject
* obj1
= 0 ;
53815 char * kwnames
[] = {
53816 (char *) "self",(char *) "r", NULL
53819 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
53820 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
53821 if (!SWIG_IsOK(res1
)) {
53822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_SetRelationship" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
53824 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
53825 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
53826 if (!SWIG_IsOK(ecode2
)) {
53827 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IndividualLayoutConstraint_SetRelationship" "', expected argument " "2"" of type '" "wxRelationship""'");
53829 arg2
= static_cast< wxRelationship
>(val2
);
53831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53832 (arg1
)->SetRelationship(arg2
);
53833 wxPyEndAllowThreads(__tstate
);
53834 if (PyErr_Occurred()) SWIG_fail
;
53836 resultobj
= SWIG_Py_Void();
53843 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
53844 PyObject
*resultobj
= 0;
53845 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
53846 wxWindow
*arg2
= (wxWindow
*) 0 ;
53852 PyObject
* obj0
= 0 ;
53853 PyObject
* obj1
= 0 ;
53854 char * kwnames
[] = {
53855 (char *) "self",(char *) "otherW", NULL
53858 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
53859 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
53860 if (!SWIG_IsOK(res1
)) {
53861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_ResetIfWin" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
53863 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
53864 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
53865 if (!SWIG_IsOK(res2
)) {
53866 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IndividualLayoutConstraint_ResetIfWin" "', expected argument " "2"" of type '" "wxWindow *""'");
53868 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
53870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53871 result
= (bool)(arg1
)->ResetIfWin(arg2
);
53872 wxPyEndAllowThreads(__tstate
);
53873 if (PyErr_Occurred()) SWIG_fail
;
53876 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
53884 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
53885 PyObject
*resultobj
= 0;
53886 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
53887 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
53888 wxWindow
*arg3
= (wxWindow
*) 0 ;
53896 PyObject
* obj0
= 0 ;
53897 PyObject
* obj1
= 0 ;
53898 PyObject
* obj2
= 0 ;
53899 char * kwnames
[] = {
53900 (char *) "self",(char *) "constraints",(char *) "win", NULL
53903 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
53904 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
53905 if (!SWIG_IsOK(res1
)) {
53906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_SatisfyConstraint" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
53908 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
53909 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
53910 if (!SWIG_IsOK(res2
)) {
53911 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IndividualLayoutConstraint_SatisfyConstraint" "', expected argument " "2"" of type '" "wxLayoutConstraints *""'");
53913 arg2
= reinterpret_cast< wxLayoutConstraints
* >(argp2
);
53914 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
53915 if (!SWIG_IsOK(res3
)) {
53916 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "IndividualLayoutConstraint_SatisfyConstraint" "', expected argument " "3"" of type '" "wxWindow *""'");
53918 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
53920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53921 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
53922 wxPyEndAllowThreads(__tstate
);
53923 if (PyErr_Occurred()) SWIG_fail
;
53926 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
53934 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
53935 PyObject
*resultobj
= 0;
53936 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
53938 wxWindow
*arg3
= (wxWindow
*) 0 ;
53939 wxWindow
*arg4
= (wxWindow
*) 0 ;
53949 PyObject
* obj0
= 0 ;
53950 PyObject
* obj1
= 0 ;
53951 PyObject
* obj2
= 0 ;
53952 PyObject
* obj3
= 0 ;
53953 char * kwnames
[] = {
53954 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
53957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
53958 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
53959 if (!SWIG_IsOK(res1
)) {
53960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_GetEdge" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint const *""'");
53962 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
53963 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
53964 if (!SWIG_IsOK(ecode2
)) {
53965 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IndividualLayoutConstraint_GetEdge" "', expected argument " "2"" of type '" "wxEdge""'");
53967 arg2
= static_cast< wxEdge
>(val2
);
53968 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
53969 if (!SWIG_IsOK(res3
)) {
53970 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "IndividualLayoutConstraint_GetEdge" "', expected argument " "3"" of type '" "wxWindow *""'");
53972 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
53973 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
53974 if (!SWIG_IsOK(res4
)) {
53975 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "IndividualLayoutConstraint_GetEdge" "', expected argument " "4"" of type '" "wxWindow *""'");
53977 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
53979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53980 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge(arg2
,arg3
,arg4
);
53981 wxPyEndAllowThreads(__tstate
);
53982 if (PyErr_Occurred()) SWIG_fail
;
53984 resultobj
= SWIG_From_int(static_cast< int >(result
));
53991 SWIGINTERN PyObject
*IndividualLayoutConstraint_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
53993 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
53994 SWIG_TypeNewClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_NewClientData(obj
));
53995 return SWIG_Py_Void();
53998 SWIGINTERN PyObject
*_wrap_LayoutConstraints_left_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
53999 PyObject
*resultobj
= 0;
54000 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
54001 wxIndividualLayoutConstraint
*result
= 0 ;
54004 PyObject
*swig_obj
[1] ;
54006 if (!args
) SWIG_fail
;
54007 swig_obj
[0] = args
;
54008 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
54009 if (!SWIG_IsOK(res1
)) {
54010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutConstraints_left_get" "', expected argument " "1"" of type '" "wxLayoutConstraints *""'");
54012 arg1
= reinterpret_cast< wxLayoutConstraints
* >(argp1
);
54013 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
54014 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
54021 SWIGINTERN PyObject
*_wrap_LayoutConstraints_top_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
54022 PyObject
*resultobj
= 0;
54023 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
54024 wxIndividualLayoutConstraint
*result
= 0 ;
54027 PyObject
*swig_obj
[1] ;
54029 if (!args
) SWIG_fail
;
54030 swig_obj
[0] = args
;
54031 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
54032 if (!SWIG_IsOK(res1
)) {
54033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutConstraints_top_get" "', expected argument " "1"" of type '" "wxLayoutConstraints *""'");
54035 arg1
= reinterpret_cast< wxLayoutConstraints
* >(argp1
);
54036 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
54037 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
54044 SWIGINTERN PyObject
*_wrap_LayoutConstraints_right_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
54045 PyObject
*resultobj
= 0;
54046 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
54047 wxIndividualLayoutConstraint
*result
= 0 ;
54050 PyObject
*swig_obj
[1] ;
54052 if (!args
) SWIG_fail
;
54053 swig_obj
[0] = args
;
54054 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
54055 if (!SWIG_IsOK(res1
)) {
54056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutConstraints_right_get" "', expected argument " "1"" of type '" "wxLayoutConstraints *""'");
54058 arg1
= reinterpret_cast< wxLayoutConstraints
* >(argp1
);
54059 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->right
);
54060 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
54067 SWIGINTERN PyObject
*_wrap_LayoutConstraints_bottom_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
54068 PyObject
*resultobj
= 0;
54069 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
54070 wxIndividualLayoutConstraint
*result
= 0 ;
54073 PyObject
*swig_obj
[1] ;
54075 if (!args
) SWIG_fail
;
54076 swig_obj
[0] = args
;
54077 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
54078 if (!SWIG_IsOK(res1
)) {
54079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutConstraints_bottom_get" "', expected argument " "1"" of type '" "wxLayoutConstraints *""'");
54081 arg1
= reinterpret_cast< wxLayoutConstraints
* >(argp1
);
54082 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->bottom
);
54083 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
54090 SWIGINTERN PyObject
*_wrap_LayoutConstraints_width_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
54091 PyObject
*resultobj
= 0;
54092 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
54093 wxIndividualLayoutConstraint
*result
= 0 ;
54096 PyObject
*swig_obj
[1] ;
54098 if (!args
) SWIG_fail
;
54099 swig_obj
[0] = args
;
54100 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
54101 if (!SWIG_IsOK(res1
)) {
54102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutConstraints_width_get" "', expected argument " "1"" of type '" "wxLayoutConstraints *""'");
54104 arg1
= reinterpret_cast< wxLayoutConstraints
* >(argp1
);
54105 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->width
);
54106 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
54113 SWIGINTERN PyObject
*_wrap_LayoutConstraints_height_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
54114 PyObject
*resultobj
= 0;
54115 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
54116 wxIndividualLayoutConstraint
*result
= 0 ;
54119 PyObject
*swig_obj
[1] ;
54121 if (!args
) SWIG_fail
;
54122 swig_obj
[0] = args
;
54123 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
54124 if (!SWIG_IsOK(res1
)) {
54125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutConstraints_height_get" "', expected argument " "1"" of type '" "wxLayoutConstraints *""'");
54127 arg1
= reinterpret_cast< wxLayoutConstraints
* >(argp1
);
54128 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->height
);
54129 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
54136 SWIGINTERN PyObject
*_wrap_LayoutConstraints_centreX_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
54137 PyObject
*resultobj
= 0;
54138 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
54139 wxIndividualLayoutConstraint
*result
= 0 ;
54142 PyObject
*swig_obj
[1] ;
54144 if (!args
) SWIG_fail
;
54145 swig_obj
[0] = args
;
54146 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
54147 if (!SWIG_IsOK(res1
)) {
54148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutConstraints_centreX_get" "', expected argument " "1"" of type '" "wxLayoutConstraints *""'");
54150 arg1
= reinterpret_cast< wxLayoutConstraints
* >(argp1
);
54151 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreX
);
54152 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
54159 SWIGINTERN PyObject
*_wrap_LayoutConstraints_centreY_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
54160 PyObject
*resultobj
= 0;
54161 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
54162 wxIndividualLayoutConstraint
*result
= 0 ;
54165 PyObject
*swig_obj
[1] ;
54167 if (!args
) SWIG_fail
;
54168 swig_obj
[0] = args
;
54169 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
54170 if (!SWIG_IsOK(res1
)) {
54171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutConstraints_centreY_get" "', expected argument " "1"" of type '" "wxLayoutConstraints *""'");
54173 arg1
= reinterpret_cast< wxLayoutConstraints
* >(argp1
);
54174 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreY
);
54175 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
54182 SWIGINTERN PyObject
*_wrap_new_LayoutConstraints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
54183 PyObject
*resultobj
= 0;
54184 wxLayoutConstraints
*result
= 0 ;
54186 if (!SWIG_Python_UnpackTuple(args
,"new_LayoutConstraints",0,0,0)) SWIG_fail
;
54188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
54189 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
54190 wxPyEndAllowThreads(__tstate
);
54191 if (PyErr_Occurred()) SWIG_fail
;
54193 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_NEW
| 0 );
54200 SWIGINTERN PyObject
*_wrap_delete_LayoutConstraints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
54201 PyObject
*resultobj
= 0;
54202 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
54205 PyObject
*swig_obj
[1] ;
54207 if (!args
) SWIG_fail
;
54208 swig_obj
[0] = args
;
54209 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_DISOWN
| 0 );
54210 if (!SWIG_IsOK(res1
)) {
54211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_LayoutConstraints" "', expected argument " "1"" of type '" "wxLayoutConstraints *""'");
54213 arg1
= reinterpret_cast< wxLayoutConstraints
* >(argp1
);
54215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
54218 wxPyEndAllowThreads(__tstate
);
54219 if (PyErr_Occurred()) SWIG_fail
;
54221 resultobj
= SWIG_Py_Void();
54228 SWIGINTERN PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
54229 PyObject
*resultobj
= 0;
54230 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
54231 wxWindow
*arg2
= (wxWindow
*) 0 ;
54232 int *arg3
= (int *) 0 ;
54239 int res3
= SWIG_TMPOBJ
;
54240 PyObject
* obj0
= 0 ;
54241 PyObject
* obj1
= 0 ;
54242 char * kwnames
[] = {
54243 (char *) "self",(char *) "win", NULL
54247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
54248 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
54249 if (!SWIG_IsOK(res1
)) {
54250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutConstraints_SatisfyConstraints" "', expected argument " "1"" of type '" "wxLayoutConstraints *""'");
54252 arg1
= reinterpret_cast< wxLayoutConstraints
* >(argp1
);
54253 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
54254 if (!SWIG_IsOK(res2
)) {
54255 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutConstraints_SatisfyConstraints" "', expected argument " "2"" of type '" "wxWindow *""'");
54257 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
54259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
54260 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
54261 wxPyEndAllowThreads(__tstate
);
54262 if (PyErr_Occurred()) SWIG_fail
;
54265 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
54267 if (SWIG_IsTmpObj(res3
)) {
54268 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
54270 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
54271 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
54279 SWIGINTERN PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
54280 PyObject
*resultobj
= 0;
54281 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
54285 PyObject
*swig_obj
[1] ;
54287 if (!args
) SWIG_fail
;
54288 swig_obj
[0] = args
;
54289 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
54290 if (!SWIG_IsOK(res1
)) {
54291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutConstraints_AreSatisfied" "', expected argument " "1"" of type '" "wxLayoutConstraints const *""'");
54293 arg1
= reinterpret_cast< wxLayoutConstraints
* >(argp1
);
54295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
54296 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
54297 wxPyEndAllowThreads(__tstate
);
54298 if (PyErr_Occurred()) SWIG_fail
;
54301 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
54309 SWIGINTERN PyObject
*LayoutConstraints_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
54311 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
54312 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutConstraints
, SWIG_NewClientData(obj
));
54313 return SWIG_Py_Void();
54316 SWIGINTERN PyObject
*LayoutConstraints_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
54317 return SWIG_Python_InitShadowInstance(args
);
54320 static PyMethodDef SwigMethods
[] = {
54321 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
, NULL
},
54322 { (char *)"Object_GetClassName", (PyCFunction
)_wrap_Object_GetClassName
, METH_O
, NULL
},
54323 { (char *)"Object_Destroy", (PyCFunction
)_wrap_Object_Destroy
, METH_O
, NULL
},
54324 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
, NULL
},
54325 { (char *)"Size_width_set", _wrap_Size_width_set
, METH_VARARGS
, NULL
},
54326 { (char *)"Size_width_get", (PyCFunction
)_wrap_Size_width_get
, METH_O
, NULL
},
54327 { (char *)"Size_height_set", _wrap_Size_height_set
, METH_VARARGS
, NULL
},
54328 { (char *)"Size_height_get", (PyCFunction
)_wrap_Size_height_get
, METH_O
, NULL
},
54329 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54330 { (char *)"delete_Size", (PyCFunction
)_wrap_delete_Size
, METH_O
, NULL
},
54331 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54332 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54333 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54334 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54335 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54336 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54337 { (char *)"Size_IncBy", (PyCFunction
) _wrap_Size_IncBy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54338 { (char *)"Size_DecBy", (PyCFunction
) _wrap_Size_DecBy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54339 { (char *)"Size_Scale", (PyCFunction
) _wrap_Size_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54340 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54341 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54342 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54343 { (char *)"Size_GetWidth", (PyCFunction
)_wrap_Size_GetWidth
, METH_O
, NULL
},
54344 { (char *)"Size_GetHeight", (PyCFunction
)_wrap_Size_GetHeight
, METH_O
, NULL
},
54345 { (char *)"Size_IsFullySpecified", (PyCFunction
)_wrap_Size_IsFullySpecified
, METH_O
, NULL
},
54346 { (char *)"Size_SetDefaults", (PyCFunction
) _wrap_Size_SetDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54347 { (char *)"Size_Get", (PyCFunction
)_wrap_Size_Get
, METH_O
, NULL
},
54348 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
, NULL
},
54349 { (char *)"Size_swiginit", Size_swiginit
, METH_VARARGS
, NULL
},
54350 { (char *)"RealPoint_x_set", _wrap_RealPoint_x_set
, METH_VARARGS
, NULL
},
54351 { (char *)"RealPoint_x_get", (PyCFunction
)_wrap_RealPoint_x_get
, METH_O
, NULL
},
54352 { (char *)"RealPoint_y_set", _wrap_RealPoint_y_set
, METH_VARARGS
, NULL
},
54353 { (char *)"RealPoint_y_get", (PyCFunction
)_wrap_RealPoint_y_get
, METH_O
, NULL
},
54354 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54355 { (char *)"delete_RealPoint", (PyCFunction
)_wrap_delete_RealPoint
, METH_O
, NULL
},
54356 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54357 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54358 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54359 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54360 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54361 { (char *)"RealPoint_Get", (PyCFunction
)_wrap_RealPoint_Get
, METH_O
, NULL
},
54362 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
, NULL
},
54363 { (char *)"RealPoint_swiginit", RealPoint_swiginit
, METH_VARARGS
, NULL
},
54364 { (char *)"Point_x_set", _wrap_Point_x_set
, METH_VARARGS
, NULL
},
54365 { (char *)"Point_x_get", (PyCFunction
)_wrap_Point_x_get
, METH_O
, NULL
},
54366 { (char *)"Point_y_set", _wrap_Point_y_set
, METH_VARARGS
, NULL
},
54367 { (char *)"Point_y_get", (PyCFunction
)_wrap_Point_y_get
, METH_O
, NULL
},
54368 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54369 { (char *)"delete_Point", (PyCFunction
)_wrap_delete_Point
, METH_O
, NULL
},
54370 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54371 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54372 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54373 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54374 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54375 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54376 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54377 { (char *)"Point_Get", (PyCFunction
)_wrap_Point_Get
, METH_O
, NULL
},
54378 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
, NULL
},
54379 { (char *)"Point_swiginit", Point_swiginit
, METH_VARARGS
, NULL
},
54380 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54381 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54382 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54383 { (char *)"new_RectS", (PyCFunction
) _wrap_new_RectS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54384 { (char *)"delete_Rect", (PyCFunction
)_wrap_delete_Rect
, METH_O
, NULL
},
54385 { (char *)"Rect_GetX", (PyCFunction
)_wrap_Rect_GetX
, METH_O
, NULL
},
54386 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54387 { (char *)"Rect_GetY", (PyCFunction
)_wrap_Rect_GetY
, METH_O
, NULL
},
54388 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54389 { (char *)"Rect_GetWidth", (PyCFunction
)_wrap_Rect_GetWidth
, METH_O
, NULL
},
54390 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54391 { (char *)"Rect_GetHeight", (PyCFunction
)_wrap_Rect_GetHeight
, METH_O
, NULL
},
54392 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54393 { (char *)"Rect_GetPosition", (PyCFunction
)_wrap_Rect_GetPosition
, METH_O
, NULL
},
54394 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54395 { (char *)"Rect_GetSize", (PyCFunction
)_wrap_Rect_GetSize
, METH_O
, NULL
},
54396 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54397 { (char *)"Rect_IsEmpty", (PyCFunction
)_wrap_Rect_IsEmpty
, METH_O
, NULL
},
54398 { (char *)"Rect_GetTopLeft", (PyCFunction
)_wrap_Rect_GetTopLeft
, METH_O
, NULL
},
54399 { (char *)"Rect_SetTopLeft", (PyCFunction
) _wrap_Rect_SetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54400 { (char *)"Rect_GetBottomRight", (PyCFunction
)_wrap_Rect_GetBottomRight
, METH_O
, NULL
},
54401 { (char *)"Rect_SetBottomRight", (PyCFunction
) _wrap_Rect_SetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54402 { (char *)"Rect_GetTopRight", (PyCFunction
)_wrap_Rect_GetTopRight
, METH_O
, NULL
},
54403 { (char *)"Rect_SetTopRight", (PyCFunction
) _wrap_Rect_SetTopRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54404 { (char *)"Rect_GetBottomLeft", (PyCFunction
)_wrap_Rect_GetBottomLeft
, METH_O
, NULL
},
54405 { (char *)"Rect_SetBottomLeft", (PyCFunction
) _wrap_Rect_SetBottomLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54406 { (char *)"Rect_GetLeft", (PyCFunction
)_wrap_Rect_GetLeft
, METH_O
, NULL
},
54407 { (char *)"Rect_GetTop", (PyCFunction
)_wrap_Rect_GetTop
, METH_O
, NULL
},
54408 { (char *)"Rect_GetBottom", (PyCFunction
)_wrap_Rect_GetBottom
, METH_O
, NULL
},
54409 { (char *)"Rect_GetRight", (PyCFunction
)_wrap_Rect_GetRight
, METH_O
, NULL
},
54410 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54411 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54412 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54413 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54414 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54415 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54416 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54417 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54418 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54419 { (char *)"Rect_Union", (PyCFunction
) _wrap_Rect_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54420 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54421 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54422 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54423 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54424 { (char *)"Rect_ContainsXY", (PyCFunction
) _wrap_Rect_ContainsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54425 { (char *)"Rect_Contains", (PyCFunction
) _wrap_Rect_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54426 { (char *)"Rect_ContainsRect", (PyCFunction
) _wrap_Rect_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54427 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54428 { (char *)"Rect_CenterIn", (PyCFunction
) _wrap_Rect_CenterIn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54429 { (char *)"Rect_x_set", _wrap_Rect_x_set
, METH_VARARGS
, NULL
},
54430 { (char *)"Rect_x_get", (PyCFunction
)_wrap_Rect_x_get
, METH_O
, NULL
},
54431 { (char *)"Rect_y_set", _wrap_Rect_y_set
, METH_VARARGS
, NULL
},
54432 { (char *)"Rect_y_get", (PyCFunction
)_wrap_Rect_y_get
, METH_O
, NULL
},
54433 { (char *)"Rect_width_set", _wrap_Rect_width_set
, METH_VARARGS
, NULL
},
54434 { (char *)"Rect_width_get", (PyCFunction
)_wrap_Rect_width_get
, METH_O
, NULL
},
54435 { (char *)"Rect_height_set", _wrap_Rect_height_set
, METH_VARARGS
, NULL
},
54436 { (char *)"Rect_height_get", (PyCFunction
)_wrap_Rect_height_get
, METH_O
, NULL
},
54437 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54438 { (char *)"Rect_Get", (PyCFunction
)_wrap_Rect_Get
, METH_O
, NULL
},
54439 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
, NULL
},
54440 { (char *)"Rect_swiginit", Rect_swiginit
, METH_VARARGS
, NULL
},
54441 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54442 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54443 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54444 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54445 { (char *)"delete_Point2D", (PyCFunction
)_wrap_delete_Point2D
, METH_O
, NULL
},
54446 { (char *)"Point2D_GetFloor", (PyCFunction
)_wrap_Point2D_GetFloor
, METH_O
, NULL
},
54447 { (char *)"Point2D_GetRounded", (PyCFunction
)_wrap_Point2D_GetRounded
, METH_O
, NULL
},
54448 { (char *)"Point2D_GetVectorLength", (PyCFunction
)_wrap_Point2D_GetVectorLength
, METH_O
, NULL
},
54449 { (char *)"Point2D_GetVectorAngle", (PyCFunction
)_wrap_Point2D_GetVectorAngle
, METH_O
, NULL
},
54450 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54451 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54452 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54453 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54454 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54455 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54456 { (char *)"Point2D___neg__", (PyCFunction
)_wrap_Point2D___neg__
, METH_O
, NULL
},
54457 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54458 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54459 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54460 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54461 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54462 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54463 { (char *)"Point2D_x_set", _wrap_Point2D_x_set
, METH_VARARGS
, NULL
},
54464 { (char *)"Point2D_x_get", (PyCFunction
)_wrap_Point2D_x_get
, METH_O
, NULL
},
54465 { (char *)"Point2D_y_set", _wrap_Point2D_y_set
, METH_VARARGS
, NULL
},
54466 { (char *)"Point2D_y_get", (PyCFunction
)_wrap_Point2D_y_get
, METH_O
, NULL
},
54467 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54468 { (char *)"Point2D_Get", (PyCFunction
)_wrap_Point2D_Get
, METH_O
, NULL
},
54469 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
, NULL
},
54470 { (char *)"Point2D_swiginit", Point2D_swiginit
, METH_VARARGS
, NULL
},
54471 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54472 { (char *)"delete_InputStream", (PyCFunction
)_wrap_delete_InputStream
, METH_O
, NULL
},
54473 { (char *)"InputStream_close", (PyCFunction
)_wrap_InputStream_close
, METH_O
, NULL
},
54474 { (char *)"InputStream_flush", (PyCFunction
)_wrap_InputStream_flush
, METH_O
, NULL
},
54475 { (char *)"InputStream_eof", (PyCFunction
)_wrap_InputStream_eof
, METH_O
, NULL
},
54476 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54477 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54478 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54479 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54480 { (char *)"InputStream_tell", (PyCFunction
)_wrap_InputStream_tell
, METH_O
, NULL
},
54481 { (char *)"InputStream_Peek", (PyCFunction
)_wrap_InputStream_Peek
, METH_O
, NULL
},
54482 { (char *)"InputStream_GetC", (PyCFunction
)_wrap_InputStream_GetC
, METH_O
, NULL
},
54483 { (char *)"InputStream_LastRead", (PyCFunction
)_wrap_InputStream_LastRead
, METH_O
, NULL
},
54484 { (char *)"InputStream_CanRead", (PyCFunction
)_wrap_InputStream_CanRead
, METH_O
, NULL
},
54485 { (char *)"InputStream_Eof", (PyCFunction
)_wrap_InputStream_Eof
, METH_O
, NULL
},
54486 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54487 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54488 { (char *)"InputStream_TellI", (PyCFunction
)_wrap_InputStream_TellI
, METH_O
, NULL
},
54489 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
, NULL
},
54490 { (char *)"InputStream_swiginit", InputStream_swiginit
, METH_VARARGS
, NULL
},
54491 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54492 { (char *)"OutputStream_LastWrite", (PyCFunction
)_wrap_OutputStream_LastWrite
, METH_O
, NULL
},
54493 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
, NULL
},
54494 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54495 { (char *)"delete_FSFile", (PyCFunction
)_wrap_delete_FSFile
, METH_O
, NULL
},
54496 { (char *)"FSFile_GetStream", (PyCFunction
)_wrap_FSFile_GetStream
, METH_O
, NULL
},
54497 { (char *)"FSFile_DetachStream", (PyCFunction
)_wrap_FSFile_DetachStream
, METH_O
, NULL
},
54498 { (char *)"FSFile_GetMimeType", (PyCFunction
)_wrap_FSFile_GetMimeType
, METH_O
, NULL
},
54499 { (char *)"FSFile_GetLocation", (PyCFunction
)_wrap_FSFile_GetLocation
, METH_O
, NULL
},
54500 { (char *)"FSFile_GetAnchor", (PyCFunction
)_wrap_FSFile_GetAnchor
, METH_O
, NULL
},
54501 { (char *)"FSFile_GetModificationTime", (PyCFunction
)_wrap_FSFile_GetModificationTime
, METH_O
, NULL
},
54502 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
, NULL
},
54503 { (char *)"FSFile_swiginit", FSFile_swiginit
, METH_VARARGS
, NULL
},
54504 { (char *)"delete_CPPFileSystemHandler", (PyCFunction
)_wrap_delete_CPPFileSystemHandler
, METH_O
, NULL
},
54505 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
54506 { (char *)"new_FileSystemHandler", (PyCFunction
)_wrap_new_FileSystemHandler
, METH_NOARGS
, NULL
},
54507 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54508 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54509 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54510 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54511 { (char *)"FileSystemHandler_FindNext", (PyCFunction
)_wrap_FileSystemHandler_FindNext
, METH_O
, NULL
},
54512 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54513 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54514 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54515 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54516 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54517 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
54518 { (char *)"FileSystemHandler_swiginit", FileSystemHandler_swiginit
, METH_VARARGS
, NULL
},
54519 { (char *)"new_FileSystem", (PyCFunction
)_wrap_new_FileSystem
, METH_NOARGS
, NULL
},
54520 { (char *)"delete_FileSystem", (PyCFunction
)_wrap_delete_FileSystem
, METH_O
, NULL
},
54521 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54522 { (char *)"FileSystem_GetPath", (PyCFunction
)_wrap_FileSystem_GetPath
, METH_O
, NULL
},
54523 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54524 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54525 { (char *)"FileSystem_FindNext", (PyCFunction
)_wrap_FileSystem_FindNext
, METH_O
, NULL
},
54526 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54527 { (char *)"FileSystem_RemoveHandler", (PyCFunction
) _wrap_FileSystem_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54528 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
)_wrap_FileSystem_CleanUpHandlers
, METH_NOARGS
, NULL
},
54529 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54530 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54531 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
, NULL
},
54532 { (char *)"FileSystem_swiginit", FileSystem_swiginit
, METH_VARARGS
, NULL
},
54533 { (char *)"new_InternetFSHandler", (PyCFunction
)_wrap_new_InternetFSHandler
, METH_NOARGS
, NULL
},
54534 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54535 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54536 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
, NULL
},
54537 { (char *)"InternetFSHandler_swiginit", InternetFSHandler_swiginit
, METH_VARARGS
, NULL
},
54538 { (char *)"new_ZipFSHandler", (PyCFunction
)_wrap_new_ZipFSHandler
, METH_NOARGS
, NULL
},
54539 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54540 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54541 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54542 { (char *)"ZipFSHandler_FindNext", (PyCFunction
)_wrap_ZipFSHandler_FindNext
, METH_O
, NULL
},
54543 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
, NULL
},
54544 { (char *)"ZipFSHandler_swiginit", ZipFSHandler_swiginit
, METH_VARARGS
, NULL
},
54545 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54546 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54547 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54548 { (char *)"new_MemoryFSHandler", (PyCFunction
)_wrap_new_MemoryFSHandler
, METH_NOARGS
, NULL
},
54549 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54550 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54551 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54552 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54553 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
)_wrap_MemoryFSHandler_FindNext
, METH_O
, NULL
},
54554 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
, NULL
},
54555 { (char *)"MemoryFSHandler_swiginit", MemoryFSHandler_swiginit
, METH_VARARGS
, NULL
},
54556 { (char *)"ImageHandler_GetName", (PyCFunction
)_wrap_ImageHandler_GetName
, METH_O
, NULL
},
54557 { (char *)"ImageHandler_GetExtension", (PyCFunction
)_wrap_ImageHandler_GetExtension
, METH_O
, NULL
},
54558 { (char *)"ImageHandler_GetType", (PyCFunction
)_wrap_ImageHandler_GetType
, METH_O
, NULL
},
54559 { (char *)"ImageHandler_GetMimeType", (PyCFunction
)_wrap_ImageHandler_GetMimeType
, METH_O
, NULL
},
54560 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54561 { (char *)"ImageHandler_CanReadStream", (PyCFunction
) _wrap_ImageHandler_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54562 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54563 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54564 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54565 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54566 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
, NULL
},
54567 { (char *)"new_PyImageHandler", (PyCFunction
)_wrap_new_PyImageHandler
, METH_NOARGS
, NULL
},
54568 { (char *)"PyImageHandler__SetSelf", (PyCFunction
) _wrap_PyImageHandler__SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54569 { (char *)"PyImageHandler_swigregister", PyImageHandler_swigregister
, METH_VARARGS
, NULL
},
54570 { (char *)"PyImageHandler_swiginit", PyImageHandler_swiginit
, METH_VARARGS
, NULL
},
54571 { (char *)"new_ImageHistogram", (PyCFunction
)_wrap_new_ImageHistogram
, METH_NOARGS
, NULL
},
54572 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54573 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54574 { (char *)"ImageHistogram_GetCount", (PyCFunction
) _wrap_ImageHistogram_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54575 { (char *)"ImageHistogram_GetCountRGB", (PyCFunction
) _wrap_ImageHistogram_GetCountRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54576 { (char *)"ImageHistogram_GetCountColour", (PyCFunction
) _wrap_ImageHistogram_GetCountColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54577 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
, NULL
},
54578 { (char *)"ImageHistogram_swiginit", ImageHistogram_swiginit
, METH_VARARGS
, NULL
},
54579 { (char *)"new_Image_RGBValue", (PyCFunction
) _wrap_new_Image_RGBValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54580 { (char *)"Image_RGBValue_red_set", _wrap_Image_RGBValue_red_set
, METH_VARARGS
, NULL
},
54581 { (char *)"Image_RGBValue_red_get", (PyCFunction
)_wrap_Image_RGBValue_red_get
, METH_O
, NULL
},
54582 { (char *)"Image_RGBValue_green_set", _wrap_Image_RGBValue_green_set
, METH_VARARGS
, NULL
},
54583 { (char *)"Image_RGBValue_green_get", (PyCFunction
)_wrap_Image_RGBValue_green_get
, METH_O
, NULL
},
54584 { (char *)"Image_RGBValue_blue_set", _wrap_Image_RGBValue_blue_set
, METH_VARARGS
, NULL
},
54585 { (char *)"Image_RGBValue_blue_get", (PyCFunction
)_wrap_Image_RGBValue_blue_get
, METH_O
, NULL
},
54586 { (char *)"Image_RGBValue_swigregister", Image_RGBValue_swigregister
, METH_VARARGS
, NULL
},
54587 { (char *)"Image_RGBValue_swiginit", Image_RGBValue_swiginit
, METH_VARARGS
, NULL
},
54588 { (char *)"new_Image_HSVValue", (PyCFunction
) _wrap_new_Image_HSVValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54589 { (char *)"Image_HSVValue_hue_set", _wrap_Image_HSVValue_hue_set
, METH_VARARGS
, NULL
},
54590 { (char *)"Image_HSVValue_hue_get", (PyCFunction
)_wrap_Image_HSVValue_hue_get
, METH_O
, NULL
},
54591 { (char *)"Image_HSVValue_saturation_set", _wrap_Image_HSVValue_saturation_set
, METH_VARARGS
, NULL
},
54592 { (char *)"Image_HSVValue_saturation_get", (PyCFunction
)_wrap_Image_HSVValue_saturation_get
, METH_O
, NULL
},
54593 { (char *)"Image_HSVValue_value_set", _wrap_Image_HSVValue_value_set
, METH_VARARGS
, NULL
},
54594 { (char *)"Image_HSVValue_value_get", (PyCFunction
)_wrap_Image_HSVValue_value_get
, METH_O
, NULL
},
54595 { (char *)"Image_HSVValue_swigregister", Image_HSVValue_swigregister
, METH_VARARGS
, NULL
},
54596 { (char *)"Image_HSVValue_swiginit", Image_HSVValue_swiginit
, METH_VARARGS
, NULL
},
54597 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54598 { (char *)"delete_Image", (PyCFunction
)_wrap_delete_Image
, METH_O
, NULL
},
54599 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54600 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54601 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54602 { (char *)"new_EmptyImage", (PyCFunction
) _wrap_new_EmptyImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54603 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54604 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54605 { (char *)"new_ImageFromDataWithAlpha", (PyCFunction
) _wrap_new_ImageFromDataWithAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54606 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54607 { (char *)"Image_Destroy", (PyCFunction
)_wrap_Image_Destroy
, METH_O
, NULL
},
54608 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54609 { (char *)"Image_ResampleBox", (PyCFunction
) _wrap_Image_ResampleBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54610 { (char *)"Image_ResampleBicubic", (PyCFunction
) _wrap_Image_ResampleBicubic
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54611 { (char *)"Image_Blur", (PyCFunction
) _wrap_Image_Blur
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54612 { (char *)"Image_BlurHorizontal", (PyCFunction
) _wrap_Image_BlurHorizontal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54613 { (char *)"Image_BlurVertical", (PyCFunction
) _wrap_Image_BlurVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54614 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54615 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54616 { (char *)"Image_Resize", (PyCFunction
) _wrap_Image_Resize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54617 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54618 { (char *)"Image_SetRGBRect", (PyCFunction
) _wrap_Image_SetRGBRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54619 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54620 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54621 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54622 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54623 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54624 { (char *)"Image_HasAlpha", (PyCFunction
)_wrap_Image_HasAlpha
, METH_O
, NULL
},
54625 { (char *)"Image_InitAlpha", (PyCFunction
)_wrap_Image_InitAlpha
, METH_O
, NULL
},
54626 { (char *)"Image_IsTransparent", (PyCFunction
) _wrap_Image_IsTransparent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54627 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54628 { (char *)"Image_ConvertAlphaToMask", (PyCFunction
) _wrap_Image_ConvertAlphaToMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54629 { (char *)"Image_ConvertColourToAlpha", (PyCFunction
) _wrap_Image_ConvertColourToAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54630 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54631 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54632 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54633 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54634 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54635 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54636 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54637 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54638 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54639 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54640 { (char *)"Image_IsOk", (PyCFunction
)_wrap_Image_IsOk
, METH_O
, NULL
},
54641 { (char *)"Image_GetWidth", (PyCFunction
)_wrap_Image_GetWidth
, METH_O
, NULL
},
54642 { (char *)"Image_GetHeight", (PyCFunction
)_wrap_Image_GetHeight
, METH_O
, NULL
},
54643 { (char *)"Image_GetSize", (PyCFunction
)_wrap_Image_GetSize
, METH_O
, NULL
},
54644 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54645 { (char *)"Image_Size", (PyCFunction
) _wrap_Image_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54646 { (char *)"Image_Copy", (PyCFunction
)_wrap_Image_Copy
, METH_O
, NULL
},
54647 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54648 { (char *)"Image_GetData", (PyCFunction
)_wrap_Image_GetData
, METH_O
, NULL
},
54649 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54650 { (char *)"Image_GetDataBuffer", (PyCFunction
)_wrap_Image_GetDataBuffer
, METH_O
, NULL
},
54651 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54652 { (char *)"Image_GetAlphaData", (PyCFunction
)_wrap_Image_GetAlphaData
, METH_O
, NULL
},
54653 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54654 { (char *)"Image_GetAlphaBuffer", (PyCFunction
)_wrap_Image_GetAlphaBuffer
, METH_O
, NULL
},
54655 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54656 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54657 { (char *)"Image_GetOrFindMaskColour", (PyCFunction
)_wrap_Image_GetOrFindMaskColour
, METH_O
, NULL
},
54658 { (char *)"Image_GetMaskRed", (PyCFunction
)_wrap_Image_GetMaskRed
, METH_O
, NULL
},
54659 { (char *)"Image_GetMaskGreen", (PyCFunction
)_wrap_Image_GetMaskGreen
, METH_O
, NULL
},
54660 { (char *)"Image_GetMaskBlue", (PyCFunction
)_wrap_Image_GetMaskBlue
, METH_O
, NULL
},
54661 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54662 { (char *)"Image_HasMask", (PyCFunction
)_wrap_Image_HasMask
, METH_O
, NULL
},
54663 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54664 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54665 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54666 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54667 { (char *)"Image_ConvertToGreyscale", (PyCFunction
) _wrap_Image_ConvertToGreyscale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54668 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54669 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54670 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54671 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54672 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54673 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54674 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54675 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54676 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54677 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54678 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54679 { (char *)"Image_GetHandlers", (PyCFunction
)_wrap_Image_GetHandlers
, METH_NOARGS
, NULL
},
54680 { (char *)"Image_GetImageExtWildcard", (PyCFunction
)_wrap_Image_GetImageExtWildcard
, METH_NOARGS
, NULL
},
54681 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54682 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54683 { (char *)"Image_RotateHue", (PyCFunction
) _wrap_Image_RotateHue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54684 { (char *)"Image_RGBtoHSV", (PyCFunction
) _wrap_Image_RGBtoHSV
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54685 { (char *)"Image_HSVtoRGB", (PyCFunction
) _wrap_Image_HSVtoRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54686 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
, NULL
},
54687 { (char *)"Image_swiginit", Image_swiginit
, METH_VARARGS
, NULL
},
54688 { (char *)"_ImageFromBuffer", (PyCFunction
) _wrap__ImageFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54689 { (char *)"new_BMPHandler", (PyCFunction
)_wrap_new_BMPHandler
, METH_NOARGS
, NULL
},
54690 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
, NULL
},
54691 { (char *)"BMPHandler_swiginit", BMPHandler_swiginit
, METH_VARARGS
, NULL
},
54692 { (char *)"new_ICOHandler", (PyCFunction
)_wrap_new_ICOHandler
, METH_NOARGS
, NULL
},
54693 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
, NULL
},
54694 { (char *)"ICOHandler_swiginit", ICOHandler_swiginit
, METH_VARARGS
, NULL
},
54695 { (char *)"new_CURHandler", (PyCFunction
)_wrap_new_CURHandler
, METH_NOARGS
, NULL
},
54696 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
, NULL
},
54697 { (char *)"CURHandler_swiginit", CURHandler_swiginit
, METH_VARARGS
, NULL
},
54698 { (char *)"new_ANIHandler", (PyCFunction
)_wrap_new_ANIHandler
, METH_NOARGS
, NULL
},
54699 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
, NULL
},
54700 { (char *)"ANIHandler_swiginit", ANIHandler_swiginit
, METH_VARARGS
, NULL
},
54701 { (char *)"new_PNGHandler", (PyCFunction
)_wrap_new_PNGHandler
, METH_NOARGS
, NULL
},
54702 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
, NULL
},
54703 { (char *)"PNGHandler_swiginit", PNGHandler_swiginit
, METH_VARARGS
, NULL
},
54704 { (char *)"new_GIFHandler", (PyCFunction
)_wrap_new_GIFHandler
, METH_NOARGS
, NULL
},
54705 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
, NULL
},
54706 { (char *)"GIFHandler_swiginit", GIFHandler_swiginit
, METH_VARARGS
, NULL
},
54707 { (char *)"new_PCXHandler", (PyCFunction
)_wrap_new_PCXHandler
, METH_NOARGS
, NULL
},
54708 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
, NULL
},
54709 { (char *)"PCXHandler_swiginit", PCXHandler_swiginit
, METH_VARARGS
, NULL
},
54710 { (char *)"new_JPEGHandler", (PyCFunction
)_wrap_new_JPEGHandler
, METH_NOARGS
, NULL
},
54711 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
, NULL
},
54712 { (char *)"JPEGHandler_swiginit", JPEGHandler_swiginit
, METH_VARARGS
, NULL
},
54713 { (char *)"new_PNMHandler", (PyCFunction
)_wrap_new_PNMHandler
, METH_NOARGS
, NULL
},
54714 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
, NULL
},
54715 { (char *)"PNMHandler_swiginit", PNMHandler_swiginit
, METH_VARARGS
, NULL
},
54716 { (char *)"new_XPMHandler", (PyCFunction
)_wrap_new_XPMHandler
, METH_NOARGS
, NULL
},
54717 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
, NULL
},
54718 { (char *)"XPMHandler_swiginit", XPMHandler_swiginit
, METH_VARARGS
, NULL
},
54719 { (char *)"new_TIFFHandler", (PyCFunction
)_wrap_new_TIFFHandler
, METH_NOARGS
, NULL
},
54720 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
, NULL
},
54721 { (char *)"TIFFHandler_swiginit", TIFFHandler_swiginit
, METH_VARARGS
, NULL
},
54722 { (char *)"Quantize_Quantize", (PyCFunction
) _wrap_Quantize_Quantize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54723 { (char *)"Quantize_swigregister", Quantize_swigregister
, METH_VARARGS
, NULL
},
54724 { (char *)"new_EvtHandler", (PyCFunction
)_wrap_new_EvtHandler
, METH_NOARGS
, NULL
},
54725 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
)_wrap_EvtHandler_GetNextHandler
, METH_O
, NULL
},
54726 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
)_wrap_EvtHandler_GetPreviousHandler
, METH_O
, NULL
},
54727 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54728 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54729 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
)_wrap_EvtHandler_GetEvtHandlerEnabled
, METH_O
, NULL
},
54730 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54731 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54732 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54733 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
)_wrap_EvtHandler_ProcessPendingEvents
, METH_O
, NULL
},
54734 { (char *)"EvtHandler_AllowReentrance", (PyCFunction
) _wrap_EvtHandler_AllowReentrance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54735 { (char *)"EvtHandler_IsReentranceAllowed", (PyCFunction
)_wrap_EvtHandler_IsReentranceAllowed
, METH_O
, NULL
},
54736 { (char *)"EvtHandler_IsEventHandlingInProgress", (PyCFunction
)_wrap_EvtHandler_IsEventHandlingInProgress
, METH_O
, NULL
},
54737 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54738 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54739 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54740 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
, NULL
},
54741 { (char *)"EvtHandler_swiginit", EvtHandler_swiginit
, METH_VARARGS
, NULL
},
54742 { (char *)"NewEventType", (PyCFunction
)_wrap_NewEventType
, METH_NOARGS
, NULL
},
54743 { (char *)"delete_Event", (PyCFunction
)_wrap_delete_Event
, METH_O
, NULL
},
54744 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54745 { (char *)"Event_GetEventType", (PyCFunction
)_wrap_Event_GetEventType
, METH_O
, NULL
},
54746 { (char *)"Event_GetEventObject", (PyCFunction
)_wrap_Event_GetEventObject
, METH_O
, NULL
},
54747 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54748 { (char *)"Event_GetTimestamp", (PyCFunction
)_wrap_Event_GetTimestamp
, METH_O
, NULL
},
54749 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54750 { (char *)"Event_GetId", (PyCFunction
)_wrap_Event_GetId
, METH_O
, NULL
},
54751 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54752 { (char *)"Event_IsCommandEvent", (PyCFunction
)_wrap_Event_IsCommandEvent
, METH_O
, NULL
},
54753 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54754 { (char *)"Event_GetSkipped", (PyCFunction
)_wrap_Event_GetSkipped
, METH_O
, NULL
},
54755 { (char *)"Event_ShouldPropagate", (PyCFunction
)_wrap_Event_ShouldPropagate
, METH_O
, NULL
},
54756 { (char *)"Event_StopPropagation", (PyCFunction
)_wrap_Event_StopPropagation
, METH_O
, NULL
},
54757 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54758 { (char *)"Event_Clone", (PyCFunction
)_wrap_Event_Clone
, METH_O
, NULL
},
54759 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
, NULL
},
54760 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54761 { (char *)"delete_PropagationDisabler", (PyCFunction
)_wrap_delete_PropagationDisabler
, METH_O
, NULL
},
54762 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
, NULL
},
54763 { (char *)"PropagationDisabler_swiginit", PropagationDisabler_swiginit
, METH_VARARGS
, NULL
},
54764 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54765 { (char *)"delete_PropagateOnce", (PyCFunction
)_wrap_delete_PropagateOnce
, METH_O
, NULL
},
54766 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
, NULL
},
54767 { (char *)"PropagateOnce_swiginit", PropagateOnce_swiginit
, METH_VARARGS
, NULL
},
54768 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54769 { (char *)"CommandEvent_GetSelection", (PyCFunction
)_wrap_CommandEvent_GetSelection
, METH_O
, NULL
},
54770 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54771 { (char *)"CommandEvent_GetString", (PyCFunction
)_wrap_CommandEvent_GetString
, METH_O
, NULL
},
54772 { (char *)"CommandEvent_IsChecked", (PyCFunction
)_wrap_CommandEvent_IsChecked
, METH_O
, NULL
},
54773 { (char *)"CommandEvent_IsSelection", (PyCFunction
)_wrap_CommandEvent_IsSelection
, METH_O
, NULL
},
54774 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54775 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
)_wrap_CommandEvent_GetExtraLong
, METH_O
, NULL
},
54776 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54777 { (char *)"CommandEvent_GetInt", (PyCFunction
)_wrap_CommandEvent_GetInt
, METH_O
, NULL
},
54778 { (char *)"CommandEvent_GetClientData", (PyCFunction
)_wrap_CommandEvent_GetClientData
, METH_O
, NULL
},
54779 { (char *)"CommandEvent_SetClientData", (PyCFunction
) _wrap_CommandEvent_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54780 { (char *)"CommandEvent_Clone", (PyCFunction
)_wrap_CommandEvent_Clone
, METH_O
, NULL
},
54781 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
, NULL
},
54782 { (char *)"CommandEvent_swiginit", CommandEvent_swiginit
, METH_VARARGS
, NULL
},
54783 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54784 { (char *)"NotifyEvent_Veto", (PyCFunction
)_wrap_NotifyEvent_Veto
, METH_O
, NULL
},
54785 { (char *)"NotifyEvent_Allow", (PyCFunction
)_wrap_NotifyEvent_Allow
, METH_O
, NULL
},
54786 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
)_wrap_NotifyEvent_IsAllowed
, METH_O
, NULL
},
54787 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
, NULL
},
54788 { (char *)"NotifyEvent_swiginit", NotifyEvent_swiginit
, METH_VARARGS
, NULL
},
54789 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54790 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
)_wrap_ScrollEvent_GetOrientation
, METH_O
, NULL
},
54791 { (char *)"ScrollEvent_GetPosition", (PyCFunction
)_wrap_ScrollEvent_GetPosition
, METH_O
, NULL
},
54792 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54793 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54794 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
, NULL
},
54795 { (char *)"ScrollEvent_swiginit", ScrollEvent_swiginit
, METH_VARARGS
, NULL
},
54796 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54797 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
)_wrap_ScrollWinEvent_GetOrientation
, METH_O
, NULL
},
54798 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
)_wrap_ScrollWinEvent_GetPosition
, METH_O
, NULL
},
54799 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54800 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54801 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
, NULL
},
54802 { (char *)"ScrollWinEvent_swiginit", ScrollWinEvent_swiginit
, METH_VARARGS
, NULL
},
54803 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54804 { (char *)"MouseEvent_IsButton", (PyCFunction
)_wrap_MouseEvent_IsButton
, METH_O
, NULL
},
54805 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54806 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54807 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54808 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54809 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54810 { (char *)"MouseEvent_GetButton", (PyCFunction
)_wrap_MouseEvent_GetButton
, METH_O
, NULL
},
54811 { (char *)"MouseEvent_ControlDown", (PyCFunction
)_wrap_MouseEvent_ControlDown
, METH_O
, NULL
},
54812 { (char *)"MouseEvent_MetaDown", (PyCFunction
)_wrap_MouseEvent_MetaDown
, METH_O
, NULL
},
54813 { (char *)"MouseEvent_AltDown", (PyCFunction
)_wrap_MouseEvent_AltDown
, METH_O
, NULL
},
54814 { (char *)"MouseEvent_ShiftDown", (PyCFunction
)_wrap_MouseEvent_ShiftDown
, METH_O
, NULL
},
54815 { (char *)"MouseEvent_CmdDown", (PyCFunction
)_wrap_MouseEvent_CmdDown
, METH_O
, NULL
},
54816 { (char *)"MouseEvent_LeftDown", (PyCFunction
)_wrap_MouseEvent_LeftDown
, METH_O
, NULL
},
54817 { (char *)"MouseEvent_MiddleDown", (PyCFunction
)_wrap_MouseEvent_MiddleDown
, METH_O
, NULL
},
54818 { (char *)"MouseEvent_RightDown", (PyCFunction
)_wrap_MouseEvent_RightDown
, METH_O
, NULL
},
54819 { (char *)"MouseEvent_LeftUp", (PyCFunction
)_wrap_MouseEvent_LeftUp
, METH_O
, NULL
},
54820 { (char *)"MouseEvent_MiddleUp", (PyCFunction
)_wrap_MouseEvent_MiddleUp
, METH_O
, NULL
},
54821 { (char *)"MouseEvent_RightUp", (PyCFunction
)_wrap_MouseEvent_RightUp
, METH_O
, NULL
},
54822 { (char *)"MouseEvent_LeftDClick", (PyCFunction
)_wrap_MouseEvent_LeftDClick
, METH_O
, NULL
},
54823 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
)_wrap_MouseEvent_MiddleDClick
, METH_O
, NULL
},
54824 { (char *)"MouseEvent_RightDClick", (PyCFunction
)_wrap_MouseEvent_RightDClick
, METH_O
, NULL
},
54825 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
)_wrap_MouseEvent_LeftIsDown
, METH_O
, NULL
},
54826 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
)_wrap_MouseEvent_MiddleIsDown
, METH_O
, NULL
},
54827 { (char *)"MouseEvent_RightIsDown", (PyCFunction
)_wrap_MouseEvent_RightIsDown
, METH_O
, NULL
},
54828 { (char *)"MouseEvent_Dragging", (PyCFunction
)_wrap_MouseEvent_Dragging
, METH_O
, NULL
},
54829 { (char *)"MouseEvent_Moving", (PyCFunction
)_wrap_MouseEvent_Moving
, METH_O
, NULL
},
54830 { (char *)"MouseEvent_Entering", (PyCFunction
)_wrap_MouseEvent_Entering
, METH_O
, NULL
},
54831 { (char *)"MouseEvent_Leaving", (PyCFunction
)_wrap_MouseEvent_Leaving
, METH_O
, NULL
},
54832 { (char *)"MouseEvent_GetPosition", (PyCFunction
)_wrap_MouseEvent_GetPosition
, METH_O
, NULL
},
54833 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
)_wrap_MouseEvent_GetPositionTuple
, METH_O
, NULL
},
54834 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54835 { (char *)"MouseEvent_GetX", (PyCFunction
)_wrap_MouseEvent_GetX
, METH_O
, NULL
},
54836 { (char *)"MouseEvent_GetY", (PyCFunction
)_wrap_MouseEvent_GetY
, METH_O
, NULL
},
54837 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
)_wrap_MouseEvent_GetWheelRotation
, METH_O
, NULL
},
54838 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
)_wrap_MouseEvent_GetWheelDelta
, METH_O
, NULL
},
54839 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
)_wrap_MouseEvent_GetLinesPerAction
, METH_O
, NULL
},
54840 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
)_wrap_MouseEvent_IsPageScroll
, METH_O
, NULL
},
54841 { (char *)"MouseEvent_m_x_set", _wrap_MouseEvent_m_x_set
, METH_VARARGS
, NULL
},
54842 { (char *)"MouseEvent_m_x_get", (PyCFunction
)_wrap_MouseEvent_m_x_get
, METH_O
, NULL
},
54843 { (char *)"MouseEvent_m_y_set", _wrap_MouseEvent_m_y_set
, METH_VARARGS
, NULL
},
54844 { (char *)"MouseEvent_m_y_get", (PyCFunction
)_wrap_MouseEvent_m_y_get
, METH_O
, NULL
},
54845 { (char *)"MouseEvent_m_leftDown_set", _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
, NULL
},
54846 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
)_wrap_MouseEvent_m_leftDown_get
, METH_O
, NULL
},
54847 { (char *)"MouseEvent_m_middleDown_set", _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
, NULL
},
54848 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
)_wrap_MouseEvent_m_middleDown_get
, METH_O
, NULL
},
54849 { (char *)"MouseEvent_m_rightDown_set", _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
, NULL
},
54850 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
)_wrap_MouseEvent_m_rightDown_get
, METH_O
, NULL
},
54851 { (char *)"MouseEvent_m_controlDown_set", _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
, NULL
},
54852 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
)_wrap_MouseEvent_m_controlDown_get
, METH_O
, NULL
},
54853 { (char *)"MouseEvent_m_shiftDown_set", _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
, NULL
},
54854 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
)_wrap_MouseEvent_m_shiftDown_get
, METH_O
, NULL
},
54855 { (char *)"MouseEvent_m_altDown_set", _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
, NULL
},
54856 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
)_wrap_MouseEvent_m_altDown_get
, METH_O
, NULL
},
54857 { (char *)"MouseEvent_m_metaDown_set", _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
, NULL
},
54858 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
)_wrap_MouseEvent_m_metaDown_get
, METH_O
, NULL
},
54859 { (char *)"MouseEvent_m_wheelRotation_set", _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
, NULL
},
54860 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
)_wrap_MouseEvent_m_wheelRotation_get
, METH_O
, NULL
},
54861 { (char *)"MouseEvent_m_wheelDelta_set", _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
, NULL
},
54862 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
)_wrap_MouseEvent_m_wheelDelta_get
, METH_O
, NULL
},
54863 { (char *)"MouseEvent_m_linesPerAction_set", _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
, NULL
},
54864 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
)_wrap_MouseEvent_m_linesPerAction_get
, METH_O
, NULL
},
54865 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
, NULL
},
54866 { (char *)"MouseEvent_swiginit", MouseEvent_swiginit
, METH_VARARGS
, NULL
},
54867 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54868 { (char *)"SetCursorEvent_GetX", (PyCFunction
)_wrap_SetCursorEvent_GetX
, METH_O
, NULL
},
54869 { (char *)"SetCursorEvent_GetY", (PyCFunction
)_wrap_SetCursorEvent_GetY
, METH_O
, NULL
},
54870 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54871 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
)_wrap_SetCursorEvent_GetCursor
, METH_O
, NULL
},
54872 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
)_wrap_SetCursorEvent_HasCursor
, METH_O
, NULL
},
54873 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
, NULL
},
54874 { (char *)"SetCursorEvent_swiginit", SetCursorEvent_swiginit
, METH_VARARGS
, NULL
},
54875 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54876 { (char *)"KeyEvent_GetModifiers", (PyCFunction
)_wrap_KeyEvent_GetModifiers
, METH_O
, NULL
},
54877 { (char *)"KeyEvent_ControlDown", (PyCFunction
)_wrap_KeyEvent_ControlDown
, METH_O
, NULL
},
54878 { (char *)"KeyEvent_MetaDown", (PyCFunction
)_wrap_KeyEvent_MetaDown
, METH_O
, NULL
},
54879 { (char *)"KeyEvent_AltDown", (PyCFunction
)_wrap_KeyEvent_AltDown
, METH_O
, NULL
},
54880 { (char *)"KeyEvent_ShiftDown", (PyCFunction
)_wrap_KeyEvent_ShiftDown
, METH_O
, NULL
},
54881 { (char *)"KeyEvent_CmdDown", (PyCFunction
)_wrap_KeyEvent_CmdDown
, METH_O
, NULL
},
54882 { (char *)"KeyEvent_HasModifiers", (PyCFunction
)_wrap_KeyEvent_HasModifiers
, METH_O
, NULL
},
54883 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
)_wrap_KeyEvent_GetKeyCode
, METH_O
, NULL
},
54884 { (char *)"KeyEvent_GetUnicodeKey", (PyCFunction
)_wrap_KeyEvent_GetUnicodeKey
, METH_O
, NULL
},
54885 { (char *)"KeyEvent_SetUnicodeKey", (PyCFunction
) _wrap_KeyEvent_SetUnicodeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54886 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
)_wrap_KeyEvent_GetRawKeyCode
, METH_O
, NULL
},
54887 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
)_wrap_KeyEvent_GetRawKeyFlags
, METH_O
, NULL
},
54888 { (char *)"KeyEvent_GetPosition", (PyCFunction
)_wrap_KeyEvent_GetPosition
, METH_O
, NULL
},
54889 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
)_wrap_KeyEvent_GetPositionTuple
, METH_O
, NULL
},
54890 { (char *)"KeyEvent_GetX", (PyCFunction
)_wrap_KeyEvent_GetX
, METH_O
, NULL
},
54891 { (char *)"KeyEvent_GetY", (PyCFunction
)_wrap_KeyEvent_GetY
, METH_O
, NULL
},
54892 { (char *)"KeyEvent_m_x_set", _wrap_KeyEvent_m_x_set
, METH_VARARGS
, NULL
},
54893 { (char *)"KeyEvent_m_x_get", (PyCFunction
)_wrap_KeyEvent_m_x_get
, METH_O
, NULL
},
54894 { (char *)"KeyEvent_m_y_set", _wrap_KeyEvent_m_y_set
, METH_VARARGS
, NULL
},
54895 { (char *)"KeyEvent_m_y_get", (PyCFunction
)_wrap_KeyEvent_m_y_get
, METH_O
, NULL
},
54896 { (char *)"KeyEvent_m_keyCode_set", _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
, NULL
},
54897 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
)_wrap_KeyEvent_m_keyCode_get
, METH_O
, NULL
},
54898 { (char *)"KeyEvent_m_controlDown_set", _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
, NULL
},
54899 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
)_wrap_KeyEvent_m_controlDown_get
, METH_O
, NULL
},
54900 { (char *)"KeyEvent_m_shiftDown_set", _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
, NULL
},
54901 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
)_wrap_KeyEvent_m_shiftDown_get
, METH_O
, NULL
},
54902 { (char *)"KeyEvent_m_altDown_set", _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
, NULL
},
54903 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
)_wrap_KeyEvent_m_altDown_get
, METH_O
, NULL
},
54904 { (char *)"KeyEvent_m_metaDown_set", _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
, NULL
},
54905 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
)_wrap_KeyEvent_m_metaDown_get
, METH_O
, NULL
},
54906 { (char *)"KeyEvent_m_scanCode_set", _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
, NULL
},
54907 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
)_wrap_KeyEvent_m_scanCode_get
, METH_O
, NULL
},
54908 { (char *)"KeyEvent_m_rawCode_set", _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
, NULL
},
54909 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
)_wrap_KeyEvent_m_rawCode_get
, METH_O
, NULL
},
54910 { (char *)"KeyEvent_m_rawFlags_set", _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
, NULL
},
54911 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
)_wrap_KeyEvent_m_rawFlags_get
, METH_O
, NULL
},
54912 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
, NULL
},
54913 { (char *)"KeyEvent_swiginit", KeyEvent_swiginit
, METH_VARARGS
, NULL
},
54914 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54915 { (char *)"SizeEvent_GetSize", (PyCFunction
)_wrap_SizeEvent_GetSize
, METH_O
, NULL
},
54916 { (char *)"SizeEvent_GetRect", (PyCFunction
)_wrap_SizeEvent_GetRect
, METH_O
, NULL
},
54917 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54918 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54919 { (char *)"SizeEvent_m_size_set", _wrap_SizeEvent_m_size_set
, METH_VARARGS
, NULL
},
54920 { (char *)"SizeEvent_m_size_get", (PyCFunction
)_wrap_SizeEvent_m_size_get
, METH_O
, NULL
},
54921 { (char *)"SizeEvent_m_rect_set", _wrap_SizeEvent_m_rect_set
, METH_VARARGS
, NULL
},
54922 { (char *)"SizeEvent_m_rect_get", (PyCFunction
)_wrap_SizeEvent_m_rect_get
, METH_O
, NULL
},
54923 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
, NULL
},
54924 { (char *)"SizeEvent_swiginit", SizeEvent_swiginit
, METH_VARARGS
, NULL
},
54925 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54926 { (char *)"MoveEvent_GetPosition", (PyCFunction
)_wrap_MoveEvent_GetPosition
, METH_O
, NULL
},
54927 { (char *)"MoveEvent_GetRect", (PyCFunction
)_wrap_MoveEvent_GetRect
, METH_O
, NULL
},
54928 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54929 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54930 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
, NULL
},
54931 { (char *)"MoveEvent_swiginit", MoveEvent_swiginit
, METH_VARARGS
, NULL
},
54932 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54933 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
, NULL
},
54934 { (char *)"PaintEvent_swiginit", PaintEvent_swiginit
, METH_VARARGS
, NULL
},
54935 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54936 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
, NULL
},
54937 { (char *)"NcPaintEvent_swiginit", NcPaintEvent_swiginit
, METH_VARARGS
, NULL
},
54938 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54939 { (char *)"EraseEvent_GetDC", (PyCFunction
)_wrap_EraseEvent_GetDC
, METH_O
, NULL
},
54940 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
, NULL
},
54941 { (char *)"EraseEvent_swiginit", EraseEvent_swiginit
, METH_VARARGS
, NULL
},
54942 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54943 { (char *)"FocusEvent_GetWindow", (PyCFunction
)_wrap_FocusEvent_GetWindow
, METH_O
, NULL
},
54944 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54945 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
, NULL
},
54946 { (char *)"FocusEvent_swiginit", FocusEvent_swiginit
, METH_VARARGS
, NULL
},
54947 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54948 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
)_wrap_ChildFocusEvent_GetWindow
, METH_O
, NULL
},
54949 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
, NULL
},
54950 { (char *)"ChildFocusEvent_swiginit", ChildFocusEvent_swiginit
, METH_VARARGS
, NULL
},
54951 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54952 { (char *)"ActivateEvent_GetActive", (PyCFunction
)_wrap_ActivateEvent_GetActive
, METH_O
, NULL
},
54953 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
, NULL
},
54954 { (char *)"ActivateEvent_swiginit", ActivateEvent_swiginit
, METH_VARARGS
, NULL
},
54955 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54956 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
, NULL
},
54957 { (char *)"InitDialogEvent_swiginit", InitDialogEvent_swiginit
, METH_VARARGS
, NULL
},
54958 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54959 { (char *)"MenuEvent_GetMenuId", (PyCFunction
)_wrap_MenuEvent_GetMenuId
, METH_O
, NULL
},
54960 { (char *)"MenuEvent_IsPopup", (PyCFunction
)_wrap_MenuEvent_IsPopup
, METH_O
, NULL
},
54961 { (char *)"MenuEvent_GetMenu", (PyCFunction
)_wrap_MenuEvent_GetMenu
, METH_O
, NULL
},
54962 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
, NULL
},
54963 { (char *)"MenuEvent_swiginit", MenuEvent_swiginit
, METH_VARARGS
, NULL
},
54964 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54965 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54966 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
)_wrap_CloseEvent_GetLoggingOff
, METH_O
, NULL
},
54967 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54968 { (char *)"CloseEvent_GetVeto", (PyCFunction
)_wrap_CloseEvent_GetVeto
, METH_O
, NULL
},
54969 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54970 { (char *)"CloseEvent_CanVeto", (PyCFunction
)_wrap_CloseEvent_CanVeto
, METH_O
, NULL
},
54971 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
, NULL
},
54972 { (char *)"CloseEvent_swiginit", CloseEvent_swiginit
, METH_VARARGS
, NULL
},
54973 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54974 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54975 { (char *)"ShowEvent_GetShow", (PyCFunction
)_wrap_ShowEvent_GetShow
, METH_O
, NULL
},
54976 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
, NULL
},
54977 { (char *)"ShowEvent_swiginit", ShowEvent_swiginit
, METH_VARARGS
, NULL
},
54978 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54979 { (char *)"IconizeEvent_Iconized", (PyCFunction
)_wrap_IconizeEvent_Iconized
, METH_O
, NULL
},
54980 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
, NULL
},
54981 { (char *)"IconizeEvent_swiginit", IconizeEvent_swiginit
, METH_VARARGS
, NULL
},
54982 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54983 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
, NULL
},
54984 { (char *)"MaximizeEvent_swiginit", MaximizeEvent_swiginit
, METH_VARARGS
, NULL
},
54985 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
)_wrap_DropFilesEvent_GetPosition
, METH_O
, NULL
},
54986 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
)_wrap_DropFilesEvent_GetNumberOfFiles
, METH_O
, NULL
},
54987 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
)_wrap_DropFilesEvent_GetFiles
, METH_O
, NULL
},
54988 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
, NULL
},
54989 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54990 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
)_wrap_UpdateUIEvent_GetChecked
, METH_O
, NULL
},
54991 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
)_wrap_UpdateUIEvent_GetEnabled
, METH_O
, NULL
},
54992 { (char *)"UpdateUIEvent_GetShown", (PyCFunction
)_wrap_UpdateUIEvent_GetShown
, METH_O
, NULL
},
54993 { (char *)"UpdateUIEvent_GetText", (PyCFunction
)_wrap_UpdateUIEvent_GetText
, METH_O
, NULL
},
54994 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
)_wrap_UpdateUIEvent_GetSetText
, METH_O
, NULL
},
54995 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
)_wrap_UpdateUIEvent_GetSetChecked
, METH_O
, NULL
},
54996 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
)_wrap_UpdateUIEvent_GetSetEnabled
, METH_O
, NULL
},
54997 { (char *)"UpdateUIEvent_GetSetShown", (PyCFunction
)_wrap_UpdateUIEvent_GetSetShown
, METH_O
, NULL
},
54998 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54999 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55000 { (char *)"UpdateUIEvent_Show", (PyCFunction
) _wrap_UpdateUIEvent_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55001 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55002 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55003 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
)_wrap_UpdateUIEvent_GetUpdateInterval
, METH_NOARGS
, NULL
},
55004 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55005 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
)_wrap_UpdateUIEvent_ResetUpdateTime
, METH_NOARGS
, NULL
},
55006 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55007 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
)_wrap_UpdateUIEvent_GetMode
, METH_NOARGS
, NULL
},
55008 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
, NULL
},
55009 { (char *)"UpdateUIEvent_swiginit", UpdateUIEvent_swiginit
, METH_VARARGS
, NULL
},
55010 { (char *)"new_SysColourChangedEvent", (PyCFunction
)_wrap_new_SysColourChangedEvent
, METH_NOARGS
, NULL
},
55011 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
, NULL
},
55012 { (char *)"SysColourChangedEvent_swiginit", SysColourChangedEvent_swiginit
, METH_VARARGS
, NULL
},
55013 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55014 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
)_wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_O
, NULL
},
55015 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
, NULL
},
55016 { (char *)"MouseCaptureChangedEvent_swiginit", MouseCaptureChangedEvent_swiginit
, METH_VARARGS
, NULL
},
55017 { (char *)"new_MouseCaptureLostEvent", (PyCFunction
) _wrap_new_MouseCaptureLostEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55018 { (char *)"MouseCaptureLostEvent_swigregister", MouseCaptureLostEvent_swigregister
, METH_VARARGS
, NULL
},
55019 { (char *)"MouseCaptureLostEvent_swiginit", MouseCaptureLostEvent_swiginit
, METH_VARARGS
, NULL
},
55020 { (char *)"new_DisplayChangedEvent", (PyCFunction
)_wrap_new_DisplayChangedEvent
, METH_NOARGS
, NULL
},
55021 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
, NULL
},
55022 { (char *)"DisplayChangedEvent_swiginit", DisplayChangedEvent_swiginit
, METH_VARARGS
, NULL
},
55023 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55024 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55025 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
)_wrap_PaletteChangedEvent_GetChangedWindow
, METH_O
, NULL
},
55026 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
, NULL
},
55027 { (char *)"PaletteChangedEvent_swiginit", PaletteChangedEvent_swiginit
, METH_VARARGS
, NULL
},
55028 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55029 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55030 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
)_wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_O
, NULL
},
55031 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
, NULL
},
55032 { (char *)"QueryNewPaletteEvent_swiginit", QueryNewPaletteEvent_swiginit
, METH_VARARGS
, NULL
},
55033 { (char *)"new_NavigationKeyEvent", (PyCFunction
)_wrap_new_NavigationKeyEvent
, METH_NOARGS
, NULL
},
55034 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
)_wrap_NavigationKeyEvent_GetDirection
, METH_O
, NULL
},
55035 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55036 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
)_wrap_NavigationKeyEvent_IsWindowChange
, METH_O
, NULL
},
55037 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55038 { (char *)"NavigationKeyEvent_IsFromTab", (PyCFunction
)_wrap_NavigationKeyEvent_IsFromTab
, METH_O
, NULL
},
55039 { (char *)"NavigationKeyEvent_SetFromTab", (PyCFunction
) _wrap_NavigationKeyEvent_SetFromTab
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55040 { (char *)"NavigationKeyEvent_SetFlags", (PyCFunction
) _wrap_NavigationKeyEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55041 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
)_wrap_NavigationKeyEvent_GetCurrentFocus
, METH_O
, NULL
},
55042 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55043 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
, NULL
},
55044 { (char *)"NavigationKeyEvent_swiginit", NavigationKeyEvent_swiginit
, METH_VARARGS
, NULL
},
55045 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55046 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
)_wrap_WindowCreateEvent_GetWindow
, METH_O
, NULL
},
55047 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
, NULL
},
55048 { (char *)"WindowCreateEvent_swiginit", WindowCreateEvent_swiginit
, METH_VARARGS
, NULL
},
55049 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55050 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
)_wrap_WindowDestroyEvent_GetWindow
, METH_O
, NULL
},
55051 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
, NULL
},
55052 { (char *)"WindowDestroyEvent_swiginit", WindowDestroyEvent_swiginit
, METH_VARARGS
, NULL
},
55053 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55054 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
)_wrap_ContextMenuEvent_GetPosition
, METH_O
, NULL
},
55055 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55056 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
, NULL
},
55057 { (char *)"ContextMenuEvent_swiginit", ContextMenuEvent_swiginit
, METH_VARARGS
, NULL
},
55058 { (char *)"new_IdleEvent", (PyCFunction
)_wrap_new_IdleEvent
, METH_NOARGS
, NULL
},
55059 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55060 { (char *)"IdleEvent_MoreRequested", (PyCFunction
)_wrap_IdleEvent_MoreRequested
, METH_O
, NULL
},
55061 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55062 { (char *)"IdleEvent_GetMode", (PyCFunction
)_wrap_IdleEvent_GetMode
, METH_NOARGS
, NULL
},
55063 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55064 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
, NULL
},
55065 { (char *)"IdleEvent_swiginit", IdleEvent_swiginit
, METH_VARARGS
, NULL
},
55066 { (char *)"new_ClipboardTextEvent", (PyCFunction
) _wrap_new_ClipboardTextEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55067 { (char *)"ClipboardTextEvent_swigregister", ClipboardTextEvent_swigregister
, METH_VARARGS
, NULL
},
55068 { (char *)"ClipboardTextEvent_swiginit", ClipboardTextEvent_swiginit
, METH_VARARGS
, NULL
},
55069 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55070 { (char *)"delete_PyEvent", (PyCFunction
)_wrap_delete_PyEvent
, METH_O
, NULL
},
55071 { (char *)"PyEvent__SetSelf", (PyCFunction
) _wrap_PyEvent__SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55072 { (char *)"PyEvent__GetSelf", (PyCFunction
)_wrap_PyEvent__GetSelf
, METH_O
, NULL
},
55073 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
, NULL
},
55074 { (char *)"PyEvent_swiginit", PyEvent_swiginit
, METH_VARARGS
, NULL
},
55075 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55076 { (char *)"delete_PyCommandEvent", (PyCFunction
)_wrap_delete_PyCommandEvent
, METH_O
, NULL
},
55077 { (char *)"PyCommandEvent__SetSelf", (PyCFunction
) _wrap_PyCommandEvent__SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55078 { (char *)"PyCommandEvent__GetSelf", (PyCFunction
)_wrap_PyCommandEvent__GetSelf
, METH_O
, NULL
},
55079 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
, NULL
},
55080 { (char *)"PyCommandEvent_swiginit", PyCommandEvent_swiginit
, METH_VARARGS
, NULL
},
55081 { (char *)"new_DateEvent", (PyCFunction
) _wrap_new_DateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55082 { (char *)"DateEvent_GetDate", (PyCFunction
)_wrap_DateEvent_GetDate
, METH_O
, NULL
},
55083 { (char *)"DateEvent_SetDate", (PyCFunction
) _wrap_DateEvent_SetDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55084 { (char *)"DateEvent_swigregister", DateEvent_swigregister
, METH_VARARGS
, NULL
},
55085 { (char *)"DateEvent_swiginit", DateEvent_swiginit
, METH_VARARGS
, NULL
},
55086 { (char *)"new_PyApp", (PyCFunction
)_wrap_new_PyApp
, METH_NOARGS
, NULL
},
55087 { (char *)"delete_PyApp", (PyCFunction
)_wrap_delete_PyApp
, METH_O
, NULL
},
55088 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55089 { (char *)"PyApp_GetAppName", (PyCFunction
)_wrap_PyApp_GetAppName
, METH_O
, NULL
},
55090 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55091 { (char *)"PyApp_GetClassName", (PyCFunction
)_wrap_PyApp_GetClassName
, METH_O
, NULL
},
55092 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55093 { (char *)"PyApp_GetVendorName", (PyCFunction
)_wrap_PyApp_GetVendorName
, METH_O
, NULL
},
55094 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55095 { (char *)"PyApp_GetTraits", (PyCFunction
)_wrap_PyApp_GetTraits
, METH_O
, NULL
},
55096 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
)_wrap_PyApp_ProcessPendingEvents
, METH_O
, NULL
},
55097 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55098 { (char *)"PyApp_WakeUpIdle", (PyCFunction
)_wrap_PyApp_WakeUpIdle
, METH_O
, NULL
},
55099 { (char *)"PyApp_IsMainLoopRunning", (PyCFunction
)_wrap_PyApp_IsMainLoopRunning
, METH_NOARGS
, NULL
},
55100 { (char *)"PyApp_MainLoop", (PyCFunction
)_wrap_PyApp_MainLoop
, METH_O
, NULL
},
55101 { (char *)"PyApp_Exit", (PyCFunction
)_wrap_PyApp_Exit
, METH_O
, NULL
},
55102 { (char *)"PyApp_GetLayoutDirection", (PyCFunction
)_wrap_PyApp_GetLayoutDirection
, METH_O
, NULL
},
55103 { (char *)"PyApp_ExitMainLoop", (PyCFunction
)_wrap_PyApp_ExitMainLoop
, METH_O
, NULL
},
55104 { (char *)"PyApp_Pending", (PyCFunction
)_wrap_PyApp_Pending
, METH_O
, NULL
},
55105 { (char *)"PyApp_Dispatch", (PyCFunction
)_wrap_PyApp_Dispatch
, METH_O
, NULL
},
55106 { (char *)"PyApp_ProcessIdle", (PyCFunction
)_wrap_PyApp_ProcessIdle
, METH_O
, NULL
},
55107 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55108 { (char *)"PyApp_IsActive", (PyCFunction
)_wrap_PyApp_IsActive
, METH_O
, NULL
},
55109 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55110 { (char *)"PyApp_GetTopWindow", (PyCFunction
)_wrap_PyApp_GetTopWindow
, METH_O
, NULL
},
55111 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55112 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
)_wrap_PyApp_GetExitOnFrameDelete
, METH_O
, NULL
},
55113 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55114 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
)_wrap_PyApp_GetUseBestVisual
, METH_O
, NULL
},
55115 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55116 { (char *)"PyApp_GetPrintMode", (PyCFunction
)_wrap_PyApp_GetPrintMode
, METH_O
, NULL
},
55117 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55118 { (char *)"PyApp_GetAssertMode", (PyCFunction
)_wrap_PyApp_GetAssertMode
, METH_O
, NULL
},
55119 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
)_wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_NOARGS
, NULL
},
55120 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
)_wrap_PyApp_GetMacAboutMenuItemId
, METH_NOARGS
, NULL
},
55121 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
)_wrap_PyApp_GetMacPreferencesMenuItemId
, METH_NOARGS
, NULL
},
55122 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
)_wrap_PyApp_GetMacExitMenuItemId
, METH_NOARGS
, NULL
},
55123 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
)_wrap_PyApp_GetMacHelpMenuTitleName
, METH_NOARGS
, NULL
},
55124 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55125 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55126 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55127 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55128 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55129 { (char *)"PyApp__BootstrapApp", (PyCFunction
)_wrap_PyApp__BootstrapApp
, METH_O
, NULL
},
55130 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
)_wrap_PyApp_GetComCtl32Version
, METH_NOARGS
, NULL
},
55131 { (char *)"PyApp_IsDisplayAvailable", (PyCFunction
)_wrap_PyApp_IsDisplayAvailable
, METH_NOARGS
, NULL
},
55132 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
, NULL
},
55133 { (char *)"PyApp_swiginit", PyApp_swiginit
, METH_VARARGS
, NULL
},
55134 { (char *)"Exit", (PyCFunction
)_wrap_Exit
, METH_NOARGS
, NULL
},
55135 { (char *)"Yield", (PyCFunction
)_wrap_Yield
, METH_NOARGS
, NULL
},
55136 { (char *)"YieldIfNeeded", (PyCFunction
)_wrap_YieldIfNeeded
, METH_NOARGS
, NULL
},
55137 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55138 { (char *)"WakeUpIdle", (PyCFunction
)_wrap_WakeUpIdle
, METH_NOARGS
, NULL
},
55139 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55140 { (char *)"App_CleanUp", (PyCFunction
)_wrap_App_CleanUp
, METH_NOARGS
, NULL
},
55141 { (char *)"GetApp", (PyCFunction
)_wrap_GetApp
, METH_NOARGS
, NULL
},
55142 { (char *)"SetDefaultPyEncoding", (PyCFunction
) _wrap_SetDefaultPyEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55143 { (char *)"GetDefaultPyEncoding", (PyCFunction
)_wrap_GetDefaultPyEncoding
, METH_NOARGS
, NULL
},
55144 { (char *)"new_EventLoop", (PyCFunction
)_wrap_new_EventLoop
, METH_NOARGS
, NULL
},
55145 { (char *)"delete_EventLoop", (PyCFunction
)_wrap_delete_EventLoop
, METH_O
, NULL
},
55146 { (char *)"EventLoop_Run", (PyCFunction
)_wrap_EventLoop_Run
, METH_O
, NULL
},
55147 { (char *)"EventLoop_Exit", (PyCFunction
) _wrap_EventLoop_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55148 { (char *)"EventLoop_Pending", (PyCFunction
)_wrap_EventLoop_Pending
, METH_O
, NULL
},
55149 { (char *)"EventLoop_Dispatch", (PyCFunction
)_wrap_EventLoop_Dispatch
, METH_O
, NULL
},
55150 { (char *)"EventLoop_IsRunning", (PyCFunction
)_wrap_EventLoop_IsRunning
, METH_O
, NULL
},
55151 { (char *)"EventLoop_GetActive", (PyCFunction
)_wrap_EventLoop_GetActive
, METH_NOARGS
, NULL
},
55152 { (char *)"EventLoop_SetActive", (PyCFunction
) _wrap_EventLoop_SetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55153 { (char *)"EventLoop_swigregister", EventLoop_swigregister
, METH_VARARGS
, NULL
},
55154 { (char *)"EventLoop_swiginit", EventLoop_swiginit
, METH_VARARGS
, NULL
},
55155 { (char *)"new_EventLoopActivator", (PyCFunction
) _wrap_new_EventLoopActivator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55156 { (char *)"delete_EventLoopActivator", (PyCFunction
)_wrap_delete_EventLoopActivator
, METH_O
, NULL
},
55157 { (char *)"EventLoopActivator_swigregister", EventLoopActivator_swigregister
, METH_VARARGS
, NULL
},
55158 { (char *)"EventLoopActivator_swiginit", EventLoopActivator_swiginit
, METH_VARARGS
, NULL
},
55159 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55160 { (char *)"delete_AcceleratorEntry", (PyCFunction
)_wrap_delete_AcceleratorEntry
, METH_O
, NULL
},
55161 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55162 { (char *)"AcceleratorEntry_Create", (PyCFunction
) _wrap_AcceleratorEntry_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55163 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
)_wrap_AcceleratorEntry_GetFlags
, METH_O
, NULL
},
55164 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
)_wrap_AcceleratorEntry_GetKeyCode
, METH_O
, NULL
},
55165 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
)_wrap_AcceleratorEntry_GetCommand
, METH_O
, NULL
},
55166 { (char *)"AcceleratorEntry_IsOk", (PyCFunction
)_wrap_AcceleratorEntry_IsOk
, METH_O
, NULL
},
55167 { (char *)"AcceleratorEntry_ToString", (PyCFunction
)_wrap_AcceleratorEntry_ToString
, METH_O
, NULL
},
55168 { (char *)"AcceleratorEntry_FromString", (PyCFunction
) _wrap_AcceleratorEntry_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55169 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
, NULL
},
55170 { (char *)"AcceleratorEntry_swiginit", AcceleratorEntry_swiginit
, METH_VARARGS
, NULL
},
55171 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55172 { (char *)"delete_AcceleratorTable", (PyCFunction
)_wrap_delete_AcceleratorTable
, METH_O
, NULL
},
55173 { (char *)"AcceleratorTable_IsOk", (PyCFunction
)_wrap_AcceleratorTable_IsOk
, METH_O
, NULL
},
55174 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
, NULL
},
55175 { (char *)"AcceleratorTable_swiginit", AcceleratorTable_swiginit
, METH_VARARGS
, NULL
},
55176 { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55177 { (char *)"new_VisualAttributes", (PyCFunction
)_wrap_new_VisualAttributes
, METH_NOARGS
, NULL
},
55178 { (char *)"delete_VisualAttributes", (PyCFunction
)_wrap_delete_VisualAttributes
, METH_O
, NULL
},
55179 { (char *)"VisualAttributes_font_set", _wrap_VisualAttributes_font_set
, METH_VARARGS
, NULL
},
55180 { (char *)"VisualAttributes_font_get", (PyCFunction
)_wrap_VisualAttributes_font_get
, METH_O
, NULL
},
55181 { (char *)"VisualAttributes_colFg_set", _wrap_VisualAttributes_colFg_set
, METH_VARARGS
, NULL
},
55182 { (char *)"VisualAttributes_colFg_get", (PyCFunction
)_wrap_VisualAttributes_colFg_get
, METH_O
, NULL
},
55183 { (char *)"VisualAttributes_colBg_set", _wrap_VisualAttributes_colBg_set
, METH_VARARGS
, NULL
},
55184 { (char *)"VisualAttributes_colBg_get", (PyCFunction
)_wrap_VisualAttributes_colBg_get
, METH_O
, NULL
},
55185 { (char *)"VisualAttributes_swigregister", VisualAttributes_swigregister
, METH_VARARGS
, NULL
},
55186 { (char *)"VisualAttributes_swiginit", VisualAttributes_swiginit
, METH_VARARGS
, NULL
},
55187 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55188 { (char *)"new_PreWindow", (PyCFunction
)_wrap_new_PreWindow
, METH_NOARGS
, NULL
},
55189 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55190 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55191 { (char *)"Window_Destroy", (PyCFunction
)_wrap_Window_Destroy
, METH_O
, NULL
},
55192 { (char *)"Window_DestroyChildren", (PyCFunction
)_wrap_Window_DestroyChildren
, METH_O
, NULL
},
55193 { (char *)"Window_IsBeingDeleted", (PyCFunction
)_wrap_Window_IsBeingDeleted
, METH_O
, NULL
},
55194 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55195 { (char *)"Window_GetLabel", (PyCFunction
)_wrap_Window_GetLabel
, METH_O
, NULL
},
55196 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55197 { (char *)"Window_GetName", (PyCFunction
)_wrap_Window_GetName
, METH_O
, NULL
},
55198 { (char *)"Window_SetWindowVariant", (PyCFunction
) _wrap_Window_SetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55199 { (char *)"Window_GetWindowVariant", (PyCFunction
)_wrap_Window_GetWindowVariant
, METH_O
, NULL
},
55200 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55201 { (char *)"Window_GetId", (PyCFunction
)_wrap_Window_GetId
, METH_O
, NULL
},
55202 { (char *)"Window_NewControlId", (PyCFunction
)_wrap_Window_NewControlId
, METH_NOARGS
, NULL
},
55203 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55204 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55205 { (char *)"Window_GetLayoutDirection", (PyCFunction
)_wrap_Window_GetLayoutDirection
, METH_O
, NULL
},
55206 { (char *)"Window_SetLayoutDirection", (PyCFunction
) _wrap_Window_SetLayoutDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55207 { (char *)"Window_AdjustForLayoutDirection", (PyCFunction
) _wrap_Window_AdjustForLayoutDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55208 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55209 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55210 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55211 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55212 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55213 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55214 { (char *)"Window_SetBestFittingSize", (PyCFunction
) _wrap_Window_SetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55215 { (char *)"Window_Raise", (PyCFunction
)_wrap_Window_Raise
, METH_O
, NULL
},
55216 { (char *)"Window_Lower", (PyCFunction
)_wrap_Window_Lower
, METH_O
, NULL
},
55217 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55218 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55219 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55220 { (char *)"Window_GetPosition", (PyCFunction
)_wrap_Window_GetPosition
, METH_O
, NULL
},
55221 { (char *)"Window_GetPositionTuple", (PyCFunction
)_wrap_Window_GetPositionTuple
, METH_O
, NULL
},
55222 { (char *)"Window_GetScreenPosition", (PyCFunction
)_wrap_Window_GetScreenPosition
, METH_O
, NULL
},
55223 { (char *)"Window_GetScreenPositionTuple", (PyCFunction
)_wrap_Window_GetScreenPositionTuple
, METH_O
, NULL
},
55224 { (char *)"Window_GetScreenRect", (PyCFunction
)_wrap_Window_GetScreenRect
, METH_O
, NULL
},
55225 { (char *)"Window_GetSize", (PyCFunction
)_wrap_Window_GetSize
, METH_O
, NULL
},
55226 { (char *)"Window_GetSizeTuple", (PyCFunction
)_wrap_Window_GetSizeTuple
, METH_O
, NULL
},
55227 { (char *)"Window_GetRect", (PyCFunction
)_wrap_Window_GetRect
, METH_O
, NULL
},
55228 { (char *)"Window_GetClientSize", (PyCFunction
)_wrap_Window_GetClientSize
, METH_O
, NULL
},
55229 { (char *)"Window_GetClientSizeTuple", (PyCFunction
)_wrap_Window_GetClientSizeTuple
, METH_O
, NULL
},
55230 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
)_wrap_Window_GetClientAreaOrigin
, METH_O
, NULL
},
55231 { (char *)"Window_GetClientRect", (PyCFunction
)_wrap_Window_GetClientRect
, METH_O
, NULL
},
55232 { (char *)"Window_GetBestSize", (PyCFunction
)_wrap_Window_GetBestSize
, METH_O
, NULL
},
55233 { (char *)"Window_GetBestSizeTuple", (PyCFunction
)_wrap_Window_GetBestSizeTuple
, METH_O
, NULL
},
55234 { (char *)"Window_InvalidateBestSize", (PyCFunction
)_wrap_Window_InvalidateBestSize
, METH_O
, NULL
},
55235 { (char *)"Window_CacheBestSize", (PyCFunction
) _wrap_Window_CacheBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55236 { (char *)"Window_GetBestFittingSize", (PyCFunction
)_wrap_Window_GetBestFittingSize
, METH_O
, NULL
},
55237 { (char *)"Window_GetAdjustedBestSize", (PyCFunction
)_wrap_Window_GetAdjustedBestSize
, METH_O
, NULL
},
55238 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55239 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55240 { (char *)"Window_Fit", (PyCFunction
)_wrap_Window_Fit
, METH_O
, NULL
},
55241 { (char *)"Window_FitInside", (PyCFunction
)_wrap_Window_FitInside
, METH_O
, NULL
},
55242 { (char *)"Window_SetSizeHints", (PyCFunction
) _wrap_Window_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55243 { (char *)"Window_SetSizeHintsSz", (PyCFunction
) _wrap_Window_SetSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55244 { (char *)"Window_SetVirtualSizeHints", (PyCFunction
) _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55245 { (char *)"Window_SetVirtualSizeHintsSz", (PyCFunction
) _wrap_Window_SetVirtualSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55246 { (char *)"Window_GetMaxSize", (PyCFunction
)_wrap_Window_GetMaxSize
, METH_O
, NULL
},
55247 { (char *)"Window_GetMinSize", (PyCFunction
)_wrap_Window_GetMinSize
, METH_O
, NULL
},
55248 { (char *)"Window_SetMinSize", (PyCFunction
) _wrap_Window_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55249 { (char *)"Window_SetMaxSize", (PyCFunction
) _wrap_Window_SetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55250 { (char *)"Window_GetMinWidth", (PyCFunction
)_wrap_Window_GetMinWidth
, METH_O
, NULL
},
55251 { (char *)"Window_GetMinHeight", (PyCFunction
)_wrap_Window_GetMinHeight
, METH_O
, NULL
},
55252 { (char *)"Window_GetMaxWidth", (PyCFunction
)_wrap_Window_GetMaxWidth
, METH_O
, NULL
},
55253 { (char *)"Window_GetMaxHeight", (PyCFunction
)_wrap_Window_GetMaxHeight
, METH_O
, NULL
},
55254 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55255 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55256 { (char *)"Window_GetVirtualSize", (PyCFunction
)_wrap_Window_GetVirtualSize
, METH_O
, NULL
},
55257 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
)_wrap_Window_GetVirtualSizeTuple
, METH_O
, NULL
},
55258 { (char *)"Window_GetBestVirtualSize", (PyCFunction
)_wrap_Window_GetBestVirtualSize
, METH_O
, NULL
},
55259 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55260 { (char *)"Window_Hide", (PyCFunction
)_wrap_Window_Hide
, METH_O
, NULL
},
55261 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55262 { (char *)"Window_Disable", (PyCFunction
)_wrap_Window_Disable
, METH_O
, NULL
},
55263 { (char *)"Window_IsShown", (PyCFunction
)_wrap_Window_IsShown
, METH_O
, NULL
},
55264 { (char *)"Window_IsEnabled", (PyCFunction
)_wrap_Window_IsEnabled
, METH_O
, NULL
},
55265 { (char *)"Window_IsShownOnScreen", (PyCFunction
)_wrap_Window_IsShownOnScreen
, METH_O
, NULL
},
55266 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55267 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
)_wrap_Window_GetWindowStyleFlag
, METH_O
, NULL
},
55268 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55269 { (char *)"Window_IsRetained", (PyCFunction
)_wrap_Window_IsRetained
, METH_O
, NULL
},
55270 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55271 { (char *)"Window_GetExtraStyle", (PyCFunction
)_wrap_Window_GetExtraStyle
, METH_O
, NULL
},
55272 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55273 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55274 { (char *)"Window_GetThemeEnabled", (PyCFunction
)_wrap_Window_GetThemeEnabled
, METH_O
, NULL
},
55275 { (char *)"Window_SetFocus", (PyCFunction
)_wrap_Window_SetFocus
, METH_O
, NULL
},
55276 { (char *)"Window_SetFocusFromKbd", (PyCFunction
)_wrap_Window_SetFocusFromKbd
, METH_O
, NULL
},
55277 { (char *)"Window_FindFocus", (PyCFunction
)_wrap_Window_FindFocus
, METH_NOARGS
, NULL
},
55278 { (char *)"Window_AcceptsFocus", (PyCFunction
)_wrap_Window_AcceptsFocus
, METH_O
, NULL
},
55279 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
)_wrap_Window_AcceptsFocusFromKeyboard
, METH_O
, NULL
},
55280 { (char *)"Window_Navigate", (PyCFunction
) _wrap_Window_Navigate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55281 { (char *)"Window_MoveAfterInTabOrder", (PyCFunction
) _wrap_Window_MoveAfterInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55282 { (char *)"Window_MoveBeforeInTabOrder", (PyCFunction
) _wrap_Window_MoveBeforeInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55283 { (char *)"Window_GetChildren", (PyCFunction
)_wrap_Window_GetChildren
, METH_O
, NULL
},
55284 { (char *)"Window_GetParent", (PyCFunction
)_wrap_Window_GetParent
, METH_O
, NULL
},
55285 { (char *)"Window_GetGrandParent", (PyCFunction
)_wrap_Window_GetGrandParent
, METH_O
, NULL
},
55286 { (char *)"Window_IsTopLevel", (PyCFunction
)_wrap_Window_IsTopLevel
, METH_O
, NULL
},
55287 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55288 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55289 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55290 { (char *)"Window_SetDoubleBuffered", (PyCFunction
) _wrap_Window_SetDoubleBuffered
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55291 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55292 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55293 { (char *)"Window_GetEventHandler", (PyCFunction
)_wrap_Window_GetEventHandler
, METH_O
, NULL
},
55294 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55295 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55296 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55297 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55298 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55299 { (char *)"Window_GetValidator", (PyCFunction
)_wrap_Window_GetValidator
, METH_O
, NULL
},
55300 { (char *)"Window_Validate", (PyCFunction
)_wrap_Window_Validate
, METH_O
, NULL
},
55301 { (char *)"Window_TransferDataToWindow", (PyCFunction
)_wrap_Window_TransferDataToWindow
, METH_O
, NULL
},
55302 { (char *)"Window_TransferDataFromWindow", (PyCFunction
)_wrap_Window_TransferDataFromWindow
, METH_O
, NULL
},
55303 { (char *)"Window_InitDialog", (PyCFunction
)_wrap_Window_InitDialog
, METH_O
, NULL
},
55304 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55305 { (char *)"Window_GetAcceleratorTable", (PyCFunction
)_wrap_Window_GetAcceleratorTable
, METH_O
, NULL
},
55306 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55307 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55308 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55309 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55310 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55311 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55312 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55313 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55314 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55315 { (char *)"Window_CaptureMouse", (PyCFunction
)_wrap_Window_CaptureMouse
, METH_O
, NULL
},
55316 { (char *)"Window_ReleaseMouse", (PyCFunction
)_wrap_Window_ReleaseMouse
, METH_O
, NULL
},
55317 { (char *)"Window_GetCapture", (PyCFunction
)_wrap_Window_GetCapture
, METH_NOARGS
, NULL
},
55318 { (char *)"Window_HasCapture", (PyCFunction
)_wrap_Window_HasCapture
, METH_O
, NULL
},
55319 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55320 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55321 { (char *)"Window_Update", (PyCFunction
)_wrap_Window_Update
, METH_O
, NULL
},
55322 { (char *)"Window_ClearBackground", (PyCFunction
)_wrap_Window_ClearBackground
, METH_O
, NULL
},
55323 { (char *)"Window_Freeze", (PyCFunction
)_wrap_Window_Freeze
, METH_O
, NULL
},
55324 { (char *)"Window_IsFrozen", (PyCFunction
)_wrap_Window_IsFrozen
, METH_O
, NULL
},
55325 { (char *)"Window_Thaw", (PyCFunction
)_wrap_Window_Thaw
, METH_O
, NULL
},
55326 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55327 { (char *)"Window_IsDoubleBuffered", (PyCFunction
)_wrap_Window_IsDoubleBuffered
, METH_O
, NULL
},
55328 { (char *)"Window_GetUpdateRegion", (PyCFunction
)_wrap_Window_GetUpdateRegion
, METH_O
, NULL
},
55329 { (char *)"Window_GetUpdateClientRect", (PyCFunction
)_wrap_Window_GetUpdateClientRect
, METH_O
, NULL
},
55330 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55331 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55332 { (char *)"Window_IsExposedRect", (PyCFunction
) _wrap_Window_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55333 { (char *)"Window_GetDefaultAttributes", (PyCFunction
)_wrap_Window_GetDefaultAttributes
, METH_O
, NULL
},
55334 { (char *)"Window_GetClassDefaultAttributes", (PyCFunction
) _wrap_Window_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55335 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55336 { (char *)"Window_SetOwnBackgroundColour", (PyCFunction
) _wrap_Window_SetOwnBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55337 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55338 { (char *)"Window_SetOwnForegroundColour", (PyCFunction
) _wrap_Window_SetOwnForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55339 { (char *)"Window_GetBackgroundColour", (PyCFunction
)_wrap_Window_GetBackgroundColour
, METH_O
, NULL
},
55340 { (char *)"Window_GetForegroundColour", (PyCFunction
)_wrap_Window_GetForegroundColour
, METH_O
, NULL
},
55341 { (char *)"Window_InheritsBackgroundColour", (PyCFunction
)_wrap_Window_InheritsBackgroundColour
, METH_O
, NULL
},
55342 { (char *)"Window_UseBgCol", (PyCFunction
)_wrap_Window_UseBgCol
, METH_O
, NULL
},
55343 { (char *)"Window_SetBackgroundStyle", (PyCFunction
) _wrap_Window_SetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55344 { (char *)"Window_GetBackgroundStyle", (PyCFunction
)_wrap_Window_GetBackgroundStyle
, METH_O
, NULL
},
55345 { (char *)"Window_HasTransparentBackground", (PyCFunction
)_wrap_Window_HasTransparentBackground
, METH_O
, NULL
},
55346 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55347 { (char *)"Window_GetCursor", (PyCFunction
)_wrap_Window_GetCursor
, METH_O
, NULL
},
55348 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55349 { (char *)"Window_SetOwnFont", (PyCFunction
) _wrap_Window_SetOwnFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55350 { (char *)"Window_GetFont", (PyCFunction
)_wrap_Window_GetFont
, METH_O
, NULL
},
55351 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55352 { (char *)"Window_GetCaret", (PyCFunction
)_wrap_Window_GetCaret
, METH_O
, NULL
},
55353 { (char *)"Window_GetCharHeight", (PyCFunction
)_wrap_Window_GetCharHeight
, METH_O
, NULL
},
55354 { (char *)"Window_GetCharWidth", (PyCFunction
)_wrap_Window_GetCharWidth
, METH_O
, NULL
},
55355 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55356 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55357 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55358 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55359 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55360 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55361 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55362 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55363 { (char *)"Window_GetBorder", _wrap_Window_GetBorder
, METH_VARARGS
, NULL
},
55364 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55365 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55366 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55367 { (char *)"Window_HasMultiplePages", (PyCFunction
)_wrap_Window_HasMultiplePages
, METH_O
, NULL
},
55368 { (char *)"Window_GetHandle", (PyCFunction
)_wrap_Window_GetHandle
, METH_O
, NULL
},
55369 { (char *)"Window_AssociateHandle", (PyCFunction
) _wrap_Window_AssociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55370 { (char *)"Window_DissociateHandle", (PyCFunction
)_wrap_Window_DissociateHandle
, METH_O
, NULL
},
55371 { (char *)"Window_OnPaint", (PyCFunction
) _wrap_Window_OnPaint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55372 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55373 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55374 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55375 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55376 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55377 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55378 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55379 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55380 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55381 { (char *)"Window_LineUp", (PyCFunction
)_wrap_Window_LineUp
, METH_O
, NULL
},
55382 { (char *)"Window_LineDown", (PyCFunction
)_wrap_Window_LineDown
, METH_O
, NULL
},
55383 { (char *)"Window_PageUp", (PyCFunction
)_wrap_Window_PageUp
, METH_O
, NULL
},
55384 { (char *)"Window_PageDown", (PyCFunction
)_wrap_Window_PageDown
, METH_O
, NULL
},
55385 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55386 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55387 { (char *)"Window_GetHelpTextAtPoint", (PyCFunction
) _wrap_Window_GetHelpTextAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55388 { (char *)"Window_GetHelpText", (PyCFunction
)_wrap_Window_GetHelpText
, METH_O
, NULL
},
55389 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55390 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55391 { (char *)"Window_GetToolTip", (PyCFunction
)_wrap_Window_GetToolTip
, METH_O
, NULL
},
55392 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55393 { (char *)"Window_GetDropTarget", (PyCFunction
)_wrap_Window_GetDropTarget
, METH_O
, NULL
},
55394 { (char *)"Window_DragAcceptFiles", (PyCFunction
) _wrap_Window_DragAcceptFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55395 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55396 { (char *)"Window_GetConstraints", (PyCFunction
)_wrap_Window_GetConstraints
, METH_O
, NULL
},
55397 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55398 { (char *)"Window_GetAutoLayout", (PyCFunction
)_wrap_Window_GetAutoLayout
, METH_O
, NULL
},
55399 { (char *)"Window_Layout", (PyCFunction
)_wrap_Window_Layout
, METH_O
, NULL
},
55400 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55401 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55402 { (char *)"Window_GetSizer", (PyCFunction
)_wrap_Window_GetSizer
, METH_O
, NULL
},
55403 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55404 { (char *)"Window_GetContainingSizer", (PyCFunction
)_wrap_Window_GetContainingSizer
, METH_O
, NULL
},
55405 { (char *)"Window_InheritAttributes", (PyCFunction
)_wrap_Window_InheritAttributes
, METH_O
, NULL
},
55406 { (char *)"Window_ShouldInheritColours", (PyCFunction
)_wrap_Window_ShouldInheritColours
, METH_O
, NULL
},
55407 { (char *)"Window_CanSetTransparent", (PyCFunction
)_wrap_Window_CanSetTransparent
, METH_O
, NULL
},
55408 { (char *)"Window_SetTransparent", (PyCFunction
) _wrap_Window_SetTransparent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55409 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
, NULL
},
55410 { (char *)"Window_swiginit", Window_swiginit
, METH_VARARGS
, NULL
},
55411 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55412 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55413 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55414 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55415 { (char *)"GetTopLevelWindows", (PyCFunction
)_wrap_GetTopLevelWindows
, METH_NOARGS
, NULL
},
55416 { (char *)"new_Validator", (PyCFunction
)_wrap_new_Validator
, METH_NOARGS
, NULL
},
55417 { (char *)"Validator_Clone", (PyCFunction
)_wrap_Validator_Clone
, METH_O
, NULL
},
55418 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55419 { (char *)"Validator_TransferToWindow", (PyCFunction
)_wrap_Validator_TransferToWindow
, METH_O
, NULL
},
55420 { (char *)"Validator_TransferFromWindow", (PyCFunction
)_wrap_Validator_TransferFromWindow
, METH_O
, NULL
},
55421 { (char *)"Validator_GetWindow", (PyCFunction
)_wrap_Validator_GetWindow
, METH_O
, NULL
},
55422 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55423 { (char *)"Validator_IsSilent", (PyCFunction
)_wrap_Validator_IsSilent
, METH_NOARGS
, NULL
},
55424 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55425 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
, NULL
},
55426 { (char *)"Validator_swiginit", Validator_swiginit
, METH_VARARGS
, NULL
},
55427 { (char *)"new_PyValidator", (PyCFunction
)_wrap_new_PyValidator
, METH_NOARGS
, NULL
},
55428 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55429 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
, NULL
},
55430 { (char *)"PyValidator_swiginit", PyValidator_swiginit
, METH_VARARGS
, NULL
},
55431 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55432 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55433 { (char *)"Menu_AppendSeparator", (PyCFunction
)_wrap_Menu_AppendSeparator
, METH_O
, NULL
},
55434 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55435 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55436 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55437 { (char *)"Menu_AppendSubMenu", (PyCFunction
) _wrap_Menu_AppendSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55438 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55439 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55440 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55441 { (char *)"Menu_Break", (PyCFunction
)_wrap_Menu_Break
, METH_O
, NULL
},
55442 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55443 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55444 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55445 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55446 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55447 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55448 { (char *)"Menu_PrependSeparator", (PyCFunction
)_wrap_Menu_PrependSeparator
, METH_O
, NULL
},
55449 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55450 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55451 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55452 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55453 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55454 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55455 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55456 { (char *)"Menu_Destroy", (PyCFunction
)_wrap_Menu_Destroy
, METH_O
, NULL
},
55457 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55458 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55459 { (char *)"Menu_GetMenuItemCount", (PyCFunction
)_wrap_Menu_GetMenuItemCount
, METH_O
, NULL
},
55460 { (char *)"Menu_GetMenuItems", (PyCFunction
)_wrap_Menu_GetMenuItems
, METH_O
, NULL
},
55461 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55462 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55463 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55464 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55465 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55466 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55467 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55468 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55469 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55470 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55471 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55472 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55473 { (char *)"Menu_GetTitle", (PyCFunction
)_wrap_Menu_GetTitle
, METH_O
, NULL
},
55474 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55475 { (char *)"Menu_GetEventHandler", (PyCFunction
)_wrap_Menu_GetEventHandler
, METH_O
, NULL
},
55476 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55477 { (char *)"Menu_GetInvokingWindow", (PyCFunction
)_wrap_Menu_GetInvokingWindow
, METH_O
, NULL
},
55478 { (char *)"Menu_GetStyle", (PyCFunction
)_wrap_Menu_GetStyle
, METH_O
, NULL
},
55479 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55480 { (char *)"Menu_GetMenuBar", (PyCFunction
)_wrap_Menu_GetMenuBar
, METH_O
, NULL
},
55481 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55482 { (char *)"Menu_Detach", (PyCFunction
)_wrap_Menu_Detach
, METH_O
, NULL
},
55483 { (char *)"Menu_IsAttached", (PyCFunction
)_wrap_Menu_IsAttached
, METH_O
, NULL
},
55484 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55485 { (char *)"Menu_GetParent", (PyCFunction
)_wrap_Menu_GetParent
, METH_O
, NULL
},
55486 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
, NULL
},
55487 { (char *)"Menu_swiginit", Menu_swiginit
, METH_VARARGS
, NULL
},
55488 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55489 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55490 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55491 { (char *)"MenuBar_GetMenuCount", (PyCFunction
)_wrap_MenuBar_GetMenuCount
, METH_O
, NULL
},
55492 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55493 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55494 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55495 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55496 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55497 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55498 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55499 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55500 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55501 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55502 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55503 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55504 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55505 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55506 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55507 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55508 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55509 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55510 { (char *)"MenuBar_GetFrame", (PyCFunction
)_wrap_MenuBar_GetFrame
, METH_O
, NULL
},
55511 { (char *)"MenuBar_IsAttached", (PyCFunction
)_wrap_MenuBar_IsAttached
, METH_O
, NULL
},
55512 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55513 { (char *)"MenuBar_Detach", (PyCFunction
)_wrap_MenuBar_Detach
, METH_O
, NULL
},
55514 { (char *)"MenuBar_UpdateMenus", (PyCFunction
)_wrap_MenuBar_UpdateMenus
, METH_O
, NULL
},
55515 { (char *)"MenuBar_SetAutoWindowMenu", (PyCFunction
) _wrap_MenuBar_SetAutoWindowMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55516 { (char *)"MenuBar_GetAutoWindowMenu", (PyCFunction
)_wrap_MenuBar_GetAutoWindowMenu
, METH_NOARGS
, NULL
},
55517 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
, NULL
},
55518 { (char *)"MenuBar_swiginit", MenuBar_swiginit
, METH_VARARGS
, NULL
},
55519 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55520 { (char *)"delete_MenuItem", (PyCFunction
)_wrap_delete_MenuItem
, METH_O
, NULL
},
55521 { (char *)"MenuItem_GetMenu", (PyCFunction
)_wrap_MenuItem_GetMenu
, METH_O
, NULL
},
55522 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55523 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55524 { (char *)"MenuItem_GetId", (PyCFunction
)_wrap_MenuItem_GetId
, METH_O
, NULL
},
55525 { (char *)"MenuItem_IsSeparator", (PyCFunction
)_wrap_MenuItem_IsSeparator
, METH_O
, NULL
},
55526 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55527 { (char *)"MenuItem_GetLabel", (PyCFunction
)_wrap_MenuItem_GetLabel
, METH_O
, NULL
},
55528 { (char *)"MenuItem_GetText", (PyCFunction
)_wrap_MenuItem_GetText
, METH_O
, NULL
},
55529 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55530 { (char *)"MenuItem_GetKind", (PyCFunction
)_wrap_MenuItem_GetKind
, METH_O
, NULL
},
55531 { (char *)"MenuItem_SetKind", (PyCFunction
) _wrap_MenuItem_SetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55532 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55533 { (char *)"MenuItem_IsCheckable", (PyCFunction
)_wrap_MenuItem_IsCheckable
, METH_O
, NULL
},
55534 { (char *)"MenuItem_IsSubMenu", (PyCFunction
)_wrap_MenuItem_IsSubMenu
, METH_O
, NULL
},
55535 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55536 { (char *)"MenuItem_GetSubMenu", (PyCFunction
)_wrap_MenuItem_GetSubMenu
, METH_O
, NULL
},
55537 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55538 { (char *)"MenuItem_IsEnabled", (PyCFunction
)_wrap_MenuItem_IsEnabled
, METH_O
, NULL
},
55539 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55540 { (char *)"MenuItem_IsChecked", (PyCFunction
)_wrap_MenuItem_IsChecked
, METH_O
, NULL
},
55541 { (char *)"MenuItem_Toggle", (PyCFunction
)_wrap_MenuItem_Toggle
, METH_O
, NULL
},
55542 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55543 { (char *)"MenuItem_GetHelp", (PyCFunction
)_wrap_MenuItem_GetHelp
, METH_O
, NULL
},
55544 { (char *)"MenuItem_GetAccel", (PyCFunction
)_wrap_MenuItem_GetAccel
, METH_O
, NULL
},
55545 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55546 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55547 { (char *)"MenuItem_GetBitmap", (PyCFunction
)_wrap_MenuItem_GetBitmap
, METH_O
, NULL
},
55548 { (char *)"MenuItem_SetFont", (PyCFunction
) _wrap_MenuItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55549 { (char *)"MenuItem_GetFont", (PyCFunction
)_wrap_MenuItem_GetFont
, METH_O
, NULL
},
55550 { (char *)"MenuItem_SetTextColour", (PyCFunction
) _wrap_MenuItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55551 { (char *)"MenuItem_GetTextColour", (PyCFunction
)_wrap_MenuItem_GetTextColour
, METH_O
, NULL
},
55552 { (char *)"MenuItem_SetBackgroundColour", (PyCFunction
) _wrap_MenuItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55553 { (char *)"MenuItem_GetBackgroundColour", (PyCFunction
)_wrap_MenuItem_GetBackgroundColour
, METH_O
, NULL
},
55554 { (char *)"MenuItem_SetBitmaps", (PyCFunction
) _wrap_MenuItem_SetBitmaps
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55555 { (char *)"MenuItem_SetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55556 { (char *)"MenuItem_GetDisabledBitmap", (PyCFunction
)_wrap_MenuItem_GetDisabledBitmap
, METH_O
, NULL
},
55557 { (char *)"MenuItem_SetMarginWidth", (PyCFunction
) _wrap_MenuItem_SetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55558 { (char *)"MenuItem_GetMarginWidth", (PyCFunction
)_wrap_MenuItem_GetMarginWidth
, METH_O
, NULL
},
55559 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
)_wrap_MenuItem_GetDefaultMarginWidth
, METH_NOARGS
, NULL
},
55560 { (char *)"MenuItem_IsOwnerDrawn", (PyCFunction
)_wrap_MenuItem_IsOwnerDrawn
, METH_O
, NULL
},
55561 { (char *)"MenuItem_SetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_SetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55562 { (char *)"MenuItem_ResetOwnerDrawn", (PyCFunction
)_wrap_MenuItem_ResetOwnerDrawn
, METH_O
, NULL
},
55563 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
, NULL
},
55564 { (char *)"MenuItem_swiginit", MenuItem_swiginit
, METH_VARARGS
, NULL
},
55565 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55566 { (char *)"new_PreControl", (PyCFunction
)_wrap_new_PreControl
, METH_NOARGS
, NULL
},
55567 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55568 { (char *)"Control_GetAlignment", (PyCFunction
)_wrap_Control_GetAlignment
, METH_O
, NULL
},
55569 { (char *)"Control_GetLabelText", (PyCFunction
)_wrap_Control_GetLabelText
, METH_O
, NULL
},
55570 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55571 { (char *)"Control_GetClassDefaultAttributes", (PyCFunction
) _wrap_Control_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55572 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
, NULL
},
55573 { (char *)"Control_swiginit", Control_swiginit
, METH_VARARGS
, NULL
},
55574 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55575 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55576 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55577 { (char *)"ItemContainer_Clear", (PyCFunction
)_wrap_ItemContainer_Clear
, METH_O
, NULL
},
55578 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55579 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55580 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55581 { (char *)"ItemContainer_GetCount", (PyCFunction
)_wrap_ItemContainer_GetCount
, METH_O
, NULL
},
55582 { (char *)"ItemContainer_IsEmpty", (PyCFunction
)_wrap_ItemContainer_IsEmpty
, METH_O
, NULL
},
55583 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55584 { (char *)"ItemContainer_GetStrings", (PyCFunction
)_wrap_ItemContainer_GetStrings
, METH_O
, NULL
},
55585 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55586 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55587 { (char *)"ItemContainer_SetSelection", (PyCFunction
) _wrap_ItemContainer_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55588 { (char *)"ItemContainer_GetSelection", (PyCFunction
)_wrap_ItemContainer_GetSelection
, METH_O
, NULL
},
55589 { (char *)"ItemContainer_SetStringSelection", (PyCFunction
) _wrap_ItemContainer_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55590 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
)_wrap_ItemContainer_GetStringSelection
, METH_O
, NULL
},
55591 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55592 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
, NULL
},
55593 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
, NULL
},
55594 { (char *)"new_SizerItem", (PyCFunction
)_wrap_new_SizerItem
, METH_NOARGS
, NULL
},
55595 { (char *)"delete_SizerItem", (PyCFunction
)_wrap_delete_SizerItem
, METH_O
, NULL
},
55596 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55597 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55598 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55599 { (char *)"SizerItem_DeleteWindows", (PyCFunction
)_wrap_SizerItem_DeleteWindows
, METH_O
, NULL
},
55600 { (char *)"SizerItem_DetachSizer", (PyCFunction
)_wrap_SizerItem_DetachSizer
, METH_O
, NULL
},
55601 { (char *)"SizerItem_GetSize", (PyCFunction
)_wrap_SizerItem_GetSize
, METH_O
, NULL
},
55602 { (char *)"SizerItem_CalcMin", (PyCFunction
)_wrap_SizerItem_CalcMin
, METH_O
, NULL
},
55603 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55604 { (char *)"SizerItem_GetMinSize", (PyCFunction
)_wrap_SizerItem_GetMinSize
, METH_O
, NULL
},
55605 { (char *)"SizerItem_GetMinSizeWithBorder", (PyCFunction
)_wrap_SizerItem_GetMinSizeWithBorder
, METH_O
, NULL
},
55606 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55607 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55608 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55609 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55610 { (char *)"SizerItem_GetRatio", (PyCFunction
)_wrap_SizerItem_GetRatio
, METH_O
, NULL
},
55611 { (char *)"SizerItem_GetRect", (PyCFunction
)_wrap_SizerItem_GetRect
, METH_O
, NULL
},
55612 { (char *)"SizerItem_IsWindow", (PyCFunction
)_wrap_SizerItem_IsWindow
, METH_O
, NULL
},
55613 { (char *)"SizerItem_IsSizer", (PyCFunction
)_wrap_SizerItem_IsSizer
, METH_O
, NULL
},
55614 { (char *)"SizerItem_IsSpacer", (PyCFunction
)_wrap_SizerItem_IsSpacer
, METH_O
, NULL
},
55615 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55616 { (char *)"SizerItem_GetProportion", (PyCFunction
)_wrap_SizerItem_GetProportion
, METH_O
, NULL
},
55617 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55618 { (char *)"SizerItem_GetFlag", (PyCFunction
)_wrap_SizerItem_GetFlag
, METH_O
, NULL
},
55619 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55620 { (char *)"SizerItem_GetBorder", (PyCFunction
)_wrap_SizerItem_GetBorder
, METH_O
, NULL
},
55621 { (char *)"SizerItem_GetWindow", (PyCFunction
)_wrap_SizerItem_GetWindow
, METH_O
, NULL
},
55622 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55623 { (char *)"SizerItem_GetSizer", (PyCFunction
)_wrap_SizerItem_GetSizer
, METH_O
, NULL
},
55624 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55625 { (char *)"SizerItem_GetSpacer", (PyCFunction
)_wrap_SizerItem_GetSpacer
, METH_O
, NULL
},
55626 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55627 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55628 { (char *)"SizerItem_IsShown", (PyCFunction
)_wrap_SizerItem_IsShown
, METH_O
, NULL
},
55629 { (char *)"SizerItem_GetPosition", (PyCFunction
)_wrap_SizerItem_GetPosition
, METH_O
, NULL
},
55630 { (char *)"SizerItem_GetUserData", (PyCFunction
)_wrap_SizerItem_GetUserData
, METH_O
, NULL
},
55631 { (char *)"SizerItem_SetUserData", (PyCFunction
) _wrap_SizerItem_SetUserData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55632 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
, NULL
},
55633 { (char *)"SizerItem_swiginit", SizerItem_swiginit
, METH_VARARGS
, NULL
},
55634 { (char *)"delete_Sizer", (PyCFunction
)_wrap_delete_Sizer
, METH_O
, NULL
},
55635 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55636 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55637 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55638 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55639 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55640 { (char *)"Sizer_Detach", (PyCFunction
) _wrap_Sizer_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55641 { (char *)"Sizer_GetItem", (PyCFunction
) _wrap_Sizer_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55642 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55643 { (char *)"Sizer__ReplaceWin", (PyCFunction
) _wrap_Sizer__ReplaceWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55644 { (char *)"Sizer__ReplaceSizer", (PyCFunction
) _wrap_Sizer__ReplaceSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55645 { (char *)"Sizer__ReplaceItem", (PyCFunction
) _wrap_Sizer__ReplaceItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55646 { (char *)"Sizer_SetContainingWindow", (PyCFunction
) _wrap_Sizer_SetContainingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55647 { (char *)"Sizer_GetContainingWindow", (PyCFunction
)_wrap_Sizer_GetContainingWindow
, METH_O
, NULL
},
55648 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55649 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55650 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55651 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55652 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55653 { (char *)"Sizer_GetSize", (PyCFunction
)_wrap_Sizer_GetSize
, METH_O
, NULL
},
55654 { (char *)"Sizer_GetPosition", (PyCFunction
)_wrap_Sizer_GetPosition
, METH_O
, NULL
},
55655 { (char *)"Sizer_GetMinSize", (PyCFunction
)_wrap_Sizer_GetMinSize
, METH_O
, NULL
},
55656 { (char *)"Sizer_RecalcSizes", (PyCFunction
)_wrap_Sizer_RecalcSizes
, METH_O
, NULL
},
55657 { (char *)"Sizer_CalcMin", (PyCFunction
)_wrap_Sizer_CalcMin
, METH_O
, NULL
},
55658 { (char *)"Sizer_Layout", (PyCFunction
)_wrap_Sizer_Layout
, METH_O
, NULL
},
55659 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55660 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55661 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55662 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55663 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55664 { (char *)"Sizer_DeleteWindows", (PyCFunction
)_wrap_Sizer_DeleteWindows
, METH_O
, NULL
},
55665 { (char *)"Sizer_GetChildren", (PyCFunction
)_wrap_Sizer_GetChildren
, METH_O
, NULL
},
55666 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55667 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55668 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55669 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
, NULL
},
55670 { (char *)"new_PySizer", (PyCFunction
)_wrap_new_PySizer
, METH_NOARGS
, NULL
},
55671 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55672 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
, NULL
},
55673 { (char *)"PySizer_swiginit", PySizer_swiginit
, METH_VARARGS
, NULL
},
55674 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55675 { (char *)"BoxSizer_GetOrientation", (PyCFunction
)_wrap_BoxSizer_GetOrientation
, METH_O
, NULL
},
55676 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55677 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
, NULL
},
55678 { (char *)"BoxSizer_swiginit", BoxSizer_swiginit
, METH_VARARGS
, NULL
},
55679 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55680 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
)_wrap_StaticBoxSizer_GetStaticBox
, METH_O
, NULL
},
55681 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
, NULL
},
55682 { (char *)"StaticBoxSizer_swiginit", StaticBoxSizer_swiginit
, METH_VARARGS
, NULL
},
55683 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55684 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55685 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55686 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55687 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55688 { (char *)"GridSizer_GetCols", (PyCFunction
)_wrap_GridSizer_GetCols
, METH_O
, NULL
},
55689 { (char *)"GridSizer_GetRows", (PyCFunction
)_wrap_GridSizer_GetRows
, METH_O
, NULL
},
55690 { (char *)"GridSizer_GetVGap", (PyCFunction
)_wrap_GridSizer_GetVGap
, METH_O
, NULL
},
55691 { (char *)"GridSizer_GetHGap", (PyCFunction
)_wrap_GridSizer_GetHGap
, METH_O
, NULL
},
55692 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
, NULL
},
55693 { (char *)"GridSizer_swiginit", GridSizer_swiginit
, METH_VARARGS
, NULL
},
55694 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55695 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55696 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55697 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55698 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55699 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55700 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
)_wrap_FlexGridSizer_GetFlexibleDirection
, METH_O
, NULL
},
55701 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55702 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
)_wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_O
, NULL
},
55703 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction
)_wrap_FlexGridSizer_GetRowHeights
, METH_O
, NULL
},
55704 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction
)_wrap_FlexGridSizer_GetColWidths
, METH_O
, NULL
},
55705 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
, NULL
},
55706 { (char *)"FlexGridSizer_swiginit", FlexGridSizer_swiginit
, METH_VARARGS
, NULL
},
55707 { (char *)"new_StdDialogButtonSizer", (PyCFunction
)_wrap_new_StdDialogButtonSizer
, METH_NOARGS
, NULL
},
55708 { (char *)"StdDialogButtonSizer_AddButton", (PyCFunction
) _wrap_StdDialogButtonSizer_AddButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55709 { (char *)"StdDialogButtonSizer_Realize", (PyCFunction
)_wrap_StdDialogButtonSizer_Realize
, METH_O
, NULL
},
55710 { (char *)"StdDialogButtonSizer_SetAffirmativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetAffirmativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55711 { (char *)"StdDialogButtonSizer_SetNegativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetNegativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55712 { (char *)"StdDialogButtonSizer_SetCancelButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetCancelButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55713 { (char *)"StdDialogButtonSizer_GetAffirmativeButton", (PyCFunction
)_wrap_StdDialogButtonSizer_GetAffirmativeButton
, METH_O
, NULL
},
55714 { (char *)"StdDialogButtonSizer_GetApplyButton", (PyCFunction
)_wrap_StdDialogButtonSizer_GetApplyButton
, METH_O
, NULL
},
55715 { (char *)"StdDialogButtonSizer_GetNegativeButton", (PyCFunction
)_wrap_StdDialogButtonSizer_GetNegativeButton
, METH_O
, NULL
},
55716 { (char *)"StdDialogButtonSizer_GetCancelButton", (PyCFunction
)_wrap_StdDialogButtonSizer_GetCancelButton
, METH_O
, NULL
},
55717 { (char *)"StdDialogButtonSizer_GetHelpButton", (PyCFunction
)_wrap_StdDialogButtonSizer_GetHelpButton
, METH_O
, NULL
},
55718 { (char *)"StdDialogButtonSizer_swigregister", StdDialogButtonSizer_swigregister
, METH_VARARGS
, NULL
},
55719 { (char *)"StdDialogButtonSizer_swiginit", StdDialogButtonSizer_swiginit
, METH_VARARGS
, NULL
},
55720 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55721 { (char *)"delete_GBPosition", (PyCFunction
)_wrap_delete_GBPosition
, METH_O
, NULL
},
55722 { (char *)"GBPosition_GetRow", (PyCFunction
)_wrap_GBPosition_GetRow
, METH_O
, NULL
},
55723 { (char *)"GBPosition_GetCol", (PyCFunction
)_wrap_GBPosition_GetCol
, METH_O
, NULL
},
55724 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55725 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55726 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55727 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55728 { (char *)"GBPosition_Set", (PyCFunction
) _wrap_GBPosition_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55729 { (char *)"GBPosition_Get", (PyCFunction
)_wrap_GBPosition_Get
, METH_O
, NULL
},
55730 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
, NULL
},
55731 { (char *)"GBPosition_swiginit", GBPosition_swiginit
, METH_VARARGS
, NULL
},
55732 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55733 { (char *)"delete_GBSpan", (PyCFunction
)_wrap_delete_GBSpan
, METH_O
, NULL
},
55734 { (char *)"GBSpan_GetRowspan", (PyCFunction
)_wrap_GBSpan_GetRowspan
, METH_O
, NULL
},
55735 { (char *)"GBSpan_GetColspan", (PyCFunction
)_wrap_GBSpan_GetColspan
, METH_O
, NULL
},
55736 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55737 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55738 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55739 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55740 { (char *)"GBSpan_Set", (PyCFunction
) _wrap_GBSpan_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55741 { (char *)"GBSpan_Get", (PyCFunction
)_wrap_GBSpan_Get
, METH_O
, NULL
},
55742 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
, NULL
},
55743 { (char *)"GBSpan_swiginit", GBSpan_swiginit
, METH_VARARGS
, NULL
},
55744 { (char *)"new_GBSizerItem", (PyCFunction
)_wrap_new_GBSizerItem
, METH_NOARGS
, NULL
},
55745 { (char *)"delete_GBSizerItem", (PyCFunction
)_wrap_delete_GBSizerItem
, METH_O
, NULL
},
55746 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55747 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55748 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55749 { (char *)"GBSizerItem_GetPos", (PyCFunction
)_wrap_GBSizerItem_GetPos
, METH_O
, NULL
},
55750 { (char *)"GBSizerItem_GetSpan", (PyCFunction
)_wrap_GBSizerItem_GetSpan
, METH_O
, NULL
},
55751 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55752 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55753 { (char *)"GBSizerItem_Intersects", (PyCFunction
) _wrap_GBSizerItem_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55754 { (char *)"GBSizerItem_IntersectsPos", (PyCFunction
) _wrap_GBSizerItem_IntersectsPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55755 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
)_wrap_GBSizerItem_GetEndPos
, METH_O
, NULL
},
55756 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
)_wrap_GBSizerItem_GetGBSizer
, METH_O
, NULL
},
55757 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55758 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
, NULL
},
55759 { (char *)"GBSizerItem_swiginit", GBSizerItem_swiginit
, METH_VARARGS
, NULL
},
55760 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55761 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55762 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55763 { (char *)"GridBagSizer_GetCellSize", (PyCFunction
) _wrap_GridBagSizer_GetCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55764 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
)_wrap_GridBagSizer_GetEmptyCellSize
, METH_O
, NULL
},
55765 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55766 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
, NULL
},
55767 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
, NULL
},
55768 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
, NULL
},
55769 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
, NULL
},
55770 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
, NULL
},
55771 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55772 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55773 { (char *)"GridBagSizer_CheckForIntersection", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55774 { (char *)"GridBagSizer_CheckForIntersectionPos", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersectionPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55775 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
, NULL
},
55776 { (char *)"GridBagSizer_swiginit", GridBagSizer_swiginit
, METH_VARARGS
, NULL
},
55777 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55778 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55779 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55780 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55781 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55782 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55783 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55784 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55785 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
)_wrap_IndividualLayoutConstraint_Unconstrained
, METH_O
, NULL
},
55786 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
)_wrap_IndividualLayoutConstraint_AsIs
, METH_O
, NULL
},
55787 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
)_wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_O
, NULL
},
55788 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
)_wrap_IndividualLayoutConstraint_GetMyEdge
, METH_O
, NULL
},
55789 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55790 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55791 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
)_wrap_IndividualLayoutConstraint_GetMargin
, METH_O
, NULL
},
55792 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55793 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
)_wrap_IndividualLayoutConstraint_GetValue
, METH_O
, NULL
},
55794 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
)_wrap_IndividualLayoutConstraint_GetPercent
, METH_O
, NULL
},
55795 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
)_wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_O
, NULL
},
55796 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
)_wrap_IndividualLayoutConstraint_GetDone
, METH_O
, NULL
},
55797 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55798 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
)_wrap_IndividualLayoutConstraint_GetRelationship
, METH_O
, NULL
},
55799 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55800 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55801 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55802 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55803 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
, NULL
},
55804 { (char *)"LayoutConstraints_left_get", (PyCFunction
)_wrap_LayoutConstraints_left_get
, METH_O
, NULL
},
55805 { (char *)"LayoutConstraints_top_get", (PyCFunction
)_wrap_LayoutConstraints_top_get
, METH_O
, NULL
},
55806 { (char *)"LayoutConstraints_right_get", (PyCFunction
)_wrap_LayoutConstraints_right_get
, METH_O
, NULL
},
55807 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
)_wrap_LayoutConstraints_bottom_get
, METH_O
, NULL
},
55808 { (char *)"LayoutConstraints_width_get", (PyCFunction
)_wrap_LayoutConstraints_width_get
, METH_O
, NULL
},
55809 { (char *)"LayoutConstraints_height_get", (PyCFunction
)_wrap_LayoutConstraints_height_get
, METH_O
, NULL
},
55810 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
)_wrap_LayoutConstraints_centreX_get
, METH_O
, NULL
},
55811 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
)_wrap_LayoutConstraints_centreY_get
, METH_O
, NULL
},
55812 { (char *)"new_LayoutConstraints", (PyCFunction
)_wrap_new_LayoutConstraints
, METH_NOARGS
, NULL
},
55813 { (char *)"delete_LayoutConstraints", (PyCFunction
)_wrap_delete_LayoutConstraints
, METH_O
, NULL
},
55814 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55815 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
)_wrap_LayoutConstraints_AreSatisfied
, METH_O
, NULL
},
55816 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
, NULL
},
55817 { (char *)"LayoutConstraints_swiginit", LayoutConstraints_swiginit
, METH_VARARGS
, NULL
},
55818 { NULL
, NULL
, 0, NULL
}
55822 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
55824 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
55825 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
55827 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
55828 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
55830 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
55831 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
55833 static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x
) {
55834 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
55836 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
55837 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
55839 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
55840 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
55842 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
55843 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
55845 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
55846 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
55848 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
55849 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
55851 static void *_p_wxStdDialogButtonSizerTo_p_wxBoxSizer(void *x
) {
55852 return (void *)((wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
55854 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
55855 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
55857 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
55858 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
55860 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
55861 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
55863 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
55864 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
55866 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
55867 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
55869 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
55870 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
55872 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
55873 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
55875 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
55876 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
55878 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
55879 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
55881 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x
) {
55882 return (void *)((wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
55884 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
55885 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
55887 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
55888 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
55890 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
55891 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
55893 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
55894 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
55896 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
55897 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
55899 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
55900 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
55902 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
55903 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
55905 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
55906 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
55908 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
55909 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
55911 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
55912 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
55914 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
55915 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
55917 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
55918 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
55920 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
55921 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
55923 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
55924 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
55926 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
55927 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
55929 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
55930 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
55932 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
55933 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
55935 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
55936 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
55938 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
55939 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
55941 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
55942 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
55944 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
55945 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
55947 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
55948 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
55950 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
55951 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
55953 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
55954 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
55956 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
55957 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
55959 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
55960 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
55962 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
55963 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
55965 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
55966 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
55968 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
55969 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
55971 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
55972 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
55974 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
55975 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
55977 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
55978 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
55980 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
55981 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
55983 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
55984 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
55986 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
55987 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
55989 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
55990 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
55992 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
55993 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
55995 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
55996 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
55998 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
55999 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
56001 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
56002 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
56004 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
56005 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
56007 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
56008 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
56010 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
56011 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
56013 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
56014 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
56016 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
56017 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
56019 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
56020 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
56022 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
56023 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
56025 static void *_p_wxPyImageHandlerTo_p_wxImageHandler(void *x
) {
56026 return (void *)((wxImageHandler
*) ((wxPyImageHandler
*) x
));
56028 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
56029 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
56031 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
56032 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
56034 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
56035 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
56037 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
56038 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
56040 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
56041 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
56043 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
56044 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
56046 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
56047 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
56049 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
56050 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
56052 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
56053 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
56055 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
56056 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
56058 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
56059 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
56061 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
56062 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
56064 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
56065 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
56067 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
56068 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
56070 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
56071 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
56073 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
56074 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
56076 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
56077 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
56079 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
56080 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
56082 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
56083 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
56085 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
56086 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
56088 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
56089 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
56091 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
56092 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
56094 static void *_p_wxSizerTo_p_wxObject(void *x
) {
56095 return (void *)((wxObject
*) ((wxSizer
*) x
));
56097 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
56098 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
56100 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
56101 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
56103 static void *_p_wxEventTo_p_wxObject(void *x
) {
56104 return (void *)((wxObject
*) ((wxEvent
*) x
));
56106 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
56107 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
56109 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
56110 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
56112 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
56113 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
56115 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
56116 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
56118 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
56119 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
56121 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
56122 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
56124 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
56125 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
56127 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
56128 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
56130 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
56131 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
56133 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
56134 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
56136 static void *_p_wxControlTo_p_wxObject(void *x
) {
56137 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
56139 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
56140 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
56142 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
56143 return (void *)((wxObject
*) ((wxFSFile
*) x
));
56145 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
56146 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
56148 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
56149 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
56151 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
56152 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
56154 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
56155 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
56157 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
56158 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
56160 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
56161 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
56163 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
56164 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
56166 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
56167 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
56169 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
56170 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
56172 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
56173 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
56175 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
56176 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
56178 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
56179 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
56181 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
56182 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
56184 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
56185 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
56187 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
56188 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
56190 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
56191 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
56193 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
56194 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
56196 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
56197 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
56199 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
56200 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
56202 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
56203 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
56205 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
56206 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
56208 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
56209 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
56211 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
56212 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
56214 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
56215 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
56217 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
56218 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
56220 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
56221 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
56223 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
56224 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
56226 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
56227 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
56229 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
56230 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
56232 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
56233 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
56235 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
56236 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
56238 static void *_p_wxImageTo_p_wxObject(void *x
) {
56239 return (void *)((wxObject
*) ((wxImage
*) x
));
56241 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
56242 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
56244 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
56245 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
56247 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
56248 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
56250 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
56251 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
56253 static void *_p_wxWindowTo_p_wxObject(void *x
) {
56254 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
56256 static void *_p_wxMenuTo_p_wxObject(void *x
) {
56257 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
56259 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
56260 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
56262 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
56263 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
56265 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
56266 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
56268 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
56269 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
56271 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
56272 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
56274 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
56275 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
56277 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
56278 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
56280 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
56281 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
56283 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
56284 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
56286 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
56287 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
56289 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
56290 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
56292 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
56293 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
56295 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
56296 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
56298 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
56299 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
56301 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
56302 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
56304 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
56305 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
56307 static void *_p_wxControlTo_p_wxWindow(void *x
) {
56308 return (void *)((wxWindow
*) ((wxControl
*) x
));
56310 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
56311 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
56313 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
56314 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
56316 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
56317 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
56319 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
56320 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
56322 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
56323 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
56325 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
56326 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
56328 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
56329 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
56331 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
56332 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
56334 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
56335 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
56337 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
56338 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
56340 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
56341 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
56343 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
56344 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
56346 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
56347 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
56349 static swig_type_info _swigt__p_buffer
= {"_p_buffer", "buffer *", 0, 0, (void*)0, 0};
56350 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
56351 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};
56352 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
56353 static swig_type_info _swigt__p_long
= {"_p_long", "long *", 0, 0, (void*)0, 0};
56354 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
56355 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
56356 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
56357 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", "wxANIHandler *", 0, 0, (void*)0, 0};
56358 static swig_type_info _swigt__p_wxAcceleratorEntry
= {"_p_wxAcceleratorEntry", "wxAcceleratorEntry *", 0, 0, (void*)0, 0};
56359 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", "wxAcceleratorTable *", 0, 0, (void*)0, 0};
56360 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", "wxActivateEvent *", 0, 0, (void*)0, 0};
56361 static swig_type_info _swigt__p_wxAppTraits
= {"_p_wxAppTraits", "wxAppTraits *", 0, 0, (void*)0, 0};
56362 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
56363 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", "wxBMPHandler *", 0, 0, (void*)0, 0};
56364 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
56365 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", "wxBoxSizer *", 0, 0, (void*)0, 0};
56366 static swig_type_info _swigt__p_wxButton
= {"_p_wxButton", "wxButton *", 0, 0, (void*)0, 0};
56367 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", "wxCURHandler *", 0, 0, (void*)0, 0};
56368 static swig_type_info _swigt__p_wxCaret
= {"_p_wxCaret", "wxCaret *", 0, 0, (void*)0, 0};
56369 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", "wxChildFocusEvent *", 0, 0, (void*)0, 0};
56370 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", "wxClipboardTextEvent *", 0, 0, (void*)0, 0};
56371 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", "wxCloseEvent *", 0, 0, (void*)0, 0};
56372 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
56373 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
56374 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", "wxContextMenuEvent *", 0, 0, (void*)0, 0};
56375 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
56376 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", "wxControlWithItems *", 0, 0, (void*)0, 0};
56377 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
56378 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
56379 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", "wxDateEvent *", 0, 0, (void*)0, 0};
56380 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
56381 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", "wxDisplayChangedEvent *", 0, 0, (void*)0, 0};
56382 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", "wxDropFilesEvent *", 0, 0, (void*)0, 0};
56383 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
56384 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", "wxEraseEvent *", 0, 0, (void*)0, 0};
56385 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
56386 static swig_type_info _swigt__p_wxEventLoop
= {"_p_wxEventLoop", "wxEventLoop *", 0, 0, (void*)0, 0};
56387 static swig_type_info _swigt__p_wxEventLoopActivator
= {"_p_wxEventLoopActivator", "wxEventLoopActivator *", 0, 0, (void*)0, 0};
56388 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
56389 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", "wxFSFile *", 0, 0, (void*)0, 0};
56390 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
56391 static swig_type_info _swigt__p_wxFileSystemHandler
= {"_p_wxFileSystemHandler", "wxFileSystemHandler *", 0, 0, (void*)0, 0};
56392 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", "wxFlexGridSizer *", 0, 0, (void*)0, 0};
56393 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", "wxFocusEvent *", 0, 0, (void*)0, 0};
56394 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
56395 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
56396 static swig_type_info _swigt__p_wxGBPosition
= {"_p_wxGBPosition", "wxGBPosition *", 0, 0, (void*)0, 0};
56397 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", "wxGBSizerItem *", 0, 0, (void*)0, 0};
56398 static swig_type_info _swigt__p_wxGBSpan
= {"_p_wxGBSpan", "wxGBSpan *", 0, 0, (void*)0, 0};
56399 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", "wxGIFHandler *", 0, 0, (void*)0, 0};
56400 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", "wxGridBagSizer *", 0, 0, (void*)0, 0};
56401 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", "wxGridSizer *", 0, 0, (void*)0, 0};
56402 static swig_type_info _swigt__p_wxHelpEvent__Origin
= {"_p_wxHelpEvent__Origin", "wxHelpEvent::Origin *", 0, 0, (void*)0, 0};
56403 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", "wxICOHandler *", 0, 0, (void*)0, 0};
56404 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", "wxIconizeEvent *", 0, 0, (void*)0, 0};
56405 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", "wxIdleEvent *", 0, 0, (void*)0, 0};
56406 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
56407 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", "wxImageHandler *", 0, 0, (void*)0, 0};
56408 static swig_type_info _swigt__p_wxImageHistogram
= {"_p_wxImageHistogram", "wxImageHistogram *", 0, 0, (void*)0, 0};
56409 static swig_type_info _swigt__p_wxImage_HSVValue
= {"_p_wxImage_HSVValue", "wxImage_HSVValue *", 0, 0, (void*)0, 0};
56410 static swig_type_info _swigt__p_wxImage_RGBValue
= {"_p_wxImage_RGBValue", "wxImage_RGBValue *", 0, 0, (void*)0, 0};
56411 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", "wxIndividualLayoutConstraint *", 0, 0, (void*)0, 0};
56412 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", "wxInitDialogEvent *", 0, 0, (void*)0, 0};
56413 static swig_type_info _swigt__p_wxInputStream
= {"_p_wxInputStream", "wxInputStream *", 0, 0, (void*)0, 0};
56414 static swig_type_info _swigt__p_wxInternetFSHandler
= {"_p_wxInternetFSHandler", "wxInternetFSHandler *", 0, 0, (void*)0, 0};
56415 static swig_type_info _swigt__p_wxItemContainer
= {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
56416 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", "wxJPEGHandler *", 0, 0, (void*)0, 0};
56417 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, (void*)0, 0};
56418 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", "wxLayoutConstraints *", 0, 0, (void*)0, 0};
56419 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", "wxMaximizeEvent *", 0, 0, (void*)0, 0};
56420 static swig_type_info _swigt__p_wxMemoryFSHandler
= {"_p_wxMemoryFSHandler", "wxMemoryFSHandler *", 0, 0, (void*)0, 0};
56421 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
56422 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
56423 static swig_type_info _swigt__p_wxMenuBarBase
= {"_p_wxMenuBarBase", "wxMenuBarBase *", 0, 0, (void*)0, 0};
56424 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", "wxMenuEvent *", 0, 0, (void*)0, 0};
56425 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", "wxMenuItem *", 0, 0, (void*)0, 0};
56426 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", "wxMouseCaptureChangedEvent *", 0, 0, (void*)0, 0};
56427 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", "wxMouseCaptureLostEvent *", 0, 0, (void*)0, 0};
56428 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, (void*)0, 0};
56429 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", "wxMoveEvent *", 0, 0, (void*)0, 0};
56430 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", "wxNavigationKeyEvent *", 0, 0, (void*)0, 0};
56431 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", "wxNcPaintEvent *", 0, 0, (void*)0, 0};
56432 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
56433 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
56434 static swig_type_info _swigt__p_wxOutputStream
= {"_p_wxOutputStream", "wxOutputStream *", 0, 0, (void*)0, 0};
56435 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", "wxPCXHandler *", 0, 0, (void*)0, 0};
56436 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", "wxPNGHandler *", 0, 0, (void*)0, 0};
56437 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", "wxPNMHandler *", 0, 0, (void*)0, 0};
56438 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", "wxPaintEvent *", 0, 0, (void*)0, 0};
56439 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", "wxPaletteChangedEvent *", 0, 0, (void*)0, 0};
56440 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
56441 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
56442 static swig_type_info _swigt__p_wxPoint2D
= {"_p_wxPoint2D", "wxPoint2D *", 0, 0, (void*)0, 0};
56443 static swig_type_info _swigt__p_wxPropagateOnce
= {"_p_wxPropagateOnce", "wxPropagateOnce *", 0, 0, (void*)0, 0};
56444 static swig_type_info _swigt__p_wxPropagationDisabler
= {"_p_wxPropagationDisabler", "wxPropagationDisabler *", 0, 0, (void*)0, 0};
56445 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", "wxPyApp *", 0, 0, (void*)0, 0};
56446 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", "wxPyCommandEvent *", 0, 0, (void*)0, 0};
56447 static swig_type_info _swigt__p_wxPyDropTarget
= {"_p_wxPyDropTarget", "wxPyDropTarget *", 0, 0, (void*)0, 0};
56448 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", "wxPyEvent *", 0, 0, (void*)0, 0};
56449 static swig_type_info _swigt__p_wxPyFileSystemHandler
= {"_p_wxPyFileSystemHandler", "wxPyFileSystemHandler *", 0, 0, (void*)0, 0};
56450 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", "wxPyImageHandler *", 0, 0, (void*)0, 0};
56451 static swig_type_info _swigt__p_wxPyInputStream
= {"_p_wxPyInputStream", "wxPyInputStream *", 0, 0, (void*)0, 0};
56452 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", "wxPySizer *", 0, 0, (void*)0, 0};
56453 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", "wxPyValidator *", 0, 0, (void*)0, 0};
56454 static swig_type_info _swigt__p_wxQuantize
= {"_p_wxQuantize", "wxQuantize *", 0, 0, (void*)0, 0};
56455 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", "wxQueryNewPaletteEvent *", 0, 0, (void*)0, 0};
56456 static swig_type_info _swigt__p_wxRealPoint
= {"_p_wxRealPoint", "wxRealPoint *", 0, 0, (void*)0, 0};
56457 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
56458 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
56459 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", "wxScrollEvent *", 0, 0, (void*)0, 0};
56460 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
56461 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", "wxSetCursorEvent *", 0, 0, (void*)0, 0};
56462 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", "wxShowEvent *", 0, 0, (void*)0, 0};
56463 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
56464 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", "wxSizeEvent *", 0, 0, (void*)0, 0};
56465 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", "wxSizer *", 0, 0, (void*)0, 0};
56466 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", "wxSizerItem *", 0, 0, (void*)0, 0};
56467 static swig_type_info _swigt__p_wxStaticBox
= {"_p_wxStaticBox", "wxStaticBox *", 0, 0, (void*)0, 0};
56468 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", "wxStaticBoxSizer *", 0, 0, (void*)0, 0};
56469 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
56470 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", "wxSysColourChangedEvent *", 0, 0, (void*)0, 0};
56471 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", "wxTIFFHandler *", 0, 0, (void*)0, 0};
56472 static swig_type_info _swigt__p_wxToolTip
= {"_p_wxToolTip", "wxToolTip *", 0, 0, (void*)0, 0};
56473 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", "wxUpdateUIEvent *", 0, 0, (void*)0, 0};
56474 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
56475 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
56476 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
56477 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", "wxWindowCreateEvent *", 0, 0, (void*)0, 0};
56478 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", "wxWindowDestroyEvent *", 0, 0, (void*)0, 0};
56479 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", "wxXPMHandler *", 0, 0, (void*)0, 0};
56480 static swig_type_info _swigt__p_wxZipFSHandler
= {"_p_wxZipFSHandler", "wxZipFSHandler *", 0, 0, (void*)0, 0};
56482 static swig_type_info
*swig_type_initial
[] = {
56485 &_swigt__p_form_ops_t
,
56488 &_swigt__p_unsigned_char
,
56489 &_swigt__p_unsigned_int
,
56490 &_swigt__p_unsigned_long
,
56491 &_swigt__p_wxANIHandler
,
56492 &_swigt__p_wxAcceleratorEntry
,
56493 &_swigt__p_wxAcceleratorTable
,
56494 &_swigt__p_wxActivateEvent
,
56495 &_swigt__p_wxAppTraits
,
56496 &_swigt__p_wxArrayString
,
56497 &_swigt__p_wxBMPHandler
,
56498 &_swigt__p_wxBitmap
,
56499 &_swigt__p_wxBoxSizer
,
56500 &_swigt__p_wxButton
,
56501 &_swigt__p_wxCURHandler
,
56502 &_swigt__p_wxCaret
,
56503 &_swigt__p_wxChildFocusEvent
,
56504 &_swigt__p_wxClipboardTextEvent
,
56505 &_swigt__p_wxCloseEvent
,
56506 &_swigt__p_wxColour
,
56507 &_swigt__p_wxCommandEvent
,
56508 &_swigt__p_wxContextMenuEvent
,
56509 &_swigt__p_wxControl
,
56510 &_swigt__p_wxControlWithItems
,
56511 &_swigt__p_wxCursor
,
56513 &_swigt__p_wxDateEvent
,
56514 &_swigt__p_wxDateTime
,
56515 &_swigt__p_wxDisplayChangedEvent
,
56516 &_swigt__p_wxDropFilesEvent
,
56517 &_swigt__p_wxDuplexMode
,
56518 &_swigt__p_wxEraseEvent
,
56519 &_swigt__p_wxEvent
,
56520 &_swigt__p_wxEventLoop
,
56521 &_swigt__p_wxEventLoopActivator
,
56522 &_swigt__p_wxEvtHandler
,
56523 &_swigt__p_wxFSFile
,
56524 &_swigt__p_wxFileSystem
,
56525 &_swigt__p_wxFileSystemHandler
,
56526 &_swigt__p_wxFlexGridSizer
,
56527 &_swigt__p_wxFocusEvent
,
56529 &_swigt__p_wxFrame
,
56530 &_swigt__p_wxGBPosition
,
56531 &_swigt__p_wxGBSizerItem
,
56532 &_swigt__p_wxGBSpan
,
56533 &_swigt__p_wxGIFHandler
,
56534 &_swigt__p_wxGridBagSizer
,
56535 &_swigt__p_wxGridSizer
,
56536 &_swigt__p_wxHelpEvent__Origin
,
56537 &_swigt__p_wxICOHandler
,
56538 &_swigt__p_wxIconizeEvent
,
56539 &_swigt__p_wxIdleEvent
,
56540 &_swigt__p_wxImage
,
56541 &_swigt__p_wxImageHandler
,
56542 &_swigt__p_wxImageHistogram
,
56543 &_swigt__p_wxImage_HSVValue
,
56544 &_swigt__p_wxImage_RGBValue
,
56545 &_swigt__p_wxIndividualLayoutConstraint
,
56546 &_swigt__p_wxInitDialogEvent
,
56547 &_swigt__p_wxInputStream
,
56548 &_swigt__p_wxInternetFSHandler
,
56549 &_swigt__p_wxItemContainer
,
56550 &_swigt__p_wxJPEGHandler
,
56551 &_swigt__p_wxKeyEvent
,
56552 &_swigt__p_wxLayoutConstraints
,
56553 &_swigt__p_wxMaximizeEvent
,
56554 &_swigt__p_wxMemoryFSHandler
,
56556 &_swigt__p_wxMenuBar
,
56557 &_swigt__p_wxMenuBarBase
,
56558 &_swigt__p_wxMenuEvent
,
56559 &_swigt__p_wxMenuItem
,
56560 &_swigt__p_wxMouseCaptureChangedEvent
,
56561 &_swigt__p_wxMouseCaptureLostEvent
,
56562 &_swigt__p_wxMouseEvent
,
56563 &_swigt__p_wxMoveEvent
,
56564 &_swigt__p_wxNavigationKeyEvent
,
56565 &_swigt__p_wxNcPaintEvent
,
56566 &_swigt__p_wxNotifyEvent
,
56567 &_swigt__p_wxObject
,
56568 &_swigt__p_wxOutputStream
,
56569 &_swigt__p_wxPCXHandler
,
56570 &_swigt__p_wxPNGHandler
,
56571 &_swigt__p_wxPNMHandler
,
56572 &_swigt__p_wxPaintEvent
,
56573 &_swigt__p_wxPaletteChangedEvent
,
56574 &_swigt__p_wxPaperSize
,
56575 &_swigt__p_wxPoint
,
56576 &_swigt__p_wxPoint2D
,
56577 &_swigt__p_wxPropagateOnce
,
56578 &_swigt__p_wxPropagationDisabler
,
56579 &_swigt__p_wxPyApp
,
56580 &_swigt__p_wxPyCommandEvent
,
56581 &_swigt__p_wxPyDropTarget
,
56582 &_swigt__p_wxPyEvent
,
56583 &_swigt__p_wxPyFileSystemHandler
,
56584 &_swigt__p_wxPyImageHandler
,
56585 &_swigt__p_wxPyInputStream
,
56586 &_swigt__p_wxPySizer
,
56587 &_swigt__p_wxPyValidator
,
56588 &_swigt__p_wxQuantize
,
56589 &_swigt__p_wxQueryNewPaletteEvent
,
56590 &_swigt__p_wxRealPoint
,
56592 &_swigt__p_wxRegion
,
56593 &_swigt__p_wxScrollEvent
,
56594 &_swigt__p_wxScrollWinEvent
,
56595 &_swigt__p_wxSetCursorEvent
,
56596 &_swigt__p_wxShowEvent
,
56598 &_swigt__p_wxSizeEvent
,
56599 &_swigt__p_wxSizer
,
56600 &_swigt__p_wxSizerItem
,
56601 &_swigt__p_wxStaticBox
,
56602 &_swigt__p_wxStaticBoxSizer
,
56603 &_swigt__p_wxStdDialogButtonSizer
,
56604 &_swigt__p_wxSysColourChangedEvent
,
56605 &_swigt__p_wxTIFFHandler
,
56606 &_swigt__p_wxToolTip
,
56607 &_swigt__p_wxUpdateUIEvent
,
56608 &_swigt__p_wxValidator
,
56609 &_swigt__p_wxVisualAttributes
,
56610 &_swigt__p_wxWindow
,
56611 &_swigt__p_wxWindowCreateEvent
,
56612 &_swigt__p_wxWindowDestroyEvent
,
56613 &_swigt__p_wxXPMHandler
,
56614 &_swigt__p_wxZipFSHandler
,
56617 static swig_cast_info _swigc__p_buffer
[] = { {&_swigt__p_buffer
, 0, 0, 0},{0, 0, 0, 0}};
56618 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
56619 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
56620 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
56621 static swig_cast_info _swigc__p_long
[] = { {&_swigt__p_long
, 0, 0, 0},{0, 0, 0, 0}};
56622 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
56623 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
56624 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
56625 static swig_cast_info _swigc__p_wxANIHandler
[] = { {&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
56626 static swig_cast_info _swigc__p_wxAcceleratorEntry
[] = { {&_swigt__p_wxAcceleratorEntry
, 0, 0, 0},{0, 0, 0, 0}};
56627 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = { {&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
56628 static swig_cast_info _swigc__p_wxActivateEvent
[] = { {&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
56629 static swig_cast_info _swigc__p_wxAppTraits
[] = { {&_swigt__p_wxAppTraits
, 0, 0, 0},{0, 0, 0, 0}};
56630 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
56631 static swig_cast_info _swigc__p_wxBMPHandler
[] = { {&_swigt__p_wxBMPHandler
, 0, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxBMPHandler
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxBMPHandler
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxBMPHandler
, 0, 0},{0, 0, 0, 0}};
56632 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
56633 static swig_cast_info _swigc__p_wxBoxSizer
[] = { {&_swigt__p_wxBoxSizer
, 0, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxBoxSizer
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxBoxSizer
, 0, 0},{0, 0, 0, 0}};
56634 static swig_cast_info _swigc__p_wxButton
[] = { {&_swigt__p_wxButton
, 0, 0, 0},{0, 0, 0, 0}};
56635 static swig_cast_info _swigc__p_wxCURHandler
[] = { {&_swigt__p_wxCURHandler
, 0, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxCURHandler
, 0, 0},{0, 0, 0, 0}};
56636 static swig_cast_info _swigc__p_wxCaret
[] = { {&_swigt__p_wxCaret
, 0, 0, 0},{0, 0, 0, 0}};
56637 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = { {&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
56638 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = { {&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
56639 static swig_cast_info _swigc__p_wxCloseEvent
[] = { {&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
56640 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
56641 static swig_cast_info _swigc__p_wxCommandEvent
[] = { {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxCommandEvent
, 0, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxCommandEvent
, 0, 0},{0, 0, 0, 0}};
56642 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = { {&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
56643 static swig_cast_info _swigc__p_wxControl
[] = { {&_swigt__p_wxControl
, 0, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxControl
, 0, 0},{0, 0, 0, 0}};
56644 static swig_cast_info _swigc__p_wxControlWithItems
[] = { {&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
56645 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
56646 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
56647 static swig_cast_info _swigc__p_wxDateEvent
[] = { {&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
56648 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
56649 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = { {&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
56650 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = { {&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
56651 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
56652 static swig_cast_info _swigc__p_wxEraseEvent
[] = { {&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
56653 static swig_cast_info _swigc__p_wxEvent
[] = { {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEvent
, 0, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxEvent
, 0, 0},{0, 0, 0, 0}};
56654 static swig_cast_info _swigc__p_wxEventLoop
[] = { {&_swigt__p_wxEventLoop
, 0, 0, 0},{0, 0, 0, 0}};
56655 static swig_cast_info _swigc__p_wxEventLoopActivator
[] = { {&_swigt__p_wxEventLoopActivator
, 0, 0, 0},{0, 0, 0, 0}};
56656 static swig_cast_info _swigc__p_wxEvtHandler
[] = { {&_swigt__p_wxControl
, _p_wxControlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxEvtHandler
, 0, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxEvtHandler
, 0, 0},{0, 0, 0, 0}};
56657 static swig_cast_info _swigc__p_wxFSFile
[] = { {&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
56658 static swig_cast_info _swigc__p_wxFileSystem
[] = { {&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
56659 static swig_cast_info _swigc__p_wxFileSystemHandler
[] = { {&_swigt__p_wxFileSystemHandler
, 0, 0, 0}, {&_swigt__p_wxPyFileSystemHandler
, _p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler
, 0, 0}, {&_swigt__p_wxInternetFSHandler
, _p_wxInternetFSHandlerTo_p_wxFileSystemHandler
, 0, 0}, {&_swigt__p_wxZipFSHandler
, _p_wxZipFSHandlerTo_p_wxFileSystemHandler
, 0, 0}, {&_swigt__p_wxMemoryFSHandler
, _p_wxMemoryFSHandlerTo_p_wxFileSystemHandler
, 0, 0},{0, 0, 0, 0}};
56660 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = { {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxFlexGridSizer
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
56661 static swig_cast_info _swigc__p_wxFocusEvent
[] = { {&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
56662 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
56663 static swig_cast_info _swigc__p_wxFrame
[] = { {&_swigt__p_wxFrame
, 0, 0, 0},{0, 0, 0, 0}};
56664 static swig_cast_info _swigc__p_wxGBPosition
[] = { {&_swigt__p_wxGBPosition
, 0, 0, 0},{0, 0, 0, 0}};
56665 static swig_cast_info _swigc__p_wxGBSizerItem
[] = { {&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
56666 static swig_cast_info _swigc__p_wxGBSpan
[] = { {&_swigt__p_wxGBSpan
, 0, 0, 0},{0, 0, 0, 0}};
56667 static swig_cast_info _swigc__p_wxGIFHandler
[] = { {&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
56668 static swig_cast_info _swigc__p_wxGridBagSizer
[] = { {&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
56669 static swig_cast_info _swigc__p_wxGridSizer
[] = { {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxGridSizer
, 0, 0}, {&_swigt__p_wxGridSizer
, 0, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxGridSizer
, 0, 0},{0, 0, 0, 0}};
56670 static swig_cast_info _swigc__p_wxHelpEvent__Origin
[] = { {&_swigt__p_wxHelpEvent__Origin
, 0, 0, 0},{0, 0, 0, 0}};
56671 static swig_cast_info _swigc__p_wxICOHandler
[] = { {&_swigt__p_wxICOHandler
, 0, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxICOHandler
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxICOHandler
, 0, 0},{0, 0, 0, 0}};
56672 static swig_cast_info _swigc__p_wxIconizeEvent
[] = { {&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
56673 static swig_cast_info _swigc__p_wxIdleEvent
[] = { {&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
56674 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
56675 static swig_cast_info _swigc__p_wxImageHandler
[] = { {&_swigt__p_wxImageHandler
, 0, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxImageHandler
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxImageHandler
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxImageHandler
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxImageHandler
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxImageHandler
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxImageHandler
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxImageHandler
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxImageHandler
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxImageHandler
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxImageHandler
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxImageHandler
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxImageHandler
, 0, 0},{0, 0, 0, 0}};
56676 static swig_cast_info _swigc__p_wxImageHistogram
[] = { {&_swigt__p_wxImageHistogram
, 0, 0, 0},{0, 0, 0, 0}};
56677 static swig_cast_info _swigc__p_wxImage_HSVValue
[] = { {&_swigt__p_wxImage_HSVValue
, 0, 0, 0},{0, 0, 0, 0}};
56678 static swig_cast_info _swigc__p_wxImage_RGBValue
[] = { {&_swigt__p_wxImage_RGBValue
, 0, 0, 0},{0, 0, 0, 0}};
56679 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = { {&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
56680 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = { {&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
56681 static swig_cast_info _swigc__p_wxInputStream
[] = { {&_swigt__p_wxInputStream
, 0, 0, 0},{0, 0, 0, 0}};
56682 static swig_cast_info _swigc__p_wxInternetFSHandler
[] = { {&_swigt__p_wxInternetFSHandler
, 0, 0, 0},{0, 0, 0, 0}};
56683 static swig_cast_info _swigc__p_wxItemContainer
[] = { {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxItemContainer
, 0, 0}, {&_swigt__p_wxItemContainer
, 0, 0, 0},{0, 0, 0, 0}};
56684 static swig_cast_info _swigc__p_wxJPEGHandler
[] = { {&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
56685 static swig_cast_info _swigc__p_wxKeyEvent
[] = { {&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
56686 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = { {&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
56687 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = { {&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
56688 static swig_cast_info _swigc__p_wxMemoryFSHandler
[] = { {&_swigt__p_wxMemoryFSHandler
, 0, 0, 0},{0, 0, 0, 0}};
56689 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
56690 static swig_cast_info _swigc__p_wxMenuBar
[] = { {&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
56691 static swig_cast_info _swigc__p_wxMenuBarBase
[] = { {&_swigt__p_wxMenuBarBase
, 0, 0, 0},{0, 0, 0, 0}};
56692 static swig_cast_info _swigc__p_wxMenuEvent
[] = { {&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
56693 static swig_cast_info _swigc__p_wxMenuItem
[] = { {&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
56694 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = { {&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
56695 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = { {&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
56696 static swig_cast_info _swigc__p_wxMouseEvent
[] = { {&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
56697 static swig_cast_info _swigc__p_wxMoveEvent
[] = { {&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
56698 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = { {&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
56699 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = { {&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
56700 static swig_cast_info _swigc__p_wxNotifyEvent
[] = { {&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
56701 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_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_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_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_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_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_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_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_wxObject
, 0, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_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_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_wxControlWithItems
, _p_wxControlWithItemsTo_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}};
56702 static swig_cast_info _swigc__p_wxOutputStream
[] = { {&_swigt__p_wxOutputStream
, 0, 0, 0},{0, 0, 0, 0}};
56703 static swig_cast_info _swigc__p_wxPCXHandler
[] = { {&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
56704 static swig_cast_info _swigc__p_wxPNGHandler
[] = { {&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
56705 static swig_cast_info _swigc__p_wxPNMHandler
[] = { {&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
56706 static swig_cast_info _swigc__p_wxPaintEvent
[] = { {&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
56707 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = { {&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
56708 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
56709 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
56710 static swig_cast_info _swigc__p_wxPoint2D
[] = { {&_swigt__p_wxPoint2D
, 0, 0, 0},{0, 0, 0, 0}};
56711 static swig_cast_info _swigc__p_wxPropagateOnce
[] = { {&_swigt__p_wxPropagateOnce
, 0, 0, 0},{0, 0, 0, 0}};
56712 static swig_cast_info _swigc__p_wxPropagationDisabler
[] = { {&_swigt__p_wxPropagationDisabler
, 0, 0, 0},{0, 0, 0, 0}};
56713 static swig_cast_info _swigc__p_wxPyApp
[] = { {&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
56714 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = { {&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
56715 static swig_cast_info _swigc__p_wxPyDropTarget
[] = { {&_swigt__p_wxPyDropTarget
, 0, 0, 0},{0, 0, 0, 0}};
56716 static swig_cast_info _swigc__p_wxPyEvent
[] = { {&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
56717 static swig_cast_info _swigc__p_wxPyFileSystemHandler
[] = { {&_swigt__p_wxPyFileSystemHandler
, 0, 0, 0},{0, 0, 0, 0}};
56718 static swig_cast_info _swigc__p_wxPyImageHandler
[] = { {&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
56719 static swig_cast_info _swigc__p_wxPyInputStream
[] = { {&_swigt__p_wxPyInputStream
, 0, 0, 0},{0, 0, 0, 0}};
56720 static swig_cast_info _swigc__p_wxPySizer
[] = { {&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
56721 static swig_cast_info _swigc__p_wxPyValidator
[] = { {&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
56722 static swig_cast_info _swigc__p_wxQuantize
[] = { {&_swigt__p_wxQuantize
, 0, 0, 0},{0, 0, 0, 0}};
56723 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = { {&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
56724 static swig_cast_info _swigc__p_wxRealPoint
[] = { {&_swigt__p_wxRealPoint
, 0, 0, 0},{0, 0, 0, 0}};
56725 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
56726 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
56727 static swig_cast_info _swigc__p_wxScrollEvent
[] = { {&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
56728 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = { {&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
56729 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = { {&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
56730 static swig_cast_info _swigc__p_wxShowEvent
[] = { {&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
56731 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
56732 static swig_cast_info _swigc__p_wxSizeEvent
[] = { {&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
56733 static swig_cast_info _swigc__p_wxSizer
[] = { {&_swigt__p_wxSizer
, 0, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxSizer
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxSizer
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxSizer
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxSizer
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxSizer
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxSizer
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxSizer
, 0, 0},{0, 0, 0, 0}};
56734 static swig_cast_info _swigc__p_wxSizerItem
[] = { {&_swigt__p_wxSizerItem
, 0, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxSizerItem
, 0, 0},{0, 0, 0, 0}};
56735 static swig_cast_info _swigc__p_wxStaticBox
[] = { {&_swigt__p_wxStaticBox
, 0, 0, 0},{0, 0, 0, 0}};
56736 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = { {&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
56737 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = { {&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
56738 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = { {&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
56739 static swig_cast_info _swigc__p_wxTIFFHandler
[] = { {&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
56740 static swig_cast_info _swigc__p_wxToolTip
[] = { {&_swigt__p_wxToolTip
, 0, 0, 0},{0, 0, 0, 0}};
56741 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = { {&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
56742 static swig_cast_info _swigc__p_wxValidator
[] = { {&_swigt__p_wxValidator
, 0, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxValidator
, 0, 0},{0, 0, 0, 0}};
56743 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
56744 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}};
56745 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = { {&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
56746 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = { {&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
56747 static swig_cast_info _swigc__p_wxXPMHandler
[] = { {&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
56748 static swig_cast_info _swigc__p_wxZipFSHandler
[] = { {&_swigt__p_wxZipFSHandler
, 0, 0, 0},{0, 0, 0, 0}};
56750 static swig_cast_info
*swig_cast_initial
[] = {
56753 _swigc__p_form_ops_t
,
56756 _swigc__p_unsigned_char
,
56757 _swigc__p_unsigned_int
,
56758 _swigc__p_unsigned_long
,
56759 _swigc__p_wxANIHandler
,
56760 _swigc__p_wxAcceleratorEntry
,
56761 _swigc__p_wxAcceleratorTable
,
56762 _swigc__p_wxActivateEvent
,
56763 _swigc__p_wxAppTraits
,
56764 _swigc__p_wxArrayString
,
56765 _swigc__p_wxBMPHandler
,
56766 _swigc__p_wxBitmap
,
56767 _swigc__p_wxBoxSizer
,
56768 _swigc__p_wxButton
,
56769 _swigc__p_wxCURHandler
,
56771 _swigc__p_wxChildFocusEvent
,
56772 _swigc__p_wxClipboardTextEvent
,
56773 _swigc__p_wxCloseEvent
,
56774 _swigc__p_wxColour
,
56775 _swigc__p_wxCommandEvent
,
56776 _swigc__p_wxContextMenuEvent
,
56777 _swigc__p_wxControl
,
56778 _swigc__p_wxControlWithItems
,
56779 _swigc__p_wxCursor
,
56781 _swigc__p_wxDateEvent
,
56782 _swigc__p_wxDateTime
,
56783 _swigc__p_wxDisplayChangedEvent
,
56784 _swigc__p_wxDropFilesEvent
,
56785 _swigc__p_wxDuplexMode
,
56786 _swigc__p_wxEraseEvent
,
56788 _swigc__p_wxEventLoop
,
56789 _swigc__p_wxEventLoopActivator
,
56790 _swigc__p_wxEvtHandler
,
56791 _swigc__p_wxFSFile
,
56792 _swigc__p_wxFileSystem
,
56793 _swigc__p_wxFileSystemHandler
,
56794 _swigc__p_wxFlexGridSizer
,
56795 _swigc__p_wxFocusEvent
,
56798 _swigc__p_wxGBPosition
,
56799 _swigc__p_wxGBSizerItem
,
56800 _swigc__p_wxGBSpan
,
56801 _swigc__p_wxGIFHandler
,
56802 _swigc__p_wxGridBagSizer
,
56803 _swigc__p_wxGridSizer
,
56804 _swigc__p_wxHelpEvent__Origin
,
56805 _swigc__p_wxICOHandler
,
56806 _swigc__p_wxIconizeEvent
,
56807 _swigc__p_wxIdleEvent
,
56809 _swigc__p_wxImageHandler
,
56810 _swigc__p_wxImageHistogram
,
56811 _swigc__p_wxImage_HSVValue
,
56812 _swigc__p_wxImage_RGBValue
,
56813 _swigc__p_wxIndividualLayoutConstraint
,
56814 _swigc__p_wxInitDialogEvent
,
56815 _swigc__p_wxInputStream
,
56816 _swigc__p_wxInternetFSHandler
,
56817 _swigc__p_wxItemContainer
,
56818 _swigc__p_wxJPEGHandler
,
56819 _swigc__p_wxKeyEvent
,
56820 _swigc__p_wxLayoutConstraints
,
56821 _swigc__p_wxMaximizeEvent
,
56822 _swigc__p_wxMemoryFSHandler
,
56824 _swigc__p_wxMenuBar
,
56825 _swigc__p_wxMenuBarBase
,
56826 _swigc__p_wxMenuEvent
,
56827 _swigc__p_wxMenuItem
,
56828 _swigc__p_wxMouseCaptureChangedEvent
,
56829 _swigc__p_wxMouseCaptureLostEvent
,
56830 _swigc__p_wxMouseEvent
,
56831 _swigc__p_wxMoveEvent
,
56832 _swigc__p_wxNavigationKeyEvent
,
56833 _swigc__p_wxNcPaintEvent
,
56834 _swigc__p_wxNotifyEvent
,
56835 _swigc__p_wxObject
,
56836 _swigc__p_wxOutputStream
,
56837 _swigc__p_wxPCXHandler
,
56838 _swigc__p_wxPNGHandler
,
56839 _swigc__p_wxPNMHandler
,
56840 _swigc__p_wxPaintEvent
,
56841 _swigc__p_wxPaletteChangedEvent
,
56842 _swigc__p_wxPaperSize
,
56844 _swigc__p_wxPoint2D
,
56845 _swigc__p_wxPropagateOnce
,
56846 _swigc__p_wxPropagationDisabler
,
56848 _swigc__p_wxPyCommandEvent
,
56849 _swigc__p_wxPyDropTarget
,
56850 _swigc__p_wxPyEvent
,
56851 _swigc__p_wxPyFileSystemHandler
,
56852 _swigc__p_wxPyImageHandler
,
56853 _swigc__p_wxPyInputStream
,
56854 _swigc__p_wxPySizer
,
56855 _swigc__p_wxPyValidator
,
56856 _swigc__p_wxQuantize
,
56857 _swigc__p_wxQueryNewPaletteEvent
,
56858 _swigc__p_wxRealPoint
,
56860 _swigc__p_wxRegion
,
56861 _swigc__p_wxScrollEvent
,
56862 _swigc__p_wxScrollWinEvent
,
56863 _swigc__p_wxSetCursorEvent
,
56864 _swigc__p_wxShowEvent
,
56866 _swigc__p_wxSizeEvent
,
56868 _swigc__p_wxSizerItem
,
56869 _swigc__p_wxStaticBox
,
56870 _swigc__p_wxStaticBoxSizer
,
56871 _swigc__p_wxStdDialogButtonSizer
,
56872 _swigc__p_wxSysColourChangedEvent
,
56873 _swigc__p_wxTIFFHandler
,
56874 _swigc__p_wxToolTip
,
56875 _swigc__p_wxUpdateUIEvent
,
56876 _swigc__p_wxValidator
,
56877 _swigc__p_wxVisualAttributes
,
56878 _swigc__p_wxWindow
,
56879 _swigc__p_wxWindowCreateEvent
,
56880 _swigc__p_wxWindowDestroyEvent
,
56881 _swigc__p_wxXPMHandler
,
56882 _swigc__p_wxZipFSHandler
,
56886 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
56888 static swig_const_info swig_const_table
[] = {
56889 {0, 0, 0, 0.0, 0, 0}};
56894 /* -----------------------------------------------------------------------------
56895 * Type initialization:
56896 * This problem is tough by the requirement that no dynamic
56897 * memory is used. Also, since swig_type_info structures store pointers to
56898 * swig_cast_info structures and swig_cast_info structures store pointers back
56899 * to swig_type_info structures, we need some lookup code at initialization.
56900 * The idea is that swig generates all the structures that are needed.
56901 * The runtime then collects these partially filled structures.
56902 * The SWIG_InitializeModule function takes these initial arrays out of
56903 * swig_module, and does all the lookup, filling in the swig_module.types
56904 * array with the correct data and linking the correct swig_cast_info
56905 * structures together.
56907 * The generated swig_type_info structures are assigned staticly to an initial
56908 * array. We just loop though that array, and handle each type individually.
56909 * First we lookup if this type has been already loaded, and if so, use the
56910 * loaded structure instead of the generated one. Then we have to fill in the
56911 * cast linked list. The cast data is initially stored in something like a
56912 * two-dimensional array. Each row corresponds to a type (there are the same
56913 * number of rows as there are in the swig_type_initial array). Each entry in
56914 * a column is one of the swig_cast_info structures for that type.
56915 * The cast_initial array is actually an array of arrays, because each row has
56916 * a variable number of columns. So to actually build the cast linked list,
56917 * we find the array of casts associated with the type, and loop through it
56918 * adding the casts to the list. The one last trick we need to do is making
56919 * sure the type pointer in the swig_cast_info struct is correct.
56921 * First off, we lookup the cast->type name to see if it is already loaded.
56922 * There are three cases to handle:
56923 * 1) If the cast->type has already been loaded AND the type we are adding
56924 * casting info to has not been loaded (it is in this module), THEN we
56925 * replace the cast->type pointer with the type pointer that has already
56927 * 2) If BOTH types (the one we are adding casting info to, and the
56928 * cast->type) are loaded, THEN the cast info has already been loaded by
56929 * the previous module so we just ignore it.
56930 * 3) Finally, if cast->type has not already been loaded, then we add that
56931 * swig_cast_info to the linked list (because the cast->type) pointer will
56933 * ----------------------------------------------------------------------------- */
56943 #define SWIGRUNTIME_DEBUG
56947 SWIG_InitializeModule(void *clientdata
) {
56949 swig_module_info
*module_head
;
56950 static int init_run
= 0;
56952 clientdata
= clientdata
;
56954 if (init_run
) return;
56957 /* Initialize the swig_module */
56958 swig_module
.type_initial
= swig_type_initial
;
56959 swig_module
.cast_initial
= swig_cast_initial
;
56961 /* Try and load any already created modules */
56962 module_head
= SWIG_GetModule(clientdata
);
56964 swig_module
.next
= module_head
->next
;
56965 module_head
->next
= &swig_module
;
56967 /* This is the first module loaded */
56968 swig_module
.next
= &swig_module
;
56969 SWIG_SetModule(clientdata
, &swig_module
);
56972 /* Now work on filling in swig_module.types */
56973 #ifdef SWIGRUNTIME_DEBUG
56974 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
56976 for (i
= 0; i
< swig_module
.size
; ++i
) {
56977 swig_type_info
*type
= 0;
56978 swig_type_info
*ret
;
56979 swig_cast_info
*cast
;
56981 #ifdef SWIGRUNTIME_DEBUG
56982 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
56985 /* if there is another module already loaded */
56986 if (swig_module
.next
!= &swig_module
) {
56987 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
56990 /* Overwrite clientdata field */
56991 #ifdef SWIGRUNTIME_DEBUG
56992 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
56994 if (swig_module
.type_initial
[i
]->clientdata
) {
56995 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
56996 #ifdef SWIGRUNTIME_DEBUG
56997 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
57001 type
= swig_module
.type_initial
[i
];
57004 /* Insert casting types */
57005 cast
= swig_module
.cast_initial
[i
];
57006 while (cast
->type
) {
57007 /* Don't need to add information already in the list */
57009 #ifdef SWIGRUNTIME_DEBUG
57010 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
57012 if (swig_module
.next
!= &swig_module
) {
57013 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
57014 #ifdef SWIGRUNTIME_DEBUG
57015 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
57019 if (type
== swig_module
.type_initial
[i
]) {
57020 #ifdef SWIGRUNTIME_DEBUG
57021 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
57026 /* Check for casting already in the list */
57027 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
57028 #ifdef SWIGRUNTIME_DEBUG
57029 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
57031 if (!ocast
) ret
= 0;
57036 #ifdef SWIGRUNTIME_DEBUG
57037 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
57040 type
->cast
->prev
= cast
;
57041 cast
->next
= type
->cast
;
57047 /* Set entry in modules->types array equal to the type */
57048 swig_module
.types
[i
] = type
;
57050 swig_module
.types
[i
] = 0;
57052 #ifdef SWIGRUNTIME_DEBUG
57053 printf("**** SWIG_InitializeModule: Cast List ******\n");
57054 for (i
= 0; i
< swig_module
.size
; ++i
) {
57056 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
57057 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
57058 while (cast
->type
) {
57059 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
57063 printf("---- Total casts: %d\n",j
);
57065 printf("**** SWIG_InitializeModule: Cast List ******\n");
57069 /* This function will propagate the clientdata field of type to
57070 * any new swig_type_info structures that have been added into the list
57071 * of equivalent types. It is like calling
57072 * SWIG_TypeClientData(type, clientdata) a second time.
57075 SWIG_PropagateClientData(void) {
57077 swig_cast_info
*equiv
;
57078 static int init_run
= 0;
57080 if (init_run
) return;
57083 for (i
= 0; i
< swig_module
.size
; i
++) {
57084 if (swig_module
.types
[i
]->clientdata
) {
57085 equiv
= swig_module
.types
[i
]->cast
;
57087 if (!equiv
->converter
) {
57088 if (equiv
->type
&& !equiv
->type
->clientdata
)
57089 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
57091 equiv
= equiv
->next
;
57111 /* Python-specific SWIG API */
57112 #define SWIG_newvarlink() SWIG_Python_newvarlink()
57113 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
57114 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
57116 /* -----------------------------------------------------------------------------
57117 * global variable support code.
57118 * ----------------------------------------------------------------------------- */
57120 typedef struct swig_globalvar
{
57121 char *name
; /* Name of global variable */
57122 PyObject
*(*get_attr
)(void); /* Return the current value */
57123 int (*set_attr
)(PyObject
*); /* Set the value */
57124 struct swig_globalvar
*next
;
57127 typedef struct swig_varlinkobject
{
57129 swig_globalvar
*vars
;
57130 } swig_varlinkobject
;
57132 SWIGINTERN PyObject
*
57133 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
57134 return PyString_FromString("<Swig global variables>");
57137 SWIGINTERN PyObject
*
57138 swig_varlink_str(swig_varlinkobject
*v
) {
57139 PyObject
*str
= PyString_FromString("(");
57140 swig_globalvar
*var
;
57141 for (var
= v
->vars
; var
; var
=var
->next
) {
57142 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
57143 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
57145 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
57150 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
57151 PyObject
*str
= swig_varlink_str(v
);
57152 fprintf(fp
,"Swig global variables ");
57153 fprintf(fp
,"%s\n", PyString_AsString(str
));
57159 swig_varlink_dealloc(swig_varlinkobject
*v
) {
57160 swig_globalvar
*var
= v
->vars
;
57162 swig_globalvar
*n
= var
->next
;
57169 SWIGINTERN PyObject
*
57170 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
57171 PyObject
*res
= NULL
;
57172 swig_globalvar
*var
= v
->vars
;
57174 if (strcmp(var
->name
,n
) == 0) {
57175 res
= (*var
->get_attr
)();
57180 if (res
== NULL
&& !PyErr_Occurred()) {
57181 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
57187 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
57189 swig_globalvar
*var
= v
->vars
;
57191 if (strcmp(var
->name
,n
) == 0) {
57192 res
= (*var
->set_attr
)(p
);
57197 if (res
== 1 && !PyErr_Occurred()) {
57198 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
57203 SWIGINTERN PyTypeObject
*
57204 swig_varlink_type(void) {
57205 static char varlink__doc__
[] = "Swig var link object";
57206 static PyTypeObject varlink_type
;
57207 static int type_init
= 0;
57209 const PyTypeObject tmp
57211 PyObject_HEAD_INIT(NULL
)
57212 0, /* Number of items in variable part (ob_size) */
57213 (char *)"swigvarlink", /* Type name (tp_name) */
57214 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
57215 0, /* Itemsize (tp_itemsize) */
57216 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
57217 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
57218 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
57219 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
57220 0, /* tp_compare */
57221 (reprfunc
) swig_varlink_repr
, /* tp_repr */
57222 0, /* tp_as_number */
57223 0, /* tp_as_sequence */
57224 0, /* tp_as_mapping */
57227 (reprfunc
)swig_varlink_str
, /* tp_str */
57228 0, /* tp_getattro */
57229 0, /* tp_setattro */
57230 0, /* tp_as_buffer */
57232 varlink__doc__
, /* tp_doc */
57233 0, /* tp_traverse */
57235 0, /* tp_richcompare */
57236 0, /* tp_weaklistoffset */
57237 #if PY_VERSION_HEX >= 0x02020000
57238 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
57240 #if PY_VERSION_HEX >= 0x02030000
57243 #ifdef COUNT_ALLOCS
57244 0,0,0,0 /* tp_alloc -> tp_next */
57247 varlink_type
= tmp
;
57248 varlink_type
.ob_type
= &PyType_Type
;
57251 return &varlink_type
;
57254 /* Create a variable linking object for use later */
57255 SWIGINTERN PyObject
*
57256 SWIG_Python_newvarlink(void) {
57257 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
57261 return ((PyObject
*) result
);
57265 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
57266 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
57267 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
57269 size_t size
= strlen(name
)+1;
57270 gv
->name
= (char *)malloc(size
);
57272 strncpy(gv
->name
,name
,size
);
57273 gv
->get_attr
= get_attr
;
57274 gv
->set_attr
= set_attr
;
57275 gv
->next
= v
->vars
;
57281 SWIGINTERN PyObject
*
57283 static PyObject
*_SWIG_globals
= 0;
57284 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
57285 return _SWIG_globals
;
57288 /* -----------------------------------------------------------------------------
57289 * constants/methods manipulation
57290 * ----------------------------------------------------------------------------- */
57292 /* Install Constants */
57294 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
57297 for (i
= 0; constants
[i
].type
; ++i
) {
57298 switch(constants
[i
].type
) {
57299 case SWIG_PY_POINTER
:
57300 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
57302 case SWIG_PY_BINARY
:
57303 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
57310 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
57316 /* -----------------------------------------------------------------------------*/
57317 /* Fix SwigMethods to carry the callback ptrs when needed */
57318 /* -----------------------------------------------------------------------------*/
57321 SWIG_Python_FixMethods(PyMethodDef
*methods
,
57322 swig_const_info
*const_table
,
57323 swig_type_info
**types
,
57324 swig_type_info
**types_initial
) {
57326 for (i
= 0; methods
[i
].ml_name
; ++i
) {
57327 const char *c
= methods
[i
].ml_doc
;
57328 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
57330 swig_const_info
*ci
= 0;
57331 const char *name
= c
+ 10;
57332 for (j
= 0; const_table
[j
].type
; ++j
) {
57333 if (strncmp(const_table
[j
].name
, name
,
57334 strlen(const_table
[j
].name
)) == 0) {
57335 ci
= &(const_table
[j
]);
57340 size_t shift
= (ci
->ptype
) - types
;
57341 swig_type_info
*ty
= types_initial
[shift
];
57342 size_t ldoc
= (c
- methods
[i
].ml_doc
);
57343 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
57344 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
57347 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
57349 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
57351 strncpy(buff
, "swig_ptr: ", 10);
57353 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
57354 methods
[i
].ml_doc
= ndoc
;
57366 /* -----------------------------------------------------------------------------*
57367 * Partial Init method
57368 * -----------------------------------------------------------------------------*/
57373 SWIGEXPORT
void SWIG_init(void) {
57376 /* Fix SwigMethods to carry the callback ptrs when needed */
57377 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
57379 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
57380 d
= PyModule_GetDict(m
);
57382 SWIG_InitializeModule(0);
57383 SWIG_InstallConstants(d
,swig_const_table
);
57387 #ifndef wxPyUSE_EXPORT
57388 // Make our API structure a CObject so other modules can import it
57389 // from this module.
57390 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
57391 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
57395 SWIG_Python_SetConstant(d
, "NOT_FOUND",SWIG_From_int(static_cast< int >(wxNOT_FOUND
)));
57396 SWIG_Python_SetConstant(d
, "VSCROLL",SWIG_From_int(static_cast< int >(wxVSCROLL
)));
57397 SWIG_Python_SetConstant(d
, "HSCROLL",SWIG_From_int(static_cast< int >(wxHSCROLL
)));
57398 SWIG_Python_SetConstant(d
, "CAPTION",SWIG_From_int(static_cast< int >(wxCAPTION
)));
57399 SWIG_Python_SetConstant(d
, "DOUBLE_BORDER",SWIG_From_int(static_cast< int >(wxDOUBLE_BORDER
)));
57400 SWIG_Python_SetConstant(d
, "SUNKEN_BORDER",SWIG_From_int(static_cast< int >(wxSUNKEN_BORDER
)));
57401 SWIG_Python_SetConstant(d
, "RAISED_BORDER",SWIG_From_int(static_cast< int >(wxRAISED_BORDER
)));
57402 SWIG_Python_SetConstant(d
, "BORDER",SWIG_From_int(static_cast< int >(wxBORDER
)));
57403 SWIG_Python_SetConstant(d
, "SIMPLE_BORDER",SWIG_From_int(static_cast< int >(wxSIMPLE_BORDER
)));
57404 SWIG_Python_SetConstant(d
, "STATIC_BORDER",SWIG_From_int(static_cast< int >(wxSTATIC_BORDER
)));
57405 SWIG_Python_SetConstant(d
, "TRANSPARENT_WINDOW",SWIG_From_int(static_cast< int >(wxTRANSPARENT_WINDOW
)));
57406 SWIG_Python_SetConstant(d
, "NO_BORDER",SWIG_From_int(static_cast< int >(wxNO_BORDER
)));
57407 SWIG_Python_SetConstant(d
, "DEFAULT_CONTROL_BORDER",SWIG_From_int(static_cast< int >(wxDEFAULT_CONTROL_BORDER
)));
57408 SWIG_Python_SetConstant(d
, "DEFAULT_STATUSBAR_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_STATUSBAR_STYLE
)));
57409 SWIG_Python_SetConstant(d
, "TAB_TRAVERSAL",SWIG_From_int(static_cast< int >(wxTAB_TRAVERSAL
)));
57410 SWIG_Python_SetConstant(d
, "WANTS_CHARS",SWIG_From_int(static_cast< int >(wxWANTS_CHARS
)));
57411 SWIG_Python_SetConstant(d
, "POPUP_WINDOW",SWIG_From_int(static_cast< int >(wxPOPUP_WINDOW
)));
57412 SWIG_Python_SetConstant(d
, "CENTER_FRAME",SWIG_From_int(static_cast< int >(wxCENTER_FRAME
)));
57413 SWIG_Python_SetConstant(d
, "CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxCENTRE_ON_SCREEN
)));
57414 SWIG_Python_SetConstant(d
, "CENTER_ON_SCREEN",SWIG_From_int(static_cast< int >(wxCENTER_ON_SCREEN
)));
57415 SWIG_Python_SetConstant(d
, "CLIP_CHILDREN",SWIG_From_int(static_cast< int >(wxCLIP_CHILDREN
)));
57416 SWIG_Python_SetConstant(d
, "CLIP_SIBLINGS",SWIG_From_int(static_cast< int >(wxCLIP_SIBLINGS
)));
57417 SWIG_Python_SetConstant(d
, "WINDOW_STYLE_MASK",SWIG_From_int(static_cast< int >(wxWINDOW_STYLE_MASK
)));
57418 SWIG_Python_SetConstant(d
, "ALWAYS_SHOW_SB",SWIG_From_int(static_cast< int >(wxALWAYS_SHOW_SB
)));
57419 SWIG_Python_SetConstant(d
, "RETAINED",SWIG_From_int(static_cast< int >(wxRETAINED
)));
57420 SWIG_Python_SetConstant(d
, "BACKINGSTORE",SWIG_From_int(static_cast< int >(wxBACKINGSTORE
)));
57421 SWIG_Python_SetConstant(d
, "COLOURED",SWIG_From_int(static_cast< int >(wxCOLOURED
)));
57422 SWIG_Python_SetConstant(d
, "FIXED_LENGTH",SWIG_From_int(static_cast< int >(wxFIXED_LENGTH
)));
57423 SWIG_Python_SetConstant(d
, "LB_NEEDED_SB",SWIG_From_int(static_cast< int >(wxLB_NEEDED_SB
)));
57424 SWIG_Python_SetConstant(d
, "LB_ALWAYS_SB",SWIG_From_int(static_cast< int >(wxLB_ALWAYS_SB
)));
57425 SWIG_Python_SetConstant(d
, "LB_SORT",SWIG_From_int(static_cast< int >(wxLB_SORT
)));
57426 SWIG_Python_SetConstant(d
, "LB_SINGLE",SWIG_From_int(static_cast< int >(wxLB_SINGLE
)));
57427 SWIG_Python_SetConstant(d
, "LB_MULTIPLE",SWIG_From_int(static_cast< int >(wxLB_MULTIPLE
)));
57428 SWIG_Python_SetConstant(d
, "LB_EXTENDED",SWIG_From_int(static_cast< int >(wxLB_EXTENDED
)));
57429 SWIG_Python_SetConstant(d
, "LB_OWNERDRAW",SWIG_From_int(static_cast< int >(wxLB_OWNERDRAW
)));
57430 SWIG_Python_SetConstant(d
, "LB_HSCROLL",SWIG_From_int(static_cast< int >(wxLB_HSCROLL
)));
57431 SWIG_Python_SetConstant(d
, "PROCESS_ENTER",SWIG_From_int(static_cast< int >(wxPROCESS_ENTER
)));
57432 SWIG_Python_SetConstant(d
, "PASSWORD",SWIG_From_int(static_cast< int >(wxPASSWORD
)));
57433 SWIG_Python_SetConstant(d
, "CB_SIMPLE",SWIG_From_int(static_cast< int >(wxCB_SIMPLE
)));
57434 SWIG_Python_SetConstant(d
, "CB_DROPDOWN",SWIG_From_int(static_cast< int >(wxCB_DROPDOWN
)));
57435 SWIG_Python_SetConstant(d
, "CB_SORT",SWIG_From_int(static_cast< int >(wxCB_SORT
)));
57436 SWIG_Python_SetConstant(d
, "CB_READONLY",SWIG_From_int(static_cast< int >(wxCB_READONLY
)));
57437 SWIG_Python_SetConstant(d
, "RA_HORIZONTAL",SWIG_From_int(static_cast< int >(wxRA_HORIZONTAL
)));
57438 SWIG_Python_SetConstant(d
, "RA_VERTICAL",SWIG_From_int(static_cast< int >(wxRA_VERTICAL
)));
57439 SWIG_Python_SetConstant(d
, "RA_SPECIFY_ROWS",SWIG_From_int(static_cast< int >(wxRA_SPECIFY_ROWS
)));
57440 SWIG_Python_SetConstant(d
, "RA_SPECIFY_COLS",SWIG_From_int(static_cast< int >(wxRA_SPECIFY_COLS
)));
57441 SWIG_Python_SetConstant(d
, "RA_USE_CHECKBOX",SWIG_From_int(static_cast< int >(wxRA_USE_CHECKBOX
)));
57442 SWIG_Python_SetConstant(d
, "RB_GROUP",SWIG_From_int(static_cast< int >(wxRB_GROUP
)));
57443 SWIG_Python_SetConstant(d
, "RB_SINGLE",SWIG_From_int(static_cast< int >(wxRB_SINGLE
)));
57444 SWIG_Python_SetConstant(d
, "SB_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSB_HORIZONTAL
)));
57445 SWIG_Python_SetConstant(d
, "SB_VERTICAL",SWIG_From_int(static_cast< int >(wxSB_VERTICAL
)));
57446 SWIG_Python_SetConstant(d
, "RB_USE_CHECKBOX",SWIG_From_int(static_cast< int >(wxRB_USE_CHECKBOX
)));
57447 SWIG_Python_SetConstant(d
, "ST_SIZEGRIP",SWIG_From_int(static_cast< int >(wxST_SIZEGRIP
)));
57448 SWIG_Python_SetConstant(d
, "ST_NO_AUTORESIZE",SWIG_From_int(static_cast< int >(wxST_NO_AUTORESIZE
)));
57449 SWIG_Python_SetConstant(d
, "ST_DOTS_MIDDLE",SWIG_From_int(static_cast< int >(wxST_DOTS_MIDDLE
)));
57450 SWIG_Python_SetConstant(d
, "ST_DOTS_END",SWIG_From_int(static_cast< int >(wxST_DOTS_END
)));
57451 SWIG_Python_SetConstant(d
, "FLOOD_SURFACE",SWIG_From_int(static_cast< int >(wxFLOOD_SURFACE
)));
57452 SWIG_Python_SetConstant(d
, "FLOOD_BORDER",SWIG_From_int(static_cast< int >(wxFLOOD_BORDER
)));
57453 SWIG_Python_SetConstant(d
, "ODDEVEN_RULE",SWIG_From_int(static_cast< int >(wxODDEVEN_RULE
)));
57454 SWIG_Python_SetConstant(d
, "WINDING_RULE",SWIG_From_int(static_cast< int >(wxWINDING_RULE
)));
57455 SWIG_Python_SetConstant(d
, "TOOL_TOP",SWIG_From_int(static_cast< int >(wxTOOL_TOP
)));
57456 SWIG_Python_SetConstant(d
, "TOOL_BOTTOM",SWIG_From_int(static_cast< int >(wxTOOL_BOTTOM
)));
57457 SWIG_Python_SetConstant(d
, "TOOL_LEFT",SWIG_From_int(static_cast< int >(wxTOOL_LEFT
)));
57458 SWIG_Python_SetConstant(d
, "TOOL_RIGHT",SWIG_From_int(static_cast< int >(wxTOOL_RIGHT
)));
57459 SWIG_Python_SetConstant(d
, "OK",SWIG_From_int(static_cast< int >(wxOK
)));
57460 SWIG_Python_SetConstant(d
, "YES_NO",SWIG_From_int(static_cast< int >(wxYES_NO
)));
57461 SWIG_Python_SetConstant(d
, "CANCEL",SWIG_From_int(static_cast< int >(wxCANCEL
)));
57462 SWIG_Python_SetConstant(d
, "YES",SWIG_From_int(static_cast< int >(wxYES
)));
57463 SWIG_Python_SetConstant(d
, "NO",SWIG_From_int(static_cast< int >(wxNO
)));
57464 SWIG_Python_SetConstant(d
, "NO_DEFAULT",SWIG_From_int(static_cast< int >(wxNO_DEFAULT
)));
57465 SWIG_Python_SetConstant(d
, "YES_DEFAULT",SWIG_From_int(static_cast< int >(wxYES_DEFAULT
)));
57466 SWIG_Python_SetConstant(d
, "ICON_EXCLAMATION",SWIG_From_int(static_cast< int >(wxICON_EXCLAMATION
)));
57467 SWIG_Python_SetConstant(d
, "ICON_HAND",SWIG_From_int(static_cast< int >(wxICON_HAND
)));
57468 SWIG_Python_SetConstant(d
, "ICON_QUESTION",SWIG_From_int(static_cast< int >(wxICON_QUESTION
)));
57469 SWIG_Python_SetConstant(d
, "ICON_INFORMATION",SWIG_From_int(static_cast< int >(wxICON_INFORMATION
)));
57470 SWIG_Python_SetConstant(d
, "ICON_STOP",SWIG_From_int(static_cast< int >(wxICON_STOP
)));
57471 SWIG_Python_SetConstant(d
, "ICON_ASTERISK",SWIG_From_int(static_cast< int >(wxICON_ASTERISK
)));
57472 SWIG_Python_SetConstant(d
, "ICON_MASK",SWIG_From_int(static_cast< int >(wxICON_MASK
)));
57473 SWIG_Python_SetConstant(d
, "ICON_WARNING",SWIG_From_int(static_cast< int >(wxICON_WARNING
)));
57474 SWIG_Python_SetConstant(d
, "ICON_ERROR",SWIG_From_int(static_cast< int >(wxICON_ERROR
)));
57475 SWIG_Python_SetConstant(d
, "FORWARD",SWIG_From_int(static_cast< int >(wxFORWARD
)));
57476 SWIG_Python_SetConstant(d
, "BACKWARD",SWIG_From_int(static_cast< int >(wxBACKWARD
)));
57477 SWIG_Python_SetConstant(d
, "RESET",SWIG_From_int(static_cast< int >(wxRESET
)));
57478 SWIG_Python_SetConstant(d
, "HELP",SWIG_From_int(static_cast< int >(wxHELP
)));
57479 SWIG_Python_SetConstant(d
, "MORE",SWIG_From_int(static_cast< int >(wxMORE
)));
57480 SWIG_Python_SetConstant(d
, "SETUP",SWIG_From_int(static_cast< int >(wxSETUP
)));
57481 SWIG_Python_SetConstant(d
, "SIZE_AUTO_WIDTH",SWIG_From_int(static_cast< int >(wxSIZE_AUTO_WIDTH
)));
57482 SWIG_Python_SetConstant(d
, "SIZE_AUTO_HEIGHT",SWIG_From_int(static_cast< int >(wxSIZE_AUTO_HEIGHT
)));
57483 SWIG_Python_SetConstant(d
, "SIZE_AUTO",SWIG_From_int(static_cast< int >(wxSIZE_AUTO
)));
57484 SWIG_Python_SetConstant(d
, "SIZE_USE_EXISTING",SWIG_From_int(static_cast< int >(wxSIZE_USE_EXISTING
)));
57485 SWIG_Python_SetConstant(d
, "SIZE_ALLOW_MINUS_ONE",SWIG_From_int(static_cast< int >(wxSIZE_ALLOW_MINUS_ONE
)));
57486 SWIG_Python_SetConstant(d
, "SIZE_FORCE",SWIG_From_int(static_cast< int >(wxSIZE_FORCE
)));
57487 SWIG_Python_SetConstant(d
, "PORTRAIT",SWIG_From_int(static_cast< int >(wxPORTRAIT
)));
57488 SWIG_Python_SetConstant(d
, "LANDSCAPE",SWIG_From_int(static_cast< int >(wxLANDSCAPE
)));
57489 SWIG_Python_SetConstant(d
, "PRINT_QUALITY_HIGH",SWIG_From_int(static_cast< int >(wxPRINT_QUALITY_HIGH
)));
57490 SWIG_Python_SetConstant(d
, "PRINT_QUALITY_MEDIUM",SWIG_From_int(static_cast< int >(wxPRINT_QUALITY_MEDIUM
)));
57491 SWIG_Python_SetConstant(d
, "PRINT_QUALITY_LOW",SWIG_From_int(static_cast< int >(wxPRINT_QUALITY_LOW
)));
57492 SWIG_Python_SetConstant(d
, "PRINT_QUALITY_DRAFT",SWIG_From_int(static_cast< int >(wxPRINT_QUALITY_DRAFT
)));
57493 SWIG_Python_SetConstant(d
, "ID_ANY",SWIG_From_int(static_cast< int >(wxID_ANY
)));
57494 SWIG_Python_SetConstant(d
, "ID_SEPARATOR",SWIG_From_int(static_cast< int >(wxID_SEPARATOR
)));
57495 SWIG_Python_SetConstant(d
, "ID_NONE",SWIG_From_int(static_cast< int >(wxID_NONE
)));
57496 SWIG_Python_SetConstant(d
, "ID_LOWEST",SWIG_From_int(static_cast< int >(wxID_LOWEST
)));
57497 SWIG_Python_SetConstant(d
, "ID_OPEN",SWIG_From_int(static_cast< int >(wxID_OPEN
)));
57498 SWIG_Python_SetConstant(d
, "ID_CLOSE",SWIG_From_int(static_cast< int >(wxID_CLOSE
)));
57499 SWIG_Python_SetConstant(d
, "ID_NEW",SWIG_From_int(static_cast< int >(wxID_NEW
)));
57500 SWIG_Python_SetConstant(d
, "ID_SAVE",SWIG_From_int(static_cast< int >(wxID_SAVE
)));
57501 SWIG_Python_SetConstant(d
, "ID_SAVEAS",SWIG_From_int(static_cast< int >(wxID_SAVEAS
)));
57502 SWIG_Python_SetConstant(d
, "ID_REVERT",SWIG_From_int(static_cast< int >(wxID_REVERT
)));
57503 SWIG_Python_SetConstant(d
, "ID_EXIT",SWIG_From_int(static_cast< int >(wxID_EXIT
)));
57504 SWIG_Python_SetConstant(d
, "ID_UNDO",SWIG_From_int(static_cast< int >(wxID_UNDO
)));
57505 SWIG_Python_SetConstant(d
, "ID_REDO",SWIG_From_int(static_cast< int >(wxID_REDO
)));
57506 SWIG_Python_SetConstant(d
, "ID_HELP",SWIG_From_int(static_cast< int >(wxID_HELP
)));
57507 SWIG_Python_SetConstant(d
, "ID_PRINT",SWIG_From_int(static_cast< int >(wxID_PRINT
)));
57508 SWIG_Python_SetConstant(d
, "ID_PRINT_SETUP",SWIG_From_int(static_cast< int >(wxID_PRINT_SETUP
)));
57509 SWIG_Python_SetConstant(d
, "ID_PAGE_SETUP",SWIG_From_int(static_cast< int >(wxID_PAGE_SETUP
)));
57510 SWIG_Python_SetConstant(d
, "ID_PREVIEW",SWIG_From_int(static_cast< int >(wxID_PREVIEW
)));
57511 SWIG_Python_SetConstant(d
, "ID_ABOUT",SWIG_From_int(static_cast< int >(wxID_ABOUT
)));
57512 SWIG_Python_SetConstant(d
, "ID_HELP_CONTENTS",SWIG_From_int(static_cast< int >(wxID_HELP_CONTENTS
)));
57513 SWIG_Python_SetConstant(d
, "ID_HELP_COMMANDS",SWIG_From_int(static_cast< int >(wxID_HELP_COMMANDS
)));
57514 SWIG_Python_SetConstant(d
, "ID_HELP_PROCEDURES",SWIG_From_int(static_cast< int >(wxID_HELP_PROCEDURES
)));
57515 SWIG_Python_SetConstant(d
, "ID_HELP_CONTEXT",SWIG_From_int(static_cast< int >(wxID_HELP_CONTEXT
)));
57516 SWIG_Python_SetConstant(d
, "ID_HELP_INDEX",SWIG_From_int(static_cast< int >(wxID_HELP_INDEX
)));
57517 SWIG_Python_SetConstant(d
, "ID_HELP_SEARCH",SWIG_From_int(static_cast< int >(wxID_HELP_SEARCH
)));
57518 SWIG_Python_SetConstant(d
, "ID_CLOSE_ALL",SWIG_From_int(static_cast< int >(wxID_CLOSE_ALL
)));
57519 SWIG_Python_SetConstant(d
, "ID_PREFERENCES",SWIG_From_int(static_cast< int >(wxID_PREFERENCES
)));
57520 SWIG_Python_SetConstant(d
, "ID_EDIT",SWIG_From_int(static_cast< int >(wxID_EDIT
)));
57521 SWIG_Python_SetConstant(d
, "ID_CUT",SWIG_From_int(static_cast< int >(wxID_CUT
)));
57522 SWIG_Python_SetConstant(d
, "ID_COPY",SWIG_From_int(static_cast< int >(wxID_COPY
)));
57523 SWIG_Python_SetConstant(d
, "ID_PASTE",SWIG_From_int(static_cast< int >(wxID_PASTE
)));
57524 SWIG_Python_SetConstant(d
, "ID_CLEAR",SWIG_From_int(static_cast< int >(wxID_CLEAR
)));
57525 SWIG_Python_SetConstant(d
, "ID_FIND",SWIG_From_int(static_cast< int >(wxID_FIND
)));
57526 SWIG_Python_SetConstant(d
, "ID_DUPLICATE",SWIG_From_int(static_cast< int >(wxID_DUPLICATE
)));
57527 SWIG_Python_SetConstant(d
, "ID_SELECTALL",SWIG_From_int(static_cast< int >(wxID_SELECTALL
)));
57528 SWIG_Python_SetConstant(d
, "ID_DELETE",SWIG_From_int(static_cast< int >(wxID_DELETE
)));
57529 SWIG_Python_SetConstant(d
, "ID_REPLACE",SWIG_From_int(static_cast< int >(wxID_REPLACE
)));
57530 SWIG_Python_SetConstant(d
, "ID_REPLACE_ALL",SWIG_From_int(static_cast< int >(wxID_REPLACE_ALL
)));
57531 SWIG_Python_SetConstant(d
, "ID_PROPERTIES",SWIG_From_int(static_cast< int >(wxID_PROPERTIES
)));
57532 SWIG_Python_SetConstant(d
, "ID_VIEW_DETAILS",SWIG_From_int(static_cast< int >(wxID_VIEW_DETAILS
)));
57533 SWIG_Python_SetConstant(d
, "ID_VIEW_LARGEICONS",SWIG_From_int(static_cast< int >(wxID_VIEW_LARGEICONS
)));
57534 SWIG_Python_SetConstant(d
, "ID_VIEW_SMALLICONS",SWIG_From_int(static_cast< int >(wxID_VIEW_SMALLICONS
)));
57535 SWIG_Python_SetConstant(d
, "ID_VIEW_LIST",SWIG_From_int(static_cast< int >(wxID_VIEW_LIST
)));
57536 SWIG_Python_SetConstant(d
, "ID_VIEW_SORTDATE",SWIG_From_int(static_cast< int >(wxID_VIEW_SORTDATE
)));
57537 SWIG_Python_SetConstant(d
, "ID_VIEW_SORTNAME",SWIG_From_int(static_cast< int >(wxID_VIEW_SORTNAME
)));
57538 SWIG_Python_SetConstant(d
, "ID_VIEW_SORTSIZE",SWIG_From_int(static_cast< int >(wxID_VIEW_SORTSIZE
)));
57539 SWIG_Python_SetConstant(d
, "ID_VIEW_SORTTYPE",SWIG_From_int(static_cast< int >(wxID_VIEW_SORTTYPE
)));
57540 SWIG_Python_SetConstant(d
, "ID_FILE",SWIG_From_int(static_cast< int >(wxID_FILE
)));
57541 SWIG_Python_SetConstant(d
, "ID_FILE1",SWIG_From_int(static_cast< int >(wxID_FILE1
)));
57542 SWIG_Python_SetConstant(d
, "ID_FILE2",SWIG_From_int(static_cast< int >(wxID_FILE2
)));
57543 SWIG_Python_SetConstant(d
, "ID_FILE3",SWIG_From_int(static_cast< int >(wxID_FILE3
)));
57544 SWIG_Python_SetConstant(d
, "ID_FILE4",SWIG_From_int(static_cast< int >(wxID_FILE4
)));
57545 SWIG_Python_SetConstant(d
, "ID_FILE5",SWIG_From_int(static_cast< int >(wxID_FILE5
)));
57546 SWIG_Python_SetConstant(d
, "ID_FILE6",SWIG_From_int(static_cast< int >(wxID_FILE6
)));
57547 SWIG_Python_SetConstant(d
, "ID_FILE7",SWIG_From_int(static_cast< int >(wxID_FILE7
)));
57548 SWIG_Python_SetConstant(d
, "ID_FILE8",SWIG_From_int(static_cast< int >(wxID_FILE8
)));
57549 SWIG_Python_SetConstant(d
, "ID_FILE9",SWIG_From_int(static_cast< int >(wxID_FILE9
)));
57550 SWIG_Python_SetConstant(d
, "ID_OK",SWIG_From_int(static_cast< int >(wxID_OK
)));
57551 SWIG_Python_SetConstant(d
, "ID_CANCEL",SWIG_From_int(static_cast< int >(wxID_CANCEL
)));
57552 SWIG_Python_SetConstant(d
, "ID_APPLY",SWIG_From_int(static_cast< int >(wxID_APPLY
)));
57553 SWIG_Python_SetConstant(d
, "ID_YES",SWIG_From_int(static_cast< int >(wxID_YES
)));
57554 SWIG_Python_SetConstant(d
, "ID_NO",SWIG_From_int(static_cast< int >(wxID_NO
)));
57555 SWIG_Python_SetConstant(d
, "ID_STATIC",SWIG_From_int(static_cast< int >(wxID_STATIC
)));
57556 SWIG_Python_SetConstant(d
, "ID_FORWARD",SWIG_From_int(static_cast< int >(wxID_FORWARD
)));
57557 SWIG_Python_SetConstant(d
, "ID_BACKWARD",SWIG_From_int(static_cast< int >(wxID_BACKWARD
)));
57558 SWIG_Python_SetConstant(d
, "ID_DEFAULT",SWIG_From_int(static_cast< int >(wxID_DEFAULT
)));
57559 SWIG_Python_SetConstant(d
, "ID_MORE",SWIG_From_int(static_cast< int >(wxID_MORE
)));
57560 SWIG_Python_SetConstant(d
, "ID_SETUP",SWIG_From_int(static_cast< int >(wxID_SETUP
)));
57561 SWIG_Python_SetConstant(d
, "ID_RESET",SWIG_From_int(static_cast< int >(wxID_RESET
)));
57562 SWIG_Python_SetConstant(d
, "ID_CONTEXT_HELP",SWIG_From_int(static_cast< int >(wxID_CONTEXT_HELP
)));
57563 SWIG_Python_SetConstant(d
, "ID_YESTOALL",SWIG_From_int(static_cast< int >(wxID_YESTOALL
)));
57564 SWIG_Python_SetConstant(d
, "ID_NOTOALL",SWIG_From_int(static_cast< int >(wxID_NOTOALL
)));
57565 SWIG_Python_SetConstant(d
, "ID_ABORT",SWIG_From_int(static_cast< int >(wxID_ABORT
)));
57566 SWIG_Python_SetConstant(d
, "ID_RETRY",SWIG_From_int(static_cast< int >(wxID_RETRY
)));
57567 SWIG_Python_SetConstant(d
, "ID_IGNORE",SWIG_From_int(static_cast< int >(wxID_IGNORE
)));
57568 SWIG_Python_SetConstant(d
, "ID_ADD",SWIG_From_int(static_cast< int >(wxID_ADD
)));
57569 SWIG_Python_SetConstant(d
, "ID_REMOVE",SWIG_From_int(static_cast< int >(wxID_REMOVE
)));
57570 SWIG_Python_SetConstant(d
, "ID_UP",SWIG_From_int(static_cast< int >(wxID_UP
)));
57571 SWIG_Python_SetConstant(d
, "ID_DOWN",SWIG_From_int(static_cast< int >(wxID_DOWN
)));
57572 SWIG_Python_SetConstant(d
, "ID_HOME",SWIG_From_int(static_cast< int >(wxID_HOME
)));
57573 SWIG_Python_SetConstant(d
, "ID_REFRESH",SWIG_From_int(static_cast< int >(wxID_REFRESH
)));
57574 SWIG_Python_SetConstant(d
, "ID_STOP",SWIG_From_int(static_cast< int >(wxID_STOP
)));
57575 SWIG_Python_SetConstant(d
, "ID_INDEX",SWIG_From_int(static_cast< int >(wxID_INDEX
)));
57576 SWIG_Python_SetConstant(d
, "ID_BOLD",SWIG_From_int(static_cast< int >(wxID_BOLD
)));
57577 SWIG_Python_SetConstant(d
, "ID_ITALIC",SWIG_From_int(static_cast< int >(wxID_ITALIC
)));
57578 SWIG_Python_SetConstant(d
, "ID_JUSTIFY_CENTER",SWIG_From_int(static_cast< int >(wxID_JUSTIFY_CENTER
)));
57579 SWIG_Python_SetConstant(d
, "ID_JUSTIFY_FILL",SWIG_From_int(static_cast< int >(wxID_JUSTIFY_FILL
)));
57580 SWIG_Python_SetConstant(d
, "ID_JUSTIFY_RIGHT",SWIG_From_int(static_cast< int >(wxID_JUSTIFY_RIGHT
)));
57581 SWIG_Python_SetConstant(d
, "ID_JUSTIFY_LEFT",SWIG_From_int(static_cast< int >(wxID_JUSTIFY_LEFT
)));
57582 SWIG_Python_SetConstant(d
, "ID_UNDERLINE",SWIG_From_int(static_cast< int >(wxID_UNDERLINE
)));
57583 SWIG_Python_SetConstant(d
, "ID_INDENT",SWIG_From_int(static_cast< int >(wxID_INDENT
)));
57584 SWIG_Python_SetConstant(d
, "ID_UNINDENT",SWIG_From_int(static_cast< int >(wxID_UNINDENT
)));
57585 SWIG_Python_SetConstant(d
, "ID_ZOOM_100",SWIG_From_int(static_cast< int >(wxID_ZOOM_100
)));
57586 SWIG_Python_SetConstant(d
, "ID_ZOOM_FIT",SWIG_From_int(static_cast< int >(wxID_ZOOM_FIT
)));
57587 SWIG_Python_SetConstant(d
, "ID_ZOOM_IN",SWIG_From_int(static_cast< int >(wxID_ZOOM_IN
)));
57588 SWIG_Python_SetConstant(d
, "ID_ZOOM_OUT",SWIG_From_int(static_cast< int >(wxID_ZOOM_OUT
)));
57589 SWIG_Python_SetConstant(d
, "ID_UNDELETE",SWIG_From_int(static_cast< int >(wxID_UNDELETE
)));
57590 SWIG_Python_SetConstant(d
, "ID_REVERT_TO_SAVED",SWIG_From_int(static_cast< int >(wxID_REVERT_TO_SAVED
)));
57591 SWIG_Python_SetConstant(d
, "ID_HIGHEST",SWIG_From_int(static_cast< int >(wxID_HIGHEST
)));
57592 SWIG_Python_SetConstant(d
, "MENU_TEAROFF",SWIG_From_int(static_cast< int >(wxMENU_TEAROFF
)));
57593 SWIG_Python_SetConstant(d
, "MB_DOCKABLE",SWIG_From_int(static_cast< int >(wxMB_DOCKABLE
)));
57594 SWIG_Python_SetConstant(d
, "NO_FULL_REPAINT_ON_RESIZE",SWIG_From_int(static_cast< int >(wxNO_FULL_REPAINT_ON_RESIZE
)));
57595 SWIG_Python_SetConstant(d
, "FULL_REPAINT_ON_RESIZE",SWIG_From_int(static_cast< int >(wxFULL_REPAINT_ON_RESIZE
)));
57596 SWIG_Python_SetConstant(d
, "LI_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLI_HORIZONTAL
)));
57597 SWIG_Python_SetConstant(d
, "LI_VERTICAL",SWIG_From_int(static_cast< int >(wxLI_VERTICAL
)));
57598 SWIG_Python_SetConstant(d
, "WS_EX_VALIDATE_RECURSIVELY",SWIG_From_int(static_cast< int >(wxWS_EX_VALIDATE_RECURSIVELY
)));
57599 SWIG_Python_SetConstant(d
, "WS_EX_BLOCK_EVENTS",SWIG_From_int(static_cast< int >(wxWS_EX_BLOCK_EVENTS
)));
57600 SWIG_Python_SetConstant(d
, "WS_EX_TRANSIENT",SWIG_From_int(static_cast< int >(wxWS_EX_TRANSIENT
)));
57601 SWIG_Python_SetConstant(d
, "WS_EX_THEMED_BACKGROUND",SWIG_From_int(static_cast< int >(wxWS_EX_THEMED_BACKGROUND
)));
57602 SWIG_Python_SetConstant(d
, "WS_EX_PROCESS_IDLE",SWIG_From_int(static_cast< int >(wxWS_EX_PROCESS_IDLE
)));
57603 SWIG_Python_SetConstant(d
, "WS_EX_PROCESS_UI_UPDATES",SWIG_From_int(static_cast< int >(wxWS_EX_PROCESS_UI_UPDATES
)));
57604 SWIG_Python_SetConstant(d
, "MM_TEXT",SWIG_From_int(static_cast< int >(wxMM_TEXT
)));
57605 SWIG_Python_SetConstant(d
, "MM_LOMETRIC",SWIG_From_int(static_cast< int >(wxMM_LOMETRIC
)));
57606 SWIG_Python_SetConstant(d
, "MM_HIMETRIC",SWIG_From_int(static_cast< int >(wxMM_HIMETRIC
)));
57607 SWIG_Python_SetConstant(d
, "MM_LOENGLISH",SWIG_From_int(static_cast< int >(wxMM_LOENGLISH
)));
57608 SWIG_Python_SetConstant(d
, "MM_HIENGLISH",SWIG_From_int(static_cast< int >(wxMM_HIENGLISH
)));
57609 SWIG_Python_SetConstant(d
, "MM_TWIPS",SWIG_From_int(static_cast< int >(wxMM_TWIPS
)));
57610 SWIG_Python_SetConstant(d
, "MM_ISOTROPIC",SWIG_From_int(static_cast< int >(wxMM_ISOTROPIC
)));
57611 SWIG_Python_SetConstant(d
, "MM_ANISOTROPIC",SWIG_From_int(static_cast< int >(wxMM_ANISOTROPIC
)));
57612 SWIG_Python_SetConstant(d
, "MM_POINTS",SWIG_From_int(static_cast< int >(wxMM_POINTS
)));
57613 SWIG_Python_SetConstant(d
, "MM_METRIC",SWIG_From_int(static_cast< int >(wxMM_METRIC
)));
57614 SWIG_Python_SetConstant(d
, "CENTRE",SWIG_From_int(static_cast< int >(wxCENTRE
)));
57615 SWIG_Python_SetConstant(d
, "CENTER",SWIG_From_int(static_cast< int >(wxCENTER
)));
57616 SWIG_Python_SetConstant(d
, "HORIZONTAL",SWIG_From_int(static_cast< int >(wxHORIZONTAL
)));
57617 SWIG_Python_SetConstant(d
, "VERTICAL",SWIG_From_int(static_cast< int >(wxVERTICAL
)));
57618 SWIG_Python_SetConstant(d
, "BOTH",SWIG_From_int(static_cast< int >(wxBOTH
)));
57619 SWIG_Python_SetConstant(d
, "LEFT",SWIG_From_int(static_cast< int >(wxLEFT
)));
57620 SWIG_Python_SetConstant(d
, "RIGHT",SWIG_From_int(static_cast< int >(wxRIGHT
)));
57621 SWIG_Python_SetConstant(d
, "UP",SWIG_From_int(static_cast< int >(wxUP
)));
57622 SWIG_Python_SetConstant(d
, "DOWN",SWIG_From_int(static_cast< int >(wxDOWN
)));
57623 SWIG_Python_SetConstant(d
, "TOP",SWIG_From_int(static_cast< int >(wxTOP
)));
57624 SWIG_Python_SetConstant(d
, "BOTTOM",SWIG_From_int(static_cast< int >(wxBOTTOM
)));
57625 SWIG_Python_SetConstant(d
, "NORTH",SWIG_From_int(static_cast< int >(wxNORTH
)));
57626 SWIG_Python_SetConstant(d
, "SOUTH",SWIG_From_int(static_cast< int >(wxSOUTH
)));
57627 SWIG_Python_SetConstant(d
, "WEST",SWIG_From_int(static_cast< int >(wxWEST
)));
57628 SWIG_Python_SetConstant(d
, "EAST",SWIG_From_int(static_cast< int >(wxEAST
)));
57629 SWIG_Python_SetConstant(d
, "ALL",SWIG_From_int(static_cast< int >(wxALL
)));
57630 SWIG_Python_SetConstant(d
, "ALIGN_NOT",SWIG_From_int(static_cast< int >(wxALIGN_NOT
)));
57631 SWIG_Python_SetConstant(d
, "ALIGN_CENTER_HORIZONTAL",SWIG_From_int(static_cast< int >(wxALIGN_CENTER_HORIZONTAL
)));
57632 SWIG_Python_SetConstant(d
, "ALIGN_CENTRE_HORIZONTAL",SWIG_From_int(static_cast< int >(wxALIGN_CENTRE_HORIZONTAL
)));
57633 SWIG_Python_SetConstant(d
, "ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxALIGN_LEFT
)));
57634 SWIG_Python_SetConstant(d
, "ALIGN_TOP",SWIG_From_int(static_cast< int >(wxALIGN_TOP
)));
57635 SWIG_Python_SetConstant(d
, "ALIGN_RIGHT",SWIG_From_int(static_cast< int >(wxALIGN_RIGHT
)));
57636 SWIG_Python_SetConstant(d
, "ALIGN_BOTTOM",SWIG_From_int(static_cast< int >(wxALIGN_BOTTOM
)));
57637 SWIG_Python_SetConstant(d
, "ALIGN_CENTER_VERTICAL",SWIG_From_int(static_cast< int >(wxALIGN_CENTER_VERTICAL
)));
57638 SWIG_Python_SetConstant(d
, "ALIGN_CENTRE_VERTICAL",SWIG_From_int(static_cast< int >(wxALIGN_CENTRE_VERTICAL
)));
57639 SWIG_Python_SetConstant(d
, "ALIGN_CENTER",SWIG_From_int(static_cast< int >(wxALIGN_CENTER
)));
57640 SWIG_Python_SetConstant(d
, "ALIGN_CENTRE",SWIG_From_int(static_cast< int >(wxALIGN_CENTRE
)));
57641 SWIG_Python_SetConstant(d
, "ALIGN_MASK",SWIG_From_int(static_cast< int >(wxALIGN_MASK
)));
57642 SWIG_Python_SetConstant(d
, "STRETCH_NOT",SWIG_From_int(static_cast< int >(wxSTRETCH_NOT
)));
57643 SWIG_Python_SetConstant(d
, "SHRINK",SWIG_From_int(static_cast< int >(wxSHRINK
)));
57644 SWIG_Python_SetConstant(d
, "GROW",SWIG_From_int(static_cast< int >(wxGROW
)));
57645 SWIG_Python_SetConstant(d
, "EXPAND",SWIG_From_int(static_cast< int >(wxEXPAND
)));
57646 SWIG_Python_SetConstant(d
, "SHAPED",SWIG_From_int(static_cast< int >(wxSHAPED
)));
57647 SWIG_Python_SetConstant(d
, "FIXED_MINSIZE",SWIG_From_int(static_cast< int >(wxFIXED_MINSIZE
)));
57648 SWIG_Python_SetConstant(d
, "TILE",SWIG_From_int(static_cast< int >(wxTILE
)));
57649 SWIG_Python_SetConstant(d
, "ADJUST_MINSIZE",SWIG_From_int(static_cast< int >(wxADJUST_MINSIZE
)));
57650 SWIG_Python_SetConstant(d
, "BORDER_DEFAULT",SWIG_From_int(static_cast< int >(wxBORDER_DEFAULT
)));
57651 SWIG_Python_SetConstant(d
, "BORDER_NONE",SWIG_From_int(static_cast< int >(wxBORDER_NONE
)));
57652 SWIG_Python_SetConstant(d
, "BORDER_STATIC",SWIG_From_int(static_cast< int >(wxBORDER_STATIC
)));
57653 SWIG_Python_SetConstant(d
, "BORDER_SIMPLE",SWIG_From_int(static_cast< int >(wxBORDER_SIMPLE
)));
57654 SWIG_Python_SetConstant(d
, "BORDER_RAISED",SWIG_From_int(static_cast< int >(wxBORDER_RAISED
)));
57655 SWIG_Python_SetConstant(d
, "BORDER_SUNKEN",SWIG_From_int(static_cast< int >(wxBORDER_SUNKEN
)));
57656 SWIG_Python_SetConstant(d
, "BORDER_DOUBLE",SWIG_From_int(static_cast< int >(wxBORDER_DOUBLE
)));
57657 SWIG_Python_SetConstant(d
, "BORDER_MASK",SWIG_From_int(static_cast< int >(wxBORDER_MASK
)));
57658 SWIG_Python_SetConstant(d
, "BG_STYLE_SYSTEM",SWIG_From_int(static_cast< int >(wxBG_STYLE_SYSTEM
)));
57659 SWIG_Python_SetConstant(d
, "BG_STYLE_COLOUR",SWIG_From_int(static_cast< int >(wxBG_STYLE_COLOUR
)));
57660 SWIG_Python_SetConstant(d
, "BG_STYLE_CUSTOM",SWIG_From_int(static_cast< int >(wxBG_STYLE_CUSTOM
)));
57661 SWIG_Python_SetConstant(d
, "DEFAULT",SWIG_From_int(static_cast< int >(wxDEFAULT
)));
57662 SWIG_Python_SetConstant(d
, "DECORATIVE",SWIG_From_int(static_cast< int >(wxDECORATIVE
)));
57663 SWIG_Python_SetConstant(d
, "ROMAN",SWIG_From_int(static_cast< int >(wxROMAN
)));
57664 SWIG_Python_SetConstant(d
, "SCRIPT",SWIG_From_int(static_cast< int >(wxSCRIPT
)));
57665 SWIG_Python_SetConstant(d
, "SWISS",SWIG_From_int(static_cast< int >(wxSWISS
)));
57666 SWIG_Python_SetConstant(d
, "MODERN",SWIG_From_int(static_cast< int >(wxMODERN
)));
57667 SWIG_Python_SetConstant(d
, "TELETYPE",SWIG_From_int(static_cast< int >(wxTELETYPE
)));
57668 SWIG_Python_SetConstant(d
, "VARIABLE",SWIG_From_int(static_cast< int >(wxVARIABLE
)));
57669 SWIG_Python_SetConstant(d
, "FIXED",SWIG_From_int(static_cast< int >(wxFIXED
)));
57670 SWIG_Python_SetConstant(d
, "NORMAL",SWIG_From_int(static_cast< int >(wxNORMAL
)));
57671 SWIG_Python_SetConstant(d
, "LIGHT",SWIG_From_int(static_cast< int >(wxLIGHT
)));
57672 SWIG_Python_SetConstant(d
, "BOLD",SWIG_From_int(static_cast< int >(wxBOLD
)));
57673 SWIG_Python_SetConstant(d
, "ITALIC",SWIG_From_int(static_cast< int >(wxITALIC
)));
57674 SWIG_Python_SetConstant(d
, "SLANT",SWIG_From_int(static_cast< int >(wxSLANT
)));
57675 SWIG_Python_SetConstant(d
, "SOLID",SWIG_From_int(static_cast< int >(wxSOLID
)));
57676 SWIG_Python_SetConstant(d
, "DOT",SWIG_From_int(static_cast< int >(wxDOT
)));
57677 SWIG_Python_SetConstant(d
, "LONG_DASH",SWIG_From_int(static_cast< int >(wxLONG_DASH
)));
57678 SWIG_Python_SetConstant(d
, "SHORT_DASH",SWIG_From_int(static_cast< int >(wxSHORT_DASH
)));
57679 SWIG_Python_SetConstant(d
, "DOT_DASH",SWIG_From_int(static_cast< int >(wxDOT_DASH
)));
57680 SWIG_Python_SetConstant(d
, "USER_DASH",SWIG_From_int(static_cast< int >(wxUSER_DASH
)));
57681 SWIG_Python_SetConstant(d
, "TRANSPARENT",SWIG_From_int(static_cast< int >(wxTRANSPARENT
)));
57682 SWIG_Python_SetConstant(d
, "STIPPLE",SWIG_From_int(static_cast< int >(wxSTIPPLE
)));
57683 SWIG_Python_SetConstant(d
, "STIPPLE_MASK",SWIG_From_int(static_cast< int >(wxSTIPPLE_MASK
)));
57684 SWIG_Python_SetConstant(d
, "STIPPLE_MASK_OPAQUE",SWIG_From_int(static_cast< int >(wxSTIPPLE_MASK_OPAQUE
)));
57685 SWIG_Python_SetConstant(d
, "BDIAGONAL_HATCH",SWIG_From_int(static_cast< int >(wxBDIAGONAL_HATCH
)));
57686 SWIG_Python_SetConstant(d
, "CROSSDIAG_HATCH",SWIG_From_int(static_cast< int >(wxCROSSDIAG_HATCH
)));
57687 SWIG_Python_SetConstant(d
, "FDIAGONAL_HATCH",SWIG_From_int(static_cast< int >(wxFDIAGONAL_HATCH
)));
57688 SWIG_Python_SetConstant(d
, "CROSS_HATCH",SWIG_From_int(static_cast< int >(wxCROSS_HATCH
)));
57689 SWIG_Python_SetConstant(d
, "HORIZONTAL_HATCH",SWIG_From_int(static_cast< int >(wxHORIZONTAL_HATCH
)));
57690 SWIG_Python_SetConstant(d
, "VERTICAL_HATCH",SWIG_From_int(static_cast< int >(wxVERTICAL_HATCH
)));
57691 SWIG_Python_SetConstant(d
, "JOIN_BEVEL",SWIG_From_int(static_cast< int >(wxJOIN_BEVEL
)));
57692 SWIG_Python_SetConstant(d
, "JOIN_MITER",SWIG_From_int(static_cast< int >(wxJOIN_MITER
)));
57693 SWIG_Python_SetConstant(d
, "JOIN_ROUND",SWIG_From_int(static_cast< int >(wxJOIN_ROUND
)));
57694 SWIG_Python_SetConstant(d
, "CAP_ROUND",SWIG_From_int(static_cast< int >(wxCAP_ROUND
)));
57695 SWIG_Python_SetConstant(d
, "CAP_PROJECTING",SWIG_From_int(static_cast< int >(wxCAP_PROJECTING
)));
57696 SWIG_Python_SetConstant(d
, "CAP_BUTT",SWIG_From_int(static_cast< int >(wxCAP_BUTT
)));
57697 SWIG_Python_SetConstant(d
, "CLEAR",SWIG_From_int(static_cast< int >(wxCLEAR
)));
57698 SWIG_Python_SetConstant(d
, "XOR",SWIG_From_int(static_cast< int >(wxXOR
)));
57699 SWIG_Python_SetConstant(d
, "INVERT",SWIG_From_int(static_cast< int >(wxINVERT
)));
57700 SWIG_Python_SetConstant(d
, "OR_REVERSE",SWIG_From_int(static_cast< int >(wxOR_REVERSE
)));
57701 SWIG_Python_SetConstant(d
, "AND_REVERSE",SWIG_From_int(static_cast< int >(wxAND_REVERSE
)));
57702 SWIG_Python_SetConstant(d
, "COPY",SWIG_From_int(static_cast< int >(wxCOPY
)));
57703 SWIG_Python_SetConstant(d
, "AND",SWIG_From_int(static_cast< int >(wxAND
)));
57704 SWIG_Python_SetConstant(d
, "AND_INVERT",SWIG_From_int(static_cast< int >(wxAND_INVERT
)));
57705 SWIG_Python_SetConstant(d
, "NO_OP",SWIG_From_int(static_cast< int >(wxNO_OP
)));
57706 SWIG_Python_SetConstant(d
, "NOR",SWIG_From_int(static_cast< int >(wxNOR
)));
57707 SWIG_Python_SetConstant(d
, "EQUIV",SWIG_From_int(static_cast< int >(wxEQUIV
)));
57708 SWIG_Python_SetConstant(d
, "SRC_INVERT",SWIG_From_int(static_cast< int >(wxSRC_INVERT
)));
57709 SWIG_Python_SetConstant(d
, "OR_INVERT",SWIG_From_int(static_cast< int >(wxOR_INVERT
)));
57710 SWIG_Python_SetConstant(d
, "NAND",SWIG_From_int(static_cast< int >(wxNAND
)));
57711 SWIG_Python_SetConstant(d
, "OR",SWIG_From_int(static_cast< int >(wxOR
)));
57712 SWIG_Python_SetConstant(d
, "SET",SWIG_From_int(static_cast< int >(wxSET
)));
57713 SWIG_Python_SetConstant(d
, "WXK_BACK",SWIG_From_int(static_cast< int >(WXK_BACK
)));
57714 SWIG_Python_SetConstant(d
, "WXK_TAB",SWIG_From_int(static_cast< int >(WXK_TAB
)));
57715 SWIG_Python_SetConstant(d
, "WXK_RETURN",SWIG_From_int(static_cast< int >(WXK_RETURN
)));
57716 SWIG_Python_SetConstant(d
, "WXK_ESCAPE",SWIG_From_int(static_cast< int >(WXK_ESCAPE
)));
57717 SWIG_Python_SetConstant(d
, "WXK_SPACE",SWIG_From_int(static_cast< int >(WXK_SPACE
)));
57718 SWIG_Python_SetConstant(d
, "WXK_DELETE",SWIG_From_int(static_cast< int >(WXK_DELETE
)));
57719 SWIG_Python_SetConstant(d
, "WXK_START",SWIG_From_int(static_cast< int >(WXK_START
)));
57720 SWIG_Python_SetConstant(d
, "WXK_LBUTTON",SWIG_From_int(static_cast< int >(WXK_LBUTTON
)));
57721 SWIG_Python_SetConstant(d
, "WXK_RBUTTON",SWIG_From_int(static_cast< int >(WXK_RBUTTON
)));
57722 SWIG_Python_SetConstant(d
, "WXK_CANCEL",SWIG_From_int(static_cast< int >(WXK_CANCEL
)));
57723 SWIG_Python_SetConstant(d
, "WXK_MBUTTON",SWIG_From_int(static_cast< int >(WXK_MBUTTON
)));
57724 SWIG_Python_SetConstant(d
, "WXK_CLEAR",SWIG_From_int(static_cast< int >(WXK_CLEAR
)));
57725 SWIG_Python_SetConstant(d
, "WXK_SHIFT",SWIG_From_int(static_cast< int >(WXK_SHIFT
)));
57726 SWIG_Python_SetConstant(d
, "WXK_ALT",SWIG_From_int(static_cast< int >(WXK_ALT
)));
57727 SWIG_Python_SetConstant(d
, "WXK_CONTROL",SWIG_From_int(static_cast< int >(WXK_CONTROL
)));
57728 SWIG_Python_SetConstant(d
, "WXK_MENU",SWIG_From_int(static_cast< int >(WXK_MENU
)));
57729 SWIG_Python_SetConstant(d
, "WXK_PAUSE",SWIG_From_int(static_cast< int >(WXK_PAUSE
)));
57730 SWIG_Python_SetConstant(d
, "WXK_CAPITAL",SWIG_From_int(static_cast< int >(WXK_CAPITAL
)));
57731 SWIG_Python_SetConstant(d
, "WXK_PRIOR",SWIG_From_int(static_cast< int >(WXK_PRIOR
)));
57732 SWIG_Python_SetConstant(d
, "WXK_NEXT",SWIG_From_int(static_cast< int >(WXK_NEXT
)));
57733 SWIG_Python_SetConstant(d
, "WXK_END",SWIG_From_int(static_cast< int >(WXK_END
)));
57734 SWIG_Python_SetConstant(d
, "WXK_HOME",SWIG_From_int(static_cast< int >(WXK_HOME
)));
57735 SWIG_Python_SetConstant(d
, "WXK_LEFT",SWIG_From_int(static_cast< int >(WXK_LEFT
)));
57736 SWIG_Python_SetConstant(d
, "WXK_UP",SWIG_From_int(static_cast< int >(WXK_UP
)));
57737 SWIG_Python_SetConstant(d
, "WXK_RIGHT",SWIG_From_int(static_cast< int >(WXK_RIGHT
)));
57738 SWIG_Python_SetConstant(d
, "WXK_DOWN",SWIG_From_int(static_cast< int >(WXK_DOWN
)));
57739 SWIG_Python_SetConstant(d
, "WXK_SELECT",SWIG_From_int(static_cast< int >(WXK_SELECT
)));
57740 SWIG_Python_SetConstant(d
, "WXK_PRINT",SWIG_From_int(static_cast< int >(WXK_PRINT
)));
57741 SWIG_Python_SetConstant(d
, "WXK_EXECUTE",SWIG_From_int(static_cast< int >(WXK_EXECUTE
)));
57742 SWIG_Python_SetConstant(d
, "WXK_SNAPSHOT",SWIG_From_int(static_cast< int >(WXK_SNAPSHOT
)));
57743 SWIG_Python_SetConstant(d
, "WXK_INSERT",SWIG_From_int(static_cast< int >(WXK_INSERT
)));
57744 SWIG_Python_SetConstant(d
, "WXK_HELP",SWIG_From_int(static_cast< int >(WXK_HELP
)));
57745 SWIG_Python_SetConstant(d
, "WXK_NUMPAD0",SWIG_From_int(static_cast< int >(WXK_NUMPAD0
)));
57746 SWIG_Python_SetConstant(d
, "WXK_NUMPAD1",SWIG_From_int(static_cast< int >(WXK_NUMPAD1
)));
57747 SWIG_Python_SetConstant(d
, "WXK_NUMPAD2",SWIG_From_int(static_cast< int >(WXK_NUMPAD2
)));
57748 SWIG_Python_SetConstant(d
, "WXK_NUMPAD3",SWIG_From_int(static_cast< int >(WXK_NUMPAD3
)));
57749 SWIG_Python_SetConstant(d
, "WXK_NUMPAD4",SWIG_From_int(static_cast< int >(WXK_NUMPAD4
)));
57750 SWIG_Python_SetConstant(d
, "WXK_NUMPAD5",SWIG_From_int(static_cast< int >(WXK_NUMPAD5
)));
57751 SWIG_Python_SetConstant(d
, "WXK_NUMPAD6",SWIG_From_int(static_cast< int >(WXK_NUMPAD6
)));
57752 SWIG_Python_SetConstant(d
, "WXK_NUMPAD7",SWIG_From_int(static_cast< int >(WXK_NUMPAD7
)));
57753 SWIG_Python_SetConstant(d
, "WXK_NUMPAD8",SWIG_From_int(static_cast< int >(WXK_NUMPAD8
)));
57754 SWIG_Python_SetConstant(d
, "WXK_NUMPAD9",SWIG_From_int(static_cast< int >(WXK_NUMPAD9
)));
57755 SWIG_Python_SetConstant(d
, "WXK_MULTIPLY",SWIG_From_int(static_cast< int >(WXK_MULTIPLY
)));
57756 SWIG_Python_SetConstant(d
, "WXK_ADD",SWIG_From_int(static_cast< int >(WXK_ADD
)));
57757 SWIG_Python_SetConstant(d
, "WXK_SEPARATOR",SWIG_From_int(static_cast< int >(WXK_SEPARATOR
)));
57758 SWIG_Python_SetConstant(d
, "WXK_SUBTRACT",SWIG_From_int(static_cast< int >(WXK_SUBTRACT
)));
57759 SWIG_Python_SetConstant(d
, "WXK_DECIMAL",SWIG_From_int(static_cast< int >(WXK_DECIMAL
)));
57760 SWIG_Python_SetConstant(d
, "WXK_DIVIDE",SWIG_From_int(static_cast< int >(WXK_DIVIDE
)));
57761 SWIG_Python_SetConstant(d
, "WXK_F1",SWIG_From_int(static_cast< int >(WXK_F1
)));
57762 SWIG_Python_SetConstant(d
, "WXK_F2",SWIG_From_int(static_cast< int >(WXK_F2
)));
57763 SWIG_Python_SetConstant(d
, "WXK_F3",SWIG_From_int(static_cast< int >(WXK_F3
)));
57764 SWIG_Python_SetConstant(d
, "WXK_F4",SWIG_From_int(static_cast< int >(WXK_F4
)));
57765 SWIG_Python_SetConstant(d
, "WXK_F5",SWIG_From_int(static_cast< int >(WXK_F5
)));
57766 SWIG_Python_SetConstant(d
, "WXK_F6",SWIG_From_int(static_cast< int >(WXK_F6
)));
57767 SWIG_Python_SetConstant(d
, "WXK_F7",SWIG_From_int(static_cast< int >(WXK_F7
)));
57768 SWIG_Python_SetConstant(d
, "WXK_F8",SWIG_From_int(static_cast< int >(WXK_F8
)));
57769 SWIG_Python_SetConstant(d
, "WXK_F9",SWIG_From_int(static_cast< int >(WXK_F9
)));
57770 SWIG_Python_SetConstant(d
, "WXK_F10",SWIG_From_int(static_cast< int >(WXK_F10
)));
57771 SWIG_Python_SetConstant(d
, "WXK_F11",SWIG_From_int(static_cast< int >(WXK_F11
)));
57772 SWIG_Python_SetConstant(d
, "WXK_F12",SWIG_From_int(static_cast< int >(WXK_F12
)));
57773 SWIG_Python_SetConstant(d
, "WXK_F13",SWIG_From_int(static_cast< int >(WXK_F13
)));
57774 SWIG_Python_SetConstant(d
, "WXK_F14",SWIG_From_int(static_cast< int >(WXK_F14
)));
57775 SWIG_Python_SetConstant(d
, "WXK_F15",SWIG_From_int(static_cast< int >(WXK_F15
)));
57776 SWIG_Python_SetConstant(d
, "WXK_F16",SWIG_From_int(static_cast< int >(WXK_F16
)));
57777 SWIG_Python_SetConstant(d
, "WXK_F17",SWIG_From_int(static_cast< int >(WXK_F17
)));
57778 SWIG_Python_SetConstant(d
, "WXK_F18",SWIG_From_int(static_cast< int >(WXK_F18
)));
57779 SWIG_Python_SetConstant(d
, "WXK_F19",SWIG_From_int(static_cast< int >(WXK_F19
)));
57780 SWIG_Python_SetConstant(d
, "WXK_F20",SWIG_From_int(static_cast< int >(WXK_F20
)));
57781 SWIG_Python_SetConstant(d
, "WXK_F21",SWIG_From_int(static_cast< int >(WXK_F21
)));
57782 SWIG_Python_SetConstant(d
, "WXK_F22",SWIG_From_int(static_cast< int >(WXK_F22
)));
57783 SWIG_Python_SetConstant(d
, "WXK_F23",SWIG_From_int(static_cast< int >(WXK_F23
)));
57784 SWIG_Python_SetConstant(d
, "WXK_F24",SWIG_From_int(static_cast< int >(WXK_F24
)));
57785 SWIG_Python_SetConstant(d
, "WXK_NUMLOCK",SWIG_From_int(static_cast< int >(WXK_NUMLOCK
)));
57786 SWIG_Python_SetConstant(d
, "WXK_SCROLL",SWIG_From_int(static_cast< int >(WXK_SCROLL
)));
57787 SWIG_Python_SetConstant(d
, "WXK_PAGEUP",SWIG_From_int(static_cast< int >(WXK_PAGEUP
)));
57788 SWIG_Python_SetConstant(d
, "WXK_PAGEDOWN",SWIG_From_int(static_cast< int >(WXK_PAGEDOWN
)));
57789 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_SPACE",SWIG_From_int(static_cast< int >(WXK_NUMPAD_SPACE
)));
57790 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_TAB",SWIG_From_int(static_cast< int >(WXK_NUMPAD_TAB
)));
57791 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_ENTER",SWIG_From_int(static_cast< int >(WXK_NUMPAD_ENTER
)));
57792 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_F1",SWIG_From_int(static_cast< int >(WXK_NUMPAD_F1
)));
57793 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_F2",SWIG_From_int(static_cast< int >(WXK_NUMPAD_F2
)));
57794 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_F3",SWIG_From_int(static_cast< int >(WXK_NUMPAD_F3
)));
57795 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_F4",SWIG_From_int(static_cast< int >(WXK_NUMPAD_F4
)));
57796 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_HOME",SWIG_From_int(static_cast< int >(WXK_NUMPAD_HOME
)));
57797 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_LEFT",SWIG_From_int(static_cast< int >(WXK_NUMPAD_LEFT
)));
57798 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_UP",SWIG_From_int(static_cast< int >(WXK_NUMPAD_UP
)));
57799 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_RIGHT",SWIG_From_int(static_cast< int >(WXK_NUMPAD_RIGHT
)));
57800 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_DOWN",SWIG_From_int(static_cast< int >(WXK_NUMPAD_DOWN
)));
57801 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_PRIOR",SWIG_From_int(static_cast< int >(WXK_NUMPAD_PRIOR
)));
57802 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_PAGEUP",SWIG_From_int(static_cast< int >(WXK_NUMPAD_PAGEUP
)));
57803 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_NEXT",SWIG_From_int(static_cast< int >(WXK_NUMPAD_NEXT
)));
57804 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_PAGEDOWN",SWIG_From_int(static_cast< int >(WXK_NUMPAD_PAGEDOWN
)));
57805 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_END",SWIG_From_int(static_cast< int >(WXK_NUMPAD_END
)));
57806 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_BEGIN",SWIG_From_int(static_cast< int >(WXK_NUMPAD_BEGIN
)));
57807 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_INSERT",SWIG_From_int(static_cast< int >(WXK_NUMPAD_INSERT
)));
57808 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_DELETE",SWIG_From_int(static_cast< int >(WXK_NUMPAD_DELETE
)));
57809 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_EQUAL",SWIG_From_int(static_cast< int >(WXK_NUMPAD_EQUAL
)));
57810 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_MULTIPLY",SWIG_From_int(static_cast< int >(WXK_NUMPAD_MULTIPLY
)));
57811 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_ADD",SWIG_From_int(static_cast< int >(WXK_NUMPAD_ADD
)));
57812 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_SEPARATOR",SWIG_From_int(static_cast< int >(WXK_NUMPAD_SEPARATOR
)));
57813 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_SUBTRACT",SWIG_From_int(static_cast< int >(WXK_NUMPAD_SUBTRACT
)));
57814 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_DECIMAL",SWIG_From_int(static_cast< int >(WXK_NUMPAD_DECIMAL
)));
57815 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_DIVIDE",SWIG_From_int(static_cast< int >(WXK_NUMPAD_DIVIDE
)));
57816 SWIG_Python_SetConstant(d
, "WXK_WINDOWS_LEFT",SWIG_From_int(static_cast< int >(WXK_WINDOWS_LEFT
)));
57817 SWIG_Python_SetConstant(d
, "WXK_WINDOWS_RIGHT",SWIG_From_int(static_cast< int >(WXK_WINDOWS_RIGHT
)));
57818 SWIG_Python_SetConstant(d
, "WXK_WINDOWS_MENU",SWIG_From_int(static_cast< int >(WXK_WINDOWS_MENU
)));
57819 SWIG_Python_SetConstant(d
, "WXK_COMMAND",SWIG_From_int(static_cast< int >(WXK_COMMAND
)));
57820 SWIG_Python_SetConstant(d
, "WXK_SPECIAL1",SWIG_From_int(static_cast< int >(WXK_SPECIAL1
)));
57821 SWIG_Python_SetConstant(d
, "WXK_SPECIAL2",SWIG_From_int(static_cast< int >(WXK_SPECIAL2
)));
57822 SWIG_Python_SetConstant(d
, "WXK_SPECIAL3",SWIG_From_int(static_cast< int >(WXK_SPECIAL3
)));
57823 SWIG_Python_SetConstant(d
, "WXK_SPECIAL4",SWIG_From_int(static_cast< int >(WXK_SPECIAL4
)));
57824 SWIG_Python_SetConstant(d
, "WXK_SPECIAL5",SWIG_From_int(static_cast< int >(WXK_SPECIAL5
)));
57825 SWIG_Python_SetConstant(d
, "WXK_SPECIAL6",SWIG_From_int(static_cast< int >(WXK_SPECIAL6
)));
57826 SWIG_Python_SetConstant(d
, "WXK_SPECIAL7",SWIG_From_int(static_cast< int >(WXK_SPECIAL7
)));
57827 SWIG_Python_SetConstant(d
, "WXK_SPECIAL8",SWIG_From_int(static_cast< int >(WXK_SPECIAL8
)));
57828 SWIG_Python_SetConstant(d
, "WXK_SPECIAL9",SWIG_From_int(static_cast< int >(WXK_SPECIAL9
)));
57829 SWIG_Python_SetConstant(d
, "WXK_SPECIAL10",SWIG_From_int(static_cast< int >(WXK_SPECIAL10
)));
57830 SWIG_Python_SetConstant(d
, "WXK_SPECIAL11",SWIG_From_int(static_cast< int >(WXK_SPECIAL11
)));
57831 SWIG_Python_SetConstant(d
, "WXK_SPECIAL12",SWIG_From_int(static_cast< int >(WXK_SPECIAL12
)));
57832 SWIG_Python_SetConstant(d
, "WXK_SPECIAL13",SWIG_From_int(static_cast< int >(WXK_SPECIAL13
)));
57833 SWIG_Python_SetConstant(d
, "WXK_SPECIAL14",SWIG_From_int(static_cast< int >(WXK_SPECIAL14
)));
57834 SWIG_Python_SetConstant(d
, "WXK_SPECIAL15",SWIG_From_int(static_cast< int >(WXK_SPECIAL15
)));
57835 SWIG_Python_SetConstant(d
, "WXK_SPECIAL16",SWIG_From_int(static_cast< int >(WXK_SPECIAL16
)));
57836 SWIG_Python_SetConstant(d
, "WXK_SPECIAL17",SWIG_From_int(static_cast< int >(WXK_SPECIAL17
)));
57837 SWIG_Python_SetConstant(d
, "WXK_SPECIAL18",SWIG_From_int(static_cast< int >(WXK_SPECIAL18
)));
57838 SWIG_Python_SetConstant(d
, "WXK_SPECIAL19",SWIG_From_int(static_cast< int >(WXK_SPECIAL19
)));
57839 SWIG_Python_SetConstant(d
, "WXK_SPECIAL20",SWIG_From_int(static_cast< int >(WXK_SPECIAL20
)));
57840 SWIG_Python_SetConstant(d
, "PAPER_NONE",SWIG_From_int(static_cast< int >(wxPAPER_NONE
)));
57841 SWIG_Python_SetConstant(d
, "PAPER_LETTER",SWIG_From_int(static_cast< int >(wxPAPER_LETTER
)));
57842 SWIG_Python_SetConstant(d
, "PAPER_LEGAL",SWIG_From_int(static_cast< int >(wxPAPER_LEGAL
)));
57843 SWIG_Python_SetConstant(d
, "PAPER_A4",SWIG_From_int(static_cast< int >(wxPAPER_A4
)));
57844 SWIG_Python_SetConstant(d
, "PAPER_CSHEET",SWIG_From_int(static_cast< int >(wxPAPER_CSHEET
)));
57845 SWIG_Python_SetConstant(d
, "PAPER_DSHEET",SWIG_From_int(static_cast< int >(wxPAPER_DSHEET
)));
57846 SWIG_Python_SetConstant(d
, "PAPER_ESHEET",SWIG_From_int(static_cast< int >(wxPAPER_ESHEET
)));
57847 SWIG_Python_SetConstant(d
, "PAPER_LETTERSMALL",SWIG_From_int(static_cast< int >(wxPAPER_LETTERSMALL
)));
57848 SWIG_Python_SetConstant(d
, "PAPER_TABLOID",SWIG_From_int(static_cast< int >(wxPAPER_TABLOID
)));
57849 SWIG_Python_SetConstant(d
, "PAPER_LEDGER",SWIG_From_int(static_cast< int >(wxPAPER_LEDGER
)));
57850 SWIG_Python_SetConstant(d
, "PAPER_STATEMENT",SWIG_From_int(static_cast< int >(wxPAPER_STATEMENT
)));
57851 SWIG_Python_SetConstant(d
, "PAPER_EXECUTIVE",SWIG_From_int(static_cast< int >(wxPAPER_EXECUTIVE
)));
57852 SWIG_Python_SetConstant(d
, "PAPER_A3",SWIG_From_int(static_cast< int >(wxPAPER_A3
)));
57853 SWIG_Python_SetConstant(d
, "PAPER_A4SMALL",SWIG_From_int(static_cast< int >(wxPAPER_A4SMALL
)));
57854 SWIG_Python_SetConstant(d
, "PAPER_A5",SWIG_From_int(static_cast< int >(wxPAPER_A5
)));
57855 SWIG_Python_SetConstant(d
, "PAPER_B4",SWIG_From_int(static_cast< int >(wxPAPER_B4
)));
57856 SWIG_Python_SetConstant(d
, "PAPER_B5",SWIG_From_int(static_cast< int >(wxPAPER_B5
)));
57857 SWIG_Python_SetConstant(d
, "PAPER_FOLIO",SWIG_From_int(static_cast< int >(wxPAPER_FOLIO
)));
57858 SWIG_Python_SetConstant(d
, "PAPER_QUARTO",SWIG_From_int(static_cast< int >(wxPAPER_QUARTO
)));
57859 SWIG_Python_SetConstant(d
, "PAPER_10X14",SWIG_From_int(static_cast< int >(wxPAPER_10X14
)));
57860 SWIG_Python_SetConstant(d
, "PAPER_11X17",SWIG_From_int(static_cast< int >(wxPAPER_11X17
)));
57861 SWIG_Python_SetConstant(d
, "PAPER_NOTE",SWIG_From_int(static_cast< int >(wxPAPER_NOTE
)));
57862 SWIG_Python_SetConstant(d
, "PAPER_ENV_9",SWIG_From_int(static_cast< int >(wxPAPER_ENV_9
)));
57863 SWIG_Python_SetConstant(d
, "PAPER_ENV_10",SWIG_From_int(static_cast< int >(wxPAPER_ENV_10
)));
57864 SWIG_Python_SetConstant(d
, "PAPER_ENV_11",SWIG_From_int(static_cast< int >(wxPAPER_ENV_11
)));
57865 SWIG_Python_SetConstant(d
, "PAPER_ENV_12",SWIG_From_int(static_cast< int >(wxPAPER_ENV_12
)));
57866 SWIG_Python_SetConstant(d
, "PAPER_ENV_14",SWIG_From_int(static_cast< int >(wxPAPER_ENV_14
)));
57867 SWIG_Python_SetConstant(d
, "PAPER_ENV_DL",SWIG_From_int(static_cast< int >(wxPAPER_ENV_DL
)));
57868 SWIG_Python_SetConstant(d
, "PAPER_ENV_C5",SWIG_From_int(static_cast< int >(wxPAPER_ENV_C5
)));
57869 SWIG_Python_SetConstant(d
, "PAPER_ENV_C3",SWIG_From_int(static_cast< int >(wxPAPER_ENV_C3
)));
57870 SWIG_Python_SetConstant(d
, "PAPER_ENV_C4",SWIG_From_int(static_cast< int >(wxPAPER_ENV_C4
)));
57871 SWIG_Python_SetConstant(d
, "PAPER_ENV_C6",SWIG_From_int(static_cast< int >(wxPAPER_ENV_C6
)));
57872 SWIG_Python_SetConstant(d
, "PAPER_ENV_C65",SWIG_From_int(static_cast< int >(wxPAPER_ENV_C65
)));
57873 SWIG_Python_SetConstant(d
, "PAPER_ENV_B4",SWIG_From_int(static_cast< int >(wxPAPER_ENV_B4
)));
57874 SWIG_Python_SetConstant(d
, "PAPER_ENV_B5",SWIG_From_int(static_cast< int >(wxPAPER_ENV_B5
)));
57875 SWIG_Python_SetConstant(d
, "PAPER_ENV_B6",SWIG_From_int(static_cast< int >(wxPAPER_ENV_B6
)));
57876 SWIG_Python_SetConstant(d
, "PAPER_ENV_ITALY",SWIG_From_int(static_cast< int >(wxPAPER_ENV_ITALY
)));
57877 SWIG_Python_SetConstant(d
, "PAPER_ENV_MONARCH",SWIG_From_int(static_cast< int >(wxPAPER_ENV_MONARCH
)));
57878 SWIG_Python_SetConstant(d
, "PAPER_ENV_PERSONAL",SWIG_From_int(static_cast< int >(wxPAPER_ENV_PERSONAL
)));
57879 SWIG_Python_SetConstant(d
, "PAPER_FANFOLD_US",SWIG_From_int(static_cast< int >(wxPAPER_FANFOLD_US
)));
57880 SWIG_Python_SetConstant(d
, "PAPER_FANFOLD_STD_GERMAN",SWIG_From_int(static_cast< int >(wxPAPER_FANFOLD_STD_GERMAN
)));
57881 SWIG_Python_SetConstant(d
, "PAPER_FANFOLD_LGL_GERMAN",SWIG_From_int(static_cast< int >(wxPAPER_FANFOLD_LGL_GERMAN
)));
57882 SWIG_Python_SetConstant(d
, "PAPER_ISO_B4",SWIG_From_int(static_cast< int >(wxPAPER_ISO_B4
)));
57883 SWIG_Python_SetConstant(d
, "PAPER_JAPANESE_POSTCARD",SWIG_From_int(static_cast< int >(wxPAPER_JAPANESE_POSTCARD
)));
57884 SWIG_Python_SetConstant(d
, "PAPER_9X11",SWIG_From_int(static_cast< int >(wxPAPER_9X11
)));
57885 SWIG_Python_SetConstant(d
, "PAPER_10X11",SWIG_From_int(static_cast< int >(wxPAPER_10X11
)));
57886 SWIG_Python_SetConstant(d
, "PAPER_15X11",SWIG_From_int(static_cast< int >(wxPAPER_15X11
)));
57887 SWIG_Python_SetConstant(d
, "PAPER_ENV_INVITE",SWIG_From_int(static_cast< int >(wxPAPER_ENV_INVITE
)));
57888 SWIG_Python_SetConstant(d
, "PAPER_LETTER_EXTRA",SWIG_From_int(static_cast< int >(wxPAPER_LETTER_EXTRA
)));
57889 SWIG_Python_SetConstant(d
, "PAPER_LEGAL_EXTRA",SWIG_From_int(static_cast< int >(wxPAPER_LEGAL_EXTRA
)));
57890 SWIG_Python_SetConstant(d
, "PAPER_TABLOID_EXTRA",SWIG_From_int(static_cast< int >(wxPAPER_TABLOID_EXTRA
)));
57891 SWIG_Python_SetConstant(d
, "PAPER_A4_EXTRA",SWIG_From_int(static_cast< int >(wxPAPER_A4_EXTRA
)));
57892 SWIG_Python_SetConstant(d
, "PAPER_LETTER_TRANSVERSE",SWIG_From_int(static_cast< int >(wxPAPER_LETTER_TRANSVERSE
)));
57893 SWIG_Python_SetConstant(d
, "PAPER_A4_TRANSVERSE",SWIG_From_int(static_cast< int >(wxPAPER_A4_TRANSVERSE
)));
57894 SWIG_Python_SetConstant(d
, "PAPER_LETTER_EXTRA_TRANSVERSE",SWIG_From_int(static_cast< int >(wxPAPER_LETTER_EXTRA_TRANSVERSE
)));
57895 SWIG_Python_SetConstant(d
, "PAPER_A_PLUS",SWIG_From_int(static_cast< int >(wxPAPER_A_PLUS
)));
57896 SWIG_Python_SetConstant(d
, "PAPER_B_PLUS",SWIG_From_int(static_cast< int >(wxPAPER_B_PLUS
)));
57897 SWIG_Python_SetConstant(d
, "PAPER_LETTER_PLUS",SWIG_From_int(static_cast< int >(wxPAPER_LETTER_PLUS
)));
57898 SWIG_Python_SetConstant(d
, "PAPER_A4_PLUS",SWIG_From_int(static_cast< int >(wxPAPER_A4_PLUS
)));
57899 SWIG_Python_SetConstant(d
, "PAPER_A5_TRANSVERSE",SWIG_From_int(static_cast< int >(wxPAPER_A5_TRANSVERSE
)));
57900 SWIG_Python_SetConstant(d
, "PAPER_B5_TRANSVERSE",SWIG_From_int(static_cast< int >(wxPAPER_B5_TRANSVERSE
)));
57901 SWIG_Python_SetConstant(d
, "PAPER_A3_EXTRA",SWIG_From_int(static_cast< int >(wxPAPER_A3_EXTRA
)));
57902 SWIG_Python_SetConstant(d
, "PAPER_A5_EXTRA",SWIG_From_int(static_cast< int >(wxPAPER_A5_EXTRA
)));
57903 SWIG_Python_SetConstant(d
, "PAPER_B5_EXTRA",SWIG_From_int(static_cast< int >(wxPAPER_B5_EXTRA
)));
57904 SWIG_Python_SetConstant(d
, "PAPER_A2",SWIG_From_int(static_cast< int >(wxPAPER_A2
)));
57905 SWIG_Python_SetConstant(d
, "PAPER_A3_TRANSVERSE",SWIG_From_int(static_cast< int >(wxPAPER_A3_TRANSVERSE
)));
57906 SWIG_Python_SetConstant(d
, "PAPER_A3_EXTRA_TRANSVERSE",SWIG_From_int(static_cast< int >(wxPAPER_A3_EXTRA_TRANSVERSE
)));
57907 SWIG_Python_SetConstant(d
, "PAPER_DBL_JAPANESE_POSTCARD",SWIG_From_int(static_cast< int >(wxPAPER_DBL_JAPANESE_POSTCARD
)));
57908 SWIG_Python_SetConstant(d
, "PAPER_A6",SWIG_From_int(static_cast< int >(wxPAPER_A6
)));
57909 SWIG_Python_SetConstant(d
, "PAPER_JENV_KAKU2",SWIG_From_int(static_cast< int >(wxPAPER_JENV_KAKU2
)));
57910 SWIG_Python_SetConstant(d
, "PAPER_JENV_KAKU3",SWIG_From_int(static_cast< int >(wxPAPER_JENV_KAKU3
)));
57911 SWIG_Python_SetConstant(d
, "PAPER_JENV_CHOU3",SWIG_From_int(static_cast< int >(wxPAPER_JENV_CHOU3
)));
57912 SWIG_Python_SetConstant(d
, "PAPER_JENV_CHOU4",SWIG_From_int(static_cast< int >(wxPAPER_JENV_CHOU4
)));
57913 SWIG_Python_SetConstant(d
, "PAPER_LETTER_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_LETTER_ROTATED
)));
57914 SWIG_Python_SetConstant(d
, "PAPER_A3_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_A3_ROTATED
)));
57915 SWIG_Python_SetConstant(d
, "PAPER_A4_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_A4_ROTATED
)));
57916 SWIG_Python_SetConstant(d
, "PAPER_A5_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_A5_ROTATED
)));
57917 SWIG_Python_SetConstant(d
, "PAPER_B4_JIS_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_B4_JIS_ROTATED
)));
57918 SWIG_Python_SetConstant(d
, "PAPER_B5_JIS_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_B5_JIS_ROTATED
)));
57919 SWIG_Python_SetConstant(d
, "PAPER_JAPANESE_POSTCARD_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_JAPANESE_POSTCARD_ROTATED
)));
57920 SWIG_Python_SetConstant(d
, "PAPER_DBL_JAPANESE_POSTCARD_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_DBL_JAPANESE_POSTCARD_ROTATED
)));
57921 SWIG_Python_SetConstant(d
, "PAPER_A6_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_A6_ROTATED
)));
57922 SWIG_Python_SetConstant(d
, "PAPER_JENV_KAKU2_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_JENV_KAKU2_ROTATED
)));
57923 SWIG_Python_SetConstant(d
, "PAPER_JENV_KAKU3_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_JENV_KAKU3_ROTATED
)));
57924 SWIG_Python_SetConstant(d
, "PAPER_JENV_CHOU3_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_JENV_CHOU3_ROTATED
)));
57925 SWIG_Python_SetConstant(d
, "PAPER_JENV_CHOU4_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_JENV_CHOU4_ROTATED
)));
57926 SWIG_Python_SetConstant(d
, "PAPER_B6_JIS",SWIG_From_int(static_cast< int >(wxPAPER_B6_JIS
)));
57927 SWIG_Python_SetConstant(d
, "PAPER_B6_JIS_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_B6_JIS_ROTATED
)));
57928 SWIG_Python_SetConstant(d
, "PAPER_12X11",SWIG_From_int(static_cast< int >(wxPAPER_12X11
)));
57929 SWIG_Python_SetConstant(d
, "PAPER_JENV_YOU4",SWIG_From_int(static_cast< int >(wxPAPER_JENV_YOU4
)));
57930 SWIG_Python_SetConstant(d
, "PAPER_JENV_YOU4_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_JENV_YOU4_ROTATED
)));
57931 SWIG_Python_SetConstant(d
, "PAPER_P16K",SWIG_From_int(static_cast< int >(wxPAPER_P16K
)));
57932 SWIG_Python_SetConstant(d
, "PAPER_P32K",SWIG_From_int(static_cast< int >(wxPAPER_P32K
)));
57933 SWIG_Python_SetConstant(d
, "PAPER_P32KBIG",SWIG_From_int(static_cast< int >(wxPAPER_P32KBIG
)));
57934 SWIG_Python_SetConstant(d
, "PAPER_PENV_1",SWIG_From_int(static_cast< int >(wxPAPER_PENV_1
)));
57935 SWIG_Python_SetConstant(d
, "PAPER_PENV_2",SWIG_From_int(static_cast< int >(wxPAPER_PENV_2
)));
57936 SWIG_Python_SetConstant(d
, "PAPER_PENV_3",SWIG_From_int(static_cast< int >(wxPAPER_PENV_3
)));
57937 SWIG_Python_SetConstant(d
, "PAPER_PENV_4",SWIG_From_int(static_cast< int >(wxPAPER_PENV_4
)));
57938 SWIG_Python_SetConstant(d
, "PAPER_PENV_5",SWIG_From_int(static_cast< int >(wxPAPER_PENV_5
)));
57939 SWIG_Python_SetConstant(d
, "PAPER_PENV_6",SWIG_From_int(static_cast< int >(wxPAPER_PENV_6
)));
57940 SWIG_Python_SetConstant(d
, "PAPER_PENV_7",SWIG_From_int(static_cast< int >(wxPAPER_PENV_7
)));
57941 SWIG_Python_SetConstant(d
, "PAPER_PENV_8",SWIG_From_int(static_cast< int >(wxPAPER_PENV_8
)));
57942 SWIG_Python_SetConstant(d
, "PAPER_PENV_9",SWIG_From_int(static_cast< int >(wxPAPER_PENV_9
)));
57943 SWIG_Python_SetConstant(d
, "PAPER_PENV_10",SWIG_From_int(static_cast< int >(wxPAPER_PENV_10
)));
57944 SWIG_Python_SetConstant(d
, "PAPER_P16K_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_P16K_ROTATED
)));
57945 SWIG_Python_SetConstant(d
, "PAPER_P32K_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_P32K_ROTATED
)));
57946 SWIG_Python_SetConstant(d
, "PAPER_P32KBIG_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_P32KBIG_ROTATED
)));
57947 SWIG_Python_SetConstant(d
, "PAPER_PENV_1_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_PENV_1_ROTATED
)));
57948 SWIG_Python_SetConstant(d
, "PAPER_PENV_2_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_PENV_2_ROTATED
)));
57949 SWIG_Python_SetConstant(d
, "PAPER_PENV_3_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_PENV_3_ROTATED
)));
57950 SWIG_Python_SetConstant(d
, "PAPER_PENV_4_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_PENV_4_ROTATED
)));
57951 SWIG_Python_SetConstant(d
, "PAPER_PENV_5_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_PENV_5_ROTATED
)));
57952 SWIG_Python_SetConstant(d
, "PAPER_PENV_6_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_PENV_6_ROTATED
)));
57953 SWIG_Python_SetConstant(d
, "PAPER_PENV_7_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_PENV_7_ROTATED
)));
57954 SWIG_Python_SetConstant(d
, "PAPER_PENV_8_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_PENV_8_ROTATED
)));
57955 SWIG_Python_SetConstant(d
, "PAPER_PENV_9_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_PENV_9_ROTATED
)));
57956 SWIG_Python_SetConstant(d
, "PAPER_PENV_10_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_PENV_10_ROTATED
)));
57957 SWIG_Python_SetConstant(d
, "DUPLEX_SIMPLEX",SWIG_From_int(static_cast< int >(wxDUPLEX_SIMPLEX
)));
57958 SWIG_Python_SetConstant(d
, "DUPLEX_HORIZONTAL",SWIG_From_int(static_cast< int >(wxDUPLEX_HORIZONTAL
)));
57959 SWIG_Python_SetConstant(d
, "DUPLEX_VERTICAL",SWIG_From_int(static_cast< int >(wxDUPLEX_VERTICAL
)));
57960 SWIG_Python_SetConstant(d
, "ITEM_SEPARATOR",SWIG_From_int(static_cast< int >(wxITEM_SEPARATOR
)));
57961 SWIG_Python_SetConstant(d
, "ITEM_NORMAL",SWIG_From_int(static_cast< int >(wxITEM_NORMAL
)));
57962 SWIG_Python_SetConstant(d
, "ITEM_CHECK",SWIG_From_int(static_cast< int >(wxITEM_CHECK
)));
57963 SWIG_Python_SetConstant(d
, "ITEM_RADIO",SWIG_From_int(static_cast< int >(wxITEM_RADIO
)));
57964 SWIG_Python_SetConstant(d
, "ITEM_MAX",SWIG_From_int(static_cast< int >(wxITEM_MAX
)));
57965 SWIG_Python_SetConstant(d
, "HT_NOWHERE",SWIG_From_int(static_cast< int >(wxHT_NOWHERE
)));
57966 SWIG_Python_SetConstant(d
, "HT_SCROLLBAR_FIRST",SWIG_From_int(static_cast< int >(wxHT_SCROLLBAR_FIRST
)));
57967 SWIG_Python_SetConstant(d
, "HT_SCROLLBAR_ARROW_LINE_1",SWIG_From_int(static_cast< int >(wxHT_SCROLLBAR_ARROW_LINE_1
)));
57968 SWIG_Python_SetConstant(d
, "HT_SCROLLBAR_ARROW_LINE_2",SWIG_From_int(static_cast< int >(wxHT_SCROLLBAR_ARROW_LINE_2
)));
57969 SWIG_Python_SetConstant(d
, "HT_SCROLLBAR_ARROW_PAGE_1",SWIG_From_int(static_cast< int >(wxHT_SCROLLBAR_ARROW_PAGE_1
)));
57970 SWIG_Python_SetConstant(d
, "HT_SCROLLBAR_ARROW_PAGE_2",SWIG_From_int(static_cast< int >(wxHT_SCROLLBAR_ARROW_PAGE_2
)));
57971 SWIG_Python_SetConstant(d
, "HT_SCROLLBAR_THUMB",SWIG_From_int(static_cast< int >(wxHT_SCROLLBAR_THUMB
)));
57972 SWIG_Python_SetConstant(d
, "HT_SCROLLBAR_BAR_1",SWIG_From_int(static_cast< int >(wxHT_SCROLLBAR_BAR_1
)));
57973 SWIG_Python_SetConstant(d
, "HT_SCROLLBAR_BAR_2",SWIG_From_int(static_cast< int >(wxHT_SCROLLBAR_BAR_2
)));
57974 SWIG_Python_SetConstant(d
, "HT_SCROLLBAR_LAST",SWIG_From_int(static_cast< int >(wxHT_SCROLLBAR_LAST
)));
57975 SWIG_Python_SetConstant(d
, "HT_WINDOW_OUTSIDE",SWIG_From_int(static_cast< int >(wxHT_WINDOW_OUTSIDE
)));
57976 SWIG_Python_SetConstant(d
, "HT_WINDOW_INSIDE",SWIG_From_int(static_cast< int >(wxHT_WINDOW_INSIDE
)));
57977 SWIG_Python_SetConstant(d
, "HT_WINDOW_VERT_SCROLLBAR",SWIG_From_int(static_cast< int >(wxHT_WINDOW_VERT_SCROLLBAR
)));
57978 SWIG_Python_SetConstant(d
, "HT_WINDOW_HORZ_SCROLLBAR",SWIG_From_int(static_cast< int >(wxHT_WINDOW_HORZ_SCROLLBAR
)));
57979 SWIG_Python_SetConstant(d
, "HT_WINDOW_CORNER",SWIG_From_int(static_cast< int >(wxHT_WINDOW_CORNER
)));
57980 SWIG_Python_SetConstant(d
, "HT_MAX",SWIG_From_int(static_cast< int >(wxHT_MAX
)));
57981 SWIG_Python_SetConstant(d
, "MOD_NONE",SWIG_From_int(static_cast< int >(wxMOD_NONE
)));
57982 SWIG_Python_SetConstant(d
, "MOD_ALT",SWIG_From_int(static_cast< int >(wxMOD_ALT
)));
57983 SWIG_Python_SetConstant(d
, "MOD_CONTROL",SWIG_From_int(static_cast< int >(wxMOD_CONTROL
)));
57984 SWIG_Python_SetConstant(d
, "MOD_ALTGR",SWIG_From_int(static_cast< int >(wxMOD_ALTGR
)));
57985 SWIG_Python_SetConstant(d
, "MOD_SHIFT",SWIG_From_int(static_cast< int >(wxMOD_SHIFT
)));
57986 SWIG_Python_SetConstant(d
, "MOD_META",SWIG_From_int(static_cast< int >(wxMOD_META
)));
57987 SWIG_Python_SetConstant(d
, "MOD_WIN",SWIG_From_int(static_cast< int >(wxMOD_WIN
)));
57988 SWIG_Python_SetConstant(d
, "MOD_CMD",SWIG_From_int(static_cast< int >(wxMOD_CMD
)));
57989 SWIG_Python_SetConstant(d
, "MOD_ALL",SWIG_From_int(static_cast< int >(wxMOD_ALL
)));
57990 SWIG_Python_SetConstant(d
, "UPDATE_UI_NONE",SWIG_From_int(static_cast< int >(wxUPDATE_UI_NONE
)));
57991 SWIG_Python_SetConstant(d
, "UPDATE_UI_RECURSE",SWIG_From_int(static_cast< int >(wxUPDATE_UI_RECURSE
)));
57992 SWIG_Python_SetConstant(d
, "UPDATE_UI_FROMIDLE",SWIG_From_int(static_cast< int >(wxUPDATE_UI_FROMIDLE
)));
57993 SWIG_Python_SetConstant(d
, "Layout_Default",SWIG_From_int(static_cast< int >(wxLayout_Default
)));
57994 SWIG_Python_SetConstant(d
, "Layout_LeftToRight",SWIG_From_int(static_cast< int >(wxLayout_LeftToRight
)));
57995 SWIG_Python_SetConstant(d
, "Layout_RightToLeft",SWIG_From_int(static_cast< int >(wxLayout_RightToLeft
)));
57996 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
57997 SWIG_addvarlink(SWIG_globals(),(char*)"EmptyString",EmptyString_get
, EmptyString_set
);
57998 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_INVALID",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_INVALID
)));
57999 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_BMP",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_BMP
)));
58000 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_ICO",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_ICO
)));
58001 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_CUR",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_CUR
)));
58002 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_XBM",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_XBM
)));
58003 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_XBM_DATA",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_XBM_DATA
)));
58004 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_XPM",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_XPM
)));
58005 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_XPM_DATA",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_XPM_DATA
)));
58006 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_TIF",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_TIF
)));
58007 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_GIF",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_GIF
)));
58008 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_PNG",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_PNG
)));
58009 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_JPEG",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_JPEG
)));
58010 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_PNM",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_PNM
)));
58011 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_PCX",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_PCX
)));
58012 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_PICT",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_PICT
)));
58013 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_ICON",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_ICON
)));
58014 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_ANI",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_ANI
)));
58015 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_IFF",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_IFF
)));
58016 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_MACCURSOR",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_MACCURSOR
)));
58017 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_ANY",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_ANY
)));
58018 SWIG_Python_SetConstant(d
, "CURSOR_NONE",SWIG_From_int(static_cast< int >(wxCURSOR_NONE
)));
58019 SWIG_Python_SetConstant(d
, "CURSOR_ARROW",SWIG_From_int(static_cast< int >(wxCURSOR_ARROW
)));
58020 SWIG_Python_SetConstant(d
, "CURSOR_RIGHT_ARROW",SWIG_From_int(static_cast< int >(wxCURSOR_RIGHT_ARROW
)));
58021 SWIG_Python_SetConstant(d
, "CURSOR_BULLSEYE",SWIG_From_int(static_cast< int >(wxCURSOR_BULLSEYE
)));
58022 SWIG_Python_SetConstant(d
, "CURSOR_CHAR",SWIG_From_int(static_cast< int >(wxCURSOR_CHAR
)));
58023 SWIG_Python_SetConstant(d
, "CURSOR_CROSS",SWIG_From_int(static_cast< int >(wxCURSOR_CROSS
)));
58024 SWIG_Python_SetConstant(d
, "CURSOR_HAND",SWIG_From_int(static_cast< int >(wxCURSOR_HAND
)));
58025 SWIG_Python_SetConstant(d
, "CURSOR_IBEAM",SWIG_From_int(static_cast< int >(wxCURSOR_IBEAM
)));
58026 SWIG_Python_SetConstant(d
, "CURSOR_LEFT_BUTTON",SWIG_From_int(static_cast< int >(wxCURSOR_LEFT_BUTTON
)));
58027 SWIG_Python_SetConstant(d
, "CURSOR_MAGNIFIER",SWIG_From_int(static_cast< int >(wxCURSOR_MAGNIFIER
)));
58028 SWIG_Python_SetConstant(d
, "CURSOR_MIDDLE_BUTTON",SWIG_From_int(static_cast< int >(wxCURSOR_MIDDLE_BUTTON
)));
58029 SWIG_Python_SetConstant(d
, "CURSOR_NO_ENTRY",SWIG_From_int(static_cast< int >(wxCURSOR_NO_ENTRY
)));
58030 SWIG_Python_SetConstant(d
, "CURSOR_PAINT_BRUSH",SWIG_From_int(static_cast< int >(wxCURSOR_PAINT_BRUSH
)));
58031 SWIG_Python_SetConstant(d
, "CURSOR_PENCIL",SWIG_From_int(static_cast< int >(wxCURSOR_PENCIL
)));
58032 SWIG_Python_SetConstant(d
, "CURSOR_POINT_LEFT",SWIG_From_int(static_cast< int >(wxCURSOR_POINT_LEFT
)));
58033 SWIG_Python_SetConstant(d
, "CURSOR_POINT_RIGHT",SWIG_From_int(static_cast< int >(wxCURSOR_POINT_RIGHT
)));
58034 SWIG_Python_SetConstant(d
, "CURSOR_QUESTION_ARROW",SWIG_From_int(static_cast< int >(wxCURSOR_QUESTION_ARROW
)));
58035 SWIG_Python_SetConstant(d
, "CURSOR_RIGHT_BUTTON",SWIG_From_int(static_cast< int >(wxCURSOR_RIGHT_BUTTON
)));
58036 SWIG_Python_SetConstant(d
, "CURSOR_SIZENESW",SWIG_From_int(static_cast< int >(wxCURSOR_SIZENESW
)));
58037 SWIG_Python_SetConstant(d
, "CURSOR_SIZENS",SWIG_From_int(static_cast< int >(wxCURSOR_SIZENS
)));
58038 SWIG_Python_SetConstant(d
, "CURSOR_SIZENWSE",SWIG_From_int(static_cast< int >(wxCURSOR_SIZENWSE
)));
58039 SWIG_Python_SetConstant(d
, "CURSOR_SIZEWE",SWIG_From_int(static_cast< int >(wxCURSOR_SIZEWE
)));
58040 SWIG_Python_SetConstant(d
, "CURSOR_SIZING",SWIG_From_int(static_cast< int >(wxCURSOR_SIZING
)));
58041 SWIG_Python_SetConstant(d
, "CURSOR_SPRAYCAN",SWIG_From_int(static_cast< int >(wxCURSOR_SPRAYCAN
)));
58042 SWIG_Python_SetConstant(d
, "CURSOR_WAIT",SWIG_From_int(static_cast< int >(wxCURSOR_WAIT
)));
58043 SWIG_Python_SetConstant(d
, "CURSOR_WATCH",SWIG_From_int(static_cast< int >(wxCURSOR_WATCH
)));
58044 SWIG_Python_SetConstant(d
, "CURSOR_BLANK",SWIG_From_int(static_cast< int >(wxCURSOR_BLANK
)));
58045 SWIG_Python_SetConstant(d
, "CURSOR_DEFAULT",SWIG_From_int(static_cast< int >(wxCURSOR_DEFAULT
)));
58046 SWIG_Python_SetConstant(d
, "CURSOR_COPY_ARROW",SWIG_From_int(static_cast< int >(wxCURSOR_COPY_ARROW
)));
58047 SWIG_Python_SetConstant(d
, "CURSOR_ARROWWAIT",SWIG_From_int(static_cast< int >(wxCURSOR_ARROWWAIT
)));
58048 SWIG_Python_SetConstant(d
, "CURSOR_MAX",SWIG_From_int(static_cast< int >(wxCURSOR_MAX
)));
58049 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultPosition",DefaultPosition_get
, DefaultPosition_set
);
58050 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultSize",DefaultSize_get
, DefaultSize_set
);
58051 SWIG_Python_SetConstant(d
, "FromStart",SWIG_From_int(static_cast< int >(wxFromStart
)));
58052 SWIG_Python_SetConstant(d
, "FromCurrent",SWIG_From_int(static_cast< int >(wxFromCurrent
)));
58053 SWIG_Python_SetConstant(d
, "FromEnd",SWIG_From_int(static_cast< int >(wxFromEnd
)));
58055 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
58058 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
58060 SWIG_Python_SetConstant(d
, "IMAGE_ALPHA_TRANSPARENT",SWIG_From_int(static_cast< int >(wxIMAGE_ALPHA_TRANSPARENT
)));
58061 SWIG_Python_SetConstant(d
, "IMAGE_ALPHA_THRESHOLD",SWIG_From_int(static_cast< int >(wxIMAGE_ALPHA_THRESHOLD
)));
58062 SWIG_Python_SetConstant(d
, "IMAGE_ALPHA_OPAQUE",SWIG_From_int(static_cast< int >(wxIMAGE_ALPHA_OPAQUE
)));
58063 SWIG_Python_SetConstant(d
, "IMAGE_QUALITY_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGE_QUALITY_NORMAL
)));
58064 SWIG_Python_SetConstant(d
, "IMAGE_QUALITY_HIGH",SWIG_From_int(static_cast< int >(wxIMAGE_QUALITY_HIGH
)));
58065 SWIG_addvarlink(SWIG_globals(),(char*)"NullImage",NullImage_get
, NullImage_set
);
58066 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_FILENAME",IMAGE_OPTION_FILENAME_get
, IMAGE_OPTION_FILENAME_set
);
58067 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_BMP_FORMAT",IMAGE_OPTION_BMP_FORMAT_get
, IMAGE_OPTION_BMP_FORMAT_set
);
58068 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",IMAGE_OPTION_CUR_HOTSPOT_X_get
, IMAGE_OPTION_CUR_HOTSPOT_X_set
);
58069 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",IMAGE_OPTION_CUR_HOTSPOT_Y_get
, IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
58070 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_RESOLUTION",IMAGE_OPTION_RESOLUTION_get
, IMAGE_OPTION_RESOLUTION_set
);
58071 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_RESOLUTIONX",IMAGE_OPTION_RESOLUTIONX_get
, IMAGE_OPTION_RESOLUTIONX_set
);
58072 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_RESOLUTIONY",IMAGE_OPTION_RESOLUTIONY_get
, IMAGE_OPTION_RESOLUTIONY_set
);
58073 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_RESOLUTIONUNIT",IMAGE_OPTION_RESOLUTIONUNIT_get
, IMAGE_OPTION_RESOLUTIONUNIT_set
);
58074 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_QUALITY",IMAGE_OPTION_QUALITY_get
, IMAGE_OPTION_QUALITY_set
);
58075 SWIG_Python_SetConstant(d
, "IMAGE_RESOLUTION_INCHES",SWIG_From_int(static_cast< int >(wxIMAGE_RESOLUTION_INCHES
)));
58076 SWIG_Python_SetConstant(d
, "IMAGE_RESOLUTION_CM",SWIG_From_int(static_cast< int >(wxIMAGE_RESOLUTION_CM
)));
58077 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_BITSPERSAMPLE",IMAGE_OPTION_BITSPERSAMPLE_get
, IMAGE_OPTION_BITSPERSAMPLE_set
);
58078 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_SAMPLESPERPIXEL",IMAGE_OPTION_SAMPLESPERPIXEL_get
, IMAGE_OPTION_SAMPLESPERPIXEL_set
);
58079 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_COMPRESSION",IMAGE_OPTION_COMPRESSION_get
, IMAGE_OPTION_COMPRESSION_set
);
58080 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_IMAGEDESCRIPTOR",IMAGE_OPTION_IMAGEDESCRIPTOR_get
, IMAGE_OPTION_IMAGEDESCRIPTOR_set
);
58081 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_PNG_FORMAT",IMAGE_OPTION_PNG_FORMAT_get
, IMAGE_OPTION_PNG_FORMAT_set
);
58082 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_PNG_BITDEPTH",IMAGE_OPTION_PNG_BITDEPTH_get
, IMAGE_OPTION_PNG_BITDEPTH_set
);
58083 SWIG_Python_SetConstant(d
, "PNG_TYPE_COLOUR",SWIG_From_int(static_cast< int >(wxPNG_TYPE_COLOUR
)));
58084 SWIG_Python_SetConstant(d
, "PNG_TYPE_GREY",SWIG_From_int(static_cast< int >(wxPNG_TYPE_GREY
)));
58085 SWIG_Python_SetConstant(d
, "PNG_TYPE_GREY_RED",SWIG_From_int(static_cast< int >(wxPNG_TYPE_GREY_RED
)));
58086 SWIG_Python_SetConstant(d
, "BMP_24BPP",SWIG_From_int(static_cast< int >(wxBMP_24BPP
)));
58087 SWIG_Python_SetConstant(d
, "BMP_8BPP",SWIG_From_int(static_cast< int >(wxBMP_8BPP
)));
58088 SWIG_Python_SetConstant(d
, "BMP_8BPP_GREY",SWIG_From_int(static_cast< int >(wxBMP_8BPP_GREY
)));
58089 SWIG_Python_SetConstant(d
, "BMP_8BPP_GRAY",SWIG_From_int(static_cast< int >(wxBMP_8BPP_GRAY
)));
58090 SWIG_Python_SetConstant(d
, "BMP_8BPP_RED",SWIG_From_int(static_cast< int >(wxBMP_8BPP_RED
)));
58091 SWIG_Python_SetConstant(d
, "BMP_8BPP_PALETTE",SWIG_From_int(static_cast< int >(wxBMP_8BPP_PALETTE
)));
58092 SWIG_Python_SetConstant(d
, "BMP_4BPP",SWIG_From_int(static_cast< int >(wxBMP_4BPP
)));
58093 SWIG_Python_SetConstant(d
, "BMP_1BPP",SWIG_From_int(static_cast< int >(wxBMP_1BPP
)));
58094 SWIG_Python_SetConstant(d
, "BMP_1BPP_BW",SWIG_From_int(static_cast< int >(wxBMP_1BPP_BW
)));
58095 SWIG_Python_SetConstant(d
, "QUANTIZE_INCLUDE_WINDOWS_COLOURS",SWIG_From_int(static_cast< int >(wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
)));
58096 SWIG_Python_SetConstant(d
, "QUANTIZE_FILL_DESTINATION_IMAGE",SWIG_From_int(static_cast< int >(wxQUANTIZE_FILL_DESTINATION_IMAGE
)));
58097 SWIG_Python_SetConstant(d
, "EVENT_PROPAGATE_NONE",SWIG_From_int(static_cast< int >(wxEVENT_PROPAGATE_NONE
)));
58098 SWIG_Python_SetConstant(d
, "EVENT_PROPAGATE_MAX",SWIG_From_int(static_cast< int >(wxEVENT_PROPAGATE_MAX
)));
58099 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
58100 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
58101 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
58102 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
58103 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
58104 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
58105 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
58106 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
58107 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
58108 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
58109 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
58110 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
58111 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
58112 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
58113 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
58114 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
58115 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
58116 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
58117 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
58118 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
58119 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
58120 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
58121 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
58122 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
58123 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
58124 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
58125 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
58126 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
58127 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
58128 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
58129 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
58130 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
58131 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
58132 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
58133 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
58134 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
58135 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
58136 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
58137 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
58138 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
58139 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
58140 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
58141 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
58142 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
58143 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
58144 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
58145 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
58146 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
58147 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
58148 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
58149 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
58150 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
58151 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
58152 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
58153 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
58154 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
58155 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
58156 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
58157 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
58158 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
58159 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
58160 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
58161 PyDict_SetItemString(d
, "wxEVT_SCROLL_CHANGED", PyInt_FromLong(wxEVT_SCROLL_CHANGED
));
58162 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
58163 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
58164 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
58165 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
58166 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
58167 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
58168 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
58169 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
58170 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
58171 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
58172 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
58173 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
58174 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
58175 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
58176 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
58177 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
58178 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
58179 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
58180 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
58181 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
58182 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
58183 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_LOST", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_LOST
));
58184 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
58185 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
58186 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
58187 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
58188 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
58189 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
58190 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
58191 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
58192 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
58193 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
58194 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
58195 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
58196 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
58197 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
58198 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
58199 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
58200 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
58201 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
58202 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
58203 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
58204 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
58205 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
58206 PyDict_SetItemString(d
, "wxEVT_HIBERNATE", PyInt_FromLong(wxEVT_HIBERNATE
));
58207 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_COPY", PyInt_FromLong(wxEVT_COMMAND_TEXT_COPY
));
58208 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_CUT", PyInt_FromLong(wxEVT_COMMAND_TEXT_CUT
));
58209 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_PASTE", PyInt_FromLong(wxEVT_COMMAND_TEXT_PASTE
));
58210 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
58211 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
58212 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
58213 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
58214 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
58215 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
58216 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
58217 SWIG_Python_SetConstant(d
, "MOUSE_BTN_ANY",SWIG_From_int(static_cast< int >(wxMOUSE_BTN_ANY
)));
58218 SWIG_Python_SetConstant(d
, "MOUSE_BTN_NONE",SWIG_From_int(static_cast< int >(wxMOUSE_BTN_NONE
)));
58219 SWIG_Python_SetConstant(d
, "MOUSE_BTN_LEFT",SWIG_From_int(static_cast< int >(wxMOUSE_BTN_LEFT
)));
58220 SWIG_Python_SetConstant(d
, "MOUSE_BTN_MIDDLE",SWIG_From_int(static_cast< int >(wxMOUSE_BTN_MIDDLE
)));
58221 SWIG_Python_SetConstant(d
, "MOUSE_BTN_RIGHT",SWIG_From_int(static_cast< int >(wxMOUSE_BTN_RIGHT
)));
58222 SWIG_Python_SetConstant(d
, "UPDATE_UI_PROCESS_ALL",SWIG_From_int(static_cast< int >(wxUPDATE_UI_PROCESS_ALL
)));
58223 SWIG_Python_SetConstant(d
, "UPDATE_UI_PROCESS_SPECIFIED",SWIG_From_int(static_cast< int >(wxUPDATE_UI_PROCESS_SPECIFIED
)));
58224 SWIG_Python_SetConstant(d
, "NavigationKeyEvent_IsBackward",SWIG_From_int(static_cast< int >(wxNavigationKeyEvent::IsBackward
)));
58225 SWIG_Python_SetConstant(d
, "NavigationKeyEvent_IsForward",SWIG_From_int(static_cast< int >(wxNavigationKeyEvent::IsForward
)));
58226 SWIG_Python_SetConstant(d
, "NavigationKeyEvent_WinChange",SWIG_From_int(static_cast< int >(wxNavigationKeyEvent::WinChange
)));
58227 SWIG_Python_SetConstant(d
, "NavigationKeyEvent_FromTab",SWIG_From_int(static_cast< int >(wxNavigationKeyEvent::FromTab
)));
58228 SWIG_Python_SetConstant(d
, "IDLE_PROCESS_ALL",SWIG_From_int(static_cast< int >(wxIDLE_PROCESS_ALL
)));
58229 SWIG_Python_SetConstant(d
, "IDLE_PROCESS_SPECIFIED",SWIG_From_int(static_cast< int >(wxIDLE_PROCESS_SPECIFIED
)));
58230 PyDict_SetItemString(d
, "wxEVT_DATE_CHANGED", PyInt_FromLong(wxEVT_DATE_CHANGED
));
58231 SWIG_Python_SetConstant(d
, "PYAPP_ASSERT_SUPPRESS",SWIG_From_int(static_cast< int >(wxPYAPP_ASSERT_SUPPRESS
)));
58232 SWIG_Python_SetConstant(d
, "PYAPP_ASSERT_EXCEPTION",SWIG_From_int(static_cast< int >(wxPYAPP_ASSERT_EXCEPTION
)));
58233 SWIG_Python_SetConstant(d
, "PYAPP_ASSERT_DIALOG",SWIG_From_int(static_cast< int >(wxPYAPP_ASSERT_DIALOG
)));
58234 SWIG_Python_SetConstant(d
, "PYAPP_ASSERT_LOG",SWIG_From_int(static_cast< int >(wxPYAPP_ASSERT_LOG
)));
58235 SWIG_Python_SetConstant(d
, "PRINT_WINDOWS",SWIG_From_int(static_cast< int >(wxPRINT_WINDOWS
)));
58236 SWIG_Python_SetConstant(d
, "PRINT_POSTSCRIPT",SWIG_From_int(static_cast< int >(wxPRINT_POSTSCRIPT
)));
58237 SWIG_Python_SetConstant(d
, "ACCEL_ALT",SWIG_From_int(static_cast< int >(wxACCEL_ALT
)));
58238 SWIG_Python_SetConstant(d
, "ACCEL_CTRL",SWIG_From_int(static_cast< int >(wxACCEL_CTRL
)));
58239 SWIG_Python_SetConstant(d
, "ACCEL_SHIFT",SWIG_From_int(static_cast< int >(wxACCEL_SHIFT
)));
58240 SWIG_Python_SetConstant(d
, "ACCEL_NORMAL",SWIG_From_int(static_cast< int >(wxACCEL_NORMAL
)));
58241 SWIG_Python_SetConstant(d
, "ACCEL_CMD",SWIG_From_int(static_cast< int >(wxACCEL_CMD
)));
58242 SWIG_addvarlink(SWIG_globals(),(char*)"NullAcceleratorTable",NullAcceleratorTable_get
, NullAcceleratorTable_set
);
58243 SWIG_addvarlink(SWIG_globals(),(char*)"PanelNameStr",PanelNameStr_get
, PanelNameStr_set
);
58244 SWIG_Python_SetConstant(d
, "WINDOW_VARIANT_NORMAL",SWIG_From_int(static_cast< int >(wxWINDOW_VARIANT_NORMAL
)));
58245 SWIG_Python_SetConstant(d
, "WINDOW_VARIANT_SMALL",SWIG_From_int(static_cast< int >(wxWINDOW_VARIANT_SMALL
)));
58246 SWIG_Python_SetConstant(d
, "WINDOW_VARIANT_MINI",SWIG_From_int(static_cast< int >(wxWINDOW_VARIANT_MINI
)));
58247 SWIG_Python_SetConstant(d
, "WINDOW_VARIANT_LARGE",SWIG_From_int(static_cast< int >(wxWINDOW_VARIANT_LARGE
)));
58248 SWIG_Python_SetConstant(d
, "WINDOW_VARIANT_MAX",SWIG_From_int(static_cast< int >(wxWINDOW_VARIANT_MAX
)));
58249 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultValidator",DefaultValidator_get
, DefaultValidator_set
);
58250 SWIG_addvarlink(SWIG_globals(),(char*)"ControlNameStr",ControlNameStr_get
, ControlNameStr_set
);
58251 SWIG_Python_SetConstant(d
, "FLEX_GROWMODE_NONE",SWIG_From_int(static_cast< int >(wxFLEX_GROWMODE_NONE
)));
58252 SWIG_Python_SetConstant(d
, "FLEX_GROWMODE_SPECIFIED",SWIG_From_int(static_cast< int >(wxFLEX_GROWMODE_SPECIFIED
)));
58253 SWIG_Python_SetConstant(d
, "FLEX_GROWMODE_ALL",SWIG_From_int(static_cast< int >(wxFLEX_GROWMODE_ALL
)));
58254 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultSpan",DefaultSpan_get
, DefaultSpan_set
);
58255 SWIG_Python_SetConstant(d
, "Left",SWIG_From_int(static_cast< int >(wxLeft
)));
58256 SWIG_Python_SetConstant(d
, "Top",SWIG_From_int(static_cast< int >(wxTop
)));
58257 SWIG_Python_SetConstant(d
, "Right",SWIG_From_int(static_cast< int >(wxRight
)));
58258 SWIG_Python_SetConstant(d
, "Bottom",SWIG_From_int(static_cast< int >(wxBottom
)));
58259 SWIG_Python_SetConstant(d
, "Width",SWIG_From_int(static_cast< int >(wxWidth
)));
58260 SWIG_Python_SetConstant(d
, "Height",SWIG_From_int(static_cast< int >(wxHeight
)));
58261 SWIG_Python_SetConstant(d
, "Centre",SWIG_From_int(static_cast< int >(wxCentre
)));
58262 SWIG_Python_SetConstant(d
, "Center",SWIG_From_int(static_cast< int >(wxCenter
)));
58263 SWIG_Python_SetConstant(d
, "CentreX",SWIG_From_int(static_cast< int >(wxCentreX
)));
58264 SWIG_Python_SetConstant(d
, "CentreY",SWIG_From_int(static_cast< int >(wxCentreY
)));
58265 SWIG_Python_SetConstant(d
, "Unconstrained",SWIG_From_int(static_cast< int >(wxUnconstrained
)));
58266 SWIG_Python_SetConstant(d
, "AsIs",SWIG_From_int(static_cast< int >(wxAsIs
)));
58267 SWIG_Python_SetConstant(d
, "PercentOf",SWIG_From_int(static_cast< int >(wxPercentOf
)));
58268 SWIG_Python_SetConstant(d
, "Above",SWIG_From_int(static_cast< int >(wxAbove
)));
58269 SWIG_Python_SetConstant(d
, "Below",SWIG_From_int(static_cast< int >(wxBelow
)));
58270 SWIG_Python_SetConstant(d
, "LeftOf",SWIG_From_int(static_cast< int >(wxLeftOf
)));
58271 SWIG_Python_SetConstant(d
, "RightOf",SWIG_From_int(static_cast< int >(wxRightOf
)));
58272 SWIG_Python_SetConstant(d
, "SameAs",SWIG_From_int(static_cast< int >(wxSameAs
)));
58273 SWIG_Python_SetConstant(d
, "Absolute",SWIG_From_int(static_cast< int >(wxAbsolute
)));
58275 // Initialize threading, some globals and such
58279 // Although these are defined in __version__ they need to be here too so
58280 // that an assert can be done to ensure that the wxPython and the wxWindows
58282 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
58283 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
58284 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));