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_wxDouble swig_types[33]
2500 #define SWIGTYPE_p_wxDropFilesEvent swig_types[34]
2501 #define SWIGTYPE_p_wxDuplexMode swig_types[35]
2502 #define SWIGTYPE_p_wxEraseEvent swig_types[36]
2503 #define SWIGTYPE_p_wxEvent swig_types[37]
2504 #define SWIGTYPE_p_wxEventBlocker swig_types[38]
2505 #define SWIGTYPE_p_wxEventLoop swig_types[39]
2506 #define SWIGTYPE_p_wxEventLoopActivator swig_types[40]
2507 #define SWIGTYPE_p_wxEvtHandler swig_types[41]
2508 #define SWIGTYPE_p_wxFSFile swig_types[42]
2509 #define SWIGTYPE_p_wxFileSystem swig_types[43]
2510 #define SWIGTYPE_p_wxFileSystemHandler swig_types[44]
2511 #define SWIGTYPE_p_wxFlexGridSizer swig_types[45]
2512 #define SWIGTYPE_p_wxFocusEvent swig_types[46]
2513 #define SWIGTYPE_p_wxFont swig_types[47]
2514 #define SWIGTYPE_p_wxFrame swig_types[48]
2515 #define SWIGTYPE_p_wxGBPosition swig_types[49]
2516 #define SWIGTYPE_p_wxGBSizerItem swig_types[50]
2517 #define SWIGTYPE_p_wxGBSpan swig_types[51]
2518 #define SWIGTYPE_p_wxGIFHandler swig_types[52]
2519 #define SWIGTYPE_p_wxGridBagSizer swig_types[53]
2520 #define SWIGTYPE_p_wxGridSizer swig_types[54]
2521 #define SWIGTYPE_p_wxHelpEvent__Origin swig_types[55]
2522 #define SWIGTYPE_p_wxICOHandler swig_types[56]
2523 #define SWIGTYPE_p_wxIconizeEvent swig_types[57]
2524 #define SWIGTYPE_p_wxIdleEvent swig_types[58]
2525 #define SWIGTYPE_p_wxImage swig_types[59]
2526 #define SWIGTYPE_p_wxImageHandler swig_types[60]
2527 #define SWIGTYPE_p_wxImageHistogram swig_types[61]
2528 #define SWIGTYPE_p_wxImage_HSVValue swig_types[62]
2529 #define SWIGTYPE_p_wxImage_RGBValue swig_types[63]
2530 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[64]
2531 #define SWIGTYPE_p_wxInitDialogEvent swig_types[65]
2532 #define SWIGTYPE_p_wxInputStream swig_types[66]
2533 #define SWIGTYPE_p_wxInternetFSHandler swig_types[67]
2534 #define SWIGTYPE_p_wxItemContainer swig_types[68]
2535 #define SWIGTYPE_p_wxJPEGHandler swig_types[69]
2536 #define SWIGTYPE_p_wxKeyEvent swig_types[70]
2537 #define SWIGTYPE_p_wxLayoutConstraints swig_types[71]
2538 #define SWIGTYPE_p_wxMaximizeEvent swig_types[72]
2539 #define SWIGTYPE_p_wxMemoryFSHandler swig_types[73]
2540 #define SWIGTYPE_p_wxMenu swig_types[74]
2541 #define SWIGTYPE_p_wxMenuBar swig_types[75]
2542 #define SWIGTYPE_p_wxMenuBarBase swig_types[76]
2543 #define SWIGTYPE_p_wxMenuEvent swig_types[77]
2544 #define SWIGTYPE_p_wxMenuItem swig_types[78]
2545 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[79]
2546 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[80]
2547 #define SWIGTYPE_p_wxMouseEvent swig_types[81]
2548 #define SWIGTYPE_p_wxMoveEvent swig_types[82]
2549 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[83]
2550 #define SWIGTYPE_p_wxNcPaintEvent swig_types[84]
2551 #define SWIGTYPE_p_wxNotifyEvent swig_types[85]
2552 #define SWIGTYPE_p_wxObject swig_types[86]
2553 #define SWIGTYPE_p_wxOutputStream swig_types[87]
2554 #define SWIGTYPE_p_wxPCXHandler swig_types[88]
2555 #define SWIGTYPE_p_wxPNGHandler swig_types[89]
2556 #define SWIGTYPE_p_wxPNMHandler swig_types[90]
2557 #define SWIGTYPE_p_wxPaintEvent swig_types[91]
2558 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[92]
2559 #define SWIGTYPE_p_wxPaperSize swig_types[93]
2560 #define SWIGTYPE_p_wxPoint swig_types[94]
2561 #define SWIGTYPE_p_wxPoint2D swig_types[95]
2562 #define SWIGTYPE_p_wxPropagateOnce swig_types[96]
2563 #define SWIGTYPE_p_wxPropagationDisabler swig_types[97]
2564 #define SWIGTYPE_p_wxPyApp swig_types[98]
2565 #define SWIGTYPE_p_wxPyCommandEvent swig_types[99]
2566 #define SWIGTYPE_p_wxPyDropTarget swig_types[100]
2567 #define SWIGTYPE_p_wxPyEvent swig_types[101]
2568 #define SWIGTYPE_p_wxPyFileSystemHandler swig_types[102]
2569 #define SWIGTYPE_p_wxPyImageHandler swig_types[103]
2570 #define SWIGTYPE_p_wxPyInputStream swig_types[104]
2571 #define SWIGTYPE_p_wxPySizer swig_types[105]
2572 #define SWIGTYPE_p_wxPyValidator swig_types[106]
2573 #define SWIGTYPE_p_wxQuantize swig_types[107]
2574 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[108]
2575 #define SWIGTYPE_p_wxRealPoint swig_types[109]
2576 #define SWIGTYPE_p_wxRect swig_types[110]
2577 #define SWIGTYPE_p_wxRect2D swig_types[111]
2578 #define SWIGTYPE_p_wxRegion swig_types[112]
2579 #define SWIGTYPE_p_wxScrollEvent swig_types[113]
2580 #define SWIGTYPE_p_wxScrollWinEvent swig_types[114]
2581 #define SWIGTYPE_p_wxSetCursorEvent swig_types[115]
2582 #define SWIGTYPE_p_wxShowEvent swig_types[116]
2583 #define SWIGTYPE_p_wxSize swig_types[117]
2584 #define SWIGTYPE_p_wxSizeEvent swig_types[118]
2585 #define SWIGTYPE_p_wxSizer swig_types[119]
2586 #define SWIGTYPE_p_wxSizerItem swig_types[120]
2587 #define SWIGTYPE_p_wxStaticBox swig_types[121]
2588 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[122]
2589 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[123]
2590 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[124]
2591 #define SWIGTYPE_p_wxTGAHandler swig_types[125]
2592 #define SWIGTYPE_p_wxTIFFHandler swig_types[126]
2593 #define SWIGTYPE_p_wxToolTip swig_types[127]
2594 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[128]
2595 #define SWIGTYPE_p_wxValidator swig_types[129]
2596 #define SWIGTYPE_p_wxVisualAttributes swig_types[130]
2597 #define SWIGTYPE_p_wxWindow swig_types[131]
2598 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[132]
2599 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[133]
2600 #define SWIGTYPE_p_wxXPMHandler swig_types[134]
2601 #define SWIGTYPE_p_wxZipFSHandler swig_types[135]
2602 static swig_type_info
*swig_types
[137];
2603 static swig_module_info swig_module
= {swig_types
, 136, 0, 0, 0, 0};
2604 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2605 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2607 /* -------- TYPES TABLE (END) -------- */
2609 #if (PY_VERSION_HEX <= 0x02000000)
2610 # if !defined(SWIG_PYTHON_CLASSIC)
2611 # error "This python version requires to use swig with the '-classic' option"
2614 #if (PY_VERSION_HEX <= 0x02020000)
2615 # error "This python version requires to use swig with the '-nomodern' option"
2617 #if (PY_VERSION_HEX <= 0x02020000)
2618 # error "This python version requires to use swig with the '-nomodernargs' option"
2621 # error "This python version requires to use swig with the '-nofastunpack' option"
2624 /*-----------------------------------------------
2625 @(target):= _core_.so
2626 ------------------------------------------------*/
2627 #define SWIG_init init_core_
2629 #define SWIG_name "_core_"
2631 #define SWIGVERSION 0x010329
2634 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2635 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2638 #include <stdexcept>
2642 class PyObject_ptr
{
2647 PyObject_ptr() :_obj(0)
2651 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2656 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2658 if (initial_ref
) Py_XINCREF(_obj
);
2661 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2663 Py_XINCREF(item
._obj
);
2674 operator PyObject
*() const
2679 PyObject
*operator->() const
2688 struct PyObject_var
: PyObject_ptr
{
2689 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2691 PyObject_var
& operator = (PyObject
* obj
)
2701 #include "wx/wxPython/wxPython_int.h"
2702 #include "wx/wxPython/pyclasses.h"
2703 #include "wx/wxPython/twoitem.h"
2706 #ifndef wxPyUSE_EXPORT
2707 // Helper functions for dealing with SWIG objects and such. These are
2708 // located here so they know about the SWIG types and functions declared
2709 // in the wrapper code.
2711 #include <wx/hashmap.h>
2712 WX_DECLARE_STRING_HASH_MAP( swig_type_info
*, wxPyTypeInfoHashMap
);
2715 // Maintains a hashmap of className to swig_type_info pointers. Given the
2716 // name of a class either looks up the type info in the cache, or scans the
2717 // SWIG tables for it.
2718 extern PyObject
* wxPyPtrTypeMap
;
2720 swig_type_info
* wxPyFindSwigType(const wxChar
* className
) {
2722 static wxPyTypeInfoHashMap
* typeInfoCache
= NULL
;
2724 if (typeInfoCache
== NULL
)
2725 typeInfoCache
= new wxPyTypeInfoHashMap
;
2727 wxString
name(className
);
2728 swig_type_info
* swigType
= (*typeInfoCache
)[name
];
2731 // it wasn't in the cache, so look it up from SWIG
2732 name
.Append(wxT(" *"));
2733 swigType
= SWIG_TypeQuery(name
.mb_str());
2735 // if it still wasn't found, try looking for a mapped name
2740 if ((item
= PyDict_GetItemString(wxPyPtrTypeMap
,
2741 (char*)(const char*)name
.mbc_str())) != NULL
) {
2742 name
= wxString(PyString_AsString(item
), *wxConvCurrent
);
2743 name
.Append(wxT(" *"));
2744 swigType
= SWIG_TypeQuery(name
.mb_str());
2748 // and add it to the map if found
2749 (*typeInfoCache
)[className
] = swigType
;
2756 // Check if a class name is a type known to SWIG
2757 bool wxPyCheckSwigType(const wxChar
* className
) {
2759 swig_type_info
* swigType
= wxPyFindSwigType(className
);
2760 return swigType
!= NULL
;
2764 // Given a pointer to a C++ object and a class name, construct a Python proxy
2766 PyObject
* wxPyConstructObject(void* ptr
,
2767 const wxChar
* className
,
2770 swig_type_info
* swigType
= wxPyFindSwigType(className
);
2771 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConstructObject"));
2773 return SWIG_Python_NewPointerObj(ptr
, swigType
, setThisOwn
);
2777 // Extract a pointer to the wrapped C++ object from a Python proxy object.
2778 // Ensures that the proxy object is of the specified (or derived) type. If
2779 // not able to perform the conversion then a Python exception is set and the
2780 // error should be handled properly in the caller. Returns True on success.
2781 bool wxPyConvertSwigPtr(PyObject
* obj
, void **ptr
,
2782 const wxChar
* className
) {
2784 swig_type_info
* swigType
= wxPyFindSwigType(className
);
2785 wxCHECK_MSG(swigType
!= NULL
, false, wxT("Unknown type in wxPyConvertSwigPtr"));
2787 return SWIG_Python_ConvertPtr(obj
, ptr
, swigType
, SWIG_POINTER_EXCEPTION
) != -1;
2792 // Make a SWIGified pointer object suitable for a .this attribute
2793 PyObject
* wxPyMakeSwigPtr(void* ptr
, const wxChar
* className
) {
2795 PyObject
* robj
= NULL
;
2797 swig_type_info
* swigType
= wxPyFindSwigType(className
);
2798 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyMakeSwigPtr"));
2800 robj
= PySwigObject_New(ptr
, swigType
, 0);
2805 // Python's PyInstance_Check does not return True for instances of new-style
2806 // classes. This should get close enough for both new and old classes but I
2807 // should re-evaluate the need for doing instance checks...
2808 bool wxPyInstance_Check(PyObject
* obj
) {
2809 return PyObject_HasAttrString(obj
, "__class__") != 0;
2813 // This one checks if the object is an instance of a SWIG proxy class (it has
2814 // a .this attribute, and the .this attribute is a PySwigObject.)
2815 bool wxPySwigInstance_Check(PyObject
* obj
) {
2816 static PyObject
* this_str
= NULL
;
2817 if (this_str
== NULL
)
2818 this_str
= PyString_FromString("this");
2820 PyObject
* this_attr
= PyObject_GetAttr(obj
, this_str
);
2822 bool retval
= (PySwigObject_Check(this_attr
) != 0);
2823 Py_DECREF(this_attr
);
2832 // Export a C API in a struct. Other modules will be able to load this from
2833 // the wx._core_ module and will then have safe access to these functions,
2834 // even if they are located in another shared library.
2835 static wxPyCoreAPI API
= {
2838 wxPyConstructObject
,
2842 wxPyBeginAllowThreads
,
2843 wxPyEndAllowThreads
,
2844 wxPyBeginBlockThreads
,
2845 wxPyEndBlockThreads
,
2857 wxPoint_LIST_helper
,
2858 wxBitmap_LIST_helper
,
2859 wxString_LIST_helper
,
2860 wxAcceleratorEntry_LIST_helper
,
2869 wxPySimple_typecheck
,
2872 wxPyCBH_setCallbackInfo
,
2873 wxPyCBH_findCallback
,
2874 wxPyCBH_callCallback
,
2875 wxPyCBH_callCallbackObj
,
2881 wxPy2int_seq_helper
,
2882 wxPy4int_seq_helper
,
2883 wxArrayString2PyList_helper
,
2884 wxArrayInt2PyList_helper
,
2886 wxPyClientData_dtor
,
2888 wxPyOORClientData_dtor
,
2890 wxPyCBInputStream_create
,
2891 wxPyCBInputStream_copy
,
2894 wxPySwigInstance_Check
,
2898 wxArrayDouble2PyList_helper
,
2899 wxPoint2D_LIST_helper
,
2907 #if !WXWIN_COMPATIBILITY_2_4
2908 #define wxHIDE_READONLY 0
2912 #define SWIG_From_long PyInt_FromLong
2915 SWIGINTERNINLINE PyObject
*
2916 SWIG_From_int (int value
)
2918 return SWIG_From_long (value
);
2921 static const wxString
wxPyEmptyString(wxEmptyString
);
2922 SWIGINTERN wxString
wxObject_GetClassName(wxObject
*self
){
2923 return self
->GetClassInfo()->GetClassName();
2925 SWIGINTERN
void wxObject_Destroy(wxObject
*self
){
2930 #define wxCURSOR_COPY_ARROW wxCURSOR_ARROW
2936 # define LLONG_MIN LONG_LONG_MIN
2939 # define LLONG_MAX LONG_LONG_MAX
2942 # define ULLONG_MAX ULONG_LONG_MAX
2947 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2949 if (PyNumber_Check(obj
)) {
2950 if (val
) *val
= PyInt_AsLong(obj
);
2953 return SWIG_TypeError
;
2958 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2961 int res
= SWIG_AsVal_long (obj
, &v
);
2962 if (SWIG_IsOK(res
)) {
2963 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2964 return SWIG_OverflowError
;
2966 if (val
) *val
= static_cast< int >(v
);
2972 SWIGINTERN
bool wxSize___eq__(wxSize
*self
,PyObject
*other
){
2973 wxSize temp
, *obj
= &temp
;
2974 if ( other
== Py_None
) return false;
2975 if ( ! wxSize_helper(other
, &obj
) ) {
2979 return self
->operator==(*obj
);
2981 SWIGINTERN
bool wxSize___ne__(wxSize
*self
,PyObject
*other
){
2982 wxSize temp
, *obj
= &temp
;
2983 if ( other
== Py_None
) return true;
2984 if ( ! wxSize_helper(other
, &obj
)) {
2988 return self
->operator!=(*obj
);
2995 SWIG_AsVal_double (PyObject
*obj
, double* val
)
2997 if (PyNumber_Check(obj
)) {
2998 if (val
) *val
= PyFloat_AsDouble(obj
);
3001 return SWIG_TypeError
;
3006 SWIG_AsVal_float (PyObject
* obj
, float *val
)
3009 int res
= SWIG_AsVal_double (obj
, &v
);
3010 if (SWIG_IsOK(res
)) {
3011 if ((v
< -FLT_MAX
|| v
> FLT_MAX
)) {
3012 return SWIG_OverflowError
;
3014 if (val
) *val
= static_cast< float >(v
);
3020 SWIGINTERN PyObject
*wxSize_Get(wxSize
*self
){
3021 //wxPyBlock_t blocked = wxPyBeginBlockThreads();
3022 PyObject
* tup
= PyTuple_New(2);
3023 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
3024 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
3025 //wxPyEndBlockThreads(blocked);
3029 #define SWIG_From_double PyFloat_FromDouble
3031 SWIGINTERN
bool wxRealPoint___eq__(wxRealPoint
*self
,PyObject
*other
){
3032 wxRealPoint temp
, *obj
= &temp
;
3033 if ( other
== Py_None
) return false;
3034 if ( ! wxRealPoint_helper(other
, &obj
) ) {
3038 return self
->operator==(*obj
);
3040 SWIGINTERN
bool wxRealPoint___ne__(wxRealPoint
*self
,PyObject
*other
){
3041 wxRealPoint temp
, *obj
= &temp
;
3042 if ( other
== Py_None
) return true;
3043 if ( ! wxRealPoint_helper(other
, &obj
)) {
3047 return self
->operator!=(*obj
);
3049 SWIGINTERN
void wxRealPoint_Set(wxRealPoint
*self
,double x
,double y
){
3053 SWIGINTERN PyObject
*wxRealPoint_Get(wxRealPoint
*self
){
3054 //wxPyBlock_t blocked = wxPyBeginBlockThreads();
3055 PyObject
* tup
= PyTuple_New(2);
3056 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->x
));
3057 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->y
));
3058 //PyEndBlockThreads(blocked);
3061 SWIGINTERN
bool wxPoint___eq__(wxPoint
*self
,PyObject
*other
){
3062 wxPoint temp
, *obj
= &temp
;
3063 if ( other
== Py_None
) return false;
3064 if ( ! wxPoint_helper(other
, &obj
) ) {
3068 return self
->operator==(*obj
);
3070 SWIGINTERN
bool wxPoint___ne__(wxPoint
*self
,PyObject
*other
){
3071 wxPoint temp
, *obj
= &temp
;
3072 if ( other
== Py_None
) return true;
3073 if ( ! wxPoint_helper(other
, &obj
)) {
3077 return self
->operator!=(*obj
);
3079 SWIGINTERN
void wxPoint_Set(wxPoint
*self
,long x
,long y
){
3083 SWIGINTERN PyObject
*wxPoint_Get(wxPoint
*self
){
3084 //wxPyBlock_t blocked = wxPyBeginBlockThreads();
3085 PyObject
* tup
= PyTuple_New(2);
3086 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
3087 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
3088 //wxPyEndBlockThreads(blocked);
3091 SWIGINTERN
bool wxRect___eq__(wxRect
*self
,PyObject
*other
){
3092 wxRect temp
, *obj
= &temp
;
3093 if ( other
== Py_None
) return false;
3094 if ( ! wxRect_helper(other
, &obj
) ) {
3098 return self
->operator==(*obj
);
3100 SWIGINTERN
bool wxRect___ne__(wxRect
*self
,PyObject
*other
){
3101 wxRect temp
, *obj
= &temp
;
3102 if ( other
== Py_None
) return true;
3103 if ( ! wxRect_helper(other
, &obj
)) {
3107 return self
->operator!=(*obj
);
3109 SWIGINTERN
void wxRect_Set(wxRect
*self
,int x
=0,int y
=0,int width
=0,int height
=0){
3112 self
->width
= width
;
3113 self
->height
= height
;
3115 SWIGINTERN PyObject
*wxRect_Get(wxRect
*self
){
3116 //wxPyBlock_t blocked = wxPyBeginBlockThreads();
3117 PyObject
* tup
= PyTuple_New(4);
3118 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
3119 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
3120 PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(self
->width
));
3121 PyTuple_SET_ITEM(tup
, 3, PyInt_FromLong(self
->height
));
3122 //wxPyEndBlockThreads(blocked);
3126 PyObject
* wxIntersectRect(wxRect
* r1
, wxRect
* r2
) {
3129 wxRect
dest(0,0,0,0);
3132 reg1
.Intersect(reg2
);
3133 dest
= reg1
.GetBox();
3135 if (dest
!= wxRect(0,0,0,0)) {
3136 //wxPyBlock_t blocked = wxPyBeginBlockThreads();
3137 wxRect
* newRect
= new wxRect(dest
);
3138 obj
= wxPyConstructObject((void*)newRect
, wxT("wxRect"), true);
3139 //wxPyEndBlockThreads(blocked);
3146 SWIGINTERN
bool wxPoint2D___eq__(wxPoint2D
*self
,PyObject
*other
){
3147 wxPoint2D temp
, *obj
= &temp
;
3148 if ( other
== Py_None
) return false;
3149 if ( ! wxPoint2D_helper(other
, &obj
) ) {
3153 return self
->operator==(*obj
);
3155 SWIGINTERN
bool wxPoint2D___ne__(wxPoint2D
*self
,PyObject
*other
){
3156 wxPoint2D temp
, *obj
= &temp
;
3157 if ( other
== Py_None
) return true;
3158 if ( ! wxPoint2D_helper(other
, &obj
)) {
3162 return self
->operator!=(*obj
);
3164 SWIGINTERN
void wxPoint2D_Set(wxPoint2D
*self
,double x
=0,double y
=0){
3168 SWIGINTERN PyObject
*wxPoint2D_Get(wxPoint2D
*self
){
3169 //wxPyBlock_t blocked = wxPyBeginBlockThreads();
3170 PyObject
* tup
= PyTuple_New(2);
3171 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->m_x
));
3172 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->m_y
));
3173 //wxPyEndBlockThreads(blocked);
3176 SWIGINTERN
bool wxRect2D___eq__(wxRect2D
*self
,PyObject
*other
){
3177 wxRect2D temp
, *obj
= &temp
;
3178 if ( other
== Py_None
) return false;
3179 if ( ! wxRect2D_helper(other
, &obj
) ) {
3183 return self
->operator==(*obj
);
3185 SWIGINTERN
bool wxRect2D___ne__(wxRect2D
*self
,PyObject
*other
){
3186 wxRect2D temp
, *obj
= &temp
;
3187 if ( other
== Py_None
) return true;
3188 if ( ! wxRect2D_helper(other
, &obj
)) {
3192 return self
->operator!=(*obj
);
3194 SWIGINTERN
void wxRect2D_Set(wxRect2D
*self
,wxDouble x
=0,wxDouble y
=0,wxDouble width
=0,wxDouble height
=0){
3197 self
->m_width
= width
;
3198 self
->m_height
= height
;
3200 SWIGINTERN PyObject
*wxRect2D_Get(wxRect2D
*self
){
3201 //wxPyBlock_t blocked = wxPyBeginBlockThreads();
3202 PyObject
* tup
= PyTuple_New(4);
3203 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->m_x
));
3204 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->m_y
));
3205 PyTuple_SET_ITEM(tup
, 2, PyFloat_FromDouble(self
->m_width
));
3206 PyTuple_SET_ITEM(tup
, 3, PyFloat_FromDouble(self
->m_height
));
3207 //wxPyEndBlockThreads(blocked);
3211 #include "wx/wxPython/pyistream.h"
3213 SWIGINTERN wxPyInputStream
*new_wxPyInputStream(PyObject
*p
){
3214 wxInputStream
* wxis
= wxPyCBInputStream::create(p
);
3216 return new wxPyInputStream(wxis
);
3221 SWIGINTERN swig_type_info
*
3222 SWIG_pchar_descriptor()
3224 static int init
= 0;
3225 static swig_type_info
* info
= 0;
3227 info
= SWIG_TypeQuery("_p_char");
3234 SWIGINTERNINLINE PyObject
*
3235 SWIG_FromCharPtrAndSize(const char* carray
, size_t size
)
3238 if (size
> INT_MAX
) {
3239 swig_type_info
* pchar_descriptor
= SWIG_pchar_descriptor();
3240 return pchar_descriptor
?
3241 SWIG_NewPointerObj(const_cast< char * >(carray
), pchar_descriptor
, 0) : SWIG_Py_Void();
3243 return PyString_FromStringAndSize(carray
, static_cast< int >(size
));
3246 return SWIG_Py_Void();
3251 SWIGINTERNINLINE PyObject
*
3252 SWIG_From_char (char c
)
3254 return SWIG_FromCharPtrAndSize(&c
,1);
3258 SWIGINTERNINLINE PyObject
*
3259 SWIG_From_unsigned_SS_long (unsigned long value
)
3261 return (value
> LONG_MAX
) ?
3262 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
3266 SWIGINTERNINLINE PyObject
*
3267 SWIG_From_size_t (size_t value
)
3269 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
3274 SWIG_AsCharPtrAndSize(PyObject
*obj
, char** cptr
, size_t* psize
, int *alloc
)
3276 if (PyString_Check(obj
)) {
3277 char *cstr
; Py_ssize_t len
;
3278 PyString_AsStringAndSize(obj
, &cstr
, &len
);
3282 In python the user should not be able to modify the inner
3283 string representation. To warranty that, if you define
3284 SWIG_PYTHON_SAFE_CSTRINGS, a new/copy of the python string
3285 buffer is always returned.
3287 The default behavior is just to return the pointer value,
3290 #if defined(SWIG_PYTHON_SAFE_CSTRINGS)
3291 if (*alloc
!= SWIG_OLDOBJ
)
3293 if (*alloc
== SWIG_NEWOBJ
)
3296 *cptr
= reinterpret_cast< char* >(memcpy((new char[len
+ 1]), cstr
, sizeof(char)*(len
+ 1)));
3297 *alloc
= SWIG_NEWOBJ
;
3301 *alloc
= SWIG_OLDOBJ
;
3304 *cptr
= PyString_AsString(obj
);
3307 if (psize
) *psize
= len
+ 1;
3310 swig_type_info
* pchar_descriptor
= SWIG_pchar_descriptor();
3311 if (pchar_descriptor
) {
3313 if (SWIG_ConvertPtr(obj
, &vptr
, pchar_descriptor
, 0) == SWIG_OK
) {
3314 if (cptr
) *cptr
= (char *) vptr
;
3315 if (psize
) *psize
= vptr
? (strlen((char *)vptr
) + 1) : 0;
3316 if (alloc
) *alloc
= SWIG_OLDOBJ
;
3321 return SWIG_TypeError
;
3326 SWIG_AsCharArray(PyObject
* obj
, char *val
, size_t size
)
3328 char* cptr
= 0; size_t csize
= 0; int alloc
= SWIG_OLDOBJ
;
3329 int res
= SWIG_AsCharPtrAndSize(obj
, &cptr
, &csize
, &alloc
);
3330 if (SWIG_IsOK(res
)) {
3331 if ((csize
== size
+ 1) && cptr
&& !(cptr
[csize
-1])) --csize
;
3332 if (csize
<= size
) {
3334 if (csize
) memcpy(val
, cptr
, csize
*sizeof(char));
3335 if (csize
< size
) memset(val
+ csize
, 0, (size
- csize
)*sizeof(char));
3337 if (alloc
== SWIG_NEWOBJ
) {
3339 res
= SWIG_DelNewMask(res
);
3343 if (alloc
== SWIG_NEWOBJ
) delete[] cptr
;
3345 return SWIG_TypeError
;
3350 SWIG_AsVal_char (PyObject
* obj
, char *val
)
3352 int res
= SWIG_AsCharArray(obj
, val
, 1);
3353 if (!SWIG_IsOK(res
)) {
3355 res
= SWIG_AddCast(SWIG_AsVal_long (obj
, &v
));
3356 if (SWIG_IsOK(res
)) {
3357 if ((CHAR_MIN
<= v
) && (v
<= CHAR_MAX
)) {
3358 if (val
) *val
= static_cast< char >(v
);
3360 res
= SWIG_OverflowError
;
3367 SWIGINTERN
void wxOutputStream_write(wxOutputStream
*self
,PyObject
*obj
){
3368 // We use only strings for the streams, not unicode
3369 PyObject
* str
= PyObject_Str(obj
);
3371 PyErr_SetString(PyExc_TypeError
, "Unable to convert to string");
3374 self
->Write(PyString_AS_STRING(str
),
3375 PyString_GET_SIZE(str
));
3379 #include "wx/wxPython/pyistream.h"
3382 class wxPyFileSystemHandler
: public wxFileSystemHandler
3385 wxPyFileSystemHandler() : wxFileSystemHandler() {}
3387 DEC_PYCALLBACK_BOOL_STRING_pure(CanOpen
);
3388 DEC_PYCALLBACK_FSF_FSSTRING_pure(OpenFile
);
3389 DEC_PYCALLBACK_STRING_STRINGINT_pure(FindFirst
);
3390 DEC_PYCALLBACK_STRING__pure(FindNext
);
3392 wxString
GetProtocol(const wxString
& location
) {
3393 return wxFileSystemHandler::GetProtocol(location
);
3396 wxString
GetLeftLocation(const wxString
& location
) {
3397 return wxFileSystemHandler::GetLeftLocation(location
);
3400 wxString
GetAnchor(const wxString
& location
) {
3401 return wxFileSystemHandler::GetAnchor(location
);
3404 wxString
GetRightLocation(const wxString
& location
) {
3405 return wxFileSystemHandler::GetRightLocation(location
);
3408 wxString
GetMimeTypeFromExt(const wxString
& location
) {
3409 return wxFileSystemHandler::GetMimeTypeFromExt(location
);
3416 IMP_PYCALLBACK_BOOL_STRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, CanOpen
);
3417 IMP_PYCALLBACK_FSF_FSSTRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, OpenFile
);
3418 IMP_PYCALLBACK_STRING_STRINGINT_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindFirst
);
3419 IMP_PYCALLBACK_STRING__pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindNext
);
3423 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
3425 if (obj
== Py_True
) {
3426 if (val
) *val
= true;
3428 } else if (obj
== Py_False
) {
3429 if (val
) *val
= false;
3433 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
3434 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
3439 SWIGINTERN wxString
wxFileSystem_URLToFileName(wxString
const &url
){
3440 wxFileName fname
= wxFileSystem::URLToFileName(url
);
3441 return fname
.GetFullPath();
3444 void __wxMemoryFSHandler_AddFile_wxImage(const wxString
& filename
,
3447 wxMemoryFSHandler::AddFile(filename
, image
, type
);
3450 void __wxMemoryFSHandler_AddFile_wxBitmap(const wxString
& filename
,
3451 const wxBitmap
& bitmap
,
3453 wxMemoryFSHandler::AddFile(filename
, bitmap
, type
);
3456 void __wxMemoryFSHandler_AddFile_Data(const wxString
& filename
,
3458 if (! PyString_Check(data
)) {
3459 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
3460 "Expected string object"));
3464 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3465 void* ptr
= (void*)PyString_AsString(data
);
3466 size_t size
= PyString_Size(data
);
3467 wxPyEndBlockThreads(blocked
);
3469 wxMemoryFSHandler::AddFile(filename
, ptr
, size
);
3473 #include "wx/wxPython/pyistream.h"
3477 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
3480 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
3481 return SWIG_TypeError
;
3484 *val
= (unsigned long)v
;
3490 SWIG_AsVal_unsigned_SS_char (PyObject
* obj
, unsigned char *val
)
3493 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
3494 if (SWIG_IsOK(res
)) {
3495 if ((v
> UCHAR_MAX
)) {
3496 return SWIG_OverflowError
;
3498 if (val
) *val
= static_cast< unsigned char >(v
);
3505 SWIGINTERNINLINE PyObject
*
3506 SWIG_From_unsigned_SS_char (unsigned char value
)
3508 return SWIG_From_unsigned_SS_long (value
);
3511 SWIGINTERN
unsigned long wxImageHistogram_GetCount(wxImageHistogram
*self
,unsigned long key
){
3512 wxImageHistogramEntry e
= (*self
)[key
];
3515 SWIGINTERN
unsigned long wxImageHistogram_GetCountRGB(wxImageHistogram
*self
,byte r
,byte g
,byte b
){
3516 unsigned long key
= wxImageHistogram::MakeKey(r
, g
, b
);
3517 wxImageHistogramEntry e
= (*self
)[key
];
3520 SWIGINTERN
unsigned long wxImageHistogram_GetCountColour(wxImageHistogram
*self
,wxColour
const &colour
){
3521 unsigned long key
= wxImageHistogram::MakeKey(colour
.Red(),
3524 wxImageHistogramEntry e
= (*self
)[key
];
3528 // Pull the nested class out to the top level for SWIG's sake
3529 #define wxImage_RGBValue wxImage::RGBValue
3530 #define wxImage_HSVValue wxImage::HSVValue
3532 SWIGINTERN wxImage
*new_wxImage(int width
=0,int height
=0,bool clear
=true){
3533 if (width
> 0 && height
> 0)
3534 return new wxImage(width
, height
, clear
);
3538 SWIGINTERN wxImage
*new_wxImage(wxBitmap
const &bitmap
){
3539 return new wxImage(bitmap
.ConvertToImage());
3541 SWIGINTERN wxImage
*new_wxImage(int width
,int height
,buffer data
,int DATASIZE
){
3542 if (DATASIZE
!= width
*height
*3) {
3543 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3547 // Copy the source data so the wxImage can clean it up later
3548 buffer copy
= (buffer
)malloc(DATASIZE
);
3550 wxPyBLOCK_THREADS(PyErr_NoMemory());
3553 memcpy(copy
, data
, DATASIZE
);
3554 return new wxImage(width
, height
, copy
, false);
3556 SWIGINTERN wxImage
*new_wxImage(int width
,int height
,buffer data
,int DATASIZE
,buffer alpha
,int ALPHASIZE
){
3557 if (DATASIZE
!= width
*height
*3) {
3558 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3561 if (ALPHASIZE
!= width
*height
) {
3562 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
3566 // Copy the source data so the wxImage can clean it up later
3567 buffer dcopy
= (buffer
)malloc(DATASIZE
);
3568 if (dcopy
== NULL
) {
3569 wxPyBLOCK_THREADS(PyErr_NoMemory());
3572 memcpy(dcopy
, data
, DATASIZE
);
3574 buffer acopy
= (buffer
)malloc(ALPHASIZE
);
3575 if (acopy
== NULL
) {
3576 wxPyBLOCK_THREADS(PyErr_NoMemory());
3579 memcpy(acopy
, alpha
, ALPHASIZE
);
3581 return new wxImage(width
, height
, dcopy
, acopy
, false);
3583 SWIGINTERN wxSize
wxImage_GetSize(wxImage
*self
){
3584 wxSize
size(self
->GetWidth(), self
->GetHeight());
3587 SWIGINTERN PyObject
*wxImage_GetData(wxImage
*self
){
3588 buffer data
= self
->GetData();
3589 int len
= self
->GetWidth() * self
->GetHeight() * 3;
3591 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
));
3594 SWIGINTERN
void wxImage_SetData(wxImage
*self
,buffer data
,int DATASIZE
){
3595 if (DATASIZE
!= self
->GetWidth() * self
->GetHeight() * 3) {
3596 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3599 buffer copy
= (buffer
)malloc(DATASIZE
);
3601 wxPyBLOCK_THREADS(PyErr_NoMemory());
3604 memcpy(copy
, data
, DATASIZE
);
3605 self
->SetData(copy
, false);
3606 // wxImage takes ownership of copy...
3608 SWIGINTERN PyObject
*wxImage_GetDataBuffer(wxImage
*self
){
3609 buffer data
= self
->GetData();
3610 int len
= self
->GetWidth() * self
->GetHeight() * 3;
3612 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
3615 SWIGINTERN
void wxImage_SetDataBuffer(wxImage
*self
,buffer data
,int DATASIZE
){
3616 if (DATASIZE
!= self
->GetWidth() * self
->GetHeight() * 3) {
3617 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3620 self
->SetData(data
, true);
3622 SWIGINTERN PyObject
*wxImage_GetAlphaData(wxImage
*self
){
3623 buffer data
= self
->GetAlpha();
3627 int len
= self
->GetWidth() * self
->GetHeight();
3629 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
) );
3633 SWIGINTERN
void wxImage_SetAlphaData(wxImage
*self
,buffer alpha
,int ALPHASIZE
){
3634 if (ALPHASIZE
!= self
->GetWidth() * self
->GetHeight()) {
3635 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
3638 buffer acopy
= (buffer
)malloc(ALPHASIZE
);
3639 if (acopy
== NULL
) {
3640 wxPyBLOCK_THREADS(PyErr_NoMemory());
3643 memcpy(acopy
, alpha
, ALPHASIZE
);
3644 self
->SetAlpha(acopy
, false);
3645 // wxImage takes ownership of acopy...
3647 SWIGINTERN PyObject
*wxImage_GetAlphaBuffer(wxImage
*self
){
3648 buffer data
= self
->GetAlpha();
3649 int len
= self
->GetWidth() * self
->GetHeight();
3651 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
3654 SWIGINTERN
void wxImage_SetAlphaBuffer(wxImage
*self
,buffer alpha
,int ALPHASIZE
){
3655 if (ALPHASIZE
!= self
->GetWidth() * self
->GetHeight()) {
3656 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
3659 self
->SetAlpha(alpha
, true);
3661 SWIGINTERN PyObject
*wxImage_GetHandlers(){
3662 wxList
& list
= wxImage::GetHandlers();
3663 return wxPy_ConvertList(&list
);
3665 SWIGINTERN wxBitmap
wxImage_ConvertToBitmap(wxImage
*self
,int depth
=-1){
3666 wxBitmap
bitmap(*self
, depth
);
3669 SWIGINTERN wxBitmap
wxImage_ConvertToMonoBitmap(wxImage
*self
,byte red
,byte green
,byte blue
){
3670 wxImage mono
= self
->ConvertToMono( red
, green
, blue
);
3671 wxBitmap
bitmap( mono
, 1 );
3675 wxImage
* _ImageFromBuffer(int width
, int height
,
3676 buffer data
, int DATASIZE
,
3677 buffer alpha
=NULL
, int ALPHASIZE
=0)
3679 if (DATASIZE
!= width
*height
*3) {
3680 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3683 if (alpha
!= NULL
) {
3684 if (ALPHASIZE
!= width
*height
) {
3685 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
3688 return new wxImage(width
, height
, data
, alpha
, true);
3690 return new wxImage(width
, height
, data
, true);
3693 static const wxString
wxPyIMAGE_OPTION_FILENAME(wxIMAGE_OPTION_FILENAME
);
3694 static const wxString
wxPyIMAGE_OPTION_BMP_FORMAT(wxIMAGE_OPTION_BMP_FORMAT
);
3695 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_X(wxIMAGE_OPTION_CUR_HOTSPOT_X
);
3696 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_Y(wxIMAGE_OPTION_CUR_HOTSPOT_Y
);
3697 static const wxString
wxPyIMAGE_OPTION_RESOLUTION(wxIMAGE_OPTION_RESOLUTION
);
3698 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONX(wxIMAGE_OPTION_RESOLUTIONX
);
3699 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONY(wxIMAGE_OPTION_RESOLUTIONY
);
3700 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONUNIT(wxIMAGE_OPTION_RESOLUTIONUNIT
);
3701 static const wxString
wxPyIMAGE_OPTION_QUALITY(wxIMAGE_OPTION_QUALITY
);
3702 static const wxString
wxPyIMAGE_OPTION_BITSPERSAMPLE(wxIMAGE_OPTION_BITSPERSAMPLE
);
3703 static const wxString
wxPyIMAGE_OPTION_SAMPLESPERPIXEL(wxIMAGE_OPTION_SAMPLESPERPIXEL
);
3704 static const wxString
wxPyIMAGE_OPTION_COMPRESSION(wxIMAGE_OPTION_COMPRESSION
);
3705 static const wxString
wxPyIMAGE_OPTION_IMAGEDESCRIPTOR(wxIMAGE_OPTION_IMAGEDESCRIPTOR
);
3706 static const wxString
wxPyIMAGE_OPTION_PNG_FORMAT(wxIMAGE_OPTION_PNG_FORMAT
);
3707 static const wxString
wxPyIMAGE_OPTION_PNG_BITDEPTH(wxIMAGE_OPTION_PNG_BITDEPTH
);
3709 #include <wx/imagtga.h>
3712 #include <wx/quantize.h>
3714 SWIGINTERN
bool wxQuantize_Quantize(wxImage
const &src
,wxImage
&dest
,int desiredNoColours
=236,int flags
=wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
|wxQUANTIZE_FILL_DESTINATION_IMAGE
){
3715 return wxQuantize::Quantize(src
, dest
,
3718 NULL
, // eightBitData
3721 SWIGINTERN
void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
*func
){
3722 if (PyCallable_Check(func
)) {
3723 self
->Connect(id
, lastId
, eventType
,
3724 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
3725 new wxPyCallback(func
));
3727 else if (func
== Py_None
) {
3728 self
->Disconnect(id
, lastId
, eventType
,
3729 (wxObjectEventFunction
)
3730 &wxPyCallback::EventThunker
);
3734 PyErr_SetString(PyExc_TypeError
, "Expected callable object or None."));
3737 SWIGINTERN
bool wxEvtHandler_Disconnect(wxEvtHandler
*self
,int id
,int lastId
=-1,wxEventType eventType
=wxEVT_NULL
){
3738 return self
->Disconnect(id
, lastId
, eventType
,
3739 (wxObjectEventFunction
)
3740 &wxPyCallback::EventThunker
);
3742 SWIGINTERN
void wxEvtHandler__setOORInfo(wxEvtHandler
*self
,PyObject
*_self
,bool incref
=true){
3743 if (_self
&& _self
!= Py_None
) {
3744 self
->SetClientObject(new wxPyOORClientData(_self
, incref
));
3747 wxPyOORClientData
* data
= (wxPyOORClientData
*)self
->GetClientObject();
3749 self
->SetClientObject(NULL
); // This will delete it too
3755 #define wxEVT_HOTKEY -9999
3758 SWIGINTERN PyObject
*wxCommandEvent_GetClientData(wxCommandEvent
*self
){
3759 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject();
3761 Py_INCREF(data
->m_obj
);
3768 SWIGINTERN
void wxCommandEvent_SetClientData(wxCommandEvent
*self
,PyObject
*clientData
){
3769 wxPyClientData
* data
= new wxPyClientData(clientData
);
3770 self
->SetClientObject(data
);
3772 SWIGINTERN
int wxKeyEvent_GetUnicodeKey(wxKeyEvent
*self
){
3774 return self
->GetUnicodeKey();
3779 SWIGINTERN
void wxKeyEvent_SetUnicodeKey(wxKeyEvent
*self
,int uniChar
){
3781 self
->m_uniChar
= uniChar
;
3785 SWIGINTERNINLINE PyObject
*
3786 SWIG_From_unsigned_SS_int (unsigned int value
)
3788 return SWIG_From_unsigned_SS_long (value
);
3793 SWIG_AsVal_unsigned_SS_int (PyObject
* obj
, unsigned int *val
)
3796 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
3797 if (SWIG_IsOK(res
)) {
3798 if ((v
> UINT_MAX
)) {
3799 return SWIG_OverflowError
;
3801 if (val
) *val
= static_cast< unsigned int >(v
);
3807 SWIGINTERN
void wxSizeEvent_SetSize(wxSizeEvent
*self
,wxSize size
){
3808 self
->m_size
= size
;
3810 SWIGINTERN PyObject
*wxDropFilesEvent_GetFiles(wxDropFilesEvent
*self
){
3811 int count
= self
->GetNumberOfFiles();
3812 wxString
* files
= self
->GetFiles();
3813 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3814 PyObject
* list
= PyList_New(count
);
3817 PyErr_SetString(PyExc_MemoryError
, "Can't allocate list of files!");
3818 wxPyEndBlockThreads(blocked
);
3822 for (int i
=0; i
<count
; i
++) {
3823 PyList_SetItem(list
, i
, wx2PyString(files
[i
]));
3825 wxPyEndBlockThreads(blocked
);
3830 SWIGINTERN wxPyApp
*new_wxPyApp(){
3831 wxPythonApp
= new wxPyApp();
3834 SWIGINTERN
bool wxPyApp_IsDisplayAvailable(){
3835 return wxPyTestDisplayAvailable();
3838 void wxApp_CleanUp() {
3843 wxPyApp
* wxPyGetApp() { return (wxPyApp
*)wxTheApp
; }
3849 SWIGINTERNINLINE PyObject
*
3850 SWIG_FromCharPtr(const char *cptr
)
3852 return SWIG_FromCharPtrAndSize(cptr
, (cptr
? strlen(cptr
) : 0));
3856 #if 0 // #ifdef __WXMAC__
3858 // A dummy class that raises an exception if used...
3862 wxEventLoop() { wxPyRaiseNotImplemented(); }
3863 int Run() { return 0; }
3864 void Exit(int rc
= 0) {}
3865 bool Pending() const { return false; }
3866 bool Dispatch() { return false; }
3867 bool IsRunning() const { return false; }
3868 static wxEventLoop
*GetActive() { wxPyRaiseNotImplemented(); return NULL
; }
3869 static void SetActive(wxEventLoop
* loop
) { wxPyRaiseNotImplemented(); }
3874 #include <wx/evtloop.h>
3880 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
3881 SWIGINTERN wxVisualAttributes
*new_wxVisualAttributes(){ return new wxVisualAttributes
; }
3882 SWIGINTERN
void delete_wxVisualAttributes(wxVisualAttributes
*self
){ delete self
; }
3883 SWIGINTERN PyObject
*wxWindow_GetChildren(wxWindow
*self
){
3884 wxWindowList
& list
= self
->GetChildren();
3885 return wxPy_ConvertList(&list
);
3887 SWIGINTERN
void wxWindow_SetDoubleBuffered(wxWindow
*self
,bool on
){}
3888 SWIGINTERN
bool wxWindow_RegisterHotKey(wxWindow
*self
,int hotkeyId
,int modifiers
,int keycode
){
3890 return self
->RegisterHotKey(hotkeyId
, modifiers
, keycode
);
3895 SWIGINTERN
bool wxWindow_UnregisterHotKey(wxWindow
*self
,int hotkeyId
){
3902 SWIGINTERN
long wxWindow_GetHandle(wxWindow
*self
){
3903 return wxPyGetWinHandle(self
);
3905 SWIGINTERN
void wxWindow_AssociateHandle(wxWindow
*self
,long handle
){
3906 self
->AssociateHandle((WXWidget
)handle
);
3909 wxWindow
* wxFindWindowById( long id
, const wxWindow
*parent
= NULL
) {
3910 return wxWindow::FindWindowById(id
, parent
);
3913 wxWindow
* wxFindWindowByName( const wxString
& name
,
3914 const wxWindow
*parent
= NULL
) {
3915 return wxWindow::FindWindowByName(name
, parent
);
3918 wxWindow
* wxFindWindowByLabel( const wxString
& label
,
3919 const wxWindow
*parent
= NULL
) {
3920 return wxWindow::FindWindowByLabel(label
, parent
);
3925 #include <wx/msw/private.h> // to get wxGetWindowId
3929 wxWindow
* wxWindow_FromHWND(wxWindow
* parent
, unsigned long _hWnd
) {
3931 WXHWND hWnd
= (WXHWND
)_hWnd
;
3932 long id
= wxGetWindowId(hWnd
);
3933 wxWindow
* win
= new wxWindow
;
3935 parent
->AddChild(win
);
3936 win
->SetEventHandler(win
);
3939 win
->SubclassWin(hWnd
);
3940 win
->AdoptAttributesFromHWND();
3941 win
->SetupColours();
3944 wxPyRaiseNotImplemented();
3950 PyObject
* GetTopLevelWindows() {
3951 return wxPy_ConvertList(&wxTopLevelWindows
);
3955 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
3956 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
3957 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
3959 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
3962 SWIGINTERNINLINE
int
3963 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
3966 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
3967 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3971 SWIGINTERN
void wxMenu_Destroy(wxMenu
*self
){ delete self
; }
3972 SWIGINTERN PyObject
*wxMenu_GetMenuItems(wxMenu
*self
){
3973 wxMenuItemList
& list
= self
->GetMenuItems();
3974 return wxPy_ConvertList(&list
);
3976 SWIGINTERN
void wxMenuBar_SetAutoWindowMenu(bool enable
){}
3977 SWIGINTERN
bool wxMenuBar_GetAutoWindowMenu(){ return false; }
3978 static const wxString
wxPyControlNameStr(wxControlNameStr
);
3979 SWIGINTERN
int wxItemContainer_Append(wxItemContainer
*self
,wxString
const &item
,PyObject
*clientData
=NULL
){
3981 wxPyClientData
* data
= new wxPyClientData(clientData
);
3982 return self
->Append(item
, data
);
3984 return self
->Append(item
);
3986 SWIGINTERN
int wxItemContainer_Insert(wxItemContainer
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
3988 wxPyClientData
* data
= new wxPyClientData(clientData
);
3989 return self
->Insert(item
, pos
, data
);
3991 return self
->Insert(item
, pos
);
3993 SWIGINTERN PyObject
*wxItemContainer_GetClientData(wxItemContainer
*self
,int n
){
3994 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
3996 Py_INCREF(data
->m_obj
);
4003 SWIGINTERN
void wxItemContainer_SetClientData(wxItemContainer
*self
,int n
,PyObject
*clientData
){
4004 wxPyClientData
* data
= new wxPyClientData(clientData
);
4005 self
->SetClientObject(n
, data
);
4009 SWIGINTERN wxSizerItem
*new_wxSizerItem(wxWindow
*window
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
4010 wxPyUserData
* data
= NULL
;
4012 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4013 data
= new wxPyUserData(userData
);
4014 wxPyEndBlockThreads(blocked
);
4016 return new wxSizerItem(window
, proportion
, flag
, border
, data
);
4018 SWIGINTERN wxSizerItem
*new_wxSizerItem(int width
,int height
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
4019 wxPyUserData
* data
= NULL
;
4021 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4022 data
= new wxPyUserData(userData
);
4023 wxPyEndBlockThreads(blocked
);
4025 return new wxSizerItem(width
, height
, proportion
, flag
, border
, data
);
4027 SWIGINTERN wxSizerItem
*new_wxSizerItem(wxSizer
*sizer
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
4028 wxPyUserData
* data
= NULL
;
4030 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4031 data
= new wxPyUserData(userData
);
4032 wxPyEndBlockThreads(blocked
);
4034 return new wxSizerItem(sizer
, proportion
, flag
, border
, data
);
4037 SWIGINTERNINLINE PyObject
*
4038 SWIG_From_float (float value
)
4040 return SWIG_From_double (value
);
4043 SWIGINTERN PyObject
*wxSizerItem_GetUserData(wxSizerItem
*self
){
4044 wxPyUserData
* data
= (wxPyUserData
*)self
->GetUserData();
4046 Py_INCREF(data
->m_obj
);
4053 SWIGINTERN
void wxSizerItem_SetUserData(wxSizerItem
*self
,PyObject
*userData
){
4054 wxPyUserData
* data
= NULL
;
4056 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4057 data
= new wxPyUserData(userData
);
4058 wxPyEndBlockThreads(blocked
);
4060 self
->SetUserData(data
);
4063 // Figure out the type of the sizer item
4065 struct wxPySizerItemInfo
{
4067 : window(NULL
), sizer(NULL
), gotSize(false),
4068 size(wxDefaultSize
), gotPos(false), pos(-1)
4079 static wxPySizerItemInfo
wxPySizerItemTypeHelper(PyObject
* item
, bool checkSize
, bool checkIdx
) {
4081 wxPySizerItemInfo info
;
4083 wxSize
* sizePtr
= &size
;
4085 // Find out what the type of the item is
4087 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.window
, wxT("wxWindow")) ) {
4092 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.sizer
, wxT("wxSizer")) ) {
4096 // try wxSize or (w,h)
4097 if ( checkSize
&& wxSize_helper(item
, &sizePtr
)) {
4098 info
.size
= *sizePtr
;
4099 info
.gotSize
= true;
4103 if (checkIdx
&& PyInt_Check(item
)) {
4104 info
.pos
= PyInt_AsLong(item
);
4110 if ( !(info
.window
|| info
.sizer
|| (checkSize
&& info
.gotSize
) || (checkIdx
&& info
.gotPos
)) ) {
4111 // no expected type, figure out what kind of error message to generate
4112 if ( !checkSize
&& !checkIdx
)
4113 PyErr_SetString(PyExc_TypeError
, "wx.Window or wx.Sizer expected for item");
4114 else if ( checkSize
&& !checkIdx
)
4115 PyErr_SetString(PyExc_TypeError
, "wx.Window, wx.Sizer, wx.Size, or (w,h) expected for item");
4116 else if ( !checkSize
&& checkIdx
)
4117 PyErr_SetString(PyExc_TypeError
, "wx.Window, wx.Sizer or int (position) expected for item");
4119 // can this one happen?
4120 PyErr_SetString(PyExc_TypeError
, "wx.Window, wx.Sizer, wx.Size, or (w,h) or int (position) expected for item");
4126 SWIGINTERN
void wxSizer__setOORInfo(wxSizer
*self
,PyObject
*_self
){
4127 if (!self
->GetClientObject())
4128 self
->SetClientObject(new wxPyOORClientData(_self
));
4130 SWIGINTERN wxSizerItem
*wxSizer_Add(wxSizer
*self
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
4132 wxPyUserData
* data
= NULL
;
4133 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4134 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
4135 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
4136 data
= new wxPyUserData(userData
);
4138 PyObject_SetAttrString(item
,"thisown",Py_False
);
4139 wxPyEndBlockThreads(blocked
);
4141 // Now call the real Add method if a valid item type was found
4143 return self
->Add(info
.window
, proportion
, flag
, border
, data
);
4144 else if ( info
.sizer
)
4145 return self
->Add(info
.sizer
, proportion
, flag
, border
, data
);
4146 else if (info
.gotSize
)
4147 return self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
4148 proportion
, flag
, border
, data
);
4152 SWIGINTERN wxSizerItem
*wxSizer_Insert(wxSizer
*self
,int before
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
4154 wxPyUserData
* data
= NULL
;
4155 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4156 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
4157 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
4158 data
= new wxPyUserData(userData
);
4160 PyObject_SetAttrString(item
,"thisown",Py_False
);
4161 wxPyEndBlockThreads(blocked
);
4163 // Now call the real Insert method if a valid item type was found
4165 return self
->Insert(before
, info
.window
, proportion
, flag
, border
, data
);
4166 else if ( info
.sizer
)
4167 return self
->Insert(before
, info
.sizer
, proportion
, flag
, border
, data
);
4168 else if (info
.gotSize
)
4169 return self
->Insert(before
, info
.size
.GetWidth(), info
.size
.GetHeight(),
4170 proportion
, flag
, border
, data
);
4174 SWIGINTERN wxSizerItem
*wxSizer_Prepend(wxSizer
*self
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
4176 wxPyUserData
* data
= NULL
;
4177 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4178 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
4179 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
4180 data
= new wxPyUserData(userData
);
4182 PyObject_SetAttrString(item
,"thisown",Py_False
);
4183 wxPyEndBlockThreads(blocked
);
4185 // Now call the real Prepend method if a valid item type was found
4187 return self
->Prepend(info
.window
, proportion
, flag
, border
, data
);
4188 else if ( info
.sizer
)
4189 return self
->Prepend(info
.sizer
, proportion
, flag
, border
, data
);
4190 else if (info
.gotSize
)
4191 return self
->Prepend(info
.size
.GetWidth(), info
.size
.GetHeight(),
4192 proportion
, flag
, border
, data
);
4196 SWIGINTERN
bool wxSizer_Remove(wxSizer
*self
,PyObject
*item
){
4197 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4198 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
4199 wxPyEndBlockThreads(blocked
);
4201 return self
->Remove(info
.window
);
4202 else if ( info
.sizer
)
4203 return self
->Remove(info
.sizer
);
4204 else if ( info
.gotPos
)
4205 return self
->Remove(info
.pos
);
4209 SWIGINTERN
bool wxSizer_Detach(wxSizer
*self
,PyObject
*item
){
4210 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4211 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
4212 wxPyEndBlockThreads(blocked
);
4214 return self
->Detach(info
.window
);
4215 else if ( info
.sizer
)
4216 return self
->Detach(info
.sizer
);
4217 else if ( info
.gotPos
)
4218 return self
->Detach(info
.pos
);
4222 SWIGINTERN wxSizerItem
*wxSizer_GetItem(wxSizer
*self
,PyObject
*item
){
4223 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4224 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
4225 wxPyEndBlockThreads(blocked
);
4227 return self
->GetItem(info
.window
);
4228 else if ( info
.sizer
)
4229 return self
->GetItem(info
.sizer
);
4230 else if ( info
.gotPos
)
4231 return self
->GetItem(info
.pos
);
4235 SWIGINTERN
void wxSizer__SetItemMinSize(wxSizer
*self
,PyObject
*item
,wxSize
const &size
){
4236 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4237 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
4238 wxPyEndBlockThreads(blocked
);
4240 self
->SetItemMinSize(info
.window
, size
);
4241 else if ( info
.sizer
)
4242 self
->SetItemMinSize(info
.sizer
, size
);
4243 else if ( info
.gotPos
)
4244 self
->SetItemMinSize(info
.pos
, size
);
4246 SWIGINTERN PyObject
*wxSizer_GetChildren(wxSizer
*self
){
4247 wxSizerItemList
& list
= self
->GetChildren();
4248 return wxPy_ConvertList(&list
);
4250 SWIGINTERN
bool wxSizer_Show(wxSizer
*self
,PyObject
*item
,bool show
=true,bool recursive
=false){
4251 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4252 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
4253 wxPyEndBlockThreads(blocked
);
4255 return self
->Show(info
.window
, show
, recursive
);
4256 else if ( info
.sizer
)
4257 return self
->Show(info
.sizer
, show
, recursive
);
4258 else if ( info
.gotPos
)
4259 return self
->Show(info
.pos
, show
);
4263 SWIGINTERN
bool wxSizer_IsShown(wxSizer
*self
,PyObject
*item
){
4264 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4265 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, false);
4266 wxPyEndBlockThreads(blocked
);
4268 return self
->IsShown(info
.window
);
4269 else if ( info
.sizer
)
4270 return self
->IsShown(info
.sizer
);
4271 else if ( info
.gotPos
)
4272 return self
->IsShown(info
.pos
);
4278 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
4279 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
4280 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
4285 bool wxGBPosition_helper(PyObject
* source
, wxGBPosition
** obj
)
4287 if (source
== Py_None
) {
4288 **obj
= wxGBPosition(-1,-1);
4291 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBPosition"));
4294 bool wxGBSpan_helper(PyObject
* source
, wxGBSpan
** obj
)
4296 if (source
== Py_None
) {
4297 **obj
= wxGBSpan(-1,-1);
4300 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBSpan"));
4304 SWIGINTERN
bool wxGBPosition___eq__(wxGBPosition
*self
,PyObject
*other
){
4305 wxGBPosition temp
, *obj
= &temp
;
4306 if ( other
== Py_None
) return false;
4307 if ( ! wxGBPosition_helper(other
, &obj
) ) {
4311 return self
->operator==(*obj
);
4313 SWIGINTERN
bool wxGBPosition___ne__(wxGBPosition
*self
,PyObject
*other
){
4314 wxGBPosition temp
, *obj
= &temp
;
4315 if ( other
== Py_None
) return true;
4316 if ( ! wxGBPosition_helper(other
, &obj
)) {
4320 return self
->operator!=(*obj
);
4322 SWIGINTERN
void wxGBPosition_Set(wxGBPosition
*self
,int row
=0,int col
=0){
4326 SWIGINTERN PyObject
*wxGBPosition_Get(wxGBPosition
*self
){
4327 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4328 PyObject
* tup
= PyTuple_New(2);
4329 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
4330 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
4331 wxPyEndBlockThreads(blocked
);
4334 SWIGINTERN
bool wxGBSpan___eq__(wxGBSpan
*self
,PyObject
*other
){
4335 wxGBSpan temp
, *obj
= &temp
;
4336 if ( other
== Py_None
) return false;
4337 if ( ! wxGBSpan_helper(other
, &obj
) ) {
4341 return self
->operator==(*obj
);
4343 SWIGINTERN
bool wxGBSpan___ne__(wxGBSpan
*self
,PyObject
*other
){
4344 wxGBSpan temp
, *obj
= &temp
;
4345 if ( other
== Py_None
) return true;
4346 if ( ! wxGBSpan_helper(other
, &obj
)) {
4350 return self
->operator!=(*obj
);
4352 SWIGINTERN
void wxGBSpan_Set(wxGBSpan
*self
,int rowspan
=1,int colspan
=1){
4353 self
->SetRowspan(rowspan
);
4354 self
->SetColspan(colspan
);
4356 SWIGINTERN PyObject
*wxGBSpan_Get(wxGBSpan
*self
){
4357 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4358 PyObject
* tup
= PyTuple_New(2);
4359 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRowspan()));
4360 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetColspan()));
4361 wxPyEndBlockThreads(blocked
);
4364 SWIGINTERN wxGBSizerItem
*new_wxGBSizerItem(wxWindow
*window
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
4365 wxPyUserData
* data
= NULL
;
4367 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4368 data
= new wxPyUserData(userData
);
4369 wxPyEndBlockThreads(blocked
);
4371 return new wxGBSizerItem(window
, pos
, span
, flag
, border
, data
);
4373 SWIGINTERN wxGBSizerItem
*new_wxGBSizerItem(wxSizer
*sizer
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
4374 wxPyUserData
* data
= NULL
;
4376 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4377 data
= new wxPyUserData(userData
);
4378 wxPyEndBlockThreads(blocked
);
4380 return new wxGBSizerItem(sizer
, pos
, span
, flag
, border
, data
);
4382 SWIGINTERN wxGBSizerItem
*new_wxGBSizerItem(int width
,int height
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
4383 wxPyUserData
* data
= NULL
;
4385 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4386 data
= new wxPyUserData(userData
);
4387 wxPyEndBlockThreads(blocked
);
4389 return new wxGBSizerItem(width
, height
, pos
, span
, flag
, border
, data
);
4391 SWIGINTERN wxGBPosition
wxGBSizerItem_GetEndPos(wxGBSizerItem
*self
){
4393 self
->GetEndPos(row
, col
);
4394 return wxGBPosition(row
, col
);
4396 SWIGINTERN wxGBSizerItem
*wxGridBagSizer_Add(wxGridBagSizer
*self
,PyObject
*item
,wxGBPosition
const &pos
,wxGBSpan
const &span
=wxDefaultSpan
,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
4398 wxPyUserData
* data
= NULL
;
4399 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4400 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
4401 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
4402 data
= new wxPyUserData(userData
);
4404 PyObject_SetAttrString(item
,"thisown",Py_False
);
4405 wxPyEndBlockThreads(blocked
);
4407 // Now call the real Add method if a valid item type was found
4409 return (wxGBSizerItem
*)self
->Add(info
.window
, pos
, span
, flag
, border
, data
);
4410 else if ( info
.sizer
)
4411 return (wxGBSizerItem
*)self
->Add(info
.sizer
, pos
, span
, flag
, border
, data
);
4412 else if (info
.gotSize
)
4413 return (wxGBSizerItem
*)self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
4414 pos
, span
, flag
, border
, data
);
4422 SWIGINTERN
int EmptyString_set(PyObject
*) {
4423 SWIG_Error(SWIG_AttributeError
,"Variable EmptyString is read-only.");
4428 SWIGINTERN PyObject
*EmptyString_get(void) {
4429 PyObject
*pyobj
= 0;
4433 pyobj
= PyUnicode_FromWideChar((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
4435 pyobj
= PyString_FromStringAndSize((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
4442 SWIGINTERN PyObject
*_wrap_Object_GetClassName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4443 PyObject
*resultobj
= 0;
4444 wxObject
*arg1
= (wxObject
*) 0 ;
4448 PyObject
*swig_obj
[1] ;
4450 if (!args
) SWIG_fail
;
4452 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
4453 if (!SWIG_IsOK(res1
)) {
4454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Object_GetClassName" "', expected argument " "1"" of type '" "wxObject *""'");
4456 arg1
= reinterpret_cast< wxObject
* >(argp1
);
4458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4459 result
= wxObject_GetClassName(arg1
);
4460 wxPyEndAllowThreads(__tstate
);
4461 if (PyErr_Occurred()) SWIG_fail
;
4465 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4467 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4476 SWIGINTERN PyObject
*_wrap_Object_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4477 PyObject
*resultobj
= 0;
4478 wxObject
*arg1
= (wxObject
*) 0 ;
4481 PyObject
*swig_obj
[1] ;
4483 if (!args
) SWIG_fail
;
4485 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
4486 if (!SWIG_IsOK(res1
)) {
4487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Object_Destroy" "', expected argument " "1"" of type '" "wxObject *""'");
4489 arg1
= reinterpret_cast< wxObject
* >(argp1
);
4491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4492 wxObject_Destroy(arg1
);
4493 wxPyEndAllowThreads(__tstate
);
4494 if (PyErr_Occurred()) SWIG_fail
;
4496 resultobj
= SWIG_Py_Void();
4503 SWIGINTERN PyObject
*_wrap_Object_IsSameAs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4504 PyObject
*resultobj
= 0;
4505 wxObject
*arg1
= (wxObject
*) 0 ;
4506 wxObject
*arg2
= 0 ;
4512 PyObject
* obj0
= 0 ;
4513 PyObject
* obj1
= 0 ;
4514 char * kwnames
[] = {
4515 (char *) "self",(char *) "p", NULL
4518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Object_IsSameAs",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4519 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
4520 if (!SWIG_IsOK(res1
)) {
4521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Object_IsSameAs" "', expected argument " "1"" of type '" "wxObject const *""'");
4523 arg1
= reinterpret_cast< wxObject
* >(argp1
);
4524 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxObject
, 0 | 0);
4525 if (!SWIG_IsOK(res2
)) {
4526 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Object_IsSameAs" "', expected argument " "2"" of type '" "wxObject const &""'");
4529 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Object_IsSameAs" "', expected argument " "2"" of type '" "wxObject const &""'");
4531 arg2
= reinterpret_cast< wxObject
* >(argp2
);
4533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4534 result
= (bool)((wxObject
const *)arg1
)->IsSameAs((wxObject
const &)*arg2
);
4535 wxPyEndAllowThreads(__tstate
);
4536 if (PyErr_Occurred()) SWIG_fail
;
4539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4547 SWIGINTERN PyObject
*Object_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4549 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4550 SWIG_TypeNewClientData(SWIGTYPE_p_wxObject
, SWIG_NewClientData(obj
));
4551 return SWIG_Py_Void();
4554 SWIGINTERN PyObject
*_wrap_Size_width_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4555 PyObject
*resultobj
= 0;
4556 wxSize
*arg1
= (wxSize
*) 0 ;
4562 PyObject
*swig_obj
[2] ;
4564 if (!SWIG_Python_UnpackTuple(args
,"Size_width_set",2,2,swig_obj
)) SWIG_fail
;
4565 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4566 if (!SWIG_IsOK(res1
)) {
4567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_width_set" "', expected argument " "1"" of type '" "wxSize *""'");
4569 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4570 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4571 if (!SWIG_IsOK(ecode2
)) {
4572 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Size_width_set" "', expected argument " "2"" of type '" "int""'");
4574 arg2
= static_cast< int >(val2
);
4575 if (arg1
) (arg1
)->x
= arg2
;
4577 resultobj
= SWIG_Py_Void();
4584 SWIGINTERN PyObject
*_wrap_Size_width_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4585 PyObject
*resultobj
= 0;
4586 wxSize
*arg1
= (wxSize
*) 0 ;
4590 PyObject
*swig_obj
[1] ;
4592 if (!args
) SWIG_fail
;
4594 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4595 if (!SWIG_IsOK(res1
)) {
4596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_width_get" "', expected argument " "1"" of type '" "wxSize *""'");
4598 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4599 result
= (int) ((arg1
)->x
);
4600 resultobj
= SWIG_From_int(static_cast< int >(result
));
4607 SWIGINTERN PyObject
*_wrap_Size_height_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4608 PyObject
*resultobj
= 0;
4609 wxSize
*arg1
= (wxSize
*) 0 ;
4615 PyObject
*swig_obj
[2] ;
4617 if (!SWIG_Python_UnpackTuple(args
,"Size_height_set",2,2,swig_obj
)) SWIG_fail
;
4618 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4619 if (!SWIG_IsOK(res1
)) {
4620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_height_set" "', expected argument " "1"" of type '" "wxSize *""'");
4622 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4623 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4624 if (!SWIG_IsOK(ecode2
)) {
4625 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Size_height_set" "', expected argument " "2"" of type '" "int""'");
4627 arg2
= static_cast< int >(val2
);
4628 if (arg1
) (arg1
)->y
= arg2
;
4630 resultobj
= SWIG_Py_Void();
4637 SWIGINTERN PyObject
*_wrap_Size_height_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4638 PyObject
*resultobj
= 0;
4639 wxSize
*arg1
= (wxSize
*) 0 ;
4643 PyObject
*swig_obj
[1] ;
4645 if (!args
) SWIG_fail
;
4647 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4648 if (!SWIG_IsOK(res1
)) {
4649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_height_get" "', expected argument " "1"" of type '" "wxSize *""'");
4651 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4652 result
= (int) ((arg1
)->y
);
4653 resultobj
= SWIG_From_int(static_cast< int >(result
));
4660 SWIGINTERN PyObject
*_wrap_new_Size(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4661 PyObject
*resultobj
= 0;
4662 int arg1
= (int) 0 ;
4663 int arg2
= (int) 0 ;
4664 wxSize
*result
= 0 ;
4669 PyObject
* obj0
= 0 ;
4670 PyObject
* obj1
= 0 ;
4671 char * kwnames
[] = {
4672 (char *) "w",(char *) "h", NULL
4675 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Size",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4677 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4678 if (!SWIG_IsOK(ecode1
)) {
4679 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Size" "', expected argument " "1"" of type '" "int""'");
4681 arg1
= static_cast< int >(val1
);
4684 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4685 if (!SWIG_IsOK(ecode2
)) {
4686 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Size" "', expected argument " "2"" of type '" "int""'");
4688 arg2
= static_cast< int >(val2
);
4691 result
= (wxSize
*)new wxSize(arg1
,arg2
);
4692 if (PyErr_Occurred()) SWIG_fail
;
4694 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSize
, SWIG_POINTER_NEW
| 0 );
4701 SWIGINTERN PyObject
*_wrap_delete_Size(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4702 PyObject
*resultobj
= 0;
4703 wxSize
*arg1
= (wxSize
*) 0 ;
4706 PyObject
*swig_obj
[1] ;
4708 if (!args
) SWIG_fail
;
4710 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSize
, SWIG_POINTER_DISOWN
| 0 );
4711 if (!SWIG_IsOK(res1
)) {
4712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Size" "', expected argument " "1"" of type '" "wxSize *""'");
4714 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4718 if (PyErr_Occurred()) SWIG_fail
;
4720 resultobj
= SWIG_Py_Void();
4727 SWIGINTERN PyObject
*_wrap_Size___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4728 PyObject
*resultobj
= 0;
4729 wxSize
*arg1
= (wxSize
*) 0 ;
4730 PyObject
*arg2
= (PyObject
*) 0 ;
4734 PyObject
* obj0
= 0 ;
4735 PyObject
* obj1
= 0 ;
4736 char * kwnames
[] = {
4737 (char *) "self",(char *) "other", NULL
4740 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4741 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4742 if (!SWIG_IsOK(res1
)) {
4743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size___eq__" "', expected argument " "1"" of type '" "wxSize *""'");
4745 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4748 result
= (bool)wxSize___eq__(arg1
,arg2
);
4749 if (PyErr_Occurred()) SWIG_fail
;
4752 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4760 SWIGINTERN PyObject
*_wrap_Size___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4761 PyObject
*resultobj
= 0;
4762 wxSize
*arg1
= (wxSize
*) 0 ;
4763 PyObject
*arg2
= (PyObject
*) 0 ;
4767 PyObject
* obj0
= 0 ;
4768 PyObject
* obj1
= 0 ;
4769 char * kwnames
[] = {
4770 (char *) "self",(char *) "other", NULL
4773 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4774 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4775 if (!SWIG_IsOK(res1
)) {
4776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size___ne__" "', expected argument " "1"" of type '" "wxSize *""'");
4778 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4781 result
= (bool)wxSize___ne__(arg1
,arg2
);
4782 if (PyErr_Occurred()) SWIG_fail
;
4785 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4793 SWIGINTERN PyObject
*_wrap_Size___add__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4794 PyObject
*resultobj
= 0;
4795 wxSize
*arg1
= (wxSize
*) 0 ;
4801 PyObject
* obj0
= 0 ;
4802 PyObject
* obj1
= 0 ;
4803 char * kwnames
[] = {
4804 (char *) "self",(char *) "sz", NULL
4807 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___add__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4808 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4809 if (!SWIG_IsOK(res1
)) {
4810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size___add__" "', expected argument " "1"" of type '" "wxSize *""'");
4812 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4815 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4818 result
= (arg1
)->operator +((wxSize
const &)*arg2
);
4819 if (PyErr_Occurred()) SWIG_fail
;
4821 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
4828 SWIGINTERN PyObject
*_wrap_Size___sub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4829 PyObject
*resultobj
= 0;
4830 wxSize
*arg1
= (wxSize
*) 0 ;
4836 PyObject
* obj0
= 0 ;
4837 PyObject
* obj1
= 0 ;
4838 char * kwnames
[] = {
4839 (char *) "self",(char *) "sz", NULL
4842 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___sub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4843 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4844 if (!SWIG_IsOK(res1
)) {
4845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size___sub__" "', expected argument " "1"" of type '" "wxSize *""'");
4847 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4850 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4853 result
= (arg1
)->operator -((wxSize
const &)*arg2
);
4854 if (PyErr_Occurred()) SWIG_fail
;
4856 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
4863 SWIGINTERN PyObject
*_wrap_Size_IncTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4864 PyObject
*resultobj
= 0;
4865 wxSize
*arg1
= (wxSize
*) 0 ;
4870 PyObject
* obj0
= 0 ;
4871 PyObject
* obj1
= 0 ;
4872 char * kwnames
[] = {
4873 (char *) "self",(char *) "sz", NULL
4876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_IncTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4878 if (!SWIG_IsOK(res1
)) {
4879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_IncTo" "', expected argument " "1"" of type '" "wxSize *""'");
4881 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4884 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4887 (arg1
)->IncTo((wxSize
const &)*arg2
);
4888 if (PyErr_Occurred()) SWIG_fail
;
4890 resultobj
= SWIG_Py_Void();
4897 SWIGINTERN PyObject
*_wrap_Size_DecTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4898 PyObject
*resultobj
= 0;
4899 wxSize
*arg1
= (wxSize
*) 0 ;
4904 PyObject
* obj0
= 0 ;
4905 PyObject
* obj1
= 0 ;
4906 char * kwnames
[] = {
4907 (char *) "self",(char *) "sz", NULL
4910 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_DecTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4911 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4912 if (!SWIG_IsOK(res1
)) {
4913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_DecTo" "', expected argument " "1"" of type '" "wxSize *""'");
4915 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4918 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4921 (arg1
)->DecTo((wxSize
const &)*arg2
);
4922 if (PyErr_Occurred()) SWIG_fail
;
4924 resultobj
= SWIG_Py_Void();
4931 SWIGINTERN PyObject
*_wrap_Size_IncBy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4932 PyObject
*resultobj
= 0;
4933 wxSize
*arg1
= (wxSize
*) 0 ;
4942 PyObject
* obj0
= 0 ;
4943 PyObject
* obj1
= 0 ;
4944 PyObject
* obj2
= 0 ;
4945 char * kwnames
[] = {
4946 (char *) "self",(char *) "dx",(char *) "dy", NULL
4949 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_IncBy",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4950 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4951 if (!SWIG_IsOK(res1
)) {
4952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_IncBy" "', expected argument " "1"" of type '" "wxSize *""'");
4954 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4955 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4956 if (!SWIG_IsOK(ecode2
)) {
4957 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Size_IncBy" "', expected argument " "2"" of type '" "int""'");
4959 arg2
= static_cast< int >(val2
);
4960 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4961 if (!SWIG_IsOK(ecode3
)) {
4962 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Size_IncBy" "', expected argument " "3"" of type '" "int""'");
4964 arg3
= static_cast< int >(val3
);
4966 (arg1
)->IncBy(arg2
,arg3
);
4967 if (PyErr_Occurred()) SWIG_fail
;
4969 resultobj
= SWIG_Py_Void();
4976 SWIGINTERN PyObject
*_wrap_Size_DecBy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4977 PyObject
*resultobj
= 0;
4978 wxSize
*arg1
= (wxSize
*) 0 ;
4987 PyObject
* obj0
= 0 ;
4988 PyObject
* obj1
= 0 ;
4989 PyObject
* obj2
= 0 ;
4990 char * kwnames
[] = {
4991 (char *) "self",(char *) "dx",(char *) "dy", NULL
4994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_DecBy",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4996 if (!SWIG_IsOK(res1
)) {
4997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_DecBy" "', expected argument " "1"" of type '" "wxSize *""'");
4999 arg1
= reinterpret_cast< wxSize
* >(argp1
);
5000 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5001 if (!SWIG_IsOK(ecode2
)) {
5002 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Size_DecBy" "', expected argument " "2"" of type '" "int""'");
5004 arg2
= static_cast< int >(val2
);
5005 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5006 if (!SWIG_IsOK(ecode3
)) {
5007 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Size_DecBy" "', expected argument " "3"" of type '" "int""'");
5009 arg3
= static_cast< int >(val3
);
5011 (arg1
)->DecBy(arg2
,arg3
);
5012 if (PyErr_Occurred()) SWIG_fail
;
5014 resultobj
= SWIG_Py_Void();
5021 SWIGINTERN PyObject
*_wrap_Size_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5022 PyObject
*resultobj
= 0;
5023 wxSize
*arg1
= (wxSize
*) 0 ;
5032 PyObject
* obj0
= 0 ;
5033 PyObject
* obj1
= 0 ;
5034 PyObject
* obj2
= 0 ;
5035 char * kwnames
[] = {
5036 (char *) "self",(char *) "xscale",(char *) "yscale", NULL
5039 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5040 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
5041 if (!SWIG_IsOK(res1
)) {
5042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_Scale" "', expected argument " "1"" of type '" "wxSize *""'");
5044 arg1
= reinterpret_cast< wxSize
* >(argp1
);
5045 ecode2
= SWIG_AsVal_float(obj1
, &val2
);
5046 if (!SWIG_IsOK(ecode2
)) {
5047 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Size_Scale" "', expected argument " "2"" of type '" "float""'");
5049 arg2
= static_cast< float >(val2
);
5050 ecode3
= SWIG_AsVal_float(obj2
, &val3
);
5051 if (!SWIG_IsOK(ecode3
)) {
5052 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Size_Scale" "', expected argument " "3"" of type '" "float""'");
5054 arg3
= static_cast< float >(val3
);
5056 (arg1
)->Scale(arg2
,arg3
);
5057 if (PyErr_Occurred()) SWIG_fail
;
5059 resultobj
= SWIG_Py_Void();
5066 SWIGINTERN PyObject
*_wrap_Size_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5067 PyObject
*resultobj
= 0;
5068 wxSize
*arg1
= (wxSize
*) 0 ;
5077 PyObject
* obj0
= 0 ;
5078 PyObject
* obj1
= 0 ;
5079 PyObject
* obj2
= 0 ;
5080 char * kwnames
[] = {
5081 (char *) "self",(char *) "w",(char *) "h", NULL
5084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_Set",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5085 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
5086 if (!SWIG_IsOK(res1
)) {
5087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_Set" "', expected argument " "1"" of type '" "wxSize *""'");
5089 arg1
= reinterpret_cast< wxSize
* >(argp1
);
5090 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5091 if (!SWIG_IsOK(ecode2
)) {
5092 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Size_Set" "', expected argument " "2"" of type '" "int""'");
5094 arg2
= static_cast< int >(val2
);
5095 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5096 if (!SWIG_IsOK(ecode3
)) {
5097 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Size_Set" "', expected argument " "3"" of type '" "int""'");
5099 arg3
= static_cast< int >(val3
);
5101 (arg1
)->Set(arg2
,arg3
);
5102 if (PyErr_Occurred()) SWIG_fail
;
5104 resultobj
= SWIG_Py_Void();
5111 SWIGINTERN PyObject
*_wrap_Size_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5112 PyObject
*resultobj
= 0;
5113 wxSize
*arg1
= (wxSize
*) 0 ;
5119 PyObject
* obj0
= 0 ;
5120 PyObject
* obj1
= 0 ;
5121 char * kwnames
[] = {
5122 (char *) "self",(char *) "w", NULL
5125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5126 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
5127 if (!SWIG_IsOK(res1
)) {
5128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_SetWidth" "', expected argument " "1"" of type '" "wxSize *""'");
5130 arg1
= reinterpret_cast< wxSize
* >(argp1
);
5131 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5132 if (!SWIG_IsOK(ecode2
)) {
5133 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Size_SetWidth" "', expected argument " "2"" of type '" "int""'");
5135 arg2
= static_cast< int >(val2
);
5137 (arg1
)->SetWidth(arg2
);
5138 if (PyErr_Occurred()) SWIG_fail
;
5140 resultobj
= SWIG_Py_Void();
5147 SWIGINTERN PyObject
*_wrap_Size_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5148 PyObject
*resultobj
= 0;
5149 wxSize
*arg1
= (wxSize
*) 0 ;
5155 PyObject
* obj0
= 0 ;
5156 PyObject
* obj1
= 0 ;
5157 char * kwnames
[] = {
5158 (char *) "self",(char *) "h", NULL
5161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5162 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
5163 if (!SWIG_IsOK(res1
)) {
5164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_SetHeight" "', expected argument " "1"" of type '" "wxSize *""'");
5166 arg1
= reinterpret_cast< wxSize
* >(argp1
);
5167 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5168 if (!SWIG_IsOK(ecode2
)) {
5169 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Size_SetHeight" "', expected argument " "2"" of type '" "int""'");
5171 arg2
= static_cast< int >(val2
);
5173 (arg1
)->SetHeight(arg2
);
5174 if (PyErr_Occurred()) SWIG_fail
;
5176 resultobj
= SWIG_Py_Void();
5183 SWIGINTERN PyObject
*_wrap_Size_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5184 PyObject
*resultobj
= 0;
5185 wxSize
*arg1
= (wxSize
*) 0 ;
5189 PyObject
*swig_obj
[1] ;
5191 if (!args
) SWIG_fail
;
5193 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
5194 if (!SWIG_IsOK(res1
)) {
5195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_GetWidth" "', expected argument " "1"" of type '" "wxSize const *""'");
5197 arg1
= reinterpret_cast< wxSize
* >(argp1
);
5199 result
= (int)((wxSize
const *)arg1
)->GetWidth();
5200 if (PyErr_Occurred()) SWIG_fail
;
5202 resultobj
= SWIG_From_int(static_cast< int >(result
));
5209 SWIGINTERN PyObject
*_wrap_Size_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5210 PyObject
*resultobj
= 0;
5211 wxSize
*arg1
= (wxSize
*) 0 ;
5215 PyObject
*swig_obj
[1] ;
5217 if (!args
) SWIG_fail
;
5219 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
5220 if (!SWIG_IsOK(res1
)) {
5221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_GetHeight" "', expected argument " "1"" of type '" "wxSize const *""'");
5223 arg1
= reinterpret_cast< wxSize
* >(argp1
);
5225 result
= (int)((wxSize
const *)arg1
)->GetHeight();
5226 if (PyErr_Occurred()) SWIG_fail
;
5228 resultobj
= SWIG_From_int(static_cast< int >(result
));
5235 SWIGINTERN PyObject
*_wrap_Size_IsFullySpecified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5236 PyObject
*resultobj
= 0;
5237 wxSize
*arg1
= (wxSize
*) 0 ;
5241 PyObject
*swig_obj
[1] ;
5243 if (!args
) SWIG_fail
;
5245 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
5246 if (!SWIG_IsOK(res1
)) {
5247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_IsFullySpecified" "', expected argument " "1"" of type '" "wxSize const *""'");
5249 arg1
= reinterpret_cast< wxSize
* >(argp1
);
5251 result
= (bool)((wxSize
const *)arg1
)->IsFullySpecified();
5252 if (PyErr_Occurred()) SWIG_fail
;
5255 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5263 SWIGINTERN PyObject
*_wrap_Size_SetDefaults(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5264 PyObject
*resultobj
= 0;
5265 wxSize
*arg1
= (wxSize
*) 0 ;
5270 PyObject
* obj0
= 0 ;
5271 PyObject
* obj1
= 0 ;
5272 char * kwnames
[] = {
5273 (char *) "self",(char *) "size", NULL
5276 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetDefaults",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5277 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
5278 if (!SWIG_IsOK(res1
)) {
5279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_SetDefaults" "', expected argument " "1"" of type '" "wxSize *""'");
5281 arg1
= reinterpret_cast< wxSize
* >(argp1
);
5284 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5287 (arg1
)->SetDefaults((wxSize
const &)*arg2
);
5288 if (PyErr_Occurred()) SWIG_fail
;
5290 resultobj
= SWIG_Py_Void();
5297 SWIGINTERN PyObject
*_wrap_Size_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5298 PyObject
*resultobj
= 0;
5299 wxSize
*arg1
= (wxSize
*) 0 ;
5300 PyObject
*result
= 0 ;
5303 PyObject
*swig_obj
[1] ;
5305 if (!args
) SWIG_fail
;
5307 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
5308 if (!SWIG_IsOK(res1
)) {
5309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_Get" "', expected argument " "1"" of type '" "wxSize *""'");
5311 arg1
= reinterpret_cast< wxSize
* >(argp1
);
5313 result
= (PyObject
*)wxSize_Get(arg1
);
5314 if (PyErr_Occurred()) SWIG_fail
;
5323 SWIGINTERN PyObject
*Size_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5325 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5326 SWIG_TypeNewClientData(SWIGTYPE_p_wxSize
, SWIG_NewClientData(obj
));
5327 return SWIG_Py_Void();
5330 SWIGINTERN PyObject
*Size_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5331 return SWIG_Python_InitShadowInstance(args
);
5334 SWIGINTERN PyObject
*_wrap_RealPoint_x_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_x_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_x_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_x_set" "', expected argument " "2"" of type '" "double""'");
5354 arg2
= static_cast< double >(val2
);
5355 if (arg1
) (arg1
)->x
= arg2
;
5357 resultobj
= SWIG_Py_Void();
5364 SWIGINTERN PyObject
*_wrap_RealPoint_x_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_x_get" "', expected argument " "1"" of type '" "wxRealPoint *""'");
5378 arg1
= reinterpret_cast< wxRealPoint
* >(argp1
);
5379 result
= (double) ((arg1
)->x
);
5380 resultobj
= SWIG_From_double(static_cast< double >(result
));
5387 SWIGINTERN PyObject
*_wrap_RealPoint_y_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5388 PyObject
*resultobj
= 0;
5389 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
5395 PyObject
*swig_obj
[2] ;
5397 if (!SWIG_Python_UnpackTuple(args
,"RealPoint_y_set",2,2,swig_obj
)) SWIG_fail
;
5398 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRealPoint
, 0 | 0 );
5399 if (!SWIG_IsOK(res1
)) {
5400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RealPoint_y_set" "', expected argument " "1"" of type '" "wxRealPoint *""'");
5402 arg1
= reinterpret_cast< wxRealPoint
* >(argp1
);
5403 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
5404 if (!SWIG_IsOK(ecode2
)) {
5405 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RealPoint_y_set" "', expected argument " "2"" of type '" "double""'");
5407 arg2
= static_cast< double >(val2
);
5408 if (arg1
) (arg1
)->y
= arg2
;
5410 resultobj
= SWIG_Py_Void();
5417 SWIGINTERN PyObject
*_wrap_RealPoint_y_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5418 PyObject
*resultobj
= 0;
5419 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
5423 PyObject
*swig_obj
[1] ;
5425 if (!args
) SWIG_fail
;
5427 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRealPoint
, 0 | 0 );
5428 if (!SWIG_IsOK(res1
)) {
5429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RealPoint_y_get" "', expected argument " "1"" of type '" "wxRealPoint *""'");
5431 arg1
= reinterpret_cast< wxRealPoint
* >(argp1
);
5432 result
= (double) ((arg1
)->y
);
5433 resultobj
= SWIG_From_double(static_cast< double >(result
));
5440 SWIGINTERN PyObject
*_wrap_new_RealPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5441 PyObject
*resultobj
= 0;
5442 double arg1
= (double) 0.0 ;
5443 double arg2
= (double) 0.0 ;
5444 wxRealPoint
*result
= 0 ;
5449 PyObject
* obj0
= 0 ;
5450 PyObject
* obj1
= 0 ;
5451 char * kwnames
[] = {
5452 (char *) "x",(char *) "y", NULL
5455 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RealPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5457 ecode1
= SWIG_AsVal_double(obj0
, &val1
);
5458 if (!SWIG_IsOK(ecode1
)) {
5459 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RealPoint" "', expected argument " "1"" of type '" "double""'");
5461 arg1
= static_cast< double >(val1
);
5464 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
5465 if (!SWIG_IsOK(ecode2
)) {
5466 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RealPoint" "', expected argument " "2"" of type '" "double""'");
5468 arg2
= static_cast< double >(val2
);
5471 result
= (wxRealPoint
*)new wxRealPoint(arg1
,arg2
);
5472 if (PyErr_Occurred()) SWIG_fail
;
5474 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_NEW
| 0 );
5481 SWIGINTERN PyObject
*_wrap_delete_RealPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5482 PyObject
*resultobj
= 0;
5483 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
5486 PyObject
*swig_obj
[1] ;
5488 if (!args
) SWIG_fail
;
5490 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_DISOWN
| 0 );
5491 if (!SWIG_IsOK(res1
)) {
5492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RealPoint" "', expected argument " "1"" of type '" "wxRealPoint *""'");
5494 arg1
= reinterpret_cast< wxRealPoint
* >(argp1
);
5498 if (PyErr_Occurred()) SWIG_fail
;
5500 resultobj
= SWIG_Py_Void();
5507 SWIGINTERN PyObject
*_wrap_RealPoint___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5508 PyObject
*resultobj
= 0;
5509 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
5510 PyObject
*arg2
= (PyObject
*) 0 ;
5514 PyObject
* obj0
= 0 ;
5515 PyObject
* obj1
= 0 ;
5516 char * kwnames
[] = {
5517 (char *) "self",(char *) "other", NULL
5520 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5521 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRealPoint
, 0 | 0 );
5522 if (!SWIG_IsOK(res1
)) {
5523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RealPoint___eq__" "', expected argument " "1"" of type '" "wxRealPoint *""'");
5525 arg1
= reinterpret_cast< wxRealPoint
* >(argp1
);
5528 result
= (bool)wxRealPoint___eq__(arg1
,arg2
);
5529 if (PyErr_Occurred()) SWIG_fail
;
5532 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5540 SWIGINTERN PyObject
*_wrap_RealPoint___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5541 PyObject
*resultobj
= 0;
5542 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
5543 PyObject
*arg2
= (PyObject
*) 0 ;
5547 PyObject
* obj0
= 0 ;
5548 PyObject
* obj1
= 0 ;
5549 char * kwnames
[] = {
5550 (char *) "self",(char *) "other", NULL
5553 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5554 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRealPoint
, 0 | 0 );
5555 if (!SWIG_IsOK(res1
)) {
5556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RealPoint___ne__" "', expected argument " "1"" of type '" "wxRealPoint *""'");
5558 arg1
= reinterpret_cast< wxRealPoint
* >(argp1
);
5561 result
= (bool)wxRealPoint___ne__(arg1
,arg2
);
5562 if (PyErr_Occurred()) SWIG_fail
;
5565 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5573 SWIGINTERN PyObject
*_wrap_RealPoint___add__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5574 PyObject
*resultobj
= 0;
5575 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
5576 wxRealPoint
*arg2
= 0 ;
5581 PyObject
* obj0
= 0 ;
5582 PyObject
* obj1
= 0 ;
5583 char * kwnames
[] = {
5584 (char *) "self",(char *) "pt", NULL
5587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___add__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRealPoint
, 0 | 0 );
5589 if (!SWIG_IsOK(res1
)) {
5590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RealPoint___add__" "', expected argument " "1"" of type '" "wxRealPoint *""'");
5592 arg1
= reinterpret_cast< wxRealPoint
* >(argp1
);
5595 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5598 result
= (arg1
)->operator +((wxRealPoint
const &)*arg2
);
5599 if (PyErr_Occurred()) SWIG_fail
;
5601 resultobj
= SWIG_NewPointerObj((new wxRealPoint(static_cast< const wxRealPoint
& >(result
))), SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_OWN
| 0 );
5608 SWIGINTERN PyObject
*_wrap_RealPoint___sub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5609 PyObject
*resultobj
= 0;
5610 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
5611 wxRealPoint
*arg2
= 0 ;
5616 PyObject
* obj0
= 0 ;
5617 PyObject
* obj1
= 0 ;
5618 char * kwnames
[] = {
5619 (char *) "self",(char *) "pt", NULL
5622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___sub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRealPoint
, 0 | 0 );
5624 if (!SWIG_IsOK(res1
)) {
5625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RealPoint___sub__" "', expected argument " "1"" of type '" "wxRealPoint *""'");
5627 arg1
= reinterpret_cast< wxRealPoint
* >(argp1
);
5630 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5633 result
= (arg1
)->operator -((wxRealPoint
const &)*arg2
);
5634 if (PyErr_Occurred()) SWIG_fail
;
5636 resultobj
= SWIG_NewPointerObj((new wxRealPoint(static_cast< const wxRealPoint
& >(result
))), SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_OWN
| 0 );
5643 SWIGINTERN PyObject
*_wrap_RealPoint_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5644 PyObject
*resultobj
= 0;
5645 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
5654 PyObject
* obj0
= 0 ;
5655 PyObject
* obj1
= 0 ;
5656 PyObject
* obj2
= 0 ;
5657 char * kwnames
[] = {
5658 (char *) "self",(char *) "x",(char *) "y", NULL
5661 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RealPoint_Set",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5662 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRealPoint
, 0 | 0 );
5663 if (!SWIG_IsOK(res1
)) {
5664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RealPoint_Set" "', expected argument " "1"" of type '" "wxRealPoint *""'");
5666 arg1
= reinterpret_cast< wxRealPoint
* >(argp1
);
5667 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
5668 if (!SWIG_IsOK(ecode2
)) {
5669 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RealPoint_Set" "', expected argument " "2"" of type '" "double""'");
5671 arg2
= static_cast< double >(val2
);
5672 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
5673 if (!SWIG_IsOK(ecode3
)) {
5674 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RealPoint_Set" "', expected argument " "3"" of type '" "double""'");
5676 arg3
= static_cast< double >(val3
);
5678 wxRealPoint_Set(arg1
,arg2
,arg3
);
5679 if (PyErr_Occurred()) SWIG_fail
;
5681 resultobj
= SWIG_Py_Void();
5688 SWIGINTERN PyObject
*_wrap_RealPoint_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5689 PyObject
*resultobj
= 0;
5690 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
5691 PyObject
*result
= 0 ;
5694 PyObject
*swig_obj
[1] ;
5696 if (!args
) SWIG_fail
;
5698 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRealPoint
, 0 | 0 );
5699 if (!SWIG_IsOK(res1
)) {
5700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RealPoint_Get" "', expected argument " "1"" of type '" "wxRealPoint *""'");
5702 arg1
= reinterpret_cast< wxRealPoint
* >(argp1
);
5704 result
= (PyObject
*)wxRealPoint_Get(arg1
);
5705 if (PyErr_Occurred()) SWIG_fail
;
5714 SWIGINTERN PyObject
*RealPoint_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5716 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5717 SWIG_TypeNewClientData(SWIGTYPE_p_wxRealPoint
, SWIG_NewClientData(obj
));
5718 return SWIG_Py_Void();
5721 SWIGINTERN PyObject
*RealPoint_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5722 return SWIG_Python_InitShadowInstance(args
);
5725 SWIGINTERN PyObject
*_wrap_Point_x_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5726 PyObject
*resultobj
= 0;
5727 wxPoint
*arg1
= (wxPoint
*) 0 ;
5733 PyObject
*swig_obj
[2] ;
5735 if (!SWIG_Python_UnpackTuple(args
,"Point_x_set",2,2,swig_obj
)) SWIG_fail
;
5736 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint
, 0 | 0 );
5737 if (!SWIG_IsOK(res1
)) {
5738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point_x_set" "', expected argument " "1"" of type '" "wxPoint *""'");
5740 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
5741 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
5742 if (!SWIG_IsOK(ecode2
)) {
5743 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Point_x_set" "', expected argument " "2"" of type '" "int""'");
5745 arg2
= static_cast< int >(val2
);
5746 if (arg1
) (arg1
)->x
= arg2
;
5748 resultobj
= SWIG_Py_Void();
5755 SWIGINTERN PyObject
*_wrap_Point_x_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5756 PyObject
*resultobj
= 0;
5757 wxPoint
*arg1
= (wxPoint
*) 0 ;
5761 PyObject
*swig_obj
[1] ;
5763 if (!args
) SWIG_fail
;
5765 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint
, 0 | 0 );
5766 if (!SWIG_IsOK(res1
)) {
5767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point_x_get" "', expected argument " "1"" of type '" "wxPoint *""'");
5769 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
5770 result
= (int) ((arg1
)->x
);
5771 resultobj
= SWIG_From_int(static_cast< int >(result
));
5778 SWIGINTERN PyObject
*_wrap_Point_y_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5779 PyObject
*resultobj
= 0;
5780 wxPoint
*arg1
= (wxPoint
*) 0 ;
5786 PyObject
*swig_obj
[2] ;
5788 if (!SWIG_Python_UnpackTuple(args
,"Point_y_set",2,2,swig_obj
)) SWIG_fail
;
5789 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint
, 0 | 0 );
5790 if (!SWIG_IsOK(res1
)) {
5791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point_y_set" "', expected argument " "1"" of type '" "wxPoint *""'");
5793 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
5794 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
5795 if (!SWIG_IsOK(ecode2
)) {
5796 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Point_y_set" "', expected argument " "2"" of type '" "int""'");
5798 arg2
= static_cast< int >(val2
);
5799 if (arg1
) (arg1
)->y
= arg2
;
5801 resultobj
= SWIG_Py_Void();
5808 SWIGINTERN PyObject
*_wrap_Point_y_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5809 PyObject
*resultobj
= 0;
5810 wxPoint
*arg1
= (wxPoint
*) 0 ;
5814 PyObject
*swig_obj
[1] ;
5816 if (!args
) SWIG_fail
;
5818 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint
, 0 | 0 );
5819 if (!SWIG_IsOK(res1
)) {
5820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point_y_get" "', expected argument " "1"" of type '" "wxPoint *""'");
5822 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
5823 result
= (int) ((arg1
)->y
);
5824 resultobj
= SWIG_From_int(static_cast< int >(result
));
5831 SWIGINTERN PyObject
*_wrap_new_Point(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5832 PyObject
*resultobj
= 0;
5833 int arg1
= (int) 0 ;
5834 int arg2
= (int) 0 ;
5835 wxPoint
*result
= 0 ;
5840 PyObject
* obj0
= 0 ;
5841 PyObject
* obj1
= 0 ;
5842 char * kwnames
[] = {
5843 (char *) "x",(char *) "y", NULL
5846 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5848 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5849 if (!SWIG_IsOK(ecode1
)) {
5850 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Point" "', expected argument " "1"" of type '" "int""'");
5852 arg1
= static_cast< int >(val1
);
5855 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5856 if (!SWIG_IsOK(ecode2
)) {
5857 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Point" "', expected argument " "2"" of type '" "int""'");
5859 arg2
= static_cast< int >(val2
);
5862 result
= (wxPoint
*)new wxPoint(arg1
,arg2
);
5863 if (PyErr_Occurred()) SWIG_fail
;
5865 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, SWIG_POINTER_NEW
| 0 );
5872 SWIGINTERN PyObject
*_wrap_delete_Point(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5873 PyObject
*resultobj
= 0;
5874 wxPoint
*arg1
= (wxPoint
*) 0 ;
5877 PyObject
*swig_obj
[1] ;
5879 if (!args
) SWIG_fail
;
5881 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint
, SWIG_POINTER_DISOWN
| 0 );
5882 if (!SWIG_IsOK(res1
)) {
5883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Point" "', expected argument " "1"" of type '" "wxPoint *""'");
5885 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
5889 if (PyErr_Occurred()) SWIG_fail
;
5891 resultobj
= SWIG_Py_Void();
5898 SWIGINTERN PyObject
*_wrap_Point___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5899 PyObject
*resultobj
= 0;
5900 wxPoint
*arg1
= (wxPoint
*) 0 ;
5901 PyObject
*arg2
= (PyObject
*) 0 ;
5905 PyObject
* obj0
= 0 ;
5906 PyObject
* obj1
= 0 ;
5907 char * kwnames
[] = {
5908 (char *) "self",(char *) "other", NULL
5911 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5912 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint
, 0 | 0 );
5913 if (!SWIG_IsOK(res1
)) {
5914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point___eq__" "', expected argument " "1"" of type '" "wxPoint *""'");
5916 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
5919 result
= (bool)wxPoint___eq__(arg1
,arg2
);
5920 if (PyErr_Occurred()) SWIG_fail
;
5923 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5931 SWIGINTERN PyObject
*_wrap_Point___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5932 PyObject
*resultobj
= 0;
5933 wxPoint
*arg1
= (wxPoint
*) 0 ;
5934 PyObject
*arg2
= (PyObject
*) 0 ;
5938 PyObject
* obj0
= 0 ;
5939 PyObject
* obj1
= 0 ;
5940 char * kwnames
[] = {
5941 (char *) "self",(char *) "other", NULL
5944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5945 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint
, 0 | 0 );
5946 if (!SWIG_IsOK(res1
)) {
5947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point___ne__" "', expected argument " "1"" of type '" "wxPoint *""'");
5949 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
5952 result
= (bool)wxPoint___ne__(arg1
,arg2
);
5953 if (PyErr_Occurred()) SWIG_fail
;
5956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5964 SWIGINTERN PyObject
*_wrap_Point___add__(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___add__",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___add__" "', expected argument " "1"" of type '" "wxPoint *""'");
5983 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
5986 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5989 result
= (arg1
)->operator +((wxPoint
const &)*arg2
);
5990 if (PyErr_Occurred()) SWIG_fail
;
5992 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
5999 SWIGINTERN PyObject
*_wrap_Point___sub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6000 PyObject
*resultobj
= 0;
6001 wxPoint
*arg1
= (wxPoint
*) 0 ;
6007 PyObject
* obj0
= 0 ;
6008 PyObject
* obj1
= 0 ;
6009 char * kwnames
[] = {
6010 (char *) "self",(char *) "pt", NULL
6013 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___sub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6014 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint
, 0 | 0 );
6015 if (!SWIG_IsOK(res1
)) {
6016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point___sub__" "', expected argument " "1"" of type '" "wxPoint *""'");
6018 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
6021 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6024 result
= (arg1
)->operator -((wxPoint
const &)*arg2
);
6025 if (PyErr_Occurred()) SWIG_fail
;
6027 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
6034 SWIGINTERN PyObject
*_wrap_Point___iadd__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6035 PyObject
*resultobj
= 0;
6036 wxPoint
*arg1
= (wxPoint
*) 0 ;
6038 wxPoint
*result
= 0 ;
6042 PyObject
* obj0
= 0 ;
6043 PyObject
* obj1
= 0 ;
6044 char * kwnames
[] = {
6045 (char *) "self",(char *) "pt", NULL
6048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___iadd__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint
, SWIG_POINTER_DISOWN
| 0 );
6050 if (!SWIG_IsOK(res1
)) {
6051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point___iadd__" "', expected argument " "1"" of type '" "wxPoint *""'");
6053 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
6056 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6060 wxPoint
&_result_ref
= (arg1
)->operator +=((wxPoint
const &)*arg2
);
6061 result
= (wxPoint
*) &_result_ref
;
6063 if (PyErr_Occurred()) SWIG_fail
;
6065 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
6072 SWIGINTERN PyObject
*_wrap_Point___isub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6073 PyObject
*resultobj
= 0;
6074 wxPoint
*arg1
= (wxPoint
*) 0 ;
6076 wxPoint
*result
= 0 ;
6080 PyObject
* obj0
= 0 ;
6081 PyObject
* obj1
= 0 ;
6082 char * kwnames
[] = {
6083 (char *) "self",(char *) "pt", NULL
6086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___isub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6087 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint
, SWIG_POINTER_DISOWN
| 0 );
6088 if (!SWIG_IsOK(res1
)) {
6089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point___isub__" "', expected argument " "1"" of type '" "wxPoint *""'");
6091 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
6094 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6098 wxPoint
&_result_ref
= (arg1
)->operator -=((wxPoint
const &)*arg2
);
6099 result
= (wxPoint
*) &_result_ref
;
6101 if (PyErr_Occurred()) SWIG_fail
;
6103 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
6110 SWIGINTERN PyObject
*_wrap_Point_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6111 PyObject
*resultobj
= 0;
6112 wxPoint
*arg1
= (wxPoint
*) 0 ;
6121 PyObject
* obj0
= 0 ;
6122 PyObject
* obj1
= 0 ;
6123 PyObject
* obj2
= 0 ;
6124 char * kwnames
[] = {
6125 (char *) "self",(char *) "x",(char *) "y", NULL
6128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Point_Set",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6129 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint
, 0 | 0 );
6130 if (!SWIG_IsOK(res1
)) {
6131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point_Set" "', expected argument " "1"" of type '" "wxPoint *""'");
6133 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
6134 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6135 if (!SWIG_IsOK(ecode2
)) {
6136 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Point_Set" "', expected argument " "2"" of type '" "long""'");
6138 arg2
= static_cast< long >(val2
);
6139 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6140 if (!SWIG_IsOK(ecode3
)) {
6141 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Point_Set" "', expected argument " "3"" of type '" "long""'");
6143 arg3
= static_cast< long >(val3
);
6145 wxPoint_Set(arg1
,arg2
,arg3
);
6146 if (PyErr_Occurred()) SWIG_fail
;
6148 resultobj
= SWIG_Py_Void();
6155 SWIGINTERN PyObject
*_wrap_Point_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6156 PyObject
*resultobj
= 0;
6157 wxPoint
*arg1
= (wxPoint
*) 0 ;
6158 PyObject
*result
= 0 ;
6161 PyObject
*swig_obj
[1] ;
6163 if (!args
) SWIG_fail
;
6165 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint
, 0 | 0 );
6166 if (!SWIG_IsOK(res1
)) {
6167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point_Get" "', expected argument " "1"" of type '" "wxPoint *""'");
6169 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
6171 result
= (PyObject
*)wxPoint_Get(arg1
);
6172 if (PyErr_Occurred()) SWIG_fail
;
6181 SWIGINTERN PyObject
*Point_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6183 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6184 SWIG_TypeNewClientData(SWIGTYPE_p_wxPoint
, SWIG_NewClientData(obj
));
6185 return SWIG_Py_Void();
6188 SWIGINTERN PyObject
*Point_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6189 return SWIG_Python_InitShadowInstance(args
);
6192 SWIGINTERN PyObject
*_wrap_new_Rect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6193 PyObject
*resultobj
= 0;
6194 int arg1
= (int) 0 ;
6195 int arg2
= (int) 0 ;
6196 int arg3
= (int) 0 ;
6197 int arg4
= (int) 0 ;
6198 wxRect
*result
= 0 ;
6207 PyObject
* obj0
= 0 ;
6208 PyObject
* obj1
= 0 ;
6209 PyObject
* obj2
= 0 ;
6210 PyObject
* obj3
= 0 ;
6211 char * kwnames
[] = {
6212 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
6215 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Rect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6217 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6218 if (!SWIG_IsOK(ecode1
)) {
6219 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Rect" "', expected argument " "1"" of type '" "int""'");
6221 arg1
= static_cast< int >(val1
);
6224 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6225 if (!SWIG_IsOK(ecode2
)) {
6226 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Rect" "', expected argument " "2"" of type '" "int""'");
6228 arg2
= static_cast< int >(val2
);
6231 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6232 if (!SWIG_IsOK(ecode3
)) {
6233 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Rect" "', expected argument " "3"" of type '" "int""'");
6235 arg3
= static_cast< int >(val3
);
6238 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6239 if (!SWIG_IsOK(ecode4
)) {
6240 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Rect" "', expected argument " "4"" of type '" "int""'");
6242 arg4
= static_cast< int >(val4
);
6245 result
= (wxRect
*)new wxRect(arg1
,arg2
,arg3
,arg4
);
6246 if (PyErr_Occurred()) SWIG_fail
;
6248 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRect
, SWIG_POINTER_NEW
| 0 );
6255 SWIGINTERN PyObject
*_wrap_new_RectPP(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6256 PyObject
*resultobj
= 0;
6259 wxRect
*result
= 0 ;
6262 PyObject
* obj0
= 0 ;
6263 PyObject
* obj1
= 0 ;
6264 char * kwnames
[] = {
6265 (char *) "topLeft",(char *) "bottomRight", NULL
6268 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPP",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6271 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
6275 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6278 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxPoint
const &)*arg2
);
6279 if (PyErr_Occurred()) SWIG_fail
;
6281 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
6288 SWIGINTERN PyObject
*_wrap_new_RectPS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6289 PyObject
*resultobj
= 0;
6292 wxRect
*result
= 0 ;
6295 PyObject
* obj0
= 0 ;
6296 PyObject
* obj1
= 0 ;
6297 char * kwnames
[] = {
6298 (char *) "pos",(char *) "size", NULL
6301 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6304 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
6308 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6311 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxSize
const &)*arg2
);
6312 if (PyErr_Occurred()) SWIG_fail
;
6314 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
6321 SWIGINTERN PyObject
*_wrap_new_RectS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6322 PyObject
*resultobj
= 0;
6324 wxRect
*result
= 0 ;
6326 PyObject
* obj0
= 0 ;
6327 char * kwnames
[] = {
6328 (char *) "size", NULL
6331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RectS",kwnames
,&obj0
)) SWIG_fail
;
6334 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
6337 result
= (wxRect
*)new wxRect((wxSize
const &)*arg1
);
6338 if (PyErr_Occurred()) SWIG_fail
;
6340 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
6347 SWIGINTERN PyObject
*_wrap_delete_Rect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6348 PyObject
*resultobj
= 0;
6349 wxRect
*arg1
= (wxRect
*) 0 ;
6352 PyObject
*swig_obj
[1] ;
6354 if (!args
) SWIG_fail
;
6356 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, SWIG_POINTER_DISOWN
| 0 );
6357 if (!SWIG_IsOK(res1
)) {
6358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Rect" "', expected argument " "1"" of type '" "wxRect *""'");
6360 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6364 if (PyErr_Occurred()) SWIG_fail
;
6366 resultobj
= SWIG_Py_Void();
6373 SWIGINTERN PyObject
*_wrap_Rect_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6374 PyObject
*resultobj
= 0;
6375 wxRect
*arg1
= (wxRect
*) 0 ;
6379 PyObject
*swig_obj
[1] ;
6381 if (!args
) SWIG_fail
;
6383 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6384 if (!SWIG_IsOK(res1
)) {
6385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetX" "', expected argument " "1"" of type '" "wxRect const *""'");
6387 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6389 result
= (int)((wxRect
const *)arg1
)->GetX();
6390 if (PyErr_Occurred()) SWIG_fail
;
6392 resultobj
= SWIG_From_int(static_cast< int >(result
));
6399 SWIGINTERN PyObject
*_wrap_Rect_SetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6400 PyObject
*resultobj
= 0;
6401 wxRect
*arg1
= (wxRect
*) 0 ;
6407 PyObject
* obj0
= 0 ;
6408 PyObject
* obj1
= 0 ;
6409 char * kwnames
[] = {
6410 (char *) "self",(char *) "x", NULL
6413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6414 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6415 if (!SWIG_IsOK(res1
)) {
6416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetX" "', expected argument " "1"" of type '" "wxRect *""'");
6418 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6419 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6420 if (!SWIG_IsOK(ecode2
)) {
6421 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_SetX" "', expected argument " "2"" of type '" "int""'");
6423 arg2
= static_cast< int >(val2
);
6426 if (PyErr_Occurred()) SWIG_fail
;
6428 resultobj
= SWIG_Py_Void();
6435 SWIGINTERN PyObject
*_wrap_Rect_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6436 PyObject
*resultobj
= 0;
6437 wxRect
*arg1
= (wxRect
*) 0 ;
6441 PyObject
*swig_obj
[1] ;
6443 if (!args
) SWIG_fail
;
6445 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6446 if (!SWIG_IsOK(res1
)) {
6447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetY" "', expected argument " "1"" of type '" "wxRect *""'");
6449 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6451 result
= (int)(arg1
)->GetY();
6452 if (PyErr_Occurred()) SWIG_fail
;
6454 resultobj
= SWIG_From_int(static_cast< int >(result
));
6461 SWIGINTERN PyObject
*_wrap_Rect_SetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6462 PyObject
*resultobj
= 0;
6463 wxRect
*arg1
= (wxRect
*) 0 ;
6469 PyObject
* obj0
= 0 ;
6470 PyObject
* obj1
= 0 ;
6471 char * kwnames
[] = {
6472 (char *) "self",(char *) "y", NULL
6475 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6476 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6477 if (!SWIG_IsOK(res1
)) {
6478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetY" "', expected argument " "1"" of type '" "wxRect *""'");
6480 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6481 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6482 if (!SWIG_IsOK(ecode2
)) {
6483 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_SetY" "', expected argument " "2"" of type '" "int""'");
6485 arg2
= static_cast< int >(val2
);
6488 if (PyErr_Occurred()) SWIG_fail
;
6490 resultobj
= SWIG_Py_Void();
6497 SWIGINTERN PyObject
*_wrap_Rect_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6498 PyObject
*resultobj
= 0;
6499 wxRect
*arg1
= (wxRect
*) 0 ;
6503 PyObject
*swig_obj
[1] ;
6505 if (!args
) SWIG_fail
;
6507 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6508 if (!SWIG_IsOK(res1
)) {
6509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetWidth" "', expected argument " "1"" of type '" "wxRect const *""'");
6511 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6513 result
= (int)((wxRect
const *)arg1
)->GetWidth();
6514 if (PyErr_Occurred()) SWIG_fail
;
6516 resultobj
= SWIG_From_int(static_cast< int >(result
));
6523 SWIGINTERN PyObject
*_wrap_Rect_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6524 PyObject
*resultobj
= 0;
6525 wxRect
*arg1
= (wxRect
*) 0 ;
6531 PyObject
* obj0
= 0 ;
6532 PyObject
* obj1
= 0 ;
6533 char * kwnames
[] = {
6534 (char *) "self",(char *) "w", NULL
6537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6538 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6539 if (!SWIG_IsOK(res1
)) {
6540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetWidth" "', expected argument " "1"" of type '" "wxRect *""'");
6542 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6543 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6544 if (!SWIG_IsOK(ecode2
)) {
6545 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_SetWidth" "', expected argument " "2"" of type '" "int""'");
6547 arg2
= static_cast< int >(val2
);
6549 (arg1
)->SetWidth(arg2
);
6550 if (PyErr_Occurred()) SWIG_fail
;
6552 resultobj
= SWIG_Py_Void();
6559 SWIGINTERN PyObject
*_wrap_Rect_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6560 PyObject
*resultobj
= 0;
6561 wxRect
*arg1
= (wxRect
*) 0 ;
6565 PyObject
*swig_obj
[1] ;
6567 if (!args
) SWIG_fail
;
6569 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6570 if (!SWIG_IsOK(res1
)) {
6571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetHeight" "', expected argument " "1"" of type '" "wxRect const *""'");
6573 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6575 result
= (int)((wxRect
const *)arg1
)->GetHeight();
6576 if (PyErr_Occurred()) SWIG_fail
;
6578 resultobj
= SWIG_From_int(static_cast< int >(result
));
6585 SWIGINTERN PyObject
*_wrap_Rect_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6586 PyObject
*resultobj
= 0;
6587 wxRect
*arg1
= (wxRect
*) 0 ;
6593 PyObject
* obj0
= 0 ;
6594 PyObject
* obj1
= 0 ;
6595 char * kwnames
[] = {
6596 (char *) "self",(char *) "h", NULL
6599 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6600 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6601 if (!SWIG_IsOK(res1
)) {
6602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetHeight" "', expected argument " "1"" of type '" "wxRect *""'");
6604 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6605 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6606 if (!SWIG_IsOK(ecode2
)) {
6607 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_SetHeight" "', expected argument " "2"" of type '" "int""'");
6609 arg2
= static_cast< int >(val2
);
6611 (arg1
)->SetHeight(arg2
);
6612 if (PyErr_Occurred()) SWIG_fail
;
6614 resultobj
= SWIG_Py_Void();
6621 SWIGINTERN PyObject
*_wrap_Rect_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6622 PyObject
*resultobj
= 0;
6623 wxRect
*arg1
= (wxRect
*) 0 ;
6627 PyObject
*swig_obj
[1] ;
6629 if (!args
) SWIG_fail
;
6631 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6632 if (!SWIG_IsOK(res1
)) {
6633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetPosition" "', expected argument " "1"" of type '" "wxRect const *""'");
6635 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6637 result
= ((wxRect
const *)arg1
)->GetPosition();
6638 if (PyErr_Occurred()) SWIG_fail
;
6640 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
6647 SWIGINTERN PyObject
*_wrap_Rect_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6648 PyObject
*resultobj
= 0;
6649 wxRect
*arg1
= (wxRect
*) 0 ;
6654 PyObject
* obj0
= 0 ;
6655 PyObject
* obj1
= 0 ;
6656 char * kwnames
[] = {
6657 (char *) "self",(char *) "p", NULL
6660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6661 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6662 if (!SWIG_IsOK(res1
)) {
6663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetPosition" "', expected argument " "1"" of type '" "wxRect *""'");
6665 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6668 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6671 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
6672 if (PyErr_Occurred()) SWIG_fail
;
6674 resultobj
= SWIG_Py_Void();
6681 SWIGINTERN PyObject
*_wrap_Rect_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6682 PyObject
*resultobj
= 0;
6683 wxRect
*arg1
= (wxRect
*) 0 ;
6687 PyObject
*swig_obj
[1] ;
6689 if (!args
) SWIG_fail
;
6691 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6692 if (!SWIG_IsOK(res1
)) {
6693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetSize" "', expected argument " "1"" of type '" "wxRect const *""'");
6695 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6697 result
= ((wxRect
const *)arg1
)->GetSize();
6698 if (PyErr_Occurred()) SWIG_fail
;
6700 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6707 SWIGINTERN PyObject
*_wrap_Rect_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6708 PyObject
*resultobj
= 0;
6709 wxRect
*arg1
= (wxRect
*) 0 ;
6714 PyObject
* obj0
= 0 ;
6715 PyObject
* obj1
= 0 ;
6716 char * kwnames
[] = {
6717 (char *) "self",(char *) "s", NULL
6720 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6721 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6722 if (!SWIG_IsOK(res1
)) {
6723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetSize" "', expected argument " "1"" of type '" "wxRect *""'");
6725 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6728 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6731 (arg1
)->SetSize((wxSize
const &)*arg2
);
6732 if (PyErr_Occurred()) SWIG_fail
;
6734 resultobj
= SWIG_Py_Void();
6741 SWIGINTERN PyObject
*_wrap_Rect_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6742 PyObject
*resultobj
= 0;
6743 wxRect
*arg1
= (wxRect
*) 0 ;
6747 PyObject
*swig_obj
[1] ;
6749 if (!args
) SWIG_fail
;
6751 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6752 if (!SWIG_IsOK(res1
)) {
6753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_IsEmpty" "', expected argument " "1"" of type '" "wxRect const *""'");
6755 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6757 result
= (bool)((wxRect
const *)arg1
)->IsEmpty();
6758 if (PyErr_Occurred()) SWIG_fail
;
6761 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6769 SWIGINTERN PyObject
*_wrap_Rect_GetTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6770 PyObject
*resultobj
= 0;
6771 wxRect
*arg1
= (wxRect
*) 0 ;
6775 PyObject
*swig_obj
[1] ;
6777 if (!args
) SWIG_fail
;
6779 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6780 if (!SWIG_IsOK(res1
)) {
6781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetTopLeft" "', expected argument " "1"" of type '" "wxRect const *""'");
6783 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6785 result
= ((wxRect
const *)arg1
)->GetTopLeft();
6786 if (PyErr_Occurred()) SWIG_fail
;
6788 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
6795 SWIGINTERN PyObject
*_wrap_Rect_SetTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6796 PyObject
*resultobj
= 0;
6797 wxRect
*arg1
= (wxRect
*) 0 ;
6802 PyObject
* obj0
= 0 ;
6803 PyObject
* obj1
= 0 ;
6804 char * kwnames
[] = {
6805 (char *) "self",(char *) "p", NULL
6808 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6809 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6810 if (!SWIG_IsOK(res1
)) {
6811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetTopLeft" "', expected argument " "1"" of type '" "wxRect *""'");
6813 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6816 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6819 (arg1
)->SetTopLeft((wxPoint
const &)*arg2
);
6820 if (PyErr_Occurred()) SWIG_fail
;
6822 resultobj
= SWIG_Py_Void();
6829 SWIGINTERN PyObject
*_wrap_Rect_GetBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6830 PyObject
*resultobj
= 0;
6831 wxRect
*arg1
= (wxRect
*) 0 ;
6835 PyObject
*swig_obj
[1] ;
6837 if (!args
) SWIG_fail
;
6839 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6840 if (!SWIG_IsOK(res1
)) {
6841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetBottomRight" "', expected argument " "1"" of type '" "wxRect const *""'");
6843 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6845 result
= ((wxRect
const *)arg1
)->GetBottomRight();
6846 if (PyErr_Occurred()) SWIG_fail
;
6848 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
6855 SWIGINTERN PyObject
*_wrap_Rect_SetBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6856 PyObject
*resultobj
= 0;
6857 wxRect
*arg1
= (wxRect
*) 0 ;
6862 PyObject
* obj0
= 0 ;
6863 PyObject
* obj1
= 0 ;
6864 char * kwnames
[] = {
6865 (char *) "self",(char *) "p", NULL
6868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6870 if (!SWIG_IsOK(res1
)) {
6871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetBottomRight" "', expected argument " "1"" of type '" "wxRect *""'");
6873 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6876 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6879 (arg1
)->SetBottomRight((wxPoint
const &)*arg2
);
6880 if (PyErr_Occurred()) SWIG_fail
;
6882 resultobj
= SWIG_Py_Void();
6889 SWIGINTERN PyObject
*_wrap_Rect_GetTopRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6890 PyObject
*resultobj
= 0;
6891 wxRect
*arg1
= (wxRect
*) 0 ;
6895 PyObject
*swig_obj
[1] ;
6897 if (!args
) SWIG_fail
;
6899 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6900 if (!SWIG_IsOK(res1
)) {
6901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetTopRight" "', expected argument " "1"" of type '" "wxRect const *""'");
6903 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6905 result
= ((wxRect
const *)arg1
)->GetTopRight();
6906 if (PyErr_Occurred()) SWIG_fail
;
6908 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
6915 SWIGINTERN PyObject
*_wrap_Rect_SetTopRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6916 PyObject
*resultobj
= 0;
6917 wxRect
*arg1
= (wxRect
*) 0 ;
6922 PyObject
* obj0
= 0 ;
6923 PyObject
* obj1
= 0 ;
6924 char * kwnames
[] = {
6925 (char *) "self",(char *) "p", NULL
6928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTopRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6929 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6930 if (!SWIG_IsOK(res1
)) {
6931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetTopRight" "', expected argument " "1"" of type '" "wxRect *""'");
6933 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6936 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6939 (arg1
)->SetTopRight((wxPoint
const &)*arg2
);
6940 if (PyErr_Occurred()) SWIG_fail
;
6942 resultobj
= SWIG_Py_Void();
6949 SWIGINTERN PyObject
*_wrap_Rect_GetBottomLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6950 PyObject
*resultobj
= 0;
6951 wxRect
*arg1
= (wxRect
*) 0 ;
6955 PyObject
*swig_obj
[1] ;
6957 if (!args
) SWIG_fail
;
6959 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6960 if (!SWIG_IsOK(res1
)) {
6961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetBottomLeft" "', expected argument " "1"" of type '" "wxRect const *""'");
6963 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6965 result
= ((wxRect
const *)arg1
)->GetBottomLeft();
6966 if (PyErr_Occurred()) SWIG_fail
;
6968 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
6975 SWIGINTERN PyObject
*_wrap_Rect_SetBottomLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6976 PyObject
*resultobj
= 0;
6977 wxRect
*arg1
= (wxRect
*) 0 ;
6982 PyObject
* obj0
= 0 ;
6983 PyObject
* obj1
= 0 ;
6984 char * kwnames
[] = {
6985 (char *) "self",(char *) "p", NULL
6988 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottomLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6989 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6990 if (!SWIG_IsOK(res1
)) {
6991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetBottomLeft" "', expected argument " "1"" of type '" "wxRect *""'");
6993 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6996 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6999 (arg1
)->SetBottomLeft((wxPoint
const &)*arg2
);
7000 if (PyErr_Occurred()) SWIG_fail
;
7002 resultobj
= SWIG_Py_Void();
7009 SWIGINTERN PyObject
*_wrap_Rect_GetLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7010 PyObject
*resultobj
= 0;
7011 wxRect
*arg1
= (wxRect
*) 0 ;
7015 PyObject
*swig_obj
[1] ;
7017 if (!args
) SWIG_fail
;
7019 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7020 if (!SWIG_IsOK(res1
)) {
7021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetLeft" "', expected argument " "1"" of type '" "wxRect const *""'");
7023 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7025 result
= (int)((wxRect
const *)arg1
)->GetLeft();
7026 if (PyErr_Occurred()) SWIG_fail
;
7028 resultobj
= SWIG_From_int(static_cast< int >(result
));
7035 SWIGINTERN PyObject
*_wrap_Rect_GetTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7036 PyObject
*resultobj
= 0;
7037 wxRect
*arg1
= (wxRect
*) 0 ;
7041 PyObject
*swig_obj
[1] ;
7043 if (!args
) SWIG_fail
;
7045 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7046 if (!SWIG_IsOK(res1
)) {
7047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetTop" "', expected argument " "1"" of type '" "wxRect const *""'");
7049 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7051 result
= (int)((wxRect
const *)arg1
)->GetTop();
7052 if (PyErr_Occurred()) SWIG_fail
;
7054 resultobj
= SWIG_From_int(static_cast< int >(result
));
7061 SWIGINTERN PyObject
*_wrap_Rect_GetBottom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7062 PyObject
*resultobj
= 0;
7063 wxRect
*arg1
= (wxRect
*) 0 ;
7067 PyObject
*swig_obj
[1] ;
7069 if (!args
) SWIG_fail
;
7071 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7072 if (!SWIG_IsOK(res1
)) {
7073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetBottom" "', expected argument " "1"" of type '" "wxRect const *""'");
7075 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7077 result
= (int)((wxRect
const *)arg1
)->GetBottom();
7078 if (PyErr_Occurred()) SWIG_fail
;
7080 resultobj
= SWIG_From_int(static_cast< int >(result
));
7087 SWIGINTERN PyObject
*_wrap_Rect_GetRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7088 PyObject
*resultobj
= 0;
7089 wxRect
*arg1
= (wxRect
*) 0 ;
7093 PyObject
*swig_obj
[1] ;
7095 if (!args
) SWIG_fail
;
7097 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7098 if (!SWIG_IsOK(res1
)) {
7099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetRight" "', expected argument " "1"" of type '" "wxRect const *""'");
7101 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7103 result
= (int)((wxRect
const *)arg1
)->GetRight();
7104 if (PyErr_Occurred()) SWIG_fail
;
7106 resultobj
= SWIG_From_int(static_cast< int >(result
));
7113 SWIGINTERN PyObject
*_wrap_Rect_SetLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7114 PyObject
*resultobj
= 0;
7115 wxRect
*arg1
= (wxRect
*) 0 ;
7121 PyObject
* obj0
= 0 ;
7122 PyObject
* obj1
= 0 ;
7123 char * kwnames
[] = {
7124 (char *) "self",(char *) "left", NULL
7127 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7128 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7129 if (!SWIG_IsOK(res1
)) {
7130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetLeft" "', expected argument " "1"" of type '" "wxRect *""'");
7132 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7133 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7134 if (!SWIG_IsOK(ecode2
)) {
7135 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_SetLeft" "', expected argument " "2"" of type '" "int""'");
7137 arg2
= static_cast< int >(val2
);
7139 (arg1
)->SetLeft(arg2
);
7140 if (PyErr_Occurred()) SWIG_fail
;
7142 resultobj
= SWIG_Py_Void();
7149 SWIGINTERN PyObject
*_wrap_Rect_SetRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7150 PyObject
*resultobj
= 0;
7151 wxRect
*arg1
= (wxRect
*) 0 ;
7157 PyObject
* obj0
= 0 ;
7158 PyObject
* obj1
= 0 ;
7159 char * kwnames
[] = {
7160 (char *) "self",(char *) "right", NULL
7163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7164 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7165 if (!SWIG_IsOK(res1
)) {
7166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetRight" "', expected argument " "1"" of type '" "wxRect *""'");
7168 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7169 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7170 if (!SWIG_IsOK(ecode2
)) {
7171 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_SetRight" "', expected argument " "2"" of type '" "int""'");
7173 arg2
= static_cast< int >(val2
);
7175 (arg1
)->SetRight(arg2
);
7176 if (PyErr_Occurred()) SWIG_fail
;
7178 resultobj
= SWIG_Py_Void();
7185 SWIGINTERN PyObject
*_wrap_Rect_SetTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7186 PyObject
*resultobj
= 0;
7187 wxRect
*arg1
= (wxRect
*) 0 ;
7193 PyObject
* obj0
= 0 ;
7194 PyObject
* obj1
= 0 ;
7195 char * kwnames
[] = {
7196 (char *) "self",(char *) "top", NULL
7199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7200 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7201 if (!SWIG_IsOK(res1
)) {
7202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetTop" "', expected argument " "1"" of type '" "wxRect *""'");
7204 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7205 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7206 if (!SWIG_IsOK(ecode2
)) {
7207 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_SetTop" "', expected argument " "2"" of type '" "int""'");
7209 arg2
= static_cast< int >(val2
);
7211 (arg1
)->SetTop(arg2
);
7212 if (PyErr_Occurred()) SWIG_fail
;
7214 resultobj
= SWIG_Py_Void();
7221 SWIGINTERN PyObject
*_wrap_Rect_SetBottom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7222 PyObject
*resultobj
= 0;
7223 wxRect
*arg1
= (wxRect
*) 0 ;
7229 PyObject
* obj0
= 0 ;
7230 PyObject
* obj1
= 0 ;
7231 char * kwnames
[] = {
7232 (char *) "self",(char *) "bottom", NULL
7235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7236 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7237 if (!SWIG_IsOK(res1
)) {
7238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetBottom" "', expected argument " "1"" of type '" "wxRect *""'");
7240 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7241 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7242 if (!SWIG_IsOK(ecode2
)) {
7243 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_SetBottom" "', expected argument " "2"" of type '" "int""'");
7245 arg2
= static_cast< int >(val2
);
7247 (arg1
)->SetBottom(arg2
);
7248 if (PyErr_Occurred()) SWIG_fail
;
7250 resultobj
= SWIG_Py_Void();
7257 SWIGINTERN PyObject
*_wrap_Rect_Inflate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7258 PyObject
*resultobj
= 0;
7259 wxRect
*arg1
= (wxRect
*) 0 ;
7269 PyObject
* obj0
= 0 ;
7270 PyObject
* obj1
= 0 ;
7271 PyObject
* obj2
= 0 ;
7272 char * kwnames
[] = {
7273 (char *) "self",(char *) "dx",(char *) "dy", NULL
7276 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Inflate",kwnames
,&obj0
,&obj1
,&obj2
)) 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_Inflate" "', 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_Inflate" "', expected argument " "2"" of type '" "int""'");
7286 arg2
= static_cast< int >(val2
);
7287 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7288 if (!SWIG_IsOK(ecode3
)) {
7289 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Rect_Inflate" "', expected argument " "3"" of type '" "int""'");
7291 arg3
= static_cast< int >(val3
);
7293 result
= (arg1
)->Inflate(arg2
,arg3
);
7294 if (PyErr_Occurred()) SWIG_fail
;
7296 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
7303 SWIGINTERN PyObject
*_wrap_Rect_Deflate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7304 PyObject
*resultobj
= 0;
7305 wxRect
*arg1
= (wxRect
*) 0 ;
7308 wxRect
*result
= 0 ;
7315 PyObject
* obj0
= 0 ;
7316 PyObject
* obj1
= 0 ;
7317 PyObject
* obj2
= 0 ;
7318 char * kwnames
[] = {
7319 (char *) "self",(char *) "dx",(char *) "dy", NULL
7322 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Deflate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7323 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7324 if (!SWIG_IsOK(res1
)) {
7325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_Deflate" "', expected argument " "1"" of type '" "wxRect *""'");
7327 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7328 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7329 if (!SWIG_IsOK(ecode2
)) {
7330 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_Deflate" "', expected argument " "2"" of type '" "int""'");
7332 arg2
= static_cast< int >(val2
);
7333 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7334 if (!SWIG_IsOK(ecode3
)) {
7335 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Rect_Deflate" "', expected argument " "3"" of type '" "int""'");
7337 arg3
= static_cast< int >(val3
);
7340 wxRect
&_result_ref
= (arg1
)->Deflate(arg2
,arg3
);
7341 result
= (wxRect
*) &_result_ref
;
7343 if (PyErr_Occurred()) SWIG_fail
;
7345 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRect
, 0 | 0 );
7352 SWIGINTERN PyObject
*_wrap_Rect_OffsetXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7353 PyObject
*resultobj
= 0;
7354 wxRect
*arg1
= (wxRect
*) 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_OffsetXY",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_OffsetXY" "', 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_OffsetXY" "', 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_OffsetXY" "', expected argument " "3"" of type '" "int""'");
7385 arg3
= static_cast< int >(val3
);
7387 (arg1
)->Offset(arg2
,arg3
);
7388 if (PyErr_Occurred()) SWIG_fail
;
7390 resultobj
= SWIG_Py_Void();
7397 SWIGINTERN PyObject
*_wrap_Rect_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7398 PyObject
*resultobj
= 0;
7399 wxRect
*arg1
= (wxRect
*) 0 ;
7404 PyObject
* obj0
= 0 ;
7405 PyObject
* obj1
= 0 ;
7406 char * kwnames
[] = {
7407 (char *) "self",(char *) "pt", NULL
7410 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Offset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7411 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7412 if (!SWIG_IsOK(res1
)) {
7413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_Offset" "', expected argument " "1"" of type '" "wxRect *""'");
7415 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7418 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
7421 (arg1
)->Offset((wxPoint
const &)*arg2
);
7422 if (PyErr_Occurred()) SWIG_fail
;
7424 resultobj
= SWIG_Py_Void();
7431 SWIGINTERN PyObject
*_wrap_Rect_Intersect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7432 PyObject
*resultobj
= 0;
7433 wxRect
*arg1
= (wxRect
*) 0 ;
7439 PyObject
* obj0
= 0 ;
7440 PyObject
* obj1
= 0 ;
7441 char * kwnames
[] = {
7442 (char *) "self",(char *) "rect", NULL
7445 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7446 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7447 if (!SWIG_IsOK(res1
)) {
7448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_Intersect" "', expected argument " "1"" of type '" "wxRect *""'");
7450 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7453 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7456 result
= (arg1
)->Intersect((wxRect
const &)*arg2
);
7457 if (PyErr_Occurred()) SWIG_fail
;
7459 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
7466 SWIGINTERN PyObject
*_wrap_Rect_Union(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7467 PyObject
*resultobj
= 0;
7468 wxRect
*arg1
= (wxRect
*) 0 ;
7474 PyObject
* obj0
= 0 ;
7475 PyObject
* obj1
= 0 ;
7476 char * kwnames
[] = {
7477 (char *) "self",(char *) "rect", NULL
7480 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Union",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7481 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7482 if (!SWIG_IsOK(res1
)) {
7483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_Union" "', expected argument " "1"" of type '" "wxRect *""'");
7485 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7488 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7491 result
= (arg1
)->Union((wxRect
const &)*arg2
);
7492 if (PyErr_Occurred()) SWIG_fail
;
7494 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
7501 SWIGINTERN PyObject
*_wrap_Rect___add__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7502 PyObject
*resultobj
= 0;
7503 wxRect
*arg1
= (wxRect
*) 0 ;
7509 PyObject
* obj0
= 0 ;
7510 PyObject
* obj1
= 0 ;
7511 char * kwnames
[] = {
7512 (char *) "self",(char *) "rect", NULL
7515 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___add__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7516 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7517 if (!SWIG_IsOK(res1
)) {
7518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect___add__" "', expected argument " "1"" of type '" "wxRect const *""'");
7520 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7523 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7526 result
= ((wxRect
const *)arg1
)->operator +((wxRect
const &)*arg2
);
7527 if (PyErr_Occurred()) SWIG_fail
;
7529 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
7536 SWIGINTERN PyObject
*_wrap_Rect___iadd__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7537 PyObject
*resultobj
= 0;
7538 wxRect
*arg1
= (wxRect
*) 0 ;
7540 wxRect
*result
= 0 ;
7544 PyObject
* obj0
= 0 ;
7545 PyObject
* obj1
= 0 ;
7546 char * kwnames
[] = {
7547 (char *) "self",(char *) "rect", NULL
7550 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___iadd__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7551 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, SWIG_POINTER_DISOWN
| 0 );
7552 if (!SWIG_IsOK(res1
)) {
7553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect___iadd__" "', expected argument " "1"" of type '" "wxRect *""'");
7555 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7558 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7562 wxRect
&_result_ref
= (arg1
)->operator +=((wxRect
const &)*arg2
);
7563 result
= (wxRect
*) &_result_ref
;
7565 if (PyErr_Occurred()) SWIG_fail
;
7567 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
7574 SWIGINTERN PyObject
*_wrap_Rect___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7575 PyObject
*resultobj
= 0;
7576 wxRect
*arg1
= (wxRect
*) 0 ;
7577 PyObject
*arg2
= (PyObject
*) 0 ;
7581 PyObject
* obj0
= 0 ;
7582 PyObject
* obj1
= 0 ;
7583 char * kwnames
[] = {
7584 (char *) "self",(char *) "other", NULL
7587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7589 if (!SWIG_IsOK(res1
)) {
7590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect___eq__" "', expected argument " "1"" of type '" "wxRect *""'");
7592 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7595 result
= (bool)wxRect___eq__(arg1
,arg2
);
7596 if (PyErr_Occurred()) SWIG_fail
;
7599 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7607 SWIGINTERN PyObject
*_wrap_Rect___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7608 PyObject
*resultobj
= 0;
7609 wxRect
*arg1
= (wxRect
*) 0 ;
7610 PyObject
*arg2
= (PyObject
*) 0 ;
7614 PyObject
* obj0
= 0 ;
7615 PyObject
* obj1
= 0 ;
7616 char * kwnames
[] = {
7617 (char *) "self",(char *) "other", NULL
7620 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7621 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7622 if (!SWIG_IsOK(res1
)) {
7623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect___ne__" "', expected argument " "1"" of type '" "wxRect *""'");
7625 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7628 result
= (bool)wxRect___ne__(arg1
,arg2
);
7629 if (PyErr_Occurred()) SWIG_fail
;
7632 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7640 SWIGINTERN PyObject
*_wrap_Rect_ContainsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7641 PyObject
*resultobj
= 0;
7642 wxRect
*arg1
= (wxRect
*) 0 ;
7652 PyObject
* obj0
= 0 ;
7653 PyObject
* obj1
= 0 ;
7654 PyObject
* obj2
= 0 ;
7655 char * kwnames
[] = {
7656 (char *) "self",(char *) "x",(char *) "y", NULL
7659 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_ContainsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7660 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7661 if (!SWIG_IsOK(res1
)) {
7662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_ContainsXY" "', expected argument " "1"" of type '" "wxRect const *""'");
7664 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7665 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7666 if (!SWIG_IsOK(ecode2
)) {
7667 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_ContainsXY" "', expected argument " "2"" of type '" "int""'");
7669 arg2
= static_cast< int >(val2
);
7670 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7671 if (!SWIG_IsOK(ecode3
)) {
7672 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Rect_ContainsXY" "', expected argument " "3"" of type '" "int""'");
7674 arg3
= static_cast< int >(val3
);
7676 result
= (bool)((wxRect
const *)arg1
)->Contains(arg2
,arg3
);
7677 if (PyErr_Occurred()) SWIG_fail
;
7680 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7688 SWIGINTERN PyObject
*_wrap_Rect_Contains(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7689 PyObject
*resultobj
= 0;
7690 wxRect
*arg1
= (wxRect
*) 0 ;
7696 PyObject
* obj0
= 0 ;
7697 PyObject
* obj1
= 0 ;
7698 char * kwnames
[] = {
7699 (char *) "self",(char *) "pt", NULL
7702 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Contains",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7703 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7704 if (!SWIG_IsOK(res1
)) {
7705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_Contains" "', expected argument " "1"" of type '" "wxRect const *""'");
7707 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7710 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
7713 result
= (bool)((wxRect
const *)arg1
)->Contains((wxPoint
const &)*arg2
);
7714 if (PyErr_Occurred()) SWIG_fail
;
7717 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7725 SWIGINTERN PyObject
*_wrap_Rect_ContainsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7726 PyObject
*resultobj
= 0;
7727 wxRect
*arg1
= (wxRect
*) 0 ;
7733 PyObject
* obj0
= 0 ;
7734 PyObject
* obj1
= 0 ;
7735 char * kwnames
[] = {
7736 (char *) "self",(char *) "rect", NULL
7739 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_ContainsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7740 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7741 if (!SWIG_IsOK(res1
)) {
7742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_ContainsRect" "', expected argument " "1"" of type '" "wxRect const *""'");
7744 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7747 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7750 result
= (bool)((wxRect
const *)arg1
)->Contains((wxRect
const &)*arg2
);
7751 if (PyErr_Occurred()) SWIG_fail
;
7754 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7762 SWIGINTERN PyObject
*_wrap_Rect_Intersects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7763 PyObject
*resultobj
= 0;
7764 wxRect
*arg1
= (wxRect
*) 0 ;
7770 PyObject
* obj0
= 0 ;
7771 PyObject
* obj1
= 0 ;
7772 char * kwnames
[] = {
7773 (char *) "self",(char *) "rect", NULL
7776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersects",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7777 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7778 if (!SWIG_IsOK(res1
)) {
7779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_Intersects" "', expected argument " "1"" of type '" "wxRect const *""'");
7781 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7784 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7787 result
= (bool)((wxRect
const *)arg1
)->Intersects((wxRect
const &)*arg2
);
7788 if (PyErr_Occurred()) SWIG_fail
;
7791 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7799 SWIGINTERN PyObject
*_wrap_Rect_CenterIn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7800 PyObject
*resultobj
= 0;
7801 wxRect
*arg1
= (wxRect
*) 0 ;
7803 int arg3
= (int) wxBOTH
;
7810 PyObject
* obj0
= 0 ;
7811 PyObject
* obj1
= 0 ;
7812 PyObject
* obj2
= 0 ;
7813 char * kwnames
[] = {
7814 (char *) "self",(char *) "r",(char *) "dir", NULL
7817 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Rect_CenterIn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7818 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7819 if (!SWIG_IsOK(res1
)) {
7820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_CenterIn" "', expected argument " "1"" of type '" "wxRect *""'");
7822 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7825 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7828 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7829 if (!SWIG_IsOK(ecode3
)) {
7830 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Rect_CenterIn" "', expected argument " "3"" of type '" "int""'");
7832 arg3
= static_cast< int >(val3
);
7835 result
= (arg1
)->CenterIn((wxRect
const &)*arg2
,arg3
);
7836 if (PyErr_Occurred()) SWIG_fail
;
7838 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
7845 SWIGINTERN PyObject
*_wrap_Rect_x_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7846 PyObject
*resultobj
= 0;
7847 wxRect
*arg1
= (wxRect
*) 0 ;
7853 PyObject
*swig_obj
[2] ;
7855 if (!SWIG_Python_UnpackTuple(args
,"Rect_x_set",2,2,swig_obj
)) SWIG_fail
;
7856 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7857 if (!SWIG_IsOK(res1
)) {
7858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_x_set" "', expected argument " "1"" of type '" "wxRect *""'");
7860 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7861 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
7862 if (!SWIG_IsOK(ecode2
)) {
7863 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_x_set" "', expected argument " "2"" of type '" "int""'");
7865 arg2
= static_cast< int >(val2
);
7866 if (arg1
) (arg1
)->x
= arg2
;
7868 resultobj
= SWIG_Py_Void();
7875 SWIGINTERN PyObject
*_wrap_Rect_x_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7876 PyObject
*resultobj
= 0;
7877 wxRect
*arg1
= (wxRect
*) 0 ;
7881 PyObject
*swig_obj
[1] ;
7883 if (!args
) SWIG_fail
;
7885 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7886 if (!SWIG_IsOK(res1
)) {
7887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_x_get" "', expected argument " "1"" of type '" "wxRect *""'");
7889 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7890 result
= (int) ((arg1
)->x
);
7891 resultobj
= SWIG_From_int(static_cast< int >(result
));
7898 SWIGINTERN PyObject
*_wrap_Rect_y_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7899 PyObject
*resultobj
= 0;
7900 wxRect
*arg1
= (wxRect
*) 0 ;
7906 PyObject
*swig_obj
[2] ;
7908 if (!SWIG_Python_UnpackTuple(args
,"Rect_y_set",2,2,swig_obj
)) SWIG_fail
;
7909 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7910 if (!SWIG_IsOK(res1
)) {
7911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_y_set" "', expected argument " "1"" of type '" "wxRect *""'");
7913 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7914 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
7915 if (!SWIG_IsOK(ecode2
)) {
7916 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_y_set" "', expected argument " "2"" of type '" "int""'");
7918 arg2
= static_cast< int >(val2
);
7919 if (arg1
) (arg1
)->y
= arg2
;
7921 resultobj
= SWIG_Py_Void();
7928 SWIGINTERN PyObject
*_wrap_Rect_y_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7929 PyObject
*resultobj
= 0;
7930 wxRect
*arg1
= (wxRect
*) 0 ;
7934 PyObject
*swig_obj
[1] ;
7936 if (!args
) SWIG_fail
;
7938 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7939 if (!SWIG_IsOK(res1
)) {
7940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_y_get" "', expected argument " "1"" of type '" "wxRect *""'");
7942 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7943 result
= (int) ((arg1
)->y
);
7944 resultobj
= SWIG_From_int(static_cast< int >(result
));
7951 SWIGINTERN PyObject
*_wrap_Rect_width_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7952 PyObject
*resultobj
= 0;
7953 wxRect
*arg1
= (wxRect
*) 0 ;
7959 PyObject
*swig_obj
[2] ;
7961 if (!SWIG_Python_UnpackTuple(args
,"Rect_width_set",2,2,swig_obj
)) SWIG_fail
;
7962 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7963 if (!SWIG_IsOK(res1
)) {
7964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_width_set" "', expected argument " "1"" of type '" "wxRect *""'");
7966 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7967 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
7968 if (!SWIG_IsOK(ecode2
)) {
7969 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_width_set" "', expected argument " "2"" of type '" "int""'");
7971 arg2
= static_cast< int >(val2
);
7972 if (arg1
) (arg1
)->width
= arg2
;
7974 resultobj
= SWIG_Py_Void();
7981 SWIGINTERN PyObject
*_wrap_Rect_width_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7982 PyObject
*resultobj
= 0;
7983 wxRect
*arg1
= (wxRect
*) 0 ;
7987 PyObject
*swig_obj
[1] ;
7989 if (!args
) SWIG_fail
;
7991 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7992 if (!SWIG_IsOK(res1
)) {
7993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_width_get" "', expected argument " "1"" of type '" "wxRect *""'");
7995 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7996 result
= (int) ((arg1
)->width
);
7997 resultobj
= SWIG_From_int(static_cast< int >(result
));
8004 SWIGINTERN PyObject
*_wrap_Rect_height_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8005 PyObject
*resultobj
= 0;
8006 wxRect
*arg1
= (wxRect
*) 0 ;
8012 PyObject
*swig_obj
[2] ;
8014 if (!SWIG_Python_UnpackTuple(args
,"Rect_height_set",2,2,swig_obj
)) SWIG_fail
;
8015 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
8016 if (!SWIG_IsOK(res1
)) {
8017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_height_set" "', expected argument " "1"" of type '" "wxRect *""'");
8019 arg1
= reinterpret_cast< wxRect
* >(argp1
);
8020 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
8021 if (!SWIG_IsOK(ecode2
)) {
8022 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_height_set" "', expected argument " "2"" of type '" "int""'");
8024 arg2
= static_cast< int >(val2
);
8025 if (arg1
) (arg1
)->height
= arg2
;
8027 resultobj
= SWIG_Py_Void();
8034 SWIGINTERN PyObject
*_wrap_Rect_height_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8035 PyObject
*resultobj
= 0;
8036 wxRect
*arg1
= (wxRect
*) 0 ;
8040 PyObject
*swig_obj
[1] ;
8042 if (!args
) SWIG_fail
;
8044 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
8045 if (!SWIG_IsOK(res1
)) {
8046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_height_get" "', expected argument " "1"" of type '" "wxRect *""'");
8048 arg1
= reinterpret_cast< wxRect
* >(argp1
);
8049 result
= (int) ((arg1
)->height
);
8050 resultobj
= SWIG_From_int(static_cast< int >(result
));
8057 SWIGINTERN PyObject
*_wrap_Rect_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8058 PyObject
*resultobj
= 0;
8059 wxRect
*arg1
= (wxRect
*) 0 ;
8060 int arg2
= (int) 0 ;
8061 int arg3
= (int) 0 ;
8062 int arg4
= (int) 0 ;
8063 int arg5
= (int) 0 ;
8074 PyObject
* obj0
= 0 ;
8075 PyObject
* obj1
= 0 ;
8076 PyObject
* obj2
= 0 ;
8077 PyObject
* obj3
= 0 ;
8078 PyObject
* obj4
= 0 ;
8079 char * kwnames
[] = {
8080 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
8083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Rect_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8084 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
8085 if (!SWIG_IsOK(res1
)) {
8086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_Set" "', expected argument " "1"" of type '" "wxRect *""'");
8088 arg1
= reinterpret_cast< wxRect
* >(argp1
);
8090 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8091 if (!SWIG_IsOK(ecode2
)) {
8092 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_Set" "', expected argument " "2"" of type '" "int""'");
8094 arg2
= static_cast< int >(val2
);
8097 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8098 if (!SWIG_IsOK(ecode3
)) {
8099 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Rect_Set" "', expected argument " "3"" of type '" "int""'");
8101 arg3
= static_cast< int >(val3
);
8104 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8105 if (!SWIG_IsOK(ecode4
)) {
8106 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Rect_Set" "', expected argument " "4"" of type '" "int""'");
8108 arg4
= static_cast< int >(val4
);
8111 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8112 if (!SWIG_IsOK(ecode5
)) {
8113 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Rect_Set" "', expected argument " "5"" of type '" "int""'");
8115 arg5
= static_cast< int >(val5
);
8118 wxRect_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
8119 if (PyErr_Occurred()) SWIG_fail
;
8121 resultobj
= SWIG_Py_Void();
8128 SWIGINTERN PyObject
*_wrap_Rect_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8129 PyObject
*resultobj
= 0;
8130 wxRect
*arg1
= (wxRect
*) 0 ;
8131 PyObject
*result
= 0 ;
8134 PyObject
*swig_obj
[1] ;
8136 if (!args
) SWIG_fail
;
8138 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
8139 if (!SWIG_IsOK(res1
)) {
8140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_Get" "', expected argument " "1"" of type '" "wxRect *""'");
8142 arg1
= reinterpret_cast< wxRect
* >(argp1
);
8144 result
= (PyObject
*)wxRect_Get(arg1
);
8145 if (PyErr_Occurred()) SWIG_fail
;
8154 SWIGINTERN PyObject
*Rect_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8156 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8157 SWIG_TypeNewClientData(SWIGTYPE_p_wxRect
, SWIG_NewClientData(obj
));
8158 return SWIG_Py_Void();
8161 SWIGINTERN PyObject
*Rect_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8162 return SWIG_Python_InitShadowInstance(args
);
8165 SWIGINTERN PyObject
*_wrap_IntersectRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8166 PyObject
*resultobj
= 0;
8167 wxRect
*arg1
= (wxRect
*) 0 ;
8168 wxRect
*arg2
= (wxRect
*) 0 ;
8169 PyObject
*result
= 0 ;
8174 PyObject
* obj0
= 0 ;
8175 PyObject
* obj1
= 0 ;
8176 char * kwnames
[] = {
8177 (char *) "r1",(char *) "r2", NULL
8180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IntersectRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8181 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
8182 if (!SWIG_IsOK(res1
)) {
8183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IntersectRect" "', expected argument " "1"" of type '" "wxRect *""'");
8185 arg1
= reinterpret_cast< wxRect
* >(argp1
);
8186 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
8187 if (!SWIG_IsOK(res2
)) {
8188 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IntersectRect" "', expected argument " "2"" of type '" "wxRect *""'");
8190 arg2
= reinterpret_cast< wxRect
* >(argp2
);
8192 if (!wxPyCheckForApp()) SWIG_fail
;
8193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8194 result
= (PyObject
*)wxIntersectRect(arg1
,arg2
);
8195 wxPyEndAllowThreads(__tstate
);
8196 if (PyErr_Occurred()) SWIG_fail
;
8205 SWIGINTERN PyObject
*_wrap_new_Point2D(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8206 PyObject
*resultobj
= 0;
8207 double arg1
= (double) 0.0 ;
8208 double arg2
= (double) 0.0 ;
8209 wxPoint2D
*result
= 0 ;
8214 PyObject
* obj0
= 0 ;
8215 PyObject
* obj1
= 0 ;
8216 char * kwnames
[] = {
8217 (char *) "x",(char *) "y", NULL
8220 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point2D",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8222 ecode1
= SWIG_AsVal_double(obj0
, &val1
);
8223 if (!SWIG_IsOK(ecode1
)) {
8224 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Point2D" "', expected argument " "1"" of type '" "double""'");
8226 arg1
= static_cast< double >(val1
);
8229 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
8230 if (!SWIG_IsOK(ecode2
)) {
8231 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Point2D" "', expected argument " "2"" of type '" "double""'");
8233 arg2
= static_cast< double >(val2
);
8236 result
= (wxPoint2D
*)new wxPoint2D(arg1
,arg2
);
8237 if (PyErr_Occurred()) SWIG_fail
;
8239 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_NEW
| 0 );
8246 SWIGINTERN PyObject
*_wrap_new_Point2DCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8247 PyObject
*resultobj
= 0;
8248 wxPoint2D
*arg1
= 0 ;
8249 wxPoint2D
*result
= 0 ;
8251 PyObject
* obj0
= 0 ;
8252 char * kwnames
[] = {
8256 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DCopy",kwnames
,&obj0
)) SWIG_fail
;
8259 if ( ! wxPoint2D_helper(obj0
, &arg1
)) SWIG_fail
;
8262 result
= (wxPoint2D
*)new wxPoint2D((wxPoint2D
const &)*arg1
);
8263 if (PyErr_Occurred()) SWIG_fail
;
8265 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
8272 SWIGINTERN PyObject
*_wrap_new_Point2DFromPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8273 PyObject
*resultobj
= 0;
8275 wxPoint2D
*result
= 0 ;
8277 PyObject
* obj0
= 0 ;
8278 char * kwnames
[] = {
8282 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DFromPoint",kwnames
,&obj0
)) SWIG_fail
;
8285 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
8288 result
= (wxPoint2D
*)new wxPoint2D((wxPoint
const &)*arg1
);
8289 if (PyErr_Occurred()) SWIG_fail
;
8291 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
8298 SWIGINTERN PyObject
*_wrap_delete_Point2D(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8299 PyObject
*resultobj
= 0;
8300 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8303 PyObject
*swig_obj
[1] ;
8305 if (!args
) SWIG_fail
;
8307 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_DISOWN
| 0 );
8308 if (!SWIG_IsOK(res1
)) {
8309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Point2D" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8311 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8315 if (PyErr_Occurred()) SWIG_fail
;
8317 resultobj
= SWIG_Py_Void();
8324 SWIGINTERN PyObject
*_wrap_Point2D_GetFloor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8325 PyObject
*resultobj
= 0;
8326 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8327 int *arg2
= (int *) 0 ;
8328 int *arg3
= (int *) 0 ;
8332 int res2
= SWIG_TMPOBJ
;
8334 int res3
= SWIG_TMPOBJ
;
8335 PyObject
*swig_obj
[1] ;
8339 if (!args
) SWIG_fail
;
8341 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8342 if (!SWIG_IsOK(res1
)) {
8343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_GetFloor" "', expected argument " "1"" of type '" "wxPoint2D const *""'");
8345 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8347 ((wxPoint2D
const *)arg1
)->GetFloor(arg2
,arg3
);
8348 if (PyErr_Occurred()) SWIG_fail
;
8350 resultobj
= SWIG_Py_Void();
8351 if (SWIG_IsTmpObj(res2
)) {
8352 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
8354 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8355 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
8357 if (SWIG_IsTmpObj(res3
)) {
8358 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
8360 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8361 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
8369 SWIGINTERN PyObject
*_wrap_Point2D_GetRounded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8370 PyObject
*resultobj
= 0;
8371 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8372 int *arg2
= (int *) 0 ;
8373 int *arg3
= (int *) 0 ;
8377 int res2
= SWIG_TMPOBJ
;
8379 int res3
= SWIG_TMPOBJ
;
8380 PyObject
*swig_obj
[1] ;
8384 if (!args
) SWIG_fail
;
8386 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8387 if (!SWIG_IsOK(res1
)) {
8388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_GetRounded" "', expected argument " "1"" of type '" "wxPoint2D const *""'");
8390 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8392 ((wxPoint2D
const *)arg1
)->GetRounded(arg2
,arg3
);
8393 if (PyErr_Occurred()) SWIG_fail
;
8395 resultobj
= SWIG_Py_Void();
8396 if (SWIG_IsTmpObj(res2
)) {
8397 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
8399 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8400 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
8402 if (SWIG_IsTmpObj(res3
)) {
8403 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
8405 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8406 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
8414 SWIGINTERN PyObject
*_wrap_Point2D_GetVectorLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8415 PyObject
*resultobj
= 0;
8416 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8420 PyObject
*swig_obj
[1] ;
8422 if (!args
) SWIG_fail
;
8424 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8425 if (!SWIG_IsOK(res1
)) {
8426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_GetVectorLength" "', expected argument " "1"" of type '" "wxPoint2D const *""'");
8428 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8430 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorLength();
8431 if (PyErr_Occurred()) SWIG_fail
;
8433 resultobj
= SWIG_From_double(static_cast< double >(result
));
8440 SWIGINTERN PyObject
*_wrap_Point2D_GetVectorAngle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8441 PyObject
*resultobj
= 0;
8442 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8446 PyObject
*swig_obj
[1] ;
8448 if (!args
) SWIG_fail
;
8450 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8451 if (!SWIG_IsOK(res1
)) {
8452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_GetVectorAngle" "', expected argument " "1"" of type '" "wxPoint2D const *""'");
8454 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8456 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorAngle();
8457 if (PyErr_Occurred()) SWIG_fail
;
8459 resultobj
= SWIG_From_double(static_cast< double >(result
));
8466 SWIGINTERN PyObject
*_wrap_Point2D_SetVectorLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8467 PyObject
*resultobj
= 0;
8468 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8474 PyObject
* obj0
= 0 ;
8475 PyObject
* obj1
= 0 ;
8476 char * kwnames
[] = {
8477 (char *) "self",(char *) "length", NULL
8480 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8481 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8482 if (!SWIG_IsOK(res1
)) {
8483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_SetVectorLength" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8485 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8486 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
8487 if (!SWIG_IsOK(ecode2
)) {
8488 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Point2D_SetVectorLength" "', expected argument " "2"" of type '" "double""'");
8490 arg2
= static_cast< double >(val2
);
8492 (arg1
)->SetVectorLength(arg2
);
8493 if (PyErr_Occurred()) SWIG_fail
;
8495 resultobj
= SWIG_Py_Void();
8502 SWIGINTERN PyObject
*_wrap_Point2D_SetVectorAngle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8503 PyObject
*resultobj
= 0;
8504 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8510 PyObject
* obj0
= 0 ;
8511 PyObject
* obj1
= 0 ;
8512 char * kwnames
[] = {
8513 (char *) "self",(char *) "degrees", NULL
8516 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorAngle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8517 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8518 if (!SWIG_IsOK(res1
)) {
8519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_SetVectorAngle" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8521 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8522 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
8523 if (!SWIG_IsOK(ecode2
)) {
8524 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Point2D_SetVectorAngle" "', expected argument " "2"" of type '" "double""'");
8526 arg2
= static_cast< double >(val2
);
8528 (arg1
)->SetVectorAngle(arg2
);
8529 if (PyErr_Occurred()) SWIG_fail
;
8531 resultobj
= SWIG_Py_Void();
8538 SWIGINTERN PyObject
*_wrap_Point2D_GetDistance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8539 PyObject
*resultobj
= 0;
8540 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8541 wxPoint2D
*arg2
= 0 ;
8546 PyObject
* obj0
= 0 ;
8547 PyObject
* obj1
= 0 ;
8548 char * kwnames
[] = {
8549 (char *) "self",(char *) "pt", NULL
8552 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistance",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8553 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8554 if (!SWIG_IsOK(res1
)) {
8555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_GetDistance" "', expected argument " "1"" of type '" "wxPoint2D const *""'");
8557 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8560 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
8563 result
= (double)((wxPoint2D
const *)arg1
)->GetDistance((wxPoint2D
const &)*arg2
);
8564 if (PyErr_Occurred()) SWIG_fail
;
8566 resultobj
= SWIG_From_double(static_cast< double >(result
));
8573 SWIGINTERN PyObject
*_wrap_Point2D_GetDistanceSquare(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8574 PyObject
*resultobj
= 0;
8575 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8576 wxPoint2D
*arg2
= 0 ;
8581 PyObject
* obj0
= 0 ;
8582 PyObject
* obj1
= 0 ;
8583 char * kwnames
[] = {
8584 (char *) "self",(char *) "pt", NULL
8587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistanceSquare",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8589 if (!SWIG_IsOK(res1
)) {
8590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_GetDistanceSquare" "', expected argument " "1"" of type '" "wxPoint2D const *""'");
8592 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8595 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
8598 result
= (double)((wxPoint2D
const *)arg1
)->GetDistanceSquare((wxPoint2D
const &)*arg2
);
8599 if (PyErr_Occurred()) SWIG_fail
;
8601 resultobj
= SWIG_From_double(static_cast< double >(result
));
8608 SWIGINTERN PyObject
*_wrap_Point2D_GetDotProduct(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8609 PyObject
*resultobj
= 0;
8610 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8611 wxPoint2D
*arg2
= 0 ;
8616 PyObject
* obj0
= 0 ;
8617 PyObject
* obj1
= 0 ;
8618 char * kwnames
[] = {
8619 (char *) "self",(char *) "vec", NULL
8622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDotProduct",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8624 if (!SWIG_IsOK(res1
)) {
8625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_GetDotProduct" "', expected argument " "1"" of type '" "wxPoint2D const *""'");
8627 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8630 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
8633 result
= (double)((wxPoint2D
const *)arg1
)->GetDotProduct((wxPoint2D
const &)*arg2
);
8634 if (PyErr_Occurred()) SWIG_fail
;
8636 resultobj
= SWIG_From_double(static_cast< double >(result
));
8643 SWIGINTERN PyObject
*_wrap_Point2D_GetCrossProduct(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8644 PyObject
*resultobj
= 0;
8645 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8646 wxPoint2D
*arg2
= 0 ;
8651 PyObject
* obj0
= 0 ;
8652 PyObject
* obj1
= 0 ;
8653 char * kwnames
[] = {
8654 (char *) "self",(char *) "vec", NULL
8657 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetCrossProduct",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8658 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8659 if (!SWIG_IsOK(res1
)) {
8660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_GetCrossProduct" "', expected argument " "1"" of type '" "wxPoint2D const *""'");
8662 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8665 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
8668 result
= (double)((wxPoint2D
const *)arg1
)->GetCrossProduct((wxPoint2D
const &)*arg2
);
8669 if (PyErr_Occurred()) SWIG_fail
;
8671 resultobj
= SWIG_From_double(static_cast< double >(result
));
8678 SWIGINTERN PyObject
*_wrap_Point2D___neg__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8679 PyObject
*resultobj
= 0;
8680 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8684 PyObject
*swig_obj
[1] ;
8686 if (!args
) SWIG_fail
;
8688 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8689 if (!SWIG_IsOK(res1
)) {
8690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D___neg__" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8692 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8694 result
= (arg1
)->operator -();
8695 if (PyErr_Occurred()) SWIG_fail
;
8697 resultobj
= SWIG_NewPointerObj((new wxPoint2D(static_cast< const wxPoint2D
& >(result
))), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
8704 SWIGINTERN PyObject
*_wrap_Point2D___iadd__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8705 PyObject
*resultobj
= 0;
8706 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8707 wxPoint2D
*arg2
= 0 ;
8708 wxPoint2D
*result
= 0 ;
8712 PyObject
* obj0
= 0 ;
8713 PyObject
* obj1
= 0 ;
8714 char * kwnames
[] = {
8715 (char *) "self",(char *) "pt", NULL
8718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___iadd__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8719 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_DISOWN
| 0 );
8720 if (!SWIG_IsOK(res1
)) {
8721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D___iadd__" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8723 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8726 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
8730 wxPoint2D
&_result_ref
= (arg1
)->operator +=((wxPoint2D
const &)*arg2
);
8731 result
= (wxPoint2D
*) &_result_ref
;
8733 if (PyErr_Occurred()) SWIG_fail
;
8735 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
8742 SWIGINTERN PyObject
*_wrap_Point2D___isub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8743 PyObject
*resultobj
= 0;
8744 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8745 wxPoint2D
*arg2
= 0 ;
8746 wxPoint2D
*result
= 0 ;
8750 PyObject
* obj0
= 0 ;
8751 PyObject
* obj1
= 0 ;
8752 char * kwnames
[] = {
8753 (char *) "self",(char *) "pt", NULL
8756 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___isub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8757 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_DISOWN
| 0 );
8758 if (!SWIG_IsOK(res1
)) {
8759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D___isub__" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8761 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8764 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
8768 wxPoint2D
&_result_ref
= (arg1
)->operator -=((wxPoint2D
const &)*arg2
);
8769 result
= (wxPoint2D
*) &_result_ref
;
8771 if (PyErr_Occurred()) SWIG_fail
;
8773 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
8780 SWIGINTERN PyObject
*_wrap_Point2D___imul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8781 PyObject
*resultobj
= 0;
8782 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8783 wxPoint2D
*arg2
= 0 ;
8784 wxPoint2D
*result
= 0 ;
8788 PyObject
* obj0
= 0 ;
8789 PyObject
* obj1
= 0 ;
8790 char * kwnames
[] = {
8791 (char *) "self",(char *) "pt", NULL
8794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___imul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8795 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_DISOWN
| 0 );
8796 if (!SWIG_IsOK(res1
)) {
8797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D___imul__" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8799 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8802 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
8806 wxPoint2D
&_result_ref
= (arg1
)->operator *=((wxPoint2D
const &)*arg2
);
8807 result
= (wxPoint2D
*) &_result_ref
;
8809 if (PyErr_Occurred()) SWIG_fail
;
8811 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
8818 SWIGINTERN PyObject
*_wrap_Point2D___idiv__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8819 PyObject
*resultobj
= 0;
8820 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8821 wxPoint2D
*arg2
= 0 ;
8822 wxPoint2D
*result
= 0 ;
8826 PyObject
* obj0
= 0 ;
8827 PyObject
* obj1
= 0 ;
8828 char * kwnames
[] = {
8829 (char *) "self",(char *) "pt", NULL
8832 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___idiv__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8833 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_DISOWN
| 0 );
8834 if (!SWIG_IsOK(res1
)) {
8835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D___idiv__" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8837 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8840 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
8844 wxPoint2D
&_result_ref
= (arg1
)->operator /=((wxPoint2D
const &)*arg2
);
8845 result
= (wxPoint2D
*) &_result_ref
;
8847 if (PyErr_Occurred()) SWIG_fail
;
8849 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
8856 SWIGINTERN PyObject
*_wrap_Point2D___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8857 PyObject
*resultobj
= 0;
8858 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8859 PyObject
*arg2
= (PyObject
*) 0 ;
8863 PyObject
* obj0
= 0 ;
8864 PyObject
* obj1
= 0 ;
8865 char * kwnames
[] = {
8866 (char *) "self",(char *) "other", NULL
8869 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8870 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8871 if (!SWIG_IsOK(res1
)) {
8872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D___eq__" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8874 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8877 result
= (bool)wxPoint2D___eq__(arg1
,arg2
);
8878 if (PyErr_Occurred()) SWIG_fail
;
8881 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8889 SWIGINTERN PyObject
*_wrap_Point2D___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8890 PyObject
*resultobj
= 0;
8891 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8892 PyObject
*arg2
= (PyObject
*) 0 ;
8896 PyObject
* obj0
= 0 ;
8897 PyObject
* obj1
= 0 ;
8898 char * kwnames
[] = {
8899 (char *) "self",(char *) "other", NULL
8902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8903 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8904 if (!SWIG_IsOK(res1
)) {
8905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D___ne__" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8907 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8910 result
= (bool)wxPoint2D___ne__(arg1
,arg2
);
8911 if (PyErr_Occurred()) SWIG_fail
;
8914 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8922 SWIGINTERN PyObject
*_wrap_Point2D_x_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8923 PyObject
*resultobj
= 0;
8924 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8930 PyObject
*swig_obj
[2] ;
8932 if (!SWIG_Python_UnpackTuple(args
,"Point2D_x_set",2,2,swig_obj
)) SWIG_fail
;
8933 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8934 if (!SWIG_IsOK(res1
)) {
8935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_x_set" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8937 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8938 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
8939 if (!SWIG_IsOK(ecode2
)) {
8940 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Point2D_x_set" "', expected argument " "2"" of type '" "double""'");
8942 arg2
= static_cast< double >(val2
);
8943 if (arg1
) (arg1
)->m_x
= arg2
;
8945 resultobj
= SWIG_Py_Void();
8952 SWIGINTERN PyObject
*_wrap_Point2D_x_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8953 PyObject
*resultobj
= 0;
8954 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8958 PyObject
*swig_obj
[1] ;
8960 if (!args
) SWIG_fail
;
8962 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8963 if (!SWIG_IsOK(res1
)) {
8964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_x_get" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8966 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8967 result
= (double) ((arg1
)->m_x
);
8968 resultobj
= SWIG_From_double(static_cast< double >(result
));
8975 SWIGINTERN PyObject
*_wrap_Point2D_y_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8976 PyObject
*resultobj
= 0;
8977 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8983 PyObject
*swig_obj
[2] ;
8985 if (!SWIG_Python_UnpackTuple(args
,"Point2D_y_set",2,2,swig_obj
)) SWIG_fail
;
8986 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8987 if (!SWIG_IsOK(res1
)) {
8988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_y_set" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8990 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8991 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
8992 if (!SWIG_IsOK(ecode2
)) {
8993 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Point2D_y_set" "', expected argument " "2"" of type '" "double""'");
8995 arg2
= static_cast< double >(val2
);
8996 if (arg1
) (arg1
)->m_y
= arg2
;
8998 resultobj
= SWIG_Py_Void();
9005 SWIGINTERN PyObject
*_wrap_Point2D_y_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9006 PyObject
*resultobj
= 0;
9007 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
9011 PyObject
*swig_obj
[1] ;
9013 if (!args
) SWIG_fail
;
9015 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
9016 if (!SWIG_IsOK(res1
)) {
9017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_y_get" "', expected argument " "1"" of type '" "wxPoint2D *""'");
9019 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
9020 result
= (double) ((arg1
)->m_y
);
9021 resultobj
= SWIG_From_double(static_cast< double >(result
));
9028 SWIGINTERN PyObject
*_wrap_Point2D_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9029 PyObject
*resultobj
= 0;
9030 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
9031 double arg2
= (double) 0 ;
9032 double arg3
= (double) 0 ;
9039 PyObject
* obj0
= 0 ;
9040 PyObject
* obj1
= 0 ;
9041 PyObject
* obj2
= 0 ;
9042 char * kwnames
[] = {
9043 (char *) "self",(char *) "x",(char *) "y", NULL
9046 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Point2D_Set",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9047 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
9048 if (!SWIG_IsOK(res1
)) {
9049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_Set" "', expected argument " "1"" of type '" "wxPoint2D *""'");
9051 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
9053 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
9054 if (!SWIG_IsOK(ecode2
)) {
9055 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Point2D_Set" "', expected argument " "2"" of type '" "double""'");
9057 arg2
= static_cast< double >(val2
);
9060 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
9061 if (!SWIG_IsOK(ecode3
)) {
9062 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Point2D_Set" "', expected argument " "3"" of type '" "double""'");
9064 arg3
= static_cast< double >(val3
);
9067 wxPoint2D_Set(arg1
,arg2
,arg3
);
9068 if (PyErr_Occurred()) SWIG_fail
;
9070 resultobj
= SWIG_Py_Void();
9077 SWIGINTERN PyObject
*_wrap_Point2D_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9078 PyObject
*resultobj
= 0;
9079 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
9080 PyObject
*result
= 0 ;
9083 PyObject
*swig_obj
[1] ;
9085 if (!args
) SWIG_fail
;
9087 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
9088 if (!SWIG_IsOK(res1
)) {
9089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_Get" "', expected argument " "1"" of type '" "wxPoint2D *""'");
9091 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
9093 result
= (PyObject
*)wxPoint2D_Get(arg1
);
9094 if (PyErr_Occurred()) SWIG_fail
;
9103 SWIGINTERN PyObject
*Point2D_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9105 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9106 SWIG_TypeNewClientData(SWIGTYPE_p_wxPoint2D
, SWIG_NewClientData(obj
));
9107 return SWIG_Py_Void();
9110 SWIGINTERN PyObject
*Point2D_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9111 return SWIG_Python_InitShadowInstance(args
);
9114 SWIGINTERN PyObject
*_wrap_new_Rect2D(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9115 PyObject
*resultobj
= 0;
9116 wxDouble arg1
= (wxDouble
) 0.0 ;
9117 wxDouble arg2
= (wxDouble
) 0.0 ;
9118 wxDouble arg3
= (wxDouble
) 0.0 ;
9119 wxDouble arg4
= (wxDouble
) 0.0 ;
9120 wxRect2D
*result
= 0 ;
9129 PyObject
* obj0
= 0 ;
9130 PyObject
* obj1
= 0 ;
9131 PyObject
* obj2
= 0 ;
9132 PyObject
* obj3
= 0 ;
9133 char * kwnames
[] = {
9134 (char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
9137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Rect2D",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9140 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDouble
, 0 | 0);
9141 if (!SWIG_IsOK(res1
)) {
9142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Rect2D" "', expected argument " "1"" of type '" "wxDouble""'");
9145 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Rect2D" "', expected argument " "1"" of type '" "wxDouble""'");
9147 wxDouble
* temp
= reinterpret_cast< wxDouble
* >(argp1
);
9149 if (SWIG_IsNewObj(res1
)) delete temp
;
9155 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDouble
, 0 | 0);
9156 if (!SWIG_IsOK(res2
)) {
9157 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_Rect2D" "', expected argument " "2"" of type '" "wxDouble""'");
9160 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Rect2D" "', expected argument " "2"" of type '" "wxDouble""'");
9162 wxDouble
* temp
= reinterpret_cast< wxDouble
* >(argp2
);
9164 if (SWIG_IsNewObj(res2
)) delete temp
;
9170 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDouble
, 0 | 0);
9171 if (!SWIG_IsOK(res3
)) {
9172 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_Rect2D" "', expected argument " "3"" of type '" "wxDouble""'");
9175 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Rect2D" "', expected argument " "3"" of type '" "wxDouble""'");
9177 wxDouble
* temp
= reinterpret_cast< wxDouble
* >(argp3
);
9179 if (SWIG_IsNewObj(res3
)) delete temp
;
9185 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxDouble
, 0 | 0);
9186 if (!SWIG_IsOK(res4
)) {
9187 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_Rect2D" "', expected argument " "4"" of type '" "wxDouble""'");
9190 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Rect2D" "', expected argument " "4"" of type '" "wxDouble""'");
9192 wxDouble
* temp
= reinterpret_cast< wxDouble
* >(argp4
);
9194 if (SWIG_IsNewObj(res4
)) delete temp
;
9199 result
= (wxRect2D
*)new wxRect2D(arg1
,arg2
,arg3
,arg4
);
9200 if (PyErr_Occurred()) SWIG_fail
;
9202 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRect2D
, SWIG_POINTER_NEW
| 0 );
9209 SWIGINTERN PyObject
*_wrap_delete_Rect2D(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9210 PyObject
*resultobj
= 0;
9211 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
9214 PyObject
*swig_obj
[1] ;
9216 if (!args
) SWIG_fail
;
9218 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect2D
, SWIG_POINTER_DISOWN
| 0 );
9219 if (!SWIG_IsOK(res1
)) {
9220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Rect2D" "', expected argument " "1"" of type '" "wxRect2D *""'");
9222 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
9226 if (PyErr_Occurred()) SWIG_fail
;
9228 resultobj
= SWIG_Py_Void();
9235 SWIGINTERN PyObject
*_wrap_Rect2D_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9236 PyObject
*resultobj
= 0;
9237 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
9241 PyObject
*swig_obj
[1] ;
9243 if (!args
) SWIG_fail
;
9245 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
9246 if (!SWIG_IsOK(res1
)) {
9247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_GetPosition" "', expected argument " "1"" of type '" "wxRect2D *""'");
9249 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
9251 result
= (arg1
)->GetPosition();
9252 if (PyErr_Occurred()) SWIG_fail
;
9254 resultobj
= SWIG_NewPointerObj((new wxPoint2D(static_cast< const wxPoint2D
& >(result
))), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
9261 SWIGINTERN PyObject
*_wrap_Rect2D_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9262 PyObject
*resultobj
= 0;
9263 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
9267 PyObject
*swig_obj
[1] ;
9269 if (!args
) SWIG_fail
;
9271 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
9272 if (!SWIG_IsOK(res1
)) {
9273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_GetSize" "', expected argument " "1"" of type '" "wxRect2D *""'");
9275 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
9277 result
= (arg1
)->GetSize();
9278 if (PyErr_Occurred()) SWIG_fail
;
9280 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
9287 SWIGINTERN PyObject
*_wrap_Rect2D_GetLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9288 PyObject
*resultobj
= 0;
9289 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
9293 PyObject
*swig_obj
[1] ;
9295 if (!args
) SWIG_fail
;
9297 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
9298 if (!SWIG_IsOK(res1
)) {
9299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_GetLeft" "', expected argument " "1"" of type '" "wxRect2D const *""'");
9301 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
9303 result
= ((wxRect2D
const *)arg1
)->GetLeft();
9304 if (PyErr_Occurred()) SWIG_fail
;
9306 resultobj
= SWIG_NewPointerObj((new wxDouble(static_cast< const wxDouble
& >(result
))), SWIGTYPE_p_wxDouble
, SWIG_POINTER_OWN
| 0 );
9313 SWIGINTERN PyObject
*_wrap_Rect2D_SetLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9314 PyObject
*resultobj
= 0;
9315 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
9321 PyObject
* obj0
= 0 ;
9322 PyObject
* obj1
= 0 ;
9323 char * kwnames
[] = {
9324 (char *) "self",(char *) "n", NULL
9327 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect2D_SetLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9328 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
9329 if (!SWIG_IsOK(res1
)) {
9330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_SetLeft" "', expected argument " "1"" of type '" "wxRect2D *""'");
9332 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
9334 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDouble
, 0 | 0);
9335 if (!SWIG_IsOK(res2
)) {
9336 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Rect2D_SetLeft" "', expected argument " "2"" of type '" "wxDouble""'");
9339 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Rect2D_SetLeft" "', expected argument " "2"" of type '" "wxDouble""'");
9341 wxDouble
* temp
= reinterpret_cast< wxDouble
* >(argp2
);
9343 if (SWIG_IsNewObj(res2
)) delete temp
;
9347 (arg1
)->SetLeft(arg2
);
9348 if (PyErr_Occurred()) SWIG_fail
;
9350 resultobj
= SWIG_Py_Void();
9357 SWIGINTERN PyObject
*_wrap_Rect2D_MoveLeftTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9358 PyObject
*resultobj
= 0;
9359 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
9365 PyObject
* obj0
= 0 ;
9366 PyObject
* obj1
= 0 ;
9367 char * kwnames
[] = {
9368 (char *) "self",(char *) "n", NULL
9371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect2D_MoveLeftTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9372 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
9373 if (!SWIG_IsOK(res1
)) {
9374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_MoveLeftTo" "', expected argument " "1"" of type '" "wxRect2D *""'");
9376 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
9378 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDouble
, 0 | 0);
9379 if (!SWIG_IsOK(res2
)) {
9380 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Rect2D_MoveLeftTo" "', expected argument " "2"" of type '" "wxDouble""'");
9383 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Rect2D_MoveLeftTo" "', expected argument " "2"" of type '" "wxDouble""'");
9385 wxDouble
* temp
= reinterpret_cast< wxDouble
* >(argp2
);
9387 if (SWIG_IsNewObj(res2
)) delete temp
;
9391 (arg1
)->MoveLeftTo(arg2
);
9392 if (PyErr_Occurred()) SWIG_fail
;
9394 resultobj
= SWIG_Py_Void();
9401 SWIGINTERN PyObject
*_wrap_Rect2D_GetTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9402 PyObject
*resultobj
= 0;
9403 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
9407 PyObject
*swig_obj
[1] ;
9409 if (!args
) SWIG_fail
;
9411 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
9412 if (!SWIG_IsOK(res1
)) {
9413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_GetTop" "', expected argument " "1"" of type '" "wxRect2D const *""'");
9415 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
9417 result
= ((wxRect2D
const *)arg1
)->GetTop();
9418 if (PyErr_Occurred()) SWIG_fail
;
9420 resultobj
= SWIG_NewPointerObj((new wxDouble(static_cast< const wxDouble
& >(result
))), SWIGTYPE_p_wxDouble
, SWIG_POINTER_OWN
| 0 );
9427 SWIGINTERN PyObject
*_wrap_Rect2D_SetTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9428 PyObject
*resultobj
= 0;
9429 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
9435 PyObject
* obj0
= 0 ;
9436 PyObject
* obj1
= 0 ;
9437 char * kwnames
[] = {
9438 (char *) "self",(char *) "n", NULL
9441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect2D_SetTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9442 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
9443 if (!SWIG_IsOK(res1
)) {
9444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_SetTop" "', expected argument " "1"" of type '" "wxRect2D *""'");
9446 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
9448 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDouble
, 0 | 0);
9449 if (!SWIG_IsOK(res2
)) {
9450 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Rect2D_SetTop" "', expected argument " "2"" of type '" "wxDouble""'");
9453 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Rect2D_SetTop" "', expected argument " "2"" of type '" "wxDouble""'");
9455 wxDouble
* temp
= reinterpret_cast< wxDouble
* >(argp2
);
9457 if (SWIG_IsNewObj(res2
)) delete temp
;
9461 (arg1
)->SetTop(arg2
);
9462 if (PyErr_Occurred()) SWIG_fail
;
9464 resultobj
= SWIG_Py_Void();
9471 SWIGINTERN PyObject
*_wrap_Rect2D_MoveTopTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9472 PyObject
*resultobj
= 0;
9473 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
9479 PyObject
* obj0
= 0 ;
9480 PyObject
* obj1
= 0 ;
9481 char * kwnames
[] = {
9482 (char *) "self",(char *) "n", NULL
9485 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect2D_MoveTopTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9486 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
9487 if (!SWIG_IsOK(res1
)) {
9488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_MoveTopTo" "', expected argument " "1"" of type '" "wxRect2D *""'");
9490 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
9492 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDouble
, 0 | 0);
9493 if (!SWIG_IsOK(res2
)) {
9494 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Rect2D_MoveTopTo" "', expected argument " "2"" of type '" "wxDouble""'");
9497 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Rect2D_MoveTopTo" "', expected argument " "2"" of type '" "wxDouble""'");
9499 wxDouble
* temp
= reinterpret_cast< wxDouble
* >(argp2
);
9501 if (SWIG_IsNewObj(res2
)) delete temp
;
9505 (arg1
)->MoveTopTo(arg2
);
9506 if (PyErr_Occurred()) SWIG_fail
;
9508 resultobj
= SWIG_Py_Void();
9515 SWIGINTERN PyObject
*_wrap_Rect2D_GetBottom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9516 PyObject
*resultobj
= 0;
9517 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
9521 PyObject
*swig_obj
[1] ;
9523 if (!args
) SWIG_fail
;
9525 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
9526 if (!SWIG_IsOK(res1
)) {
9527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_GetBottom" "', expected argument " "1"" of type '" "wxRect2D const *""'");
9529 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
9531 result
= ((wxRect2D
const *)arg1
)->GetBottom();
9532 if (PyErr_Occurred()) SWIG_fail
;
9534 resultobj
= SWIG_NewPointerObj((new wxDouble(static_cast< const wxDouble
& >(result
))), SWIGTYPE_p_wxDouble
, SWIG_POINTER_OWN
| 0 );
9541 SWIGINTERN PyObject
*_wrap_Rect2D_SetBottom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9542 PyObject
*resultobj
= 0;
9543 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
9549 PyObject
* obj0
= 0 ;
9550 PyObject
* obj1
= 0 ;
9551 char * kwnames
[] = {
9552 (char *) "self",(char *) "n", NULL
9555 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect2D_SetBottom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9556 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
9557 if (!SWIG_IsOK(res1
)) {
9558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_SetBottom" "', expected argument " "1"" of type '" "wxRect2D *""'");
9560 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
9562 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDouble
, 0 | 0);
9563 if (!SWIG_IsOK(res2
)) {
9564 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Rect2D_SetBottom" "', expected argument " "2"" of type '" "wxDouble""'");
9567 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Rect2D_SetBottom" "', expected argument " "2"" of type '" "wxDouble""'");
9569 wxDouble
* temp
= reinterpret_cast< wxDouble
* >(argp2
);
9571 if (SWIG_IsNewObj(res2
)) delete temp
;
9575 (arg1
)->SetBottom(arg2
);
9576 if (PyErr_Occurred()) SWIG_fail
;
9578 resultobj
= SWIG_Py_Void();
9585 SWIGINTERN PyObject
*_wrap_Rect2D_MoveBottomTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9586 PyObject
*resultobj
= 0;
9587 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
9593 PyObject
* obj0
= 0 ;
9594 PyObject
* obj1
= 0 ;
9595 char * kwnames
[] = {
9596 (char *) "self",(char *) "n", NULL
9599 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect2D_MoveBottomTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9600 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
9601 if (!SWIG_IsOK(res1
)) {
9602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_MoveBottomTo" "', expected argument " "1"" of type '" "wxRect2D *""'");
9604 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
9606 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDouble
, 0 | 0);
9607 if (!SWIG_IsOK(res2
)) {
9608 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Rect2D_MoveBottomTo" "', expected argument " "2"" of type '" "wxDouble""'");
9611 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Rect2D_MoveBottomTo" "', expected argument " "2"" of type '" "wxDouble""'");
9613 wxDouble
* temp
= reinterpret_cast< wxDouble
* >(argp2
);
9615 if (SWIG_IsNewObj(res2
)) delete temp
;
9619 (arg1
)->MoveBottomTo(arg2
);
9620 if (PyErr_Occurred()) SWIG_fail
;
9622 resultobj
= SWIG_Py_Void();
9629 SWIGINTERN PyObject
*_wrap_Rect2D_GetRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9630 PyObject
*resultobj
= 0;
9631 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
9635 PyObject
*swig_obj
[1] ;
9637 if (!args
) SWIG_fail
;
9639 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
9640 if (!SWIG_IsOK(res1
)) {
9641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_GetRight" "', expected argument " "1"" of type '" "wxRect2D const *""'");
9643 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
9645 result
= ((wxRect2D
const *)arg1
)->GetRight();
9646 if (PyErr_Occurred()) SWIG_fail
;
9648 resultobj
= SWIG_NewPointerObj((new wxDouble(static_cast< const wxDouble
& >(result
))), SWIGTYPE_p_wxDouble
, SWIG_POINTER_OWN
| 0 );
9655 SWIGINTERN PyObject
*_wrap_Rect2D_SetRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9656 PyObject
*resultobj
= 0;
9657 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
9663 PyObject
* obj0
= 0 ;
9664 PyObject
* obj1
= 0 ;
9665 char * kwnames
[] = {
9666 (char *) "self",(char *) "n", NULL
9669 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect2D_SetRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9670 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
9671 if (!SWIG_IsOK(res1
)) {
9672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_SetRight" "', expected argument " "1"" of type '" "wxRect2D *""'");
9674 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
9676 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDouble
, 0 | 0);
9677 if (!SWIG_IsOK(res2
)) {
9678 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Rect2D_SetRight" "', expected argument " "2"" of type '" "wxDouble""'");
9681 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Rect2D_SetRight" "', expected argument " "2"" of type '" "wxDouble""'");
9683 wxDouble
* temp
= reinterpret_cast< wxDouble
* >(argp2
);
9685 if (SWIG_IsNewObj(res2
)) delete temp
;
9689 (arg1
)->SetRight(arg2
);
9690 if (PyErr_Occurred()) SWIG_fail
;
9692 resultobj
= SWIG_Py_Void();
9699 SWIGINTERN PyObject
*_wrap_Rect2D_MoveRightTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9700 PyObject
*resultobj
= 0;
9701 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
9707 PyObject
* obj0
= 0 ;
9708 PyObject
* obj1
= 0 ;
9709 char * kwnames
[] = {
9710 (char *) "self",(char *) "n", NULL
9713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect2D_MoveRightTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9714 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
9715 if (!SWIG_IsOK(res1
)) {
9716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_MoveRightTo" "', expected argument " "1"" of type '" "wxRect2D *""'");
9718 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
9720 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDouble
, 0 | 0);
9721 if (!SWIG_IsOK(res2
)) {
9722 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Rect2D_MoveRightTo" "', expected argument " "2"" of type '" "wxDouble""'");
9725 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Rect2D_MoveRightTo" "', expected argument " "2"" of type '" "wxDouble""'");
9727 wxDouble
* temp
= reinterpret_cast< wxDouble
* >(argp2
);
9729 if (SWIG_IsNewObj(res2
)) delete temp
;
9733 (arg1
)->MoveRightTo(arg2
);
9734 if (PyErr_Occurred()) SWIG_fail
;
9736 resultobj
= SWIG_Py_Void();
9743 SWIGINTERN PyObject
*_wrap_Rect2D_GetLeftTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9744 PyObject
*resultobj
= 0;
9745 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
9749 PyObject
*swig_obj
[1] ;
9751 if (!args
) SWIG_fail
;
9753 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
9754 if (!SWIG_IsOK(res1
)) {
9755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_GetLeftTop" "', expected argument " "1"" of type '" "wxRect2D const *""'");
9757 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
9759 result
= ((wxRect2D
const *)arg1
)->GetLeftTop();
9760 if (PyErr_Occurred()) SWIG_fail
;
9762 resultobj
= SWIG_NewPointerObj((new wxPoint2D(static_cast< const wxPoint2D
& >(result
))), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
9769 SWIGINTERN PyObject
*_wrap_Rect2D_SetLeftTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9770 PyObject
*resultobj
= 0;
9771 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
9772 wxPoint2D
*arg2
= 0 ;
9776 PyObject
* obj0
= 0 ;
9777 PyObject
* obj1
= 0 ;
9778 char * kwnames
[] = {
9779 (char *) "self",(char *) "pt", NULL
9782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect2D_SetLeftTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9783 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
9784 if (!SWIG_IsOK(res1
)) {
9785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_SetLeftTop" "', expected argument " "1"" of type '" "wxRect2D *""'");
9787 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
9790 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
9793 (arg1
)->SetLeftTop((wxPoint2D
const &)*arg2
);
9794 if (PyErr_Occurred()) SWIG_fail
;
9796 resultobj
= SWIG_Py_Void();
9803 SWIGINTERN PyObject
*_wrap_Rect2D_MoveLeftTopTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9804 PyObject
*resultobj
= 0;
9805 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
9806 wxPoint2D
*arg2
= 0 ;
9810 PyObject
* obj0
= 0 ;
9811 PyObject
* obj1
= 0 ;
9812 char * kwnames
[] = {
9813 (char *) "self",(char *) "pt", NULL
9816 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect2D_MoveLeftTopTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9817 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
9818 if (!SWIG_IsOK(res1
)) {
9819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_MoveLeftTopTo" "', expected argument " "1"" of type '" "wxRect2D *""'");
9821 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
9824 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
9827 (arg1
)->MoveLeftTopTo((wxPoint2D
const &)*arg2
);
9828 if (PyErr_Occurred()) SWIG_fail
;
9830 resultobj
= SWIG_Py_Void();
9837 SWIGINTERN PyObject
*_wrap_Rect2D_GetLeftBottom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9838 PyObject
*resultobj
= 0;
9839 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
9843 PyObject
*swig_obj
[1] ;
9845 if (!args
) SWIG_fail
;
9847 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
9848 if (!SWIG_IsOK(res1
)) {
9849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_GetLeftBottom" "', expected argument " "1"" of type '" "wxRect2D const *""'");
9851 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
9853 result
= ((wxRect2D
const *)arg1
)->GetLeftBottom();
9854 if (PyErr_Occurred()) SWIG_fail
;
9856 resultobj
= SWIG_NewPointerObj((new wxPoint2D(static_cast< const wxPoint2D
& >(result
))), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
9863 SWIGINTERN PyObject
*_wrap_Rect2D_SetLeftBottom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9864 PyObject
*resultobj
= 0;
9865 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
9866 wxPoint2D
*arg2
= 0 ;
9870 PyObject
* obj0
= 0 ;
9871 PyObject
* obj1
= 0 ;
9872 char * kwnames
[] = {
9873 (char *) "self",(char *) "pt", NULL
9876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect2D_SetLeftBottom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
9878 if (!SWIG_IsOK(res1
)) {
9879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_SetLeftBottom" "', expected argument " "1"" of type '" "wxRect2D *""'");
9881 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
9884 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
9887 (arg1
)->SetLeftBottom((wxPoint2D
const &)*arg2
);
9888 if (PyErr_Occurred()) SWIG_fail
;
9890 resultobj
= SWIG_Py_Void();
9897 SWIGINTERN PyObject
*_wrap_Rect2D_MoveLeftBottomTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9898 PyObject
*resultobj
= 0;
9899 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
9900 wxPoint2D
*arg2
= 0 ;
9904 PyObject
* obj0
= 0 ;
9905 PyObject
* obj1
= 0 ;
9906 char * kwnames
[] = {
9907 (char *) "self",(char *) "pt", NULL
9910 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect2D_MoveLeftBottomTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9911 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
9912 if (!SWIG_IsOK(res1
)) {
9913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_MoveLeftBottomTo" "', expected argument " "1"" of type '" "wxRect2D *""'");
9915 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
9918 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
9921 (arg1
)->MoveLeftBottomTo((wxPoint2D
const &)*arg2
);
9922 if (PyErr_Occurred()) SWIG_fail
;
9924 resultobj
= SWIG_Py_Void();
9931 SWIGINTERN PyObject
*_wrap_Rect2D_GetRightTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9932 PyObject
*resultobj
= 0;
9933 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
9937 PyObject
*swig_obj
[1] ;
9939 if (!args
) SWIG_fail
;
9941 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
9942 if (!SWIG_IsOK(res1
)) {
9943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_GetRightTop" "', expected argument " "1"" of type '" "wxRect2D const *""'");
9945 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
9947 result
= ((wxRect2D
const *)arg1
)->GetRightTop();
9948 if (PyErr_Occurred()) SWIG_fail
;
9950 resultobj
= SWIG_NewPointerObj((new wxPoint2D(static_cast< const wxPoint2D
& >(result
))), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
9957 SWIGINTERN PyObject
*_wrap_Rect2D_SetRightTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9958 PyObject
*resultobj
= 0;
9959 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
9960 wxPoint2D
*arg2
= 0 ;
9964 PyObject
* obj0
= 0 ;
9965 PyObject
* obj1
= 0 ;
9966 char * kwnames
[] = {
9967 (char *) "self",(char *) "pt", NULL
9970 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect2D_SetRightTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9971 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
9972 if (!SWIG_IsOK(res1
)) {
9973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_SetRightTop" "', expected argument " "1"" of type '" "wxRect2D *""'");
9975 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
9978 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
9981 (arg1
)->SetRightTop((wxPoint2D
const &)*arg2
);
9982 if (PyErr_Occurred()) SWIG_fail
;
9984 resultobj
= SWIG_Py_Void();
9991 SWIGINTERN PyObject
*_wrap_Rect2D_MoveRightTopTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9992 PyObject
*resultobj
= 0;
9993 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
9994 wxPoint2D
*arg2
= 0 ;
9998 PyObject
* obj0
= 0 ;
9999 PyObject
* obj1
= 0 ;
10000 char * kwnames
[] = {
10001 (char *) "self",(char *) "pt", NULL
10004 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect2D_MoveRightTopTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10005 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
10006 if (!SWIG_IsOK(res1
)) {
10007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_MoveRightTopTo" "', expected argument " "1"" of type '" "wxRect2D *""'");
10009 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
10012 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
10015 (arg1
)->MoveRightTopTo((wxPoint2D
const &)*arg2
);
10016 if (PyErr_Occurred()) SWIG_fail
;
10018 resultobj
= SWIG_Py_Void();
10025 SWIGINTERN PyObject
*_wrap_Rect2D_GetRightBottom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10026 PyObject
*resultobj
= 0;
10027 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
10031 PyObject
*swig_obj
[1] ;
10033 if (!args
) SWIG_fail
;
10034 swig_obj
[0] = args
;
10035 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
10036 if (!SWIG_IsOK(res1
)) {
10037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_GetRightBottom" "', expected argument " "1"" of type '" "wxRect2D const *""'");
10039 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
10041 result
= ((wxRect2D
const *)arg1
)->GetRightBottom();
10042 if (PyErr_Occurred()) SWIG_fail
;
10044 resultobj
= SWIG_NewPointerObj((new wxPoint2D(static_cast< const wxPoint2D
& >(result
))), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
10051 SWIGINTERN PyObject
*_wrap_Rect2D_SetRightBottom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10052 PyObject
*resultobj
= 0;
10053 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
10054 wxPoint2D
*arg2
= 0 ;
10058 PyObject
* obj0
= 0 ;
10059 PyObject
* obj1
= 0 ;
10060 char * kwnames
[] = {
10061 (char *) "self",(char *) "pt", NULL
10064 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect2D_SetRightBottom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10065 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
10066 if (!SWIG_IsOK(res1
)) {
10067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_SetRightBottom" "', expected argument " "1"" of type '" "wxRect2D *""'");
10069 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
10072 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
10075 (arg1
)->SetRightBottom((wxPoint2D
const &)*arg2
);
10076 if (PyErr_Occurred()) SWIG_fail
;
10078 resultobj
= SWIG_Py_Void();
10085 SWIGINTERN PyObject
*_wrap_Rect2D_MoveRightBottomTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10086 PyObject
*resultobj
= 0;
10087 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
10088 wxPoint2D
*arg2
= 0 ;
10092 PyObject
* obj0
= 0 ;
10093 PyObject
* obj1
= 0 ;
10094 char * kwnames
[] = {
10095 (char *) "self",(char *) "pt", NULL
10098 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect2D_MoveRightBottomTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10099 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
10100 if (!SWIG_IsOK(res1
)) {
10101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_MoveRightBottomTo" "', expected argument " "1"" of type '" "wxRect2D *""'");
10103 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
10106 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
10109 (arg1
)->MoveRightBottomTo((wxPoint2D
const &)*arg2
);
10110 if (PyErr_Occurred()) SWIG_fail
;
10112 resultobj
= SWIG_Py_Void();
10119 SWIGINTERN PyObject
*_wrap_Rect2D_GetCentre(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10120 PyObject
*resultobj
= 0;
10121 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
10125 PyObject
*swig_obj
[1] ;
10127 if (!args
) SWIG_fail
;
10128 swig_obj
[0] = args
;
10129 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
10130 if (!SWIG_IsOK(res1
)) {
10131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_GetCentre" "', expected argument " "1"" of type '" "wxRect2D const *""'");
10133 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
10135 result
= ((wxRect2D
const *)arg1
)->GetCentre();
10136 if (PyErr_Occurred()) SWIG_fail
;
10138 resultobj
= SWIG_NewPointerObj((new wxPoint2D(static_cast< const wxPoint2D
& >(result
))), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
10145 SWIGINTERN PyObject
*_wrap_Rect2D_SetCentre(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10146 PyObject
*resultobj
= 0;
10147 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
10148 wxPoint2D
*arg2
= 0 ;
10152 PyObject
* obj0
= 0 ;
10153 PyObject
* obj1
= 0 ;
10154 char * kwnames
[] = {
10155 (char *) "self",(char *) "pt", NULL
10158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect2D_SetCentre",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10159 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
10160 if (!SWIG_IsOK(res1
)) {
10161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_SetCentre" "', expected argument " "1"" of type '" "wxRect2D *""'");
10163 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
10166 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
10169 (arg1
)->SetCentre((wxPoint2D
const &)*arg2
);
10170 if (PyErr_Occurred()) SWIG_fail
;
10172 resultobj
= SWIG_Py_Void();
10179 SWIGINTERN PyObject
*_wrap_Rect2D_MoveCentreTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10180 PyObject
*resultobj
= 0;
10181 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
10182 wxPoint2D
*arg2
= 0 ;
10186 PyObject
* obj0
= 0 ;
10187 PyObject
* obj1
= 0 ;
10188 char * kwnames
[] = {
10189 (char *) "self",(char *) "pt", NULL
10192 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect2D_MoveCentreTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10193 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
10194 if (!SWIG_IsOK(res1
)) {
10195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_MoveCentreTo" "', expected argument " "1"" of type '" "wxRect2D *""'");
10197 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
10200 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
10203 (arg1
)->MoveCentreTo((wxPoint2D
const &)*arg2
);
10204 if (PyErr_Occurred()) SWIG_fail
;
10206 resultobj
= SWIG_Py_Void();
10213 SWIGINTERN PyObject
*_wrap_Rect2D_GetOutcode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10214 PyObject
*resultobj
= 0;
10215 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
10216 wxPoint2D
*arg2
= 0 ;
10221 PyObject
* obj0
= 0 ;
10222 PyObject
* obj1
= 0 ;
10223 char * kwnames
[] = {
10224 (char *) "self",(char *) "pt", NULL
10227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect2D_GetOutcode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10228 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
10229 if (!SWIG_IsOK(res1
)) {
10230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_GetOutcode" "', expected argument " "1"" of type '" "wxRect2D const *""'");
10232 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
10235 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
10238 result
= (wxOutCode
)((wxRect2D
const *)arg1
)->GetOutcode((wxPoint2D
const &)*arg2
);
10239 if (PyErr_Occurred()) SWIG_fail
;
10241 resultobj
= SWIG_From_int(static_cast< int >(result
));
10248 SWIGINTERN PyObject
*_wrap_Rect2D_Contains(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10249 PyObject
*resultobj
= 0;
10250 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
10251 wxPoint2D
*arg2
= 0 ;
10256 PyObject
* obj0
= 0 ;
10257 PyObject
* obj1
= 0 ;
10258 char * kwnames
[] = {
10259 (char *) "self",(char *) "pt", NULL
10262 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect2D_Contains",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10263 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
10264 if (!SWIG_IsOK(res1
)) {
10265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_Contains" "', expected argument " "1"" of type '" "wxRect2D const *""'");
10267 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
10270 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
10273 result
= (bool)((wxRect2D
const *)arg1
)->Contains((wxPoint2D
const &)*arg2
);
10274 if (PyErr_Occurred()) SWIG_fail
;
10277 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10285 SWIGINTERN PyObject
*_wrap_Rect2D_ContainsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10286 PyObject
*resultobj
= 0;
10287 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
10288 wxRect2D
*arg2
= 0 ;
10293 PyObject
* obj0
= 0 ;
10294 PyObject
* obj1
= 0 ;
10295 char * kwnames
[] = {
10296 (char *) "self",(char *) "rect", NULL
10299 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect2D_ContainsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10300 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
10301 if (!SWIG_IsOK(res1
)) {
10302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_ContainsRect" "', expected argument " "1"" of type '" "wxRect2D const *""'");
10304 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
10307 if ( ! wxRect2D_helper(obj1
, &arg2
)) SWIG_fail
;
10310 result
= (bool)((wxRect2D
const *)arg1
)->Contains((wxRect2D
const &)*arg2
);
10311 if (PyErr_Occurred()) SWIG_fail
;
10314 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10322 SWIGINTERN PyObject
*_wrap_Rect2D_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10323 PyObject
*resultobj
= 0;
10324 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
10328 PyObject
*swig_obj
[1] ;
10330 if (!args
) SWIG_fail
;
10331 swig_obj
[0] = args
;
10332 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
10333 if (!SWIG_IsOK(res1
)) {
10334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_IsEmpty" "', expected argument " "1"" of type '" "wxRect2D const *""'");
10336 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
10338 result
= (bool)((wxRect2D
const *)arg1
)->IsEmpty();
10339 if (PyErr_Occurred()) SWIG_fail
;
10342 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10350 SWIGINTERN PyObject
*_wrap_Rect2D_HaveEqualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10351 PyObject
*resultobj
= 0;
10352 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
10353 wxRect2D
*arg2
= 0 ;
10358 PyObject
* obj0
= 0 ;
10359 PyObject
* obj1
= 0 ;
10360 char * kwnames
[] = {
10361 (char *) "self",(char *) "rect", NULL
10364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect2D_HaveEqualSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10365 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
10366 if (!SWIG_IsOK(res1
)) {
10367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_HaveEqualSize" "', expected argument " "1"" of type '" "wxRect2D const *""'");
10369 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
10372 if ( ! wxRect2D_helper(obj1
, &arg2
)) SWIG_fail
;
10375 result
= (bool)((wxRect2D
const *)arg1
)->HaveEqualSize((wxRect2D
const &)*arg2
);
10376 if (PyErr_Occurred()) SWIG_fail
;
10379 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10387 SWIGINTERN PyObject
*_wrap_Rect2D_Inset__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
10388 PyObject
*resultobj
= 0;
10389 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
10399 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
10400 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
10401 if (!SWIG_IsOK(res1
)) {
10402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_Inset" "', expected argument " "1"" of type '" "wxRect2D *""'");
10404 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
10406 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDouble
, 0 | 0);
10407 if (!SWIG_IsOK(res2
)) {
10408 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Rect2D_Inset" "', expected argument " "2"" of type '" "wxDouble""'");
10411 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Rect2D_Inset" "', expected argument " "2"" of type '" "wxDouble""'");
10413 wxDouble
* temp
= reinterpret_cast< wxDouble
* >(argp2
);
10415 if (SWIG_IsNewObj(res2
)) delete temp
;
10419 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
, SWIGTYPE_p_wxDouble
, 0 | 0);
10420 if (!SWIG_IsOK(res3
)) {
10421 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Rect2D_Inset" "', expected argument " "3"" of type '" "wxDouble""'");
10424 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Rect2D_Inset" "', expected argument " "3"" of type '" "wxDouble""'");
10426 wxDouble
* temp
= reinterpret_cast< wxDouble
* >(argp3
);
10428 if (SWIG_IsNewObj(res3
)) delete temp
;
10432 (arg1
)->Inset(arg2
,arg3
);
10433 if (PyErr_Occurred()) SWIG_fail
;
10435 resultobj
= SWIG_Py_Void();
10442 SWIGINTERN PyObject
*_wrap_Rect2D_Inset__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
10443 PyObject
*resultobj
= 0;
10444 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
10460 if ((nobjs
< 5) || (nobjs
> 5)) SWIG_fail
;
10461 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
10462 if (!SWIG_IsOK(res1
)) {
10463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_Inset" "', expected argument " "1"" of type '" "wxRect2D *""'");
10465 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
10467 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDouble
, 0 | 0);
10468 if (!SWIG_IsOK(res2
)) {
10469 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Rect2D_Inset" "', expected argument " "2"" of type '" "wxDouble""'");
10472 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Rect2D_Inset" "', expected argument " "2"" of type '" "wxDouble""'");
10474 wxDouble
* temp
= reinterpret_cast< wxDouble
* >(argp2
);
10476 if (SWIG_IsNewObj(res2
)) delete temp
;
10480 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
, SWIGTYPE_p_wxDouble
, 0 | 0);
10481 if (!SWIG_IsOK(res3
)) {
10482 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Rect2D_Inset" "', expected argument " "3"" of type '" "wxDouble""'");
10485 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Rect2D_Inset" "', expected argument " "3"" of type '" "wxDouble""'");
10487 wxDouble
* temp
= reinterpret_cast< wxDouble
* >(argp3
);
10489 if (SWIG_IsNewObj(res3
)) delete temp
;
10493 res4
= SWIG_ConvertPtr(swig_obj
[3], &argp4
, SWIGTYPE_p_wxDouble
, 0 | 0);
10494 if (!SWIG_IsOK(res4
)) {
10495 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Rect2D_Inset" "', expected argument " "4"" of type '" "wxDouble""'");
10498 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Rect2D_Inset" "', expected argument " "4"" of type '" "wxDouble""'");
10500 wxDouble
* temp
= reinterpret_cast< wxDouble
* >(argp4
);
10502 if (SWIG_IsNewObj(res4
)) delete temp
;
10506 res5
= SWIG_ConvertPtr(swig_obj
[4], &argp5
, SWIGTYPE_p_wxDouble
, 0 | 0);
10507 if (!SWIG_IsOK(res5
)) {
10508 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "Rect2D_Inset" "', expected argument " "5"" of type '" "wxDouble""'");
10511 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Rect2D_Inset" "', expected argument " "5"" of type '" "wxDouble""'");
10513 wxDouble
* temp
= reinterpret_cast< wxDouble
* >(argp5
);
10515 if (SWIG_IsNewObj(res5
)) delete temp
;
10519 (arg1
)->Inset(arg2
,arg3
,arg4
,arg5
);
10520 if (PyErr_Occurred()) SWIG_fail
;
10522 resultobj
= SWIG_Py_Void();
10529 SWIGINTERN PyObject
*_wrap_Rect2D_Inset(PyObject
*self
, PyObject
*args
) {
10533 if (!(argc
= SWIG_Python_UnpackTuple(args
,"Rect2D_Inset",0,5,argv
))) SWIG_fail
;
10536 return _wrap_Rect2D_Inset__SWIG_0(self
, argc
, argv
);
10539 return _wrap_Rect2D_Inset__SWIG_1(self
, argc
, argv
);
10543 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'Rect2D_Inset'");
10548 SWIGINTERN PyObject
*_wrap_Rect2D_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10549 PyObject
*resultobj
= 0;
10550 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
10551 wxPoint2D
*arg2
= 0 ;
10555 PyObject
* obj0
= 0 ;
10556 PyObject
* obj1
= 0 ;
10557 char * kwnames
[] = {
10558 (char *) "self",(char *) "pt", NULL
10561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect2D_Offset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10562 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
10563 if (!SWIG_IsOK(res1
)) {
10564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_Offset" "', expected argument " "1"" of type '" "wxRect2D *""'");
10566 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
10569 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
10572 (arg1
)->Offset((wxPoint2D
const &)*arg2
);
10573 if (PyErr_Occurred()) SWIG_fail
;
10575 resultobj
= SWIG_Py_Void();
10582 SWIGINTERN PyObject
*_wrap_Rect2D_ConstrainTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10583 PyObject
*resultobj
= 0;
10584 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
10585 wxRect2D
*arg2
= 0 ;
10589 PyObject
* obj0
= 0 ;
10590 PyObject
* obj1
= 0 ;
10591 char * kwnames
[] = {
10592 (char *) "self",(char *) "rect", NULL
10595 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect2D_ConstrainTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10596 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
10597 if (!SWIG_IsOK(res1
)) {
10598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_ConstrainTo" "', expected argument " "1"" of type '" "wxRect2D *""'");
10600 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
10603 if ( ! wxRect2D_helper(obj1
, &arg2
)) SWIG_fail
;
10606 (arg1
)->ConstrainTo((wxRect2D
const &)*arg2
);
10607 if (PyErr_Occurred()) SWIG_fail
;
10609 resultobj
= SWIG_Py_Void();
10616 SWIGINTERN PyObject
*_wrap_Rect2D_Interpolate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10617 PyObject
*resultobj
= 0;
10618 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
10628 PyObject
* obj0
= 0 ;
10629 PyObject
* obj1
= 0 ;
10630 PyObject
* obj2
= 0 ;
10631 char * kwnames
[] = {
10632 (char *) "self",(char *) "widthfactor",(char *) "heightfactor", NULL
10635 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect2D_Interpolate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10636 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
10637 if (!SWIG_IsOK(res1
)) {
10638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_Interpolate" "', expected argument " "1"" of type '" "wxRect2D *""'");
10640 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
10641 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10642 if (!SWIG_IsOK(ecode2
)) {
10643 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect2D_Interpolate" "', expected argument " "2"" of type '" "int""'");
10645 arg2
= static_cast< int >(val2
);
10646 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10647 if (!SWIG_IsOK(ecode3
)) {
10648 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Rect2D_Interpolate" "', expected argument " "3"" of type '" "int""'");
10650 arg3
= static_cast< int >(val3
);
10652 result
= (arg1
)->Interpolate(arg2
,arg3
);
10653 if (PyErr_Occurred()) SWIG_fail
;
10655 resultobj
= SWIG_NewPointerObj((new wxPoint2D(static_cast< const wxPoint2D
& >(result
))), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
10662 SWIGINTERN PyObject
*_wrap_Rect2D_Intersect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10663 PyObject
*resultobj
= 0;
10664 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
10665 wxRect2D
*arg2
= 0 ;
10669 PyObject
* obj0
= 0 ;
10670 PyObject
* obj1
= 0 ;
10671 char * kwnames
[] = {
10672 (char *) "self",(char *) "otherRect", NULL
10675 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect2D_Intersect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10676 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
10677 if (!SWIG_IsOK(res1
)) {
10678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_Intersect" "', expected argument " "1"" of type '" "wxRect2D *""'");
10680 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
10683 if ( ! wxRect2D_helper(obj1
, &arg2
)) SWIG_fail
;
10686 (arg1
)->Intersect((wxRect2D
const &)*arg2
);
10687 if (PyErr_Occurred()) SWIG_fail
;
10689 resultobj
= SWIG_Py_Void();
10696 SWIGINTERN PyObject
*_wrap_Rect2D_CreateIntersection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10697 PyObject
*resultobj
= 0;
10698 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
10699 wxRect2D
*arg2
= 0 ;
10704 PyObject
* obj0
= 0 ;
10705 PyObject
* obj1
= 0 ;
10706 char * kwnames
[] = {
10707 (char *) "self",(char *) "otherRect", NULL
10710 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect2D_CreateIntersection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10711 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
10712 if (!SWIG_IsOK(res1
)) {
10713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_CreateIntersection" "', expected argument " "1"" of type '" "wxRect2D const *""'");
10715 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
10718 if ( ! wxRect2D_helper(obj1
, &arg2
)) SWIG_fail
;
10721 result
= ((wxRect2D
const *)arg1
)->CreateIntersection((wxRect2D
const &)*arg2
);
10722 if (PyErr_Occurred()) SWIG_fail
;
10724 resultobj
= SWIG_NewPointerObj((new wxRect2D(static_cast< const wxRect2D
& >(result
))), SWIGTYPE_p_wxRect2D
, SWIG_POINTER_OWN
| 0 );
10731 SWIGINTERN PyObject
*_wrap_Rect2D_Intersects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10732 PyObject
*resultobj
= 0;
10733 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
10734 wxRect2D
*arg2
= 0 ;
10739 PyObject
* obj0
= 0 ;
10740 PyObject
* obj1
= 0 ;
10741 char * kwnames
[] = {
10742 (char *) "self",(char *) "rect", NULL
10745 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect2D_Intersects",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10746 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
10747 if (!SWIG_IsOK(res1
)) {
10748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_Intersects" "', expected argument " "1"" of type '" "wxRect2D const *""'");
10750 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
10753 if ( ! wxRect2D_helper(obj1
, &arg2
)) SWIG_fail
;
10756 result
= (bool)((wxRect2D
const *)arg1
)->Intersects((wxRect2D
const &)*arg2
);
10757 if (PyErr_Occurred()) SWIG_fail
;
10760 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10768 SWIGINTERN PyObject
*_wrap_Rect2D_Union(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10769 PyObject
*resultobj
= 0;
10770 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
10771 wxRect2D
*arg2
= 0 ;
10775 PyObject
* obj0
= 0 ;
10776 PyObject
* obj1
= 0 ;
10777 char * kwnames
[] = {
10778 (char *) "self",(char *) "otherRect", NULL
10781 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect2D_Union",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10782 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
10783 if (!SWIG_IsOK(res1
)) {
10784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_Union" "', expected argument " "1"" of type '" "wxRect2D *""'");
10786 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
10789 if ( ! wxRect2D_helper(obj1
, &arg2
)) SWIG_fail
;
10792 (arg1
)->Union((wxRect2D
const &)*arg2
);
10793 if (PyErr_Occurred()) SWIG_fail
;
10795 resultobj
= SWIG_Py_Void();
10802 SWIGINTERN PyObject
*_wrap_Rect2D_CreateUnion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10803 PyObject
*resultobj
= 0;
10804 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
10805 wxRect2D
*arg2
= 0 ;
10810 PyObject
* obj0
= 0 ;
10811 PyObject
* obj1
= 0 ;
10812 char * kwnames
[] = {
10813 (char *) "self",(char *) "otherRect", NULL
10816 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect2D_CreateUnion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10817 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
10818 if (!SWIG_IsOK(res1
)) {
10819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_CreateUnion" "', expected argument " "1"" of type '" "wxRect2D const *""'");
10821 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
10824 if ( ! wxRect2D_helper(obj1
, &arg2
)) SWIG_fail
;
10827 result
= ((wxRect2D
const *)arg1
)->CreateUnion((wxRect2D
const &)*arg2
);
10828 if (PyErr_Occurred()) SWIG_fail
;
10830 resultobj
= SWIG_NewPointerObj((new wxRect2D(static_cast< const wxRect2D
& >(result
))), SWIGTYPE_p_wxRect2D
, SWIG_POINTER_OWN
| 0 );
10837 SWIGINTERN PyObject
*_wrap_Rect2D_Scale__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
10838 PyObject
*resultobj
= 0;
10839 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
10846 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
10847 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
10848 if (!SWIG_IsOK(res1
)) {
10849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_Scale" "', expected argument " "1"" of type '" "wxRect2D *""'");
10851 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
10853 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDouble
, 0 | 0);
10854 if (!SWIG_IsOK(res2
)) {
10855 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Rect2D_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
10858 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Rect2D_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
10860 wxDouble
* temp
= reinterpret_cast< wxDouble
* >(argp2
);
10862 if (SWIG_IsNewObj(res2
)) delete temp
;
10866 (arg1
)->Scale(arg2
);
10867 if (PyErr_Occurred()) SWIG_fail
;
10869 resultobj
= SWIG_Py_Void();
10876 SWIGINTERN PyObject
*_wrap_Rect2D_Scale__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
10877 PyObject
*resultobj
= 0;
10878 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
10888 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
10889 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
10890 if (!SWIG_IsOK(res1
)) {
10891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_Scale" "', expected argument " "1"" of type '" "wxRect2D *""'");
10893 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
10894 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
10895 if (!SWIG_IsOK(ecode2
)) {
10896 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect2D_Scale" "', expected argument " "2"" of type '" "int""'");
10898 arg2
= static_cast< int >(val2
);
10899 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
10900 if (!SWIG_IsOK(ecode3
)) {
10901 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Rect2D_Scale" "', expected argument " "3"" of type '" "int""'");
10903 arg3
= static_cast< int >(val3
);
10905 (arg1
)->Scale(arg2
,arg3
);
10906 if (PyErr_Occurred()) SWIG_fail
;
10908 resultobj
= SWIG_Py_Void();
10915 SWIGINTERN PyObject
*_wrap_Rect2D_Scale(PyObject
*self
, PyObject
*args
) {
10919 if (!(argc
= SWIG_Python_UnpackTuple(args
,"Rect2D_Scale",0,3,argv
))) SWIG_fail
;
10922 return _wrap_Rect2D_Scale__SWIG_0(self
, argc
, argv
);
10925 return _wrap_Rect2D_Scale__SWIG_1(self
, argc
, argv
);
10929 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'Rect2D_Scale'");
10934 SWIGINTERN PyObject
*_wrap_Rect2D___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10935 PyObject
*resultobj
= 0;
10936 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
10937 PyObject
*arg2
= (PyObject
*) 0 ;
10941 PyObject
* obj0
= 0 ;
10942 PyObject
* obj1
= 0 ;
10943 char * kwnames
[] = {
10944 (char *) "self",(char *) "other", NULL
10947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect2D___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10948 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
10949 if (!SWIG_IsOK(res1
)) {
10950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D___eq__" "', expected argument " "1"" of type '" "wxRect2D *""'");
10952 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
10955 result
= (bool)wxRect2D___eq__(arg1
,arg2
);
10956 if (PyErr_Occurred()) SWIG_fail
;
10959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10967 SWIGINTERN PyObject
*_wrap_Rect2D___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10968 PyObject
*resultobj
= 0;
10969 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
10970 PyObject
*arg2
= (PyObject
*) 0 ;
10974 PyObject
* obj0
= 0 ;
10975 PyObject
* obj1
= 0 ;
10976 char * kwnames
[] = {
10977 (char *) "self",(char *) "other", NULL
10980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect2D___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10981 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
10982 if (!SWIG_IsOK(res1
)) {
10983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D___ne__" "', expected argument " "1"" of type '" "wxRect2D *""'");
10985 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
10988 result
= (bool)wxRect2D___ne__(arg1
,arg2
);
10989 if (PyErr_Occurred()) SWIG_fail
;
10992 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11000 SWIGINTERN PyObject
*_wrap_Rect2D_x_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11001 PyObject
*resultobj
= 0;
11002 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
11008 PyObject
*swig_obj
[2] ;
11010 if (!SWIG_Python_UnpackTuple(args
,"Rect2D_x_set",2,2,swig_obj
)) SWIG_fail
;
11011 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
11012 if (!SWIG_IsOK(res1
)) {
11013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_x_set" "', expected argument " "1"" of type '" "wxRect2D *""'");
11015 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
11017 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDouble
, 0 | 0);
11018 if (!SWIG_IsOK(res2
)) {
11019 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Rect2D_x_set" "', expected argument " "2"" of type '" "wxDouble""'");
11022 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Rect2D_x_set" "', expected argument " "2"" of type '" "wxDouble""'");
11024 wxDouble
* temp
= reinterpret_cast< wxDouble
* >(argp2
);
11026 if (SWIG_IsNewObj(res2
)) delete temp
;
11029 if (arg1
) (arg1
)->m_x
= arg2
;
11031 resultobj
= SWIG_Py_Void();
11038 SWIGINTERN PyObject
*_wrap_Rect2D_x_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11039 PyObject
*resultobj
= 0;
11040 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
11044 PyObject
*swig_obj
[1] ;
11046 if (!args
) SWIG_fail
;
11047 swig_obj
[0] = args
;
11048 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
11049 if (!SWIG_IsOK(res1
)) {
11050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_x_get" "', expected argument " "1"" of type '" "wxRect2D *""'");
11052 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
11053 result
= ((arg1
)->m_x
);
11054 resultobj
= SWIG_NewPointerObj((new wxDouble(static_cast< const wxDouble
& >(result
))), SWIGTYPE_p_wxDouble
, SWIG_POINTER_OWN
| 0 );
11061 SWIGINTERN PyObject
*_wrap_Rect2D_y_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11062 PyObject
*resultobj
= 0;
11063 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
11069 PyObject
*swig_obj
[2] ;
11071 if (!SWIG_Python_UnpackTuple(args
,"Rect2D_y_set",2,2,swig_obj
)) SWIG_fail
;
11072 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
11073 if (!SWIG_IsOK(res1
)) {
11074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_y_set" "', expected argument " "1"" of type '" "wxRect2D *""'");
11076 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
11078 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDouble
, 0 | 0);
11079 if (!SWIG_IsOK(res2
)) {
11080 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Rect2D_y_set" "', expected argument " "2"" of type '" "wxDouble""'");
11083 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Rect2D_y_set" "', expected argument " "2"" of type '" "wxDouble""'");
11085 wxDouble
* temp
= reinterpret_cast< wxDouble
* >(argp2
);
11087 if (SWIG_IsNewObj(res2
)) delete temp
;
11090 if (arg1
) (arg1
)->m_y
= arg2
;
11092 resultobj
= SWIG_Py_Void();
11099 SWIGINTERN PyObject
*_wrap_Rect2D_y_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11100 PyObject
*resultobj
= 0;
11101 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
11105 PyObject
*swig_obj
[1] ;
11107 if (!args
) SWIG_fail
;
11108 swig_obj
[0] = args
;
11109 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
11110 if (!SWIG_IsOK(res1
)) {
11111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_y_get" "', expected argument " "1"" of type '" "wxRect2D *""'");
11113 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
11114 result
= ((arg1
)->m_y
);
11115 resultobj
= SWIG_NewPointerObj((new wxDouble(static_cast< const wxDouble
& >(result
))), SWIGTYPE_p_wxDouble
, SWIG_POINTER_OWN
| 0 );
11122 SWIGINTERN PyObject
*_wrap_Rect2D_width_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11123 PyObject
*resultobj
= 0;
11124 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
11130 PyObject
*swig_obj
[2] ;
11132 if (!SWIG_Python_UnpackTuple(args
,"Rect2D_width_set",2,2,swig_obj
)) SWIG_fail
;
11133 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
11134 if (!SWIG_IsOK(res1
)) {
11135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_width_set" "', expected argument " "1"" of type '" "wxRect2D *""'");
11137 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
11139 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDouble
, 0 | 0);
11140 if (!SWIG_IsOK(res2
)) {
11141 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Rect2D_width_set" "', expected argument " "2"" of type '" "wxDouble""'");
11144 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Rect2D_width_set" "', expected argument " "2"" of type '" "wxDouble""'");
11146 wxDouble
* temp
= reinterpret_cast< wxDouble
* >(argp2
);
11148 if (SWIG_IsNewObj(res2
)) delete temp
;
11151 if (arg1
) (arg1
)->m_width
= arg2
;
11153 resultobj
= SWIG_Py_Void();
11160 SWIGINTERN PyObject
*_wrap_Rect2D_width_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11161 PyObject
*resultobj
= 0;
11162 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
11166 PyObject
*swig_obj
[1] ;
11168 if (!args
) SWIG_fail
;
11169 swig_obj
[0] = args
;
11170 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
11171 if (!SWIG_IsOK(res1
)) {
11172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_width_get" "', expected argument " "1"" of type '" "wxRect2D *""'");
11174 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
11175 result
= ((arg1
)->m_width
);
11176 resultobj
= SWIG_NewPointerObj((new wxDouble(static_cast< const wxDouble
& >(result
))), SWIGTYPE_p_wxDouble
, SWIG_POINTER_OWN
| 0 );
11183 SWIGINTERN PyObject
*_wrap_Rect2D_height_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11184 PyObject
*resultobj
= 0;
11185 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
11191 PyObject
*swig_obj
[2] ;
11193 if (!SWIG_Python_UnpackTuple(args
,"Rect2D_height_set",2,2,swig_obj
)) SWIG_fail
;
11194 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
11195 if (!SWIG_IsOK(res1
)) {
11196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_height_set" "', expected argument " "1"" of type '" "wxRect2D *""'");
11198 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
11200 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDouble
, 0 | 0);
11201 if (!SWIG_IsOK(res2
)) {
11202 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Rect2D_height_set" "', expected argument " "2"" of type '" "wxDouble""'");
11205 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Rect2D_height_set" "', expected argument " "2"" of type '" "wxDouble""'");
11207 wxDouble
* temp
= reinterpret_cast< wxDouble
* >(argp2
);
11209 if (SWIG_IsNewObj(res2
)) delete temp
;
11212 if (arg1
) (arg1
)->m_height
= arg2
;
11214 resultobj
= SWIG_Py_Void();
11221 SWIGINTERN PyObject
*_wrap_Rect2D_height_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11222 PyObject
*resultobj
= 0;
11223 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
11227 PyObject
*swig_obj
[1] ;
11229 if (!args
) SWIG_fail
;
11230 swig_obj
[0] = args
;
11231 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
11232 if (!SWIG_IsOK(res1
)) {
11233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_height_get" "', expected argument " "1"" of type '" "wxRect2D *""'");
11235 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
11236 result
= ((arg1
)->m_height
);
11237 resultobj
= SWIG_NewPointerObj((new wxDouble(static_cast< const wxDouble
& >(result
))), SWIGTYPE_p_wxDouble
, SWIG_POINTER_OWN
| 0 );
11244 SWIGINTERN PyObject
*_wrap_Rect2D_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11245 PyObject
*resultobj
= 0;
11246 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
11247 wxDouble arg2
= (wxDouble
) 0 ;
11248 wxDouble arg3
= (wxDouble
) 0 ;
11249 wxDouble arg4
= (wxDouble
) 0 ;
11250 wxDouble arg5
= (wxDouble
) 0 ;
11261 PyObject
* obj0
= 0 ;
11262 PyObject
* obj1
= 0 ;
11263 PyObject
* obj2
= 0 ;
11264 PyObject
* obj3
= 0 ;
11265 PyObject
* obj4
= 0 ;
11266 char * kwnames
[] = {
11267 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Rect2D_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11271 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
11272 if (!SWIG_IsOK(res1
)) {
11273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_Set" "', expected argument " "1"" of type '" "wxRect2D *""'");
11275 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
11278 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDouble
, 0 | 0);
11279 if (!SWIG_IsOK(res2
)) {
11280 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Rect2D_Set" "', expected argument " "2"" of type '" "wxDouble""'");
11283 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Rect2D_Set" "', expected argument " "2"" of type '" "wxDouble""'");
11285 wxDouble
* temp
= reinterpret_cast< wxDouble
* >(argp2
);
11287 if (SWIG_IsNewObj(res2
)) delete temp
;
11293 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDouble
, 0 | 0);
11294 if (!SWIG_IsOK(res3
)) {
11295 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Rect2D_Set" "', expected argument " "3"" of type '" "wxDouble""'");
11298 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Rect2D_Set" "', expected argument " "3"" of type '" "wxDouble""'");
11300 wxDouble
* temp
= reinterpret_cast< wxDouble
* >(argp3
);
11302 if (SWIG_IsNewObj(res3
)) delete temp
;
11308 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxDouble
, 0 | 0);
11309 if (!SWIG_IsOK(res4
)) {
11310 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Rect2D_Set" "', expected argument " "4"" of type '" "wxDouble""'");
11313 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Rect2D_Set" "', expected argument " "4"" of type '" "wxDouble""'");
11315 wxDouble
* temp
= reinterpret_cast< wxDouble
* >(argp4
);
11317 if (SWIG_IsNewObj(res4
)) delete temp
;
11323 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxDouble
, 0 | 0);
11324 if (!SWIG_IsOK(res5
)) {
11325 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "Rect2D_Set" "', expected argument " "5"" of type '" "wxDouble""'");
11328 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Rect2D_Set" "', expected argument " "5"" of type '" "wxDouble""'");
11330 wxDouble
* temp
= reinterpret_cast< wxDouble
* >(argp5
);
11332 if (SWIG_IsNewObj(res5
)) delete temp
;
11337 wxRect2D_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
11338 if (PyErr_Occurred()) SWIG_fail
;
11340 resultobj
= SWIG_Py_Void();
11347 SWIGINTERN PyObject
*_wrap_Rect2D_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11348 PyObject
*resultobj
= 0;
11349 wxRect2D
*arg1
= (wxRect2D
*) 0 ;
11350 PyObject
*result
= 0 ;
11353 PyObject
*swig_obj
[1] ;
11355 if (!args
) SWIG_fail
;
11356 swig_obj
[0] = args
;
11357 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect2D
, 0 | 0 );
11358 if (!SWIG_IsOK(res1
)) {
11359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect2D_Get" "', expected argument " "1"" of type '" "wxRect2D *""'");
11361 arg1
= reinterpret_cast< wxRect2D
* >(argp1
);
11363 result
= (PyObject
*)wxRect2D_Get(arg1
);
11364 if (PyErr_Occurred()) SWIG_fail
;
11366 resultobj
= result
;
11373 SWIGINTERN PyObject
*Rect2D_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11375 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11376 SWIG_TypeNewClientData(SWIGTYPE_p_wxRect2D
, SWIG_NewClientData(obj
));
11377 return SWIG_Py_Void();
11380 SWIGINTERN PyObject
*Rect2D_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11381 return SWIG_Python_InitShadowInstance(args
);
11384 SWIGINTERN
int DefaultPosition_set(PyObject
*) {
11385 SWIG_Error(SWIG_AttributeError
,"Variable DefaultPosition is read-only.");
11390 SWIGINTERN PyObject
*DefaultPosition_get(void) {
11391 PyObject
*pyobj
= 0;
11393 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxDefaultPosition
), SWIGTYPE_p_wxPoint
, 0 );
11398 SWIGINTERN
int DefaultSize_set(PyObject
*) {
11399 SWIG_Error(SWIG_AttributeError
,"Variable DefaultSize is read-only.");
11404 SWIGINTERN PyObject
*DefaultSize_get(void) {
11405 PyObject
*pyobj
= 0;
11407 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxDefaultSize
), SWIGTYPE_p_wxSize
, 0 );
11412 SWIGINTERN PyObject
*_wrap_new_InputStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11413 PyObject
*resultobj
= 0;
11414 PyObject
*arg1
= (PyObject
*) 0 ;
11415 wxPyInputStream
*result
= 0 ;
11416 PyObject
* obj0
= 0 ;
11417 char * kwnames
[] = {
11421 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_InputStream",kwnames
,&obj0
)) SWIG_fail
;
11424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11425 result
= (wxPyInputStream
*)new_wxPyInputStream(arg1
);
11426 wxPyEndAllowThreads(__tstate
);
11427 if (PyErr_Occurred()) SWIG_fail
;
11429 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_NEW
| 0 );
11436 SWIGINTERN PyObject
*_wrap_delete_InputStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11437 PyObject
*resultobj
= 0;
11438 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
11441 PyObject
*swig_obj
[1] ;
11443 if (!args
) SWIG_fail
;
11444 swig_obj
[0] = args
;
11445 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_DISOWN
| 0 );
11446 if (!SWIG_IsOK(res1
)) {
11447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_InputStream" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
11449 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
11451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11454 wxPyEndAllowThreads(__tstate
);
11455 if (PyErr_Occurred()) SWIG_fail
;
11457 resultobj
= SWIG_Py_Void();
11464 SWIGINTERN PyObject
*_wrap_InputStream_close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11465 PyObject
*resultobj
= 0;
11466 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
11469 PyObject
*swig_obj
[1] ;
11471 if (!args
) SWIG_fail
;
11472 swig_obj
[0] = args
;
11473 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
11474 if (!SWIG_IsOK(res1
)) {
11475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_close" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
11477 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
11479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11481 wxPyEndAllowThreads(__tstate
);
11482 if (PyErr_Occurred()) SWIG_fail
;
11484 resultobj
= SWIG_Py_Void();
11491 SWIGINTERN PyObject
*_wrap_InputStream_flush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11492 PyObject
*resultobj
= 0;
11493 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
11496 PyObject
*swig_obj
[1] ;
11498 if (!args
) SWIG_fail
;
11499 swig_obj
[0] = args
;
11500 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
11501 if (!SWIG_IsOK(res1
)) {
11502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_flush" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
11504 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
11506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11508 wxPyEndAllowThreads(__tstate
);
11509 if (PyErr_Occurred()) SWIG_fail
;
11511 resultobj
= SWIG_Py_Void();
11518 SWIGINTERN PyObject
*_wrap_InputStream_eof(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11519 PyObject
*resultobj
= 0;
11520 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
11524 PyObject
*swig_obj
[1] ;
11526 if (!args
) SWIG_fail
;
11527 swig_obj
[0] = args
;
11528 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
11529 if (!SWIG_IsOK(res1
)) {
11530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_eof" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
11532 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
11534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11535 result
= (bool)(arg1
)->eof();
11536 wxPyEndAllowThreads(__tstate
);
11537 if (PyErr_Occurred()) SWIG_fail
;
11540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11548 SWIGINTERN PyObject
*_wrap_InputStream_read(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11549 PyObject
*resultobj
= 0;
11550 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
11551 int arg2
= (int) -1 ;
11552 PyObject
*result
= 0 ;
11557 PyObject
* obj0
= 0 ;
11558 PyObject
* obj1
= 0 ;
11559 char * kwnames
[] = {
11560 (char *) "self",(char *) "size", NULL
11563 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_read",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11564 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
11565 if (!SWIG_IsOK(res1
)) {
11566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_read" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
11568 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
11570 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11571 if (!SWIG_IsOK(ecode2
)) {
11572 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "InputStream_read" "', expected argument " "2"" of type '" "int""'");
11574 arg2
= static_cast< int >(val2
);
11577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11578 result
= (PyObject
*)(arg1
)->read(arg2
);
11579 wxPyEndAllowThreads(__tstate
);
11580 if (PyErr_Occurred()) SWIG_fail
;
11582 resultobj
= result
;
11589 SWIGINTERN PyObject
*_wrap_InputStream_readline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11590 PyObject
*resultobj
= 0;
11591 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
11592 int arg2
= (int) -1 ;
11593 PyObject
*result
= 0 ;
11598 PyObject
* obj0
= 0 ;
11599 PyObject
* obj1
= 0 ;
11600 char * kwnames
[] = {
11601 (char *) "self",(char *) "size", NULL
11604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11605 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
11606 if (!SWIG_IsOK(res1
)) {
11607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_readline" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
11609 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
11611 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11612 if (!SWIG_IsOK(ecode2
)) {
11613 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "InputStream_readline" "', expected argument " "2"" of type '" "int""'");
11615 arg2
= static_cast< int >(val2
);
11618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11619 result
= (PyObject
*)(arg1
)->readline(arg2
);
11620 wxPyEndAllowThreads(__tstate
);
11621 if (PyErr_Occurred()) SWIG_fail
;
11623 resultobj
= result
;
11630 SWIGINTERN PyObject
*_wrap_InputStream_readlines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11631 PyObject
*resultobj
= 0;
11632 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
11633 int arg2
= (int) -1 ;
11634 PyObject
*result
= 0 ;
11639 PyObject
* obj0
= 0 ;
11640 PyObject
* obj1
= 0 ;
11641 char * kwnames
[] = {
11642 (char *) "self",(char *) "sizehint", NULL
11645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readlines",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11646 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
11647 if (!SWIG_IsOK(res1
)) {
11648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_readlines" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
11650 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
11652 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11653 if (!SWIG_IsOK(ecode2
)) {
11654 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "InputStream_readlines" "', expected argument " "2"" of type '" "int""'");
11656 arg2
= static_cast< int >(val2
);
11659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11660 result
= (PyObject
*)(arg1
)->readlines(arg2
);
11661 wxPyEndAllowThreads(__tstate
);
11662 if (PyErr_Occurred()) SWIG_fail
;
11664 resultobj
= result
;
11671 SWIGINTERN PyObject
*_wrap_InputStream_seek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11672 PyObject
*resultobj
= 0;
11673 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
11675 int arg3
= (int) 0 ;
11682 PyObject
* obj0
= 0 ;
11683 PyObject
* obj1
= 0 ;
11684 PyObject
* obj2
= 0 ;
11685 char * kwnames
[] = {
11686 (char *) "self",(char *) "offset",(char *) "whence", NULL
11689 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_seek",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11690 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
11691 if (!SWIG_IsOK(res1
)) {
11692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_seek" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
11694 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
11695 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11696 if (!SWIG_IsOK(ecode2
)) {
11697 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "InputStream_seek" "', expected argument " "2"" of type '" "int""'");
11699 arg2
= static_cast< int >(val2
);
11701 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11702 if (!SWIG_IsOK(ecode3
)) {
11703 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "InputStream_seek" "', expected argument " "3"" of type '" "int""'");
11705 arg3
= static_cast< int >(val3
);
11708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11709 (arg1
)->seek(arg2
,arg3
);
11710 wxPyEndAllowThreads(__tstate
);
11711 if (PyErr_Occurred()) SWIG_fail
;
11713 resultobj
= SWIG_Py_Void();
11720 SWIGINTERN PyObject
*_wrap_InputStream_tell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11721 PyObject
*resultobj
= 0;
11722 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
11726 PyObject
*swig_obj
[1] ;
11728 if (!args
) SWIG_fail
;
11729 swig_obj
[0] = args
;
11730 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
11731 if (!SWIG_IsOK(res1
)) {
11732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_tell" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
11734 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
11736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11737 result
= (int)(arg1
)->tell();
11738 wxPyEndAllowThreads(__tstate
);
11739 if (PyErr_Occurred()) SWIG_fail
;
11741 resultobj
= SWIG_From_int(static_cast< int >(result
));
11748 SWIGINTERN PyObject
*_wrap_InputStream_Peek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11749 PyObject
*resultobj
= 0;
11750 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
11754 PyObject
*swig_obj
[1] ;
11756 if (!args
) SWIG_fail
;
11757 swig_obj
[0] = args
;
11758 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
11759 if (!SWIG_IsOK(res1
)) {
11760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_Peek" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
11762 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
11764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11765 result
= (char)(arg1
)->Peek();
11766 wxPyEndAllowThreads(__tstate
);
11767 if (PyErr_Occurred()) SWIG_fail
;
11769 resultobj
= SWIG_From_char(static_cast< char >(result
));
11776 SWIGINTERN PyObject
*_wrap_InputStream_GetC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11777 PyObject
*resultobj
= 0;
11778 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
11782 PyObject
*swig_obj
[1] ;
11784 if (!args
) SWIG_fail
;
11785 swig_obj
[0] = args
;
11786 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
11787 if (!SWIG_IsOK(res1
)) {
11788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_GetC" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
11790 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
11792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11793 result
= (char)(arg1
)->GetC();
11794 wxPyEndAllowThreads(__tstate
);
11795 if (PyErr_Occurred()) SWIG_fail
;
11797 resultobj
= SWIG_From_char(static_cast< char >(result
));
11804 SWIGINTERN PyObject
*_wrap_InputStream_LastRead(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11805 PyObject
*resultobj
= 0;
11806 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
11810 PyObject
*swig_obj
[1] ;
11812 if (!args
) SWIG_fail
;
11813 swig_obj
[0] = args
;
11814 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
11815 if (!SWIG_IsOK(res1
)) {
11816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_LastRead" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
11818 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
11820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11821 result
= (size_t)(arg1
)->LastRead();
11822 wxPyEndAllowThreads(__tstate
);
11823 if (PyErr_Occurred()) SWIG_fail
;
11825 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
11832 SWIGINTERN PyObject
*_wrap_InputStream_CanRead(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11833 PyObject
*resultobj
= 0;
11834 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
11838 PyObject
*swig_obj
[1] ;
11840 if (!args
) SWIG_fail
;
11841 swig_obj
[0] = args
;
11842 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
11843 if (!SWIG_IsOK(res1
)) {
11844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_CanRead" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
11846 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
11848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11849 result
= (bool)(arg1
)->CanRead();
11850 wxPyEndAllowThreads(__tstate
);
11851 if (PyErr_Occurred()) SWIG_fail
;
11854 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11862 SWIGINTERN PyObject
*_wrap_InputStream_Eof(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11863 PyObject
*resultobj
= 0;
11864 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
11868 PyObject
*swig_obj
[1] ;
11870 if (!args
) SWIG_fail
;
11871 swig_obj
[0] = args
;
11872 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
11873 if (!SWIG_IsOK(res1
)) {
11874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_Eof" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
11876 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
11878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11879 result
= (bool)(arg1
)->Eof();
11880 wxPyEndAllowThreads(__tstate
);
11881 if (PyErr_Occurred()) SWIG_fail
;
11884 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11892 SWIGINTERN PyObject
*_wrap_InputStream_Ungetch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11893 PyObject
*resultobj
= 0;
11894 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
11901 PyObject
* obj0
= 0 ;
11902 PyObject
* obj1
= 0 ;
11903 char * kwnames
[] = {
11904 (char *) "self",(char *) "c", NULL
11907 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InputStream_Ungetch",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11908 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
11909 if (!SWIG_IsOK(res1
)) {
11910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_Ungetch" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
11912 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
11913 ecode2
= SWIG_AsVal_char(obj1
, &val2
);
11914 if (!SWIG_IsOK(ecode2
)) {
11915 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "InputStream_Ungetch" "', expected argument " "2"" of type '" "char""'");
11917 arg2
= static_cast< char >(val2
);
11919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11920 result
= (bool)(arg1
)->Ungetch(arg2
);
11921 wxPyEndAllowThreads(__tstate
);
11922 if (PyErr_Occurred()) SWIG_fail
;
11925 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11933 SWIGINTERN PyObject
*_wrap_InputStream_SeekI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11934 PyObject
*resultobj
= 0;
11935 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
11937 wxSeekMode arg3
= (wxSeekMode
) wxFromStart
;
11945 PyObject
* obj0
= 0 ;
11946 PyObject
* obj1
= 0 ;
11947 PyObject
* obj2
= 0 ;
11948 char * kwnames
[] = {
11949 (char *) "self",(char *) "pos",(char *) "mode", NULL
11952 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_SeekI",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11953 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
11954 if (!SWIG_IsOK(res1
)) {
11955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_SeekI" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
11957 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
11958 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11959 if (!SWIG_IsOK(ecode2
)) {
11960 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "InputStream_SeekI" "', expected argument " "2"" of type '" "long""'");
11962 arg2
= static_cast< long >(val2
);
11964 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11965 if (!SWIG_IsOK(ecode3
)) {
11966 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "InputStream_SeekI" "', expected argument " "3"" of type '" "wxSeekMode""'");
11968 arg3
= static_cast< wxSeekMode
>(val3
);
11971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11972 result
= (long)(arg1
)->SeekI(arg2
,arg3
);
11973 wxPyEndAllowThreads(__tstate
);
11974 if (PyErr_Occurred()) SWIG_fail
;
11976 resultobj
= SWIG_From_long(static_cast< long >(result
));
11983 SWIGINTERN PyObject
*_wrap_InputStream_TellI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11984 PyObject
*resultobj
= 0;
11985 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
11989 PyObject
*swig_obj
[1] ;
11991 if (!args
) SWIG_fail
;
11992 swig_obj
[0] = args
;
11993 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
11994 if (!SWIG_IsOK(res1
)) {
11995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_TellI" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
11997 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
11999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12000 result
= (long)(arg1
)->TellI();
12001 wxPyEndAllowThreads(__tstate
);
12002 if (PyErr_Occurred()) SWIG_fail
;
12004 resultobj
= SWIG_From_long(static_cast< long >(result
));
12011 SWIGINTERN PyObject
*InputStream_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12013 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12014 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyInputStream
, SWIG_NewClientData(obj
));
12015 return SWIG_Py_Void();
12018 SWIGINTERN PyObject
*InputStream_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12019 return SWIG_Python_InitShadowInstance(args
);
12022 SWIGINTERN PyObject
*_wrap_OutputStream_write(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12023 PyObject
*resultobj
= 0;
12024 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
12025 PyObject
*arg2
= (PyObject
*) 0 ;
12028 PyObject
* obj0
= 0 ;
12029 PyObject
* obj1
= 0 ;
12030 char * kwnames
[] = {
12031 (char *) "self",(char *) "obj", NULL
12034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:OutputStream_write",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12035 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxOutputStream
, 0 | 0 );
12036 if (!SWIG_IsOK(res1
)) {
12037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "OutputStream_write" "', expected argument " "1"" of type '" "wxOutputStream *""'");
12039 arg1
= reinterpret_cast< wxOutputStream
* >(argp1
);
12042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12043 wxOutputStream_write(arg1
,arg2
);
12044 wxPyEndAllowThreads(__tstate
);
12045 if (PyErr_Occurred()) SWIG_fail
;
12047 resultobj
= SWIG_Py_Void();
12054 SWIGINTERN PyObject
*_wrap_OutputStream_LastWrite(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12055 PyObject
*resultobj
= 0;
12056 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
12060 PyObject
*swig_obj
[1] ;
12062 if (!args
) SWIG_fail
;
12063 swig_obj
[0] = args
;
12064 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOutputStream
, 0 | 0 );
12065 if (!SWIG_IsOK(res1
)) {
12066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "OutputStream_LastWrite" "', expected argument " "1"" of type '" "wxOutputStream const *""'");
12068 arg1
= reinterpret_cast< wxOutputStream
* >(argp1
);
12070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12071 result
= (size_t)((wxOutputStream
const *)arg1
)->LastWrite();
12072 wxPyEndAllowThreads(__tstate
);
12073 if (PyErr_Occurred()) SWIG_fail
;
12075 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
12082 SWIGINTERN PyObject
*OutputStream_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12084 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12085 SWIG_TypeNewClientData(SWIGTYPE_p_wxOutputStream
, SWIG_NewClientData(obj
));
12086 return SWIG_Py_Void();
12089 SWIGINTERN PyObject
*_wrap_new_FSFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12090 PyObject
*resultobj
= 0;
12091 wxInputStream
*arg1
= (wxInputStream
*) 0 ;
12092 wxString
*arg2
= 0 ;
12093 wxString
*arg3
= 0 ;
12094 wxString
*arg4
= 0 ;
12096 wxFSFile
*result
= 0 ;
12097 wxPyInputStream
*temp1
;
12098 bool temp2
= false ;
12099 bool temp3
= false ;
12100 bool temp4
= false ;
12103 PyObject
* obj0
= 0 ;
12104 PyObject
* obj1
= 0 ;
12105 PyObject
* obj2
= 0 ;
12106 PyObject
* obj3
= 0 ;
12107 PyObject
* obj4
= 0 ;
12108 char * kwnames
[] = {
12109 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
12112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_FSFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
12114 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
12115 arg1
= wxPyCBInputStream_copy((wxPyCBInputStream
*)temp1
->m_wxis
);
12117 PyErr_Clear(); // clear the failure of the wxPyConvert above
12118 arg1
= wxPyCBInputStream_create(obj0
, true);
12119 if (arg1
== NULL
) {
12120 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
12126 arg2
= wxString_in_helper(obj1
);
12127 if (arg2
== NULL
) SWIG_fail
;
12131 arg3
= wxString_in_helper(obj2
);
12132 if (arg3
== NULL
) SWIG_fail
;
12136 arg4
= wxString_in_helper(obj3
);
12137 if (arg4
== NULL
) SWIG_fail
;
12141 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxDateTime
, 0 | 0);
12142 if (!SWIG_IsOK(res5
)) {
12143 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "new_FSFile" "', expected argument " "5"" of type '" "wxDateTime""'");
12146 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FSFile" "', expected argument " "5"" of type '" "wxDateTime""'");
12148 wxDateTime
* temp
= reinterpret_cast< wxDateTime
* >(argp5
);
12150 if (SWIG_IsNewObj(res5
)) delete temp
;
12154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12155 result
= (wxFSFile
*)new wxFSFile(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
12156 wxPyEndAllowThreads(__tstate
);
12157 if (PyErr_Occurred()) SWIG_fail
;
12159 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFSFile
, SWIG_POINTER_NEW
| 0 );
12190 SWIGINTERN PyObject
*_wrap_delete_FSFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12191 PyObject
*resultobj
= 0;
12192 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
12195 PyObject
*swig_obj
[1] ;
12197 if (!args
) SWIG_fail
;
12198 swig_obj
[0] = args
;
12199 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFSFile
, SWIG_POINTER_DISOWN
| 0 );
12200 if (!SWIG_IsOK(res1
)) {
12201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FSFile" "', expected argument " "1"" of type '" "wxFSFile *""'");
12203 arg1
= reinterpret_cast< wxFSFile
* >(argp1
);
12205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12208 wxPyEndAllowThreads(__tstate
);
12209 if (PyErr_Occurred()) SWIG_fail
;
12211 resultobj
= SWIG_Py_Void();
12218 SWIGINTERN PyObject
*_wrap_FSFile_GetStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12219 PyObject
*resultobj
= 0;
12220 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
12221 wxInputStream
*result
= 0 ;
12224 PyObject
*swig_obj
[1] ;
12226 if (!args
) SWIG_fail
;
12227 swig_obj
[0] = args
;
12228 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFSFile
, 0 | 0 );
12229 if (!SWIG_IsOK(res1
)) {
12230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FSFile_GetStream" "', expected argument " "1"" of type '" "wxFSFile *""'");
12232 arg1
= reinterpret_cast< wxFSFile
* >(argp1
);
12234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12235 result
= (wxInputStream
*)(arg1
)->GetStream();
12236 wxPyEndAllowThreads(__tstate
);
12237 if (PyErr_Occurred()) SWIG_fail
;
12240 wxPyInputStream
* _ptr
= NULL
;
12243 _ptr
= new wxPyInputStream(result
);
12245 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
12253 SWIGINTERN PyObject
*_wrap_FSFile_DetachStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12254 PyObject
*resultobj
= 0;
12255 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
12258 PyObject
*swig_obj
[1] ;
12260 if (!args
) SWIG_fail
;
12261 swig_obj
[0] = args
;
12262 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFSFile
, 0 | 0 );
12263 if (!SWIG_IsOK(res1
)) {
12264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FSFile_DetachStream" "', expected argument " "1"" of type '" "wxFSFile *""'");
12266 arg1
= reinterpret_cast< wxFSFile
* >(argp1
);
12268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12269 (arg1
)->DetachStream();
12270 wxPyEndAllowThreads(__tstate
);
12271 if (PyErr_Occurred()) SWIG_fail
;
12273 resultobj
= SWIG_Py_Void();
12280 SWIGINTERN PyObject
*_wrap_FSFile_GetMimeType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12281 PyObject
*resultobj
= 0;
12282 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
12283 wxString
*result
= 0 ;
12286 PyObject
*swig_obj
[1] ;
12288 if (!args
) SWIG_fail
;
12289 swig_obj
[0] = args
;
12290 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFSFile
, 0 | 0 );
12291 if (!SWIG_IsOK(res1
)) {
12292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FSFile_GetMimeType" "', expected argument " "1"" of type '" "wxFSFile *""'");
12294 arg1
= reinterpret_cast< wxFSFile
* >(argp1
);
12296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12298 wxString
const &_result_ref
= (arg1
)->GetMimeType();
12299 result
= (wxString
*) &_result_ref
;
12301 wxPyEndAllowThreads(__tstate
);
12302 if (PyErr_Occurred()) SWIG_fail
;
12306 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12308 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12317 SWIGINTERN PyObject
*_wrap_FSFile_GetLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12318 PyObject
*resultobj
= 0;
12319 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
12320 wxString
*result
= 0 ;
12323 PyObject
*swig_obj
[1] ;
12325 if (!args
) SWIG_fail
;
12326 swig_obj
[0] = args
;
12327 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFSFile
, 0 | 0 );
12328 if (!SWIG_IsOK(res1
)) {
12329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FSFile_GetLocation" "', expected argument " "1"" of type '" "wxFSFile *""'");
12331 arg1
= reinterpret_cast< wxFSFile
* >(argp1
);
12333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12335 wxString
const &_result_ref
= (arg1
)->GetLocation();
12336 result
= (wxString
*) &_result_ref
;
12338 wxPyEndAllowThreads(__tstate
);
12339 if (PyErr_Occurred()) SWIG_fail
;
12343 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12345 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12354 SWIGINTERN PyObject
*_wrap_FSFile_GetAnchor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12355 PyObject
*resultobj
= 0;
12356 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
12357 wxString
*result
= 0 ;
12360 PyObject
*swig_obj
[1] ;
12362 if (!args
) SWIG_fail
;
12363 swig_obj
[0] = args
;
12364 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFSFile
, 0 | 0 );
12365 if (!SWIG_IsOK(res1
)) {
12366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FSFile_GetAnchor" "', expected argument " "1"" of type '" "wxFSFile *""'");
12368 arg1
= reinterpret_cast< wxFSFile
* >(argp1
);
12370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12372 wxString
const &_result_ref
= (arg1
)->GetAnchor();
12373 result
= (wxString
*) &_result_ref
;
12375 wxPyEndAllowThreads(__tstate
);
12376 if (PyErr_Occurred()) SWIG_fail
;
12380 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12382 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12391 SWIGINTERN PyObject
*_wrap_FSFile_GetModificationTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12392 PyObject
*resultobj
= 0;
12393 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
12397 PyObject
*swig_obj
[1] ;
12399 if (!args
) SWIG_fail
;
12400 swig_obj
[0] = args
;
12401 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFSFile
, 0 | 0 );
12402 if (!SWIG_IsOK(res1
)) {
12403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FSFile_GetModificationTime" "', expected argument " "1"" of type '" "wxFSFile *""'");
12405 arg1
= reinterpret_cast< wxFSFile
* >(argp1
);
12407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12408 result
= (arg1
)->GetModificationTime();
12409 wxPyEndAllowThreads(__tstate
);
12410 if (PyErr_Occurred()) SWIG_fail
;
12412 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
12419 SWIGINTERN PyObject
*FSFile_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12421 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12422 SWIG_TypeNewClientData(SWIGTYPE_p_wxFSFile
, SWIG_NewClientData(obj
));
12423 return SWIG_Py_Void();
12426 SWIGINTERN PyObject
*FSFile_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12427 return SWIG_Python_InitShadowInstance(args
);
12430 SWIGINTERN PyObject
*_wrap_delete_CPPFileSystemHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12431 PyObject
*resultobj
= 0;
12432 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
12435 PyObject
*swig_obj
[1] ;
12437 if (!args
) SWIG_fail
;
12438 swig_obj
[0] = args
;
12439 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileSystemHandler
, SWIG_POINTER_DISOWN
| 0 );
12440 if (!SWIG_IsOK(res1
)) {
12441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_CPPFileSystemHandler" "', expected argument " "1"" of type '" "wxFileSystemHandler *""'");
12443 arg1
= reinterpret_cast< wxFileSystemHandler
* >(argp1
);
12445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12448 wxPyEndAllowThreads(__tstate
);
12449 if (PyErr_Occurred()) SWIG_fail
;
12451 resultobj
= SWIG_Py_Void();
12458 SWIGINTERN PyObject
*CPPFileSystemHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12460 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12461 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileSystemHandler
, SWIG_NewClientData(obj
));
12462 return SWIG_Py_Void();
12465 SWIGINTERN PyObject
*_wrap_new_FileSystemHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12466 PyObject
*resultobj
= 0;
12467 wxPyFileSystemHandler
*result
= 0 ;
12469 if (!SWIG_Python_UnpackTuple(args
,"new_FileSystemHandler",0,0,0)) SWIG_fail
;
12471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12472 result
= (wxPyFileSystemHandler
*)new wxPyFileSystemHandler();
12473 wxPyEndAllowThreads(__tstate
);
12474 if (PyErr_Occurred()) SWIG_fail
;
12476 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_NEW
| 0 );
12483 SWIGINTERN PyObject
*_wrap_FileSystemHandler__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12484 PyObject
*resultobj
= 0;
12485 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
12486 PyObject
*arg2
= (PyObject
*) 0 ;
12487 PyObject
*arg3
= (PyObject
*) 0 ;
12490 PyObject
* obj0
= 0 ;
12491 PyObject
* obj1
= 0 ;
12492 PyObject
* obj2
= 0 ;
12493 char * kwnames
[] = {
12494 (char *) "self",(char *) "self",(char *) "_class", NULL
12497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12498 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileSystemHandler
, 0 | 0 );
12499 if (!SWIG_IsOK(res1
)) {
12500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystemHandler__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFileSystemHandler *""'");
12502 arg1
= reinterpret_cast< wxPyFileSystemHandler
* >(argp1
);
12506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12507 (arg1
)->_setCallbackInfo(arg2
,arg3
);
12508 wxPyEndAllowThreads(__tstate
);
12509 if (PyErr_Occurred()) SWIG_fail
;
12511 resultobj
= SWIG_Py_Void();
12518 SWIGINTERN PyObject
*_wrap_FileSystemHandler_CanOpen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12519 PyObject
*resultobj
= 0;
12520 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
12521 wxString
*arg2
= 0 ;
12525 bool temp2
= false ;
12526 PyObject
* obj0
= 0 ;
12527 PyObject
* obj1
= 0 ;
12528 char * kwnames
[] = {
12529 (char *) "self",(char *) "location", NULL
12532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_CanOpen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12533 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileSystemHandler
, 0 | 0 );
12534 if (!SWIG_IsOK(res1
)) {
12535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystemHandler_CanOpen" "', expected argument " "1"" of type '" "wxPyFileSystemHandler *""'");
12537 arg1
= reinterpret_cast< wxPyFileSystemHandler
* >(argp1
);
12539 arg2
= wxString_in_helper(obj1
);
12540 if (arg2
== NULL
) SWIG_fail
;
12544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12545 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
12546 wxPyEndAllowThreads(__tstate
);
12547 if (PyErr_Occurred()) SWIG_fail
;
12550 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12566 SWIGINTERN PyObject
*_wrap_FileSystemHandler_OpenFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12567 PyObject
*resultobj
= 0;
12568 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
12569 wxFileSystem
*arg2
= 0 ;
12570 wxString
*arg3
= 0 ;
12571 wxFSFile
*result
= 0 ;
12576 bool temp3
= false ;
12577 PyObject
* obj0
= 0 ;
12578 PyObject
* obj1
= 0 ;
12579 PyObject
* obj2
= 0 ;
12580 char * kwnames
[] = {
12581 (char *) "self",(char *) "fs",(char *) "location", NULL
12584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12585 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileSystemHandler
, 0 | 0 );
12586 if (!SWIG_IsOK(res1
)) {
12587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystemHandler_OpenFile" "', expected argument " "1"" of type '" "wxPyFileSystemHandler *""'");
12589 arg1
= reinterpret_cast< wxPyFileSystemHandler
* >(argp1
);
12590 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFileSystem
, 0 );
12591 if (!SWIG_IsOK(res2
)) {
12592 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileSystemHandler_OpenFile" "', expected argument " "2"" of type '" "wxFileSystem &""'");
12595 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FileSystemHandler_OpenFile" "', expected argument " "2"" of type '" "wxFileSystem &""'");
12597 arg2
= reinterpret_cast< wxFileSystem
* >(argp2
);
12599 arg3
= wxString_in_helper(obj2
);
12600 if (arg3
== NULL
) SWIG_fail
;
12604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12605 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
12606 wxPyEndAllowThreads(__tstate
);
12607 if (PyErr_Occurred()) SWIG_fail
;
12610 resultobj
= wxPyMake_wxObject(result
, SWIG_POINTER_OWN
);
12626 SWIGINTERN PyObject
*_wrap_FileSystemHandler_FindFirst(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12627 PyObject
*resultobj
= 0;
12628 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
12629 wxString
*arg2
= 0 ;
12630 int arg3
= (int) 0 ;
12634 bool temp2
= false ;
12637 PyObject
* obj0
= 0 ;
12638 PyObject
* obj1
= 0 ;
12639 PyObject
* obj2
= 0 ;
12640 char * kwnames
[] = {
12641 (char *) "self",(char *) "spec",(char *) "flags", NULL
12644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12645 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileSystemHandler
, 0 | 0 );
12646 if (!SWIG_IsOK(res1
)) {
12647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystemHandler_FindFirst" "', expected argument " "1"" of type '" "wxPyFileSystemHandler *""'");
12649 arg1
= reinterpret_cast< wxPyFileSystemHandler
* >(argp1
);
12651 arg2
= wxString_in_helper(obj1
);
12652 if (arg2
== NULL
) SWIG_fail
;
12656 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12657 if (!SWIG_IsOK(ecode3
)) {
12658 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileSystemHandler_FindFirst" "', expected argument " "3"" of type '" "int""'");
12660 arg3
= static_cast< int >(val3
);
12663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12664 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
12665 wxPyEndAllowThreads(__tstate
);
12666 if (PyErr_Occurred()) SWIG_fail
;
12670 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12672 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12689 SWIGINTERN PyObject
*_wrap_FileSystemHandler_FindNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12690 PyObject
*resultobj
= 0;
12691 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
12695 PyObject
*swig_obj
[1] ;
12697 if (!args
) SWIG_fail
;
12698 swig_obj
[0] = args
;
12699 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFileSystemHandler
, 0 | 0 );
12700 if (!SWIG_IsOK(res1
)) {
12701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystemHandler_FindNext" "', expected argument " "1"" of type '" "wxPyFileSystemHandler *""'");
12703 arg1
= reinterpret_cast< wxPyFileSystemHandler
* >(argp1
);
12705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12706 result
= (arg1
)->FindNext();
12707 wxPyEndAllowThreads(__tstate
);
12708 if (PyErr_Occurred()) SWIG_fail
;
12712 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12714 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12723 SWIGINTERN PyObject
*_wrap_FileSystemHandler_GetProtocol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12724 PyObject
*resultobj
= 0;
12725 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
12726 wxString
*arg2
= 0 ;
12730 bool temp2
= false ;
12731 PyObject
* obj0
= 0 ;
12732 PyObject
* obj1
= 0 ;
12733 char * kwnames
[] = {
12734 (char *) "self",(char *) "location", NULL
12737 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetProtocol",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12738 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileSystemHandler
, 0 | 0 );
12739 if (!SWIG_IsOK(res1
)) {
12740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystemHandler_GetProtocol" "', expected argument " "1"" of type '" "wxPyFileSystemHandler *""'");
12742 arg1
= reinterpret_cast< wxPyFileSystemHandler
* >(argp1
);
12744 arg2
= wxString_in_helper(obj1
);
12745 if (arg2
== NULL
) SWIG_fail
;
12749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12750 result
= (arg1
)->GetProtocol((wxString
const &)*arg2
);
12751 wxPyEndAllowThreads(__tstate
);
12752 if (PyErr_Occurred()) SWIG_fail
;
12756 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12758 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12775 SWIGINTERN PyObject
*_wrap_FileSystemHandler_GetLeftLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12776 PyObject
*resultobj
= 0;
12777 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
12778 wxString
*arg2
= 0 ;
12782 bool temp2
= false ;
12783 PyObject
* obj0
= 0 ;
12784 PyObject
* obj1
= 0 ;
12785 char * kwnames
[] = {
12786 (char *) "self",(char *) "location", NULL
12789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12790 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileSystemHandler
, 0 | 0 );
12791 if (!SWIG_IsOK(res1
)) {
12792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystemHandler_GetLeftLocation" "', expected argument " "1"" of type '" "wxPyFileSystemHandler *""'");
12794 arg1
= reinterpret_cast< wxPyFileSystemHandler
* >(argp1
);
12796 arg2
= wxString_in_helper(obj1
);
12797 if (arg2
== NULL
) SWIG_fail
;
12801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12802 result
= (arg1
)->GetLeftLocation((wxString
const &)*arg2
);
12803 wxPyEndAllowThreads(__tstate
);
12804 if (PyErr_Occurred()) SWIG_fail
;
12808 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12810 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12827 SWIGINTERN PyObject
*_wrap_FileSystemHandler_GetAnchor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12828 PyObject
*resultobj
= 0;
12829 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
12830 wxString
*arg2
= 0 ;
12834 bool temp2
= false ;
12835 PyObject
* obj0
= 0 ;
12836 PyObject
* obj1
= 0 ;
12837 char * kwnames
[] = {
12838 (char *) "self",(char *) "location", NULL
12841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetAnchor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12842 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileSystemHandler
, 0 | 0 );
12843 if (!SWIG_IsOK(res1
)) {
12844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystemHandler_GetAnchor" "', expected argument " "1"" of type '" "wxPyFileSystemHandler *""'");
12846 arg1
= reinterpret_cast< wxPyFileSystemHandler
* >(argp1
);
12848 arg2
= wxString_in_helper(obj1
);
12849 if (arg2
== NULL
) SWIG_fail
;
12853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12854 result
= (arg1
)->GetAnchor((wxString
const &)*arg2
);
12855 wxPyEndAllowThreads(__tstate
);
12856 if (PyErr_Occurred()) SWIG_fail
;
12860 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12862 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12879 SWIGINTERN PyObject
*_wrap_FileSystemHandler_GetRightLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12880 PyObject
*resultobj
= 0;
12881 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
12882 wxString
*arg2
= 0 ;
12886 bool temp2
= false ;
12887 PyObject
* obj0
= 0 ;
12888 PyObject
* obj1
= 0 ;
12889 char * kwnames
[] = {
12890 (char *) "self",(char *) "location", NULL
12893 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12894 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileSystemHandler
, 0 | 0 );
12895 if (!SWIG_IsOK(res1
)) {
12896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystemHandler_GetRightLocation" "', expected argument " "1"" of type '" "wxPyFileSystemHandler *""'");
12898 arg1
= reinterpret_cast< wxPyFileSystemHandler
* >(argp1
);
12900 arg2
= wxString_in_helper(obj1
);
12901 if (arg2
== NULL
) SWIG_fail
;
12905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12906 result
= (arg1
)->GetRightLocation((wxString
const &)*arg2
);
12907 wxPyEndAllowThreads(__tstate
);
12908 if (PyErr_Occurred()) SWIG_fail
;
12912 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12914 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12931 SWIGINTERN PyObject
*_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12932 PyObject
*resultobj
= 0;
12933 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
12934 wxString
*arg2
= 0 ;
12938 bool temp2
= false ;
12939 PyObject
* obj0
= 0 ;
12940 PyObject
* obj1
= 0 ;
12941 char * kwnames
[] = {
12942 (char *) "self",(char *) "location", NULL
12945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12946 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileSystemHandler
, 0 | 0 );
12947 if (!SWIG_IsOK(res1
)) {
12948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystemHandler_GetMimeTypeFromExt" "', expected argument " "1"" of type '" "wxPyFileSystemHandler *""'");
12950 arg1
= reinterpret_cast< wxPyFileSystemHandler
* >(argp1
);
12952 arg2
= wxString_in_helper(obj1
);
12953 if (arg2
== NULL
) SWIG_fail
;
12957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12958 result
= (arg1
)->GetMimeTypeFromExt((wxString
const &)*arg2
);
12959 wxPyEndAllowThreads(__tstate
);
12960 if (PyErr_Occurred()) SWIG_fail
;
12964 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12966 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12983 SWIGINTERN PyObject
*FileSystemHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12985 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12986 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_NewClientData(obj
));
12987 return SWIG_Py_Void();
12990 SWIGINTERN PyObject
*FileSystemHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12991 return SWIG_Python_InitShadowInstance(args
);
12994 SWIGINTERN PyObject
*_wrap_new_FileSystem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12995 PyObject
*resultobj
= 0;
12996 wxFileSystem
*result
= 0 ;
12998 if (!SWIG_Python_UnpackTuple(args
,"new_FileSystem",0,0,0)) SWIG_fail
;
13000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13001 result
= (wxFileSystem
*)new wxFileSystem();
13002 wxPyEndAllowThreads(__tstate
);
13003 if (PyErr_Occurred()) SWIG_fail
;
13005 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_NEW
| 0 );
13012 SWIGINTERN PyObject
*_wrap_delete_FileSystem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13013 PyObject
*resultobj
= 0;
13014 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
13017 PyObject
*swig_obj
[1] ;
13019 if (!args
) SWIG_fail
;
13020 swig_obj
[0] = args
;
13021 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_DISOWN
| 0 );
13022 if (!SWIG_IsOK(res1
)) {
13023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FileSystem" "', expected argument " "1"" of type '" "wxFileSystem *""'");
13025 arg1
= reinterpret_cast< wxFileSystem
* >(argp1
);
13027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13030 wxPyEndAllowThreads(__tstate
);
13031 if (PyErr_Occurred()) SWIG_fail
;
13033 resultobj
= SWIG_Py_Void();
13040 SWIGINTERN PyObject
*_wrap_FileSystem_ChangePathTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13041 PyObject
*resultobj
= 0;
13042 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
13043 wxString
*arg2
= 0 ;
13044 bool arg3
= (bool) false ;
13047 bool temp2
= false ;
13050 PyObject
* obj0
= 0 ;
13051 PyObject
* obj1
= 0 ;
13052 PyObject
* obj2
= 0 ;
13053 char * kwnames
[] = {
13054 (char *) "self",(char *) "location",(char *) "is_dir", NULL
13057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_ChangePathTo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13058 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileSystem
, 0 | 0 );
13059 if (!SWIG_IsOK(res1
)) {
13060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystem_ChangePathTo" "', expected argument " "1"" of type '" "wxFileSystem *""'");
13062 arg1
= reinterpret_cast< wxFileSystem
* >(argp1
);
13064 arg2
= wxString_in_helper(obj1
);
13065 if (arg2
== NULL
) SWIG_fail
;
13069 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
13070 if (!SWIG_IsOK(ecode3
)) {
13071 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileSystem_ChangePathTo" "', expected argument " "3"" of type '" "bool""'");
13073 arg3
= static_cast< bool >(val3
);
13076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13077 (arg1
)->ChangePathTo((wxString
const &)*arg2
,arg3
);
13078 wxPyEndAllowThreads(__tstate
);
13079 if (PyErr_Occurred()) SWIG_fail
;
13081 resultobj
= SWIG_Py_Void();
13096 SWIGINTERN PyObject
*_wrap_FileSystem_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13097 PyObject
*resultobj
= 0;
13098 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
13102 PyObject
*swig_obj
[1] ;
13104 if (!args
) SWIG_fail
;
13105 swig_obj
[0] = args
;
13106 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileSystem
, 0 | 0 );
13107 if (!SWIG_IsOK(res1
)) {
13108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystem_GetPath" "', expected argument " "1"" of type '" "wxFileSystem *""'");
13110 arg1
= reinterpret_cast< wxFileSystem
* >(argp1
);
13112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13113 result
= (arg1
)->GetPath();
13114 wxPyEndAllowThreads(__tstate
);
13115 if (PyErr_Occurred()) SWIG_fail
;
13119 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13121 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13130 SWIGINTERN PyObject
*_wrap_FileSystem_OpenFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13131 PyObject
*resultobj
= 0;
13132 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
13133 wxString
*arg2
= 0 ;
13134 wxFSFile
*result
= 0 ;
13137 bool temp2
= false ;
13138 PyObject
* obj0
= 0 ;
13139 PyObject
* obj1
= 0 ;
13140 char * kwnames
[] = {
13141 (char *) "self",(char *) "location", NULL
13144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystem_OpenFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileSystem
, 0 | 0 );
13146 if (!SWIG_IsOK(res1
)) {
13147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystem_OpenFile" "', expected argument " "1"" of type '" "wxFileSystem *""'");
13149 arg1
= reinterpret_cast< wxFileSystem
* >(argp1
);
13151 arg2
= wxString_in_helper(obj1
);
13152 if (arg2
== NULL
) SWIG_fail
;
13156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13157 result
= (wxFSFile
*)(arg1
)->OpenFile((wxString
const &)*arg2
);
13158 wxPyEndAllowThreads(__tstate
);
13159 if (PyErr_Occurred()) SWIG_fail
;
13162 resultobj
= wxPyMake_wxObject(result
, SWIG_POINTER_OWN
);
13178 SWIGINTERN PyObject
*_wrap_FileSystem_FindFirst(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13179 PyObject
*resultobj
= 0;
13180 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
13181 wxString
*arg2
= 0 ;
13182 int arg3
= (int) 0 ;
13186 bool temp2
= false ;
13189 PyObject
* obj0
= 0 ;
13190 PyObject
* obj1
= 0 ;
13191 PyObject
* obj2
= 0 ;
13192 char * kwnames
[] = {
13193 (char *) "self",(char *) "spec",(char *) "flags", NULL
13196 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13197 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileSystem
, 0 | 0 );
13198 if (!SWIG_IsOK(res1
)) {
13199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystem_FindFirst" "', expected argument " "1"" of type '" "wxFileSystem *""'");
13201 arg1
= reinterpret_cast< wxFileSystem
* >(argp1
);
13203 arg2
= wxString_in_helper(obj1
);
13204 if (arg2
== NULL
) SWIG_fail
;
13208 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13209 if (!SWIG_IsOK(ecode3
)) {
13210 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileSystem_FindFirst" "', expected argument " "3"" of type '" "int""'");
13212 arg3
= static_cast< int >(val3
);
13215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13216 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
13217 wxPyEndAllowThreads(__tstate
);
13218 if (PyErr_Occurred()) SWIG_fail
;
13222 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13224 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13241 SWIGINTERN PyObject
*_wrap_FileSystem_FindNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13242 PyObject
*resultobj
= 0;
13243 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
13247 PyObject
*swig_obj
[1] ;
13249 if (!args
) SWIG_fail
;
13250 swig_obj
[0] = args
;
13251 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileSystem
, 0 | 0 );
13252 if (!SWIG_IsOK(res1
)) {
13253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystem_FindNext" "', expected argument " "1"" of type '" "wxFileSystem *""'");
13255 arg1
= reinterpret_cast< wxFileSystem
* >(argp1
);
13257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13258 result
= (arg1
)->FindNext();
13259 wxPyEndAllowThreads(__tstate
);
13260 if (PyErr_Occurred()) SWIG_fail
;
13264 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13266 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13275 SWIGINTERN PyObject
*_wrap_FileSystem_AddHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13276 PyObject
*resultobj
= 0;
13277 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
13279 PyObject
* obj0
= 0 ;
13280 char * kwnames
[] = {
13281 (char *) "handler", NULL
13284 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_AddHandler",kwnames
,&obj0
)) SWIG_fail
;
13285 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxFileSystemHandler
, SWIG_POINTER_DISOWN
| 0 );
13286 if (!SWIG_IsOK(res1
)) {
13287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystem_AddHandler" "', expected argument " "1"" of type '" "wxFileSystemHandler *""'");
13290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13291 wxFileSystem::AddHandler(arg1
);
13292 wxPyEndAllowThreads(__tstate
);
13293 if (PyErr_Occurred()) SWIG_fail
;
13295 resultobj
= SWIG_Py_Void();
13302 SWIGINTERN PyObject
*_wrap_FileSystem_RemoveHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13303 PyObject
*resultobj
= 0;
13304 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
13305 wxFileSystemHandler
*result
= 0 ;
13308 PyObject
* obj0
= 0 ;
13309 char * kwnames
[] = {
13310 (char *) "handler", NULL
13313 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_RemoveHandler",kwnames
,&obj0
)) SWIG_fail
;
13314 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileSystemHandler
, 0 | 0 );
13315 if (!SWIG_IsOK(res1
)) {
13316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystem_RemoveHandler" "', expected argument " "1"" of type '" "wxFileSystemHandler *""'");
13318 arg1
= reinterpret_cast< wxFileSystemHandler
* >(argp1
);
13320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13321 result
= (wxFileSystemHandler
*)wxFileSystem::RemoveHandler(arg1
);
13322 wxPyEndAllowThreads(__tstate
);
13323 if (PyErr_Occurred()) SWIG_fail
;
13325 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileSystemHandler
, SWIG_POINTER_OWN
| 0 );
13332 SWIGINTERN PyObject
*_wrap_FileSystem_CleanUpHandlers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13333 PyObject
*resultobj
= 0;
13335 if (!SWIG_Python_UnpackTuple(args
,"FileSystem_CleanUpHandlers",0,0,0)) SWIG_fail
;
13337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13338 wxFileSystem::CleanUpHandlers();
13339 wxPyEndAllowThreads(__tstate
);
13340 if (PyErr_Occurred()) SWIG_fail
;
13342 resultobj
= SWIG_Py_Void();
13349 SWIGINTERN PyObject
*_wrap_FileSystem_FileNameToURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13350 PyObject
*resultobj
= 0;
13351 wxString
*arg1
= 0 ;
13353 bool temp1
= false ;
13354 PyObject
* obj0
= 0 ;
13355 char * kwnames
[] = {
13356 (char *) "filename", NULL
13359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FileNameToURL",kwnames
,&obj0
)) SWIG_fail
;
13361 arg1
= wxString_in_helper(obj0
);
13362 if (arg1
== NULL
) SWIG_fail
;
13366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13367 result
= wxFileSystem::FileNameToURL((wxString
const &)*arg1
);
13368 wxPyEndAllowThreads(__tstate
);
13369 if (PyErr_Occurred()) SWIG_fail
;
13373 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13375 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13392 SWIGINTERN PyObject
*_wrap_FileSystem_URLToFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13393 PyObject
*resultobj
= 0;
13394 wxString
*arg1
= 0 ;
13396 bool temp1
= false ;
13397 PyObject
* obj0
= 0 ;
13398 char * kwnames
[] = {
13399 (char *) "url", NULL
13402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_URLToFileName",kwnames
,&obj0
)) SWIG_fail
;
13404 arg1
= wxString_in_helper(obj0
);
13405 if (arg1
== NULL
) SWIG_fail
;
13409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13410 result
= wxFileSystem_URLToFileName((wxString
const &)*arg1
);
13411 wxPyEndAllowThreads(__tstate
);
13412 if (PyErr_Occurred()) SWIG_fail
;
13416 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13418 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13435 SWIGINTERN PyObject
*FileSystem_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13437 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13438 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileSystem
, SWIG_NewClientData(obj
));
13439 return SWIG_Py_Void();
13442 SWIGINTERN PyObject
*FileSystem_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13443 return SWIG_Python_InitShadowInstance(args
);
13446 SWIGINTERN PyObject
*_wrap_new_InternetFSHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13447 PyObject
*resultobj
= 0;
13448 wxInternetFSHandler
*result
= 0 ;
13450 if (!SWIG_Python_UnpackTuple(args
,"new_InternetFSHandler",0,0,0)) SWIG_fail
;
13452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13453 result
= (wxInternetFSHandler
*)new wxInternetFSHandler();
13454 wxPyEndAllowThreads(__tstate
);
13455 if (PyErr_Occurred()) SWIG_fail
;
13457 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxInternetFSHandler
, SWIG_POINTER_NEW
| 0 );
13464 SWIGINTERN PyObject
*_wrap_InternetFSHandler_CanOpen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13465 PyObject
*resultobj
= 0;
13466 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
13467 wxString
*arg2
= 0 ;
13471 bool temp2
= false ;
13472 PyObject
* obj0
= 0 ;
13473 PyObject
* obj1
= 0 ;
13474 char * kwnames
[] = {
13475 (char *) "self",(char *) "location", NULL
13478 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InternetFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13479 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxInternetFSHandler
, 0 | 0 );
13480 if (!SWIG_IsOK(res1
)) {
13481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InternetFSHandler_CanOpen" "', expected argument " "1"" of type '" "wxInternetFSHandler *""'");
13483 arg1
= reinterpret_cast< wxInternetFSHandler
* >(argp1
);
13485 arg2
= wxString_in_helper(obj1
);
13486 if (arg2
== NULL
) SWIG_fail
;
13490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13491 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
13492 wxPyEndAllowThreads(__tstate
);
13493 if (PyErr_Occurred()) SWIG_fail
;
13496 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13512 SWIGINTERN PyObject
*_wrap_InternetFSHandler_OpenFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13513 PyObject
*resultobj
= 0;
13514 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
13515 wxFileSystem
*arg2
= 0 ;
13516 wxString
*arg3
= 0 ;
13517 wxFSFile
*result
= 0 ;
13522 bool temp3
= false ;
13523 PyObject
* obj0
= 0 ;
13524 PyObject
* obj1
= 0 ;
13525 PyObject
* obj2
= 0 ;
13526 char * kwnames
[] = {
13527 (char *) "self",(char *) "fs",(char *) "location", NULL
13530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:InternetFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13531 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxInternetFSHandler
, 0 | 0 );
13532 if (!SWIG_IsOK(res1
)) {
13533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InternetFSHandler_OpenFile" "', expected argument " "1"" of type '" "wxInternetFSHandler *""'");
13535 arg1
= reinterpret_cast< wxInternetFSHandler
* >(argp1
);
13536 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFileSystem
, 0 );
13537 if (!SWIG_IsOK(res2
)) {
13538 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "InternetFSHandler_OpenFile" "', expected argument " "2"" of type '" "wxFileSystem &""'");
13541 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "InternetFSHandler_OpenFile" "', expected argument " "2"" of type '" "wxFileSystem &""'");
13543 arg2
= reinterpret_cast< wxFileSystem
* >(argp2
);
13545 arg3
= wxString_in_helper(obj2
);
13546 if (arg3
== NULL
) SWIG_fail
;
13550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13551 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
13552 wxPyEndAllowThreads(__tstate
);
13553 if (PyErr_Occurred()) SWIG_fail
;
13556 resultobj
= wxPyMake_wxObject(result
, SWIG_POINTER_OWN
);
13572 SWIGINTERN PyObject
*InternetFSHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13574 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13575 SWIG_TypeNewClientData(SWIGTYPE_p_wxInternetFSHandler
, SWIG_NewClientData(obj
));
13576 return SWIG_Py_Void();
13579 SWIGINTERN PyObject
*InternetFSHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13580 return SWIG_Python_InitShadowInstance(args
);
13583 SWIGINTERN PyObject
*_wrap_new_ZipFSHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13584 PyObject
*resultobj
= 0;
13585 wxZipFSHandler
*result
= 0 ;
13587 if (!SWIG_Python_UnpackTuple(args
,"new_ZipFSHandler",0,0,0)) SWIG_fail
;
13589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13590 result
= (wxZipFSHandler
*)new wxZipFSHandler();
13591 wxPyEndAllowThreads(__tstate
);
13592 if (PyErr_Occurred()) SWIG_fail
;
13594 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_NEW
| 0 );
13601 SWIGINTERN PyObject
*_wrap_ZipFSHandler_CanOpen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13602 PyObject
*resultobj
= 0;
13603 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
13604 wxString
*arg2
= 0 ;
13608 bool temp2
= false ;
13609 PyObject
* obj0
= 0 ;
13610 PyObject
* obj1
= 0 ;
13611 char * kwnames
[] = {
13612 (char *) "self",(char *) "location", NULL
13615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ZipFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13616 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxZipFSHandler
, 0 | 0 );
13617 if (!SWIG_IsOK(res1
)) {
13618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ZipFSHandler_CanOpen" "', expected argument " "1"" of type '" "wxZipFSHandler *""'");
13620 arg1
= reinterpret_cast< wxZipFSHandler
* >(argp1
);
13622 arg2
= wxString_in_helper(obj1
);
13623 if (arg2
== NULL
) SWIG_fail
;
13627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13628 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
13629 wxPyEndAllowThreads(__tstate
);
13630 if (PyErr_Occurred()) SWIG_fail
;
13633 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13649 SWIGINTERN PyObject
*_wrap_ZipFSHandler_OpenFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13650 PyObject
*resultobj
= 0;
13651 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
13652 wxFileSystem
*arg2
= 0 ;
13653 wxString
*arg3
= 0 ;
13654 wxFSFile
*result
= 0 ;
13659 bool temp3
= false ;
13660 PyObject
* obj0
= 0 ;
13661 PyObject
* obj1
= 0 ;
13662 PyObject
* obj2
= 0 ;
13663 char * kwnames
[] = {
13664 (char *) "self",(char *) "fs",(char *) "location", NULL
13667 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ZipFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13668 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxZipFSHandler
, 0 | 0 );
13669 if (!SWIG_IsOK(res1
)) {
13670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ZipFSHandler_OpenFile" "', expected argument " "1"" of type '" "wxZipFSHandler *""'");
13672 arg1
= reinterpret_cast< wxZipFSHandler
* >(argp1
);
13673 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFileSystem
, 0 );
13674 if (!SWIG_IsOK(res2
)) {
13675 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ZipFSHandler_OpenFile" "', expected argument " "2"" of type '" "wxFileSystem &""'");
13678 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ZipFSHandler_OpenFile" "', expected argument " "2"" of type '" "wxFileSystem &""'");
13680 arg2
= reinterpret_cast< wxFileSystem
* >(argp2
);
13682 arg3
= wxString_in_helper(obj2
);
13683 if (arg3
== NULL
) SWIG_fail
;
13687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13688 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
13689 wxPyEndAllowThreads(__tstate
);
13690 if (PyErr_Occurred()) SWIG_fail
;
13693 resultobj
= wxPyMake_wxObject(result
, SWIG_POINTER_OWN
);
13709 SWIGINTERN PyObject
*_wrap_ZipFSHandler_FindFirst(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13710 PyObject
*resultobj
= 0;
13711 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
13712 wxString
*arg2
= 0 ;
13713 int arg3
= (int) 0 ;
13717 bool temp2
= false ;
13720 PyObject
* obj0
= 0 ;
13721 PyObject
* obj1
= 0 ;
13722 PyObject
* obj2
= 0 ;
13723 char * kwnames
[] = {
13724 (char *) "self",(char *) "spec",(char *) "flags", NULL
13727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13728 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxZipFSHandler
, 0 | 0 );
13729 if (!SWIG_IsOK(res1
)) {
13730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ZipFSHandler_FindFirst" "', expected argument " "1"" of type '" "wxZipFSHandler *""'");
13732 arg1
= reinterpret_cast< wxZipFSHandler
* >(argp1
);
13734 arg2
= wxString_in_helper(obj1
);
13735 if (arg2
== NULL
) SWIG_fail
;
13739 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13740 if (!SWIG_IsOK(ecode3
)) {
13741 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ZipFSHandler_FindFirst" "', expected argument " "3"" of type '" "int""'");
13743 arg3
= static_cast< int >(val3
);
13746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13747 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
13748 wxPyEndAllowThreads(__tstate
);
13749 if (PyErr_Occurred()) SWIG_fail
;
13753 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13755 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13772 SWIGINTERN PyObject
*_wrap_ZipFSHandler_FindNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13773 PyObject
*resultobj
= 0;
13774 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
13778 PyObject
*swig_obj
[1] ;
13780 if (!args
) SWIG_fail
;
13781 swig_obj
[0] = args
;
13782 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxZipFSHandler
, 0 | 0 );
13783 if (!SWIG_IsOK(res1
)) {
13784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ZipFSHandler_FindNext" "', expected argument " "1"" of type '" "wxZipFSHandler *""'");
13786 arg1
= reinterpret_cast< wxZipFSHandler
* >(argp1
);
13788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13789 result
= (arg1
)->FindNext();
13790 wxPyEndAllowThreads(__tstate
);
13791 if (PyErr_Occurred()) SWIG_fail
;
13795 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13797 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13806 SWIGINTERN PyObject
*ZipFSHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13808 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13809 SWIG_TypeNewClientData(SWIGTYPE_p_wxZipFSHandler
, SWIG_NewClientData(obj
));
13810 return SWIG_Py_Void();
13813 SWIGINTERN PyObject
*ZipFSHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13814 return SWIG_Python_InitShadowInstance(args
);
13817 SWIGINTERN PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13818 PyObject
*resultobj
= 0;
13819 wxString
*arg1
= 0 ;
13820 wxImage
*arg2
= 0 ;
13822 bool temp1
= false ;
13827 PyObject
* obj0
= 0 ;
13828 PyObject
* obj1
= 0 ;
13829 PyObject
* obj2
= 0 ;
13830 char * kwnames
[] = {
13831 (char *) "filename",(char *) "image",(char *) "type", NULL
13834 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13836 arg1
= wxString_in_helper(obj0
);
13837 if (arg1
== NULL
) SWIG_fail
;
13840 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxImage
, 0 );
13841 if (!SWIG_IsOK(res2
)) {
13842 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "__wxMemoryFSHandler_AddFile_wxImage" "', expected argument " "2"" of type '" "wxImage &""'");
13845 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "__wxMemoryFSHandler_AddFile_wxImage" "', expected argument " "2"" of type '" "wxImage &""'");
13847 arg2
= reinterpret_cast< wxImage
* >(argp2
);
13848 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13849 if (!SWIG_IsOK(ecode3
)) {
13850 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "__wxMemoryFSHandler_AddFile_wxImage" "', expected argument " "3"" of type '" "long""'");
13852 arg3
= static_cast< long >(val3
);
13854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13855 __wxMemoryFSHandler_AddFile_wxImage((wxString
const &)*arg1
,*arg2
,arg3
);
13856 wxPyEndAllowThreads(__tstate
);
13857 if (PyErr_Occurred()) SWIG_fail
;
13859 resultobj
= SWIG_Py_Void();
13874 SWIGINTERN PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13875 PyObject
*resultobj
= 0;
13876 wxString
*arg1
= 0 ;
13877 wxBitmap
*arg2
= 0 ;
13879 bool temp1
= false ;
13884 PyObject
* obj0
= 0 ;
13885 PyObject
* obj1
= 0 ;
13886 PyObject
* obj2
= 0 ;
13887 char * kwnames
[] = {
13888 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
13891 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13893 arg1
= wxString_in_helper(obj0
);
13894 if (arg1
== NULL
) SWIG_fail
;
13897 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
13898 if (!SWIG_IsOK(res2
)) {
13899 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "__wxMemoryFSHandler_AddFile_wxBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
13902 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "__wxMemoryFSHandler_AddFile_wxBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
13904 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
13905 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13906 if (!SWIG_IsOK(ecode3
)) {
13907 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "__wxMemoryFSHandler_AddFile_wxBitmap" "', expected argument " "3"" of type '" "long""'");
13909 arg3
= static_cast< long >(val3
);
13911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13912 __wxMemoryFSHandler_AddFile_wxBitmap((wxString
const &)*arg1
,(wxBitmap
const &)*arg2
,arg3
);
13913 wxPyEndAllowThreads(__tstate
);
13914 if (PyErr_Occurred()) SWIG_fail
;
13916 resultobj
= SWIG_Py_Void();
13931 SWIGINTERN PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13932 PyObject
*resultobj
= 0;
13933 wxString
*arg1
= 0 ;
13934 PyObject
*arg2
= (PyObject
*) 0 ;
13935 bool temp1
= false ;
13936 PyObject
* obj0
= 0 ;
13937 PyObject
* obj1
= 0 ;
13938 char * kwnames
[] = {
13939 (char *) "filename",(char *) "data", NULL
13942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13944 arg1
= wxString_in_helper(obj0
);
13945 if (arg1
== NULL
) SWIG_fail
;
13950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13951 __wxMemoryFSHandler_AddFile_Data((wxString
const &)*arg1
,arg2
);
13952 wxPyEndAllowThreads(__tstate
);
13953 if (PyErr_Occurred()) SWIG_fail
;
13955 resultobj
= SWIG_Py_Void();
13970 SWIGINTERN PyObject
*_wrap_new_MemoryFSHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13971 PyObject
*resultobj
= 0;
13972 wxMemoryFSHandler
*result
= 0 ;
13974 if (!SWIG_Python_UnpackTuple(args
,"new_MemoryFSHandler",0,0,0)) SWIG_fail
;
13976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13977 result
= (wxMemoryFSHandler
*)new wxMemoryFSHandler();
13978 wxPyEndAllowThreads(__tstate
);
13979 if (PyErr_Occurred()) SWIG_fail
;
13981 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_NEW
| 0 );
13988 SWIGINTERN PyObject
*_wrap_MemoryFSHandler_RemoveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13989 PyObject
*resultobj
= 0;
13990 wxString
*arg1
= 0 ;
13991 bool temp1
= false ;
13992 PyObject
* obj0
= 0 ;
13993 char * kwnames
[] = {
13994 (char *) "filename", NULL
13997 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_RemoveFile",kwnames
,&obj0
)) SWIG_fail
;
13999 arg1
= wxString_in_helper(obj0
);
14000 if (arg1
== NULL
) SWIG_fail
;
14004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14005 wxMemoryFSHandler::RemoveFile((wxString
const &)*arg1
);
14006 wxPyEndAllowThreads(__tstate
);
14007 if (PyErr_Occurred()) SWIG_fail
;
14009 resultobj
= SWIG_Py_Void();
14024 SWIGINTERN PyObject
*_wrap_MemoryFSHandler_CanOpen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14025 PyObject
*resultobj
= 0;
14026 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
14027 wxString
*arg2
= 0 ;
14031 bool temp2
= false ;
14032 PyObject
* obj0
= 0 ;
14033 PyObject
* obj1
= 0 ;
14034 char * kwnames
[] = {
14035 (char *) "self",(char *) "location", NULL
14038 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14039 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryFSHandler
, 0 | 0 );
14040 if (!SWIG_IsOK(res1
)) {
14041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryFSHandler_CanOpen" "', expected argument " "1"" of type '" "wxMemoryFSHandler *""'");
14043 arg1
= reinterpret_cast< wxMemoryFSHandler
* >(argp1
);
14045 arg2
= wxString_in_helper(obj1
);
14046 if (arg2
== NULL
) SWIG_fail
;
14050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14051 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
14052 wxPyEndAllowThreads(__tstate
);
14053 if (PyErr_Occurred()) SWIG_fail
;
14056 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14072 SWIGINTERN PyObject
*_wrap_MemoryFSHandler_OpenFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14073 PyObject
*resultobj
= 0;
14074 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
14075 wxFileSystem
*arg2
= 0 ;
14076 wxString
*arg3
= 0 ;
14077 wxFSFile
*result
= 0 ;
14082 bool temp3
= false ;
14083 PyObject
* obj0
= 0 ;
14084 PyObject
* obj1
= 0 ;
14085 PyObject
* obj2
= 0 ;
14086 char * kwnames
[] = {
14087 (char *) "self",(char *) "fs",(char *) "location", NULL
14090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14091 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryFSHandler
, 0 | 0 );
14092 if (!SWIG_IsOK(res1
)) {
14093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryFSHandler_OpenFile" "', expected argument " "1"" of type '" "wxMemoryFSHandler *""'");
14095 arg1
= reinterpret_cast< wxMemoryFSHandler
* >(argp1
);
14096 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFileSystem
, 0 );
14097 if (!SWIG_IsOK(res2
)) {
14098 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryFSHandler_OpenFile" "', expected argument " "2"" of type '" "wxFileSystem &""'");
14101 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryFSHandler_OpenFile" "', expected argument " "2"" of type '" "wxFileSystem &""'");
14103 arg2
= reinterpret_cast< wxFileSystem
* >(argp2
);
14105 arg3
= wxString_in_helper(obj2
);
14106 if (arg3
== NULL
) SWIG_fail
;
14110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14111 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
14112 wxPyEndAllowThreads(__tstate
);
14113 if (PyErr_Occurred()) SWIG_fail
;
14116 resultobj
= wxPyMake_wxObject(result
, SWIG_POINTER_OWN
);
14132 SWIGINTERN PyObject
*_wrap_MemoryFSHandler_FindFirst(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14133 PyObject
*resultobj
= 0;
14134 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
14135 wxString
*arg2
= 0 ;
14136 int arg3
= (int) 0 ;
14140 bool temp2
= false ;
14143 PyObject
* obj0
= 0 ;
14144 PyObject
* obj1
= 0 ;
14145 PyObject
* obj2
= 0 ;
14146 char * kwnames
[] = {
14147 (char *) "self",(char *) "spec",(char *) "flags", NULL
14150 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14151 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryFSHandler
, 0 | 0 );
14152 if (!SWIG_IsOK(res1
)) {
14153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryFSHandler_FindFirst" "', expected argument " "1"" of type '" "wxMemoryFSHandler *""'");
14155 arg1
= reinterpret_cast< wxMemoryFSHandler
* >(argp1
);
14157 arg2
= wxString_in_helper(obj1
);
14158 if (arg2
== NULL
) SWIG_fail
;
14162 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14163 if (!SWIG_IsOK(ecode3
)) {
14164 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MemoryFSHandler_FindFirst" "', expected argument " "3"" of type '" "int""'");
14166 arg3
= static_cast< int >(val3
);
14169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14170 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
14171 wxPyEndAllowThreads(__tstate
);
14172 if (PyErr_Occurred()) SWIG_fail
;
14176 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14178 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14195 SWIGINTERN PyObject
*_wrap_MemoryFSHandler_FindNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14196 PyObject
*resultobj
= 0;
14197 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
14201 PyObject
*swig_obj
[1] ;
14203 if (!args
) SWIG_fail
;
14204 swig_obj
[0] = args
;
14205 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMemoryFSHandler
, 0 | 0 );
14206 if (!SWIG_IsOK(res1
)) {
14207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryFSHandler_FindNext" "', expected argument " "1"" of type '" "wxMemoryFSHandler *""'");
14209 arg1
= reinterpret_cast< wxMemoryFSHandler
* >(argp1
);
14211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14212 result
= (arg1
)->FindNext();
14213 wxPyEndAllowThreads(__tstate
);
14214 if (PyErr_Occurred()) SWIG_fail
;
14218 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14220 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14229 SWIGINTERN PyObject
*MemoryFSHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14231 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14232 SWIG_TypeNewClientData(SWIGTYPE_p_wxMemoryFSHandler
, SWIG_NewClientData(obj
));
14233 return SWIG_Py_Void();
14236 SWIGINTERN PyObject
*MemoryFSHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14237 return SWIG_Python_InitShadowInstance(args
);
14240 SWIGINTERN PyObject
*_wrap_ImageHandler_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14241 PyObject
*resultobj
= 0;
14242 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
14246 PyObject
*swig_obj
[1] ;
14248 if (!args
) SWIG_fail
;
14249 swig_obj
[0] = args
;
14250 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
14251 if (!SWIG_IsOK(res1
)) {
14252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHandler_GetName" "', expected argument " "1"" of type '" "wxImageHandler *""'");
14254 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
14256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14257 result
= (arg1
)->GetName();
14258 wxPyEndAllowThreads(__tstate
);
14259 if (PyErr_Occurred()) SWIG_fail
;
14263 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14265 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14274 SWIGINTERN PyObject
*_wrap_ImageHandler_GetExtension(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14275 PyObject
*resultobj
= 0;
14276 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
14280 PyObject
*swig_obj
[1] ;
14282 if (!args
) SWIG_fail
;
14283 swig_obj
[0] = args
;
14284 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
14285 if (!SWIG_IsOK(res1
)) {
14286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHandler_GetExtension" "', expected argument " "1"" of type '" "wxImageHandler *""'");
14288 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
14290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14291 result
= (arg1
)->GetExtension();
14292 wxPyEndAllowThreads(__tstate
);
14293 if (PyErr_Occurred()) SWIG_fail
;
14297 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14299 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14308 SWIGINTERN PyObject
*_wrap_ImageHandler_GetType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14309 PyObject
*resultobj
= 0;
14310 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
14314 PyObject
*swig_obj
[1] ;
14316 if (!args
) SWIG_fail
;
14317 swig_obj
[0] = args
;
14318 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
14319 if (!SWIG_IsOK(res1
)) {
14320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHandler_GetType" "', expected argument " "1"" of type '" "wxImageHandler *""'");
14322 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
14324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14325 result
= (long)(arg1
)->GetType();
14326 wxPyEndAllowThreads(__tstate
);
14327 if (PyErr_Occurred()) SWIG_fail
;
14329 resultobj
= SWIG_From_long(static_cast< long >(result
));
14336 SWIGINTERN PyObject
*_wrap_ImageHandler_GetMimeType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14337 PyObject
*resultobj
= 0;
14338 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
14342 PyObject
*swig_obj
[1] ;
14344 if (!args
) SWIG_fail
;
14345 swig_obj
[0] = args
;
14346 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
14347 if (!SWIG_IsOK(res1
)) {
14348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHandler_GetMimeType" "', expected argument " "1"" of type '" "wxImageHandler *""'");
14350 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
14352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14353 result
= (arg1
)->GetMimeType();
14354 wxPyEndAllowThreads(__tstate
);
14355 if (PyErr_Occurred()) SWIG_fail
;
14359 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14361 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14370 SWIGINTERN PyObject
*_wrap_ImageHandler_CanRead(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14371 PyObject
*resultobj
= 0;
14372 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
14373 wxString
*arg2
= 0 ;
14377 bool temp2
= false ;
14378 PyObject
* obj0
= 0 ;
14379 PyObject
* obj1
= 0 ;
14380 char * kwnames
[] = {
14381 (char *) "self",(char *) "name", NULL
14384 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanRead",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14385 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
14386 if (!SWIG_IsOK(res1
)) {
14387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHandler_CanRead" "', expected argument " "1"" of type '" "wxImageHandler *""'");
14389 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
14391 arg2
= wxString_in_helper(obj1
);
14392 if (arg2
== NULL
) SWIG_fail
;
14396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14397 result
= (bool)(arg1
)->CanRead((wxString
const &)*arg2
);
14398 wxPyEndAllowThreads(__tstate
);
14399 if (PyErr_Occurred()) SWIG_fail
;
14402 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14418 SWIGINTERN PyObject
*_wrap_ImageHandler_CanReadStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14419 PyObject
*resultobj
= 0;
14420 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
14421 wxInputStream
*arg2
= 0 ;
14425 wxPyInputStream
*temp2
;
14427 PyObject
* obj0
= 0 ;
14428 PyObject
* obj1
= 0 ;
14429 char * kwnames
[] = {
14430 (char *) "self",(char *) "stream", NULL
14433 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanReadStream",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14434 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
14435 if (!SWIG_IsOK(res1
)) {
14436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHandler_CanReadStream" "', expected argument " "1"" of type '" "wxImageHandler *""'");
14438 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
14440 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
14441 arg2
= temp2
->m_wxis
;
14444 PyErr_Clear(); // clear the failure of the wxPyConvert above
14445 arg2
= wxPyCBInputStream_create(obj1
, false);
14446 if (arg2
== NULL
) {
14447 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
14454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14455 result
= (bool)(arg1
)->CanRead(*arg2
);
14456 wxPyEndAllowThreads(__tstate
);
14457 if (PyErr_Occurred()) SWIG_fail
;
14460 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14463 if (created2
) delete arg2
;
14468 if (created2
) delete arg2
;
14474 SWIGINTERN PyObject
*_wrap_ImageHandler_SetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14475 PyObject
*resultobj
= 0;
14476 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
14477 wxString
*arg2
= 0 ;
14480 bool temp2
= false ;
14481 PyObject
* obj0
= 0 ;
14482 PyObject
* obj1
= 0 ;
14483 char * kwnames
[] = {
14484 (char *) "self",(char *) "name", NULL
14487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14488 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
14489 if (!SWIG_IsOK(res1
)) {
14490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHandler_SetName" "', expected argument " "1"" of type '" "wxImageHandler *""'");
14492 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
14494 arg2
= wxString_in_helper(obj1
);
14495 if (arg2
== NULL
) SWIG_fail
;
14499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14500 (arg1
)->SetName((wxString
const &)*arg2
);
14501 wxPyEndAllowThreads(__tstate
);
14502 if (PyErr_Occurred()) SWIG_fail
;
14504 resultobj
= SWIG_Py_Void();
14519 SWIGINTERN PyObject
*_wrap_ImageHandler_SetExtension(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14520 PyObject
*resultobj
= 0;
14521 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
14522 wxString
*arg2
= 0 ;
14525 bool temp2
= false ;
14526 PyObject
* obj0
= 0 ;
14527 PyObject
* obj1
= 0 ;
14528 char * kwnames
[] = {
14529 (char *) "self",(char *) "extension", NULL
14532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetExtension",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14533 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
14534 if (!SWIG_IsOK(res1
)) {
14535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHandler_SetExtension" "', expected argument " "1"" of type '" "wxImageHandler *""'");
14537 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
14539 arg2
= wxString_in_helper(obj1
);
14540 if (arg2
== NULL
) SWIG_fail
;
14544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14545 (arg1
)->SetExtension((wxString
const &)*arg2
);
14546 wxPyEndAllowThreads(__tstate
);
14547 if (PyErr_Occurred()) SWIG_fail
;
14549 resultobj
= SWIG_Py_Void();
14564 SWIGINTERN PyObject
*_wrap_ImageHandler_SetType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14565 PyObject
*resultobj
= 0;
14566 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
14572 PyObject
* obj0
= 0 ;
14573 PyObject
* obj1
= 0 ;
14574 char * kwnames
[] = {
14575 (char *) "self",(char *) "type", NULL
14578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14579 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
14580 if (!SWIG_IsOK(res1
)) {
14581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHandler_SetType" "', expected argument " "1"" of type '" "wxImageHandler *""'");
14583 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
14584 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
14585 if (!SWIG_IsOK(ecode2
)) {
14586 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageHandler_SetType" "', expected argument " "2"" of type '" "long""'");
14588 arg2
= static_cast< long >(val2
);
14590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14591 (arg1
)->SetType(arg2
);
14592 wxPyEndAllowThreads(__tstate
);
14593 if (PyErr_Occurred()) SWIG_fail
;
14595 resultobj
= SWIG_Py_Void();
14602 SWIGINTERN PyObject
*_wrap_ImageHandler_SetMimeType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14603 PyObject
*resultobj
= 0;
14604 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
14605 wxString
*arg2
= 0 ;
14608 bool temp2
= false ;
14609 PyObject
* obj0
= 0 ;
14610 PyObject
* obj1
= 0 ;
14611 char * kwnames
[] = {
14612 (char *) "self",(char *) "mimetype", NULL
14615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetMimeType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14616 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
14617 if (!SWIG_IsOK(res1
)) {
14618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHandler_SetMimeType" "', expected argument " "1"" of type '" "wxImageHandler *""'");
14620 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
14622 arg2
= wxString_in_helper(obj1
);
14623 if (arg2
== NULL
) SWIG_fail
;
14627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14628 (arg1
)->SetMimeType((wxString
const &)*arg2
);
14629 wxPyEndAllowThreads(__tstate
);
14630 if (PyErr_Occurred()) SWIG_fail
;
14632 resultobj
= SWIG_Py_Void();
14647 SWIGINTERN PyObject
*ImageHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14649 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14650 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageHandler
, SWIG_NewClientData(obj
));
14651 return SWIG_Py_Void();
14654 SWIGINTERN PyObject
*_wrap_new_PyImageHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14655 PyObject
*resultobj
= 0;
14656 wxPyImageHandler
*result
= 0 ;
14658 if (!SWIG_Python_UnpackTuple(args
,"new_PyImageHandler",0,0,0)) SWIG_fail
;
14660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14661 result
= (wxPyImageHandler
*)new wxPyImageHandler();
14662 wxPyEndAllowThreads(__tstate
);
14663 if (PyErr_Occurred()) SWIG_fail
;
14665 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyImageHandler
, SWIG_POINTER_NEW
| 0 );
14672 SWIGINTERN PyObject
*_wrap_PyImageHandler__SetSelf(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14673 PyObject
*resultobj
= 0;
14674 wxPyImageHandler
*arg1
= (wxPyImageHandler
*) 0 ;
14675 PyObject
*arg2
= (PyObject
*) 0 ;
14678 PyObject
* obj0
= 0 ;
14679 PyObject
* obj1
= 0 ;
14680 char * kwnames
[] = {
14681 (char *) "self",(char *) "self", NULL
14684 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyImageHandler__SetSelf",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14685 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyImageHandler
, 0 | 0 );
14686 if (!SWIG_IsOK(res1
)) {
14687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyImageHandler__SetSelf" "', expected argument " "1"" of type '" "wxPyImageHandler *""'");
14689 arg1
= reinterpret_cast< wxPyImageHandler
* >(argp1
);
14692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14693 (arg1
)->_SetSelf(arg2
);
14694 wxPyEndAllowThreads(__tstate
);
14695 if (PyErr_Occurred()) SWIG_fail
;
14697 resultobj
= SWIG_Py_Void();
14704 SWIGINTERN PyObject
*PyImageHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14706 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14707 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyImageHandler
, SWIG_NewClientData(obj
));
14708 return SWIG_Py_Void();
14711 SWIGINTERN PyObject
*PyImageHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14712 return SWIG_Python_InitShadowInstance(args
);
14715 SWIGINTERN PyObject
*_wrap_new_ImageHistogram(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14716 PyObject
*resultobj
= 0;
14717 wxImageHistogram
*result
= 0 ;
14719 if (!SWIG_Python_UnpackTuple(args
,"new_ImageHistogram",0,0,0)) SWIG_fail
;
14721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14722 result
= (wxImageHistogram
*)new wxImageHistogram();
14723 wxPyEndAllowThreads(__tstate
);
14724 if (PyErr_Occurred()) SWIG_fail
;
14726 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_NEW
| 0 );
14733 SWIGINTERN PyObject
*_wrap_ImageHistogram_MakeKey(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14734 PyObject
*resultobj
= 0;
14738 unsigned long result
;
14739 unsigned char val1
;
14741 unsigned char val2
;
14743 unsigned char val3
;
14745 PyObject
* obj0
= 0 ;
14746 PyObject
* obj1
= 0 ;
14747 PyObject
* obj2
= 0 ;
14748 char * kwnames
[] = {
14749 (char *) "r",(char *) "g",(char *) "b", NULL
14752 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageHistogram_MakeKey",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14753 ecode1
= SWIG_AsVal_unsigned_SS_char(obj0
, &val1
);
14754 if (!SWIG_IsOK(ecode1
)) {
14755 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ImageHistogram_MakeKey" "', expected argument " "1"" of type '" "byte""'");
14757 arg1
= static_cast< byte
>(val1
);
14758 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
14759 if (!SWIG_IsOK(ecode2
)) {
14760 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageHistogram_MakeKey" "', expected argument " "2"" of type '" "byte""'");
14762 arg2
= static_cast< byte
>(val2
);
14763 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
14764 if (!SWIG_IsOK(ecode3
)) {
14765 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ImageHistogram_MakeKey" "', expected argument " "3"" of type '" "byte""'");
14767 arg3
= static_cast< byte
>(val3
);
14769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14770 result
= (unsigned long)wxImageHistogram::MakeKey(arg1
,arg2
,arg3
);
14771 wxPyEndAllowThreads(__tstate
);
14772 if (PyErr_Occurred()) SWIG_fail
;
14774 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
14781 SWIGINTERN PyObject
*_wrap_ImageHistogram_FindFirstUnusedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14782 PyObject
*resultobj
= 0;
14783 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
14784 byte
*arg2
= (byte
*) 0 ;
14785 byte
*arg3
= (byte
*) 0 ;
14786 byte
*arg4
= (byte
*) 0 ;
14787 byte arg5
= (byte
) 1 ;
14788 byte arg6
= (byte
) 0 ;
14789 byte arg7
= (byte
) 0 ;
14794 int res2
= SWIG_TMPOBJ
;
14796 int res3
= SWIG_TMPOBJ
;
14798 int res4
= SWIG_TMPOBJ
;
14799 unsigned char val5
;
14801 unsigned char val6
;
14803 unsigned char val7
;
14805 PyObject
* obj0
= 0 ;
14806 PyObject
* obj1
= 0 ;
14807 PyObject
* obj2
= 0 ;
14808 PyObject
* obj3
= 0 ;
14809 char * kwnames
[] = {
14810 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
14816 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14817 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHistogram
, 0 | 0 );
14818 if (!SWIG_IsOK(res1
)) {
14819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHistogram_FindFirstUnusedColour" "', expected argument " "1"" of type '" "wxImageHistogram const *""'");
14821 arg1
= reinterpret_cast< wxImageHistogram
* >(argp1
);
14823 ecode5
= SWIG_AsVal_unsigned_SS_char(obj1
, &val5
);
14824 if (!SWIG_IsOK(ecode5
)) {
14825 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ImageHistogram_FindFirstUnusedColour" "', expected argument " "5"" of type '" "byte""'");
14827 arg5
= static_cast< byte
>(val5
);
14830 ecode6
= SWIG_AsVal_unsigned_SS_char(obj2
, &val6
);
14831 if (!SWIG_IsOK(ecode6
)) {
14832 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ImageHistogram_FindFirstUnusedColour" "', expected argument " "6"" of type '" "byte""'");
14834 arg6
= static_cast< byte
>(val6
);
14837 ecode7
= SWIG_AsVal_unsigned_SS_char(obj3
, &val7
);
14838 if (!SWIG_IsOK(ecode7
)) {
14839 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ImageHistogram_FindFirstUnusedColour" "', expected argument " "7"" of type '" "byte""'");
14841 arg7
= static_cast< byte
>(val7
);
14844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14845 result
= (bool)((wxImageHistogram
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
14846 wxPyEndAllowThreads(__tstate
);
14847 if (PyErr_Occurred()) SWIG_fail
;
14850 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14852 if (SWIG_IsTmpObj(res2
)) {
14853 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg2
)));
14855 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
14856 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, new_flags
));
14858 if (SWIG_IsTmpObj(res3
)) {
14859 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
14861 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
14862 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
14864 if (SWIG_IsTmpObj(res4
)) {
14865 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
14867 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
14868 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
14876 SWIGINTERN PyObject
*_wrap_ImageHistogram_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14877 PyObject
*resultobj
= 0;
14878 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
14879 unsigned long arg2
;
14880 unsigned long result
;
14883 unsigned long val2
;
14885 PyObject
* obj0
= 0 ;
14886 PyObject
* obj1
= 0 ;
14887 char * kwnames
[] = {
14888 (char *) "self",(char *) "key", NULL
14891 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHistogram_GetCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14892 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHistogram
, 0 | 0 );
14893 if (!SWIG_IsOK(res1
)) {
14894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHistogram_GetCount" "', expected argument " "1"" of type '" "wxImageHistogram *""'");
14896 arg1
= reinterpret_cast< wxImageHistogram
* >(argp1
);
14897 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
14898 if (!SWIG_IsOK(ecode2
)) {
14899 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageHistogram_GetCount" "', expected argument " "2"" of type '" "unsigned long""'");
14901 arg2
= static_cast< unsigned long >(val2
);
14903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14904 result
= (unsigned long)wxImageHistogram_GetCount(arg1
,arg2
);
14905 wxPyEndAllowThreads(__tstate
);
14906 if (PyErr_Occurred()) SWIG_fail
;
14908 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
14915 SWIGINTERN PyObject
*_wrap_ImageHistogram_GetCountRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14916 PyObject
*resultobj
= 0;
14917 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
14921 unsigned long result
;
14924 unsigned char val2
;
14926 unsigned char val3
;
14928 unsigned char val4
;
14930 PyObject
* obj0
= 0 ;
14931 PyObject
* obj1
= 0 ;
14932 PyObject
* obj2
= 0 ;
14933 PyObject
* obj3
= 0 ;
14934 char * kwnames
[] = {
14935 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
14938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ImageHistogram_GetCountRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14939 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHistogram
, 0 | 0 );
14940 if (!SWIG_IsOK(res1
)) {
14941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHistogram_GetCountRGB" "', expected argument " "1"" of type '" "wxImageHistogram *""'");
14943 arg1
= reinterpret_cast< wxImageHistogram
* >(argp1
);
14944 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
14945 if (!SWIG_IsOK(ecode2
)) {
14946 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageHistogram_GetCountRGB" "', expected argument " "2"" of type '" "byte""'");
14948 arg2
= static_cast< byte
>(val2
);
14949 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
14950 if (!SWIG_IsOK(ecode3
)) {
14951 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ImageHistogram_GetCountRGB" "', expected argument " "3"" of type '" "byte""'");
14953 arg3
= static_cast< byte
>(val3
);
14954 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
14955 if (!SWIG_IsOK(ecode4
)) {
14956 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ImageHistogram_GetCountRGB" "', expected argument " "4"" of type '" "byte""'");
14958 arg4
= static_cast< byte
>(val4
);
14960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14961 result
= (unsigned long)wxImageHistogram_GetCountRGB(arg1
,arg2
,arg3
,arg4
);
14962 wxPyEndAllowThreads(__tstate
);
14963 if (PyErr_Occurred()) SWIG_fail
;
14965 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
14972 SWIGINTERN PyObject
*_wrap_ImageHistogram_GetCountColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14973 PyObject
*resultobj
= 0;
14974 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
14975 wxColour
*arg2
= 0 ;
14976 unsigned long result
;
14980 PyObject
* obj0
= 0 ;
14981 PyObject
* obj1
= 0 ;
14982 char * kwnames
[] = {
14983 (char *) "self",(char *) "colour", NULL
14986 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHistogram_GetCountColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14987 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHistogram
, 0 | 0 );
14988 if (!SWIG_IsOK(res1
)) {
14989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHistogram_GetCountColour" "', expected argument " "1"" of type '" "wxImageHistogram *""'");
14991 arg1
= reinterpret_cast< wxImageHistogram
* >(argp1
);
14994 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
14997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14998 result
= (unsigned long)wxImageHistogram_GetCountColour(arg1
,(wxColour
const &)*arg2
);
14999 wxPyEndAllowThreads(__tstate
);
15000 if (PyErr_Occurred()) SWIG_fail
;
15002 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
15009 SWIGINTERN PyObject
*ImageHistogram_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15011 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15012 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageHistogram
, SWIG_NewClientData(obj
));
15013 return SWIG_Py_Void();
15016 SWIGINTERN PyObject
*ImageHistogram_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15017 return SWIG_Python_InitShadowInstance(args
);
15020 SWIGINTERN PyObject
*_wrap_new_Image_RGBValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15021 PyObject
*resultobj
= 0;
15022 byte arg1
= (byte
) 0 ;
15023 byte arg2
= (byte
) 0 ;
15024 byte arg3
= (byte
) 0 ;
15025 wxImage_RGBValue
*result
= 0 ;
15026 unsigned char val1
;
15028 unsigned char val2
;
15030 unsigned char val3
;
15032 PyObject
* obj0
= 0 ;
15033 PyObject
* obj1
= 0 ;
15034 PyObject
* obj2
= 0 ;
15035 char * kwnames
[] = {
15036 (char *) "r",(char *) "g",(char *) "b", NULL
15039 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Image_RGBValue",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15041 ecode1
= SWIG_AsVal_unsigned_SS_char(obj0
, &val1
);
15042 if (!SWIG_IsOK(ecode1
)) {
15043 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Image_RGBValue" "', expected argument " "1"" of type '" "byte""'");
15045 arg1
= static_cast< byte
>(val1
);
15048 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
15049 if (!SWIG_IsOK(ecode2
)) {
15050 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Image_RGBValue" "', expected argument " "2"" of type '" "byte""'");
15052 arg2
= static_cast< byte
>(val2
);
15055 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
15056 if (!SWIG_IsOK(ecode3
)) {
15057 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Image_RGBValue" "', expected argument " "3"" of type '" "byte""'");
15059 arg3
= static_cast< byte
>(val3
);
15062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15063 result
= (wxImage_RGBValue
*)new wxImage_RGBValue(arg1
,arg2
,arg3
);
15064 wxPyEndAllowThreads(__tstate
);
15065 if (PyErr_Occurred()) SWIG_fail
;
15067 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage_RGBValue
, SWIG_POINTER_NEW
| 0 );
15074 SWIGINTERN PyObject
*_wrap_Image_RGBValue_red_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15075 PyObject
*resultobj
= 0;
15076 wxImage_RGBValue
*arg1
= (wxImage_RGBValue
*) 0 ;
15080 unsigned char val2
;
15082 PyObject
*swig_obj
[2] ;
15084 if (!SWIG_Python_UnpackTuple(args
,"Image_RGBValue_red_set",2,2,swig_obj
)) SWIG_fail
;
15085 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_RGBValue
, 0 | 0 );
15086 if (!SWIG_IsOK(res1
)) {
15087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_RGBValue_red_set" "', expected argument " "1"" of type '" "wxImage_RGBValue *""'");
15089 arg1
= reinterpret_cast< wxImage_RGBValue
* >(argp1
);
15090 ecode2
= SWIG_AsVal_unsigned_SS_char(swig_obj
[1], &val2
);
15091 if (!SWIG_IsOK(ecode2
)) {
15092 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_RGBValue_red_set" "', expected argument " "2"" of type '" "byte""'");
15094 arg2
= static_cast< byte
>(val2
);
15095 if (arg1
) (arg1
)->red
= arg2
;
15097 resultobj
= SWIG_Py_Void();
15104 SWIGINTERN PyObject
*_wrap_Image_RGBValue_red_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15105 PyObject
*resultobj
= 0;
15106 wxImage_RGBValue
*arg1
= (wxImage_RGBValue
*) 0 ;
15110 PyObject
*swig_obj
[1] ;
15112 if (!args
) SWIG_fail
;
15113 swig_obj
[0] = args
;
15114 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_RGBValue
, 0 | 0 );
15115 if (!SWIG_IsOK(res1
)) {
15116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_RGBValue_red_get" "', expected argument " "1"" of type '" "wxImage_RGBValue *""'");
15118 arg1
= reinterpret_cast< wxImage_RGBValue
* >(argp1
);
15119 result
= (byte
) ((arg1
)->red
);
15120 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
15127 SWIGINTERN PyObject
*_wrap_Image_RGBValue_green_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15128 PyObject
*resultobj
= 0;
15129 wxImage_RGBValue
*arg1
= (wxImage_RGBValue
*) 0 ;
15133 unsigned char val2
;
15135 PyObject
*swig_obj
[2] ;
15137 if (!SWIG_Python_UnpackTuple(args
,"Image_RGBValue_green_set",2,2,swig_obj
)) SWIG_fail
;
15138 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_RGBValue
, 0 | 0 );
15139 if (!SWIG_IsOK(res1
)) {
15140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_RGBValue_green_set" "', expected argument " "1"" of type '" "wxImage_RGBValue *""'");
15142 arg1
= reinterpret_cast< wxImage_RGBValue
* >(argp1
);
15143 ecode2
= SWIG_AsVal_unsigned_SS_char(swig_obj
[1], &val2
);
15144 if (!SWIG_IsOK(ecode2
)) {
15145 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_RGBValue_green_set" "', expected argument " "2"" of type '" "byte""'");
15147 arg2
= static_cast< byte
>(val2
);
15148 if (arg1
) (arg1
)->green
= arg2
;
15150 resultobj
= SWIG_Py_Void();
15157 SWIGINTERN PyObject
*_wrap_Image_RGBValue_green_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15158 PyObject
*resultobj
= 0;
15159 wxImage_RGBValue
*arg1
= (wxImage_RGBValue
*) 0 ;
15163 PyObject
*swig_obj
[1] ;
15165 if (!args
) SWIG_fail
;
15166 swig_obj
[0] = args
;
15167 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_RGBValue
, 0 | 0 );
15168 if (!SWIG_IsOK(res1
)) {
15169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_RGBValue_green_get" "', expected argument " "1"" of type '" "wxImage_RGBValue *""'");
15171 arg1
= reinterpret_cast< wxImage_RGBValue
* >(argp1
);
15172 result
= (byte
) ((arg1
)->green
);
15173 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
15180 SWIGINTERN PyObject
*_wrap_Image_RGBValue_blue_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15181 PyObject
*resultobj
= 0;
15182 wxImage_RGBValue
*arg1
= (wxImage_RGBValue
*) 0 ;
15186 unsigned char val2
;
15188 PyObject
*swig_obj
[2] ;
15190 if (!SWIG_Python_UnpackTuple(args
,"Image_RGBValue_blue_set",2,2,swig_obj
)) SWIG_fail
;
15191 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_RGBValue
, 0 | 0 );
15192 if (!SWIG_IsOK(res1
)) {
15193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_RGBValue_blue_set" "', expected argument " "1"" of type '" "wxImage_RGBValue *""'");
15195 arg1
= reinterpret_cast< wxImage_RGBValue
* >(argp1
);
15196 ecode2
= SWIG_AsVal_unsigned_SS_char(swig_obj
[1], &val2
);
15197 if (!SWIG_IsOK(ecode2
)) {
15198 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_RGBValue_blue_set" "', expected argument " "2"" of type '" "byte""'");
15200 arg2
= static_cast< byte
>(val2
);
15201 if (arg1
) (arg1
)->blue
= arg2
;
15203 resultobj
= SWIG_Py_Void();
15210 SWIGINTERN PyObject
*_wrap_Image_RGBValue_blue_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15211 PyObject
*resultobj
= 0;
15212 wxImage_RGBValue
*arg1
= (wxImage_RGBValue
*) 0 ;
15216 PyObject
*swig_obj
[1] ;
15218 if (!args
) SWIG_fail
;
15219 swig_obj
[0] = args
;
15220 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_RGBValue
, 0 | 0 );
15221 if (!SWIG_IsOK(res1
)) {
15222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_RGBValue_blue_get" "', expected argument " "1"" of type '" "wxImage_RGBValue *""'");
15224 arg1
= reinterpret_cast< wxImage_RGBValue
* >(argp1
);
15225 result
= (byte
) ((arg1
)->blue
);
15226 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
15233 SWIGINTERN PyObject
*Image_RGBValue_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15235 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15236 SWIG_TypeNewClientData(SWIGTYPE_p_wxImage_RGBValue
, SWIG_NewClientData(obj
));
15237 return SWIG_Py_Void();
15240 SWIGINTERN PyObject
*Image_RGBValue_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15241 return SWIG_Python_InitShadowInstance(args
);
15244 SWIGINTERN PyObject
*_wrap_new_Image_HSVValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15245 PyObject
*resultobj
= 0;
15246 double arg1
= (double) 0.0 ;
15247 double arg2
= (double) 0.0 ;
15248 double arg3
= (double) 0.0 ;
15249 wxImage_HSVValue
*result
= 0 ;
15256 PyObject
* obj0
= 0 ;
15257 PyObject
* obj1
= 0 ;
15258 PyObject
* obj2
= 0 ;
15259 char * kwnames
[] = {
15260 (char *) "h",(char *) "s",(char *) "v", NULL
15263 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Image_HSVValue",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15265 ecode1
= SWIG_AsVal_double(obj0
, &val1
);
15266 if (!SWIG_IsOK(ecode1
)) {
15267 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Image_HSVValue" "', expected argument " "1"" of type '" "double""'");
15269 arg1
= static_cast< double >(val1
);
15272 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
15273 if (!SWIG_IsOK(ecode2
)) {
15274 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Image_HSVValue" "', expected argument " "2"" of type '" "double""'");
15276 arg2
= static_cast< double >(val2
);
15279 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
15280 if (!SWIG_IsOK(ecode3
)) {
15281 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Image_HSVValue" "', expected argument " "3"" of type '" "double""'");
15283 arg3
= static_cast< double >(val3
);
15286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15287 result
= (wxImage_HSVValue
*)new wxImage_HSVValue(arg1
,arg2
,arg3
);
15288 wxPyEndAllowThreads(__tstate
);
15289 if (PyErr_Occurred()) SWIG_fail
;
15291 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage_HSVValue
, SWIG_POINTER_NEW
| 0 );
15298 SWIGINTERN PyObject
*_wrap_Image_HSVValue_hue_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15299 PyObject
*resultobj
= 0;
15300 wxImage_HSVValue
*arg1
= (wxImage_HSVValue
*) 0 ;
15306 PyObject
*swig_obj
[2] ;
15308 if (!SWIG_Python_UnpackTuple(args
,"Image_HSVValue_hue_set",2,2,swig_obj
)) SWIG_fail
;
15309 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_HSVValue
, 0 | 0 );
15310 if (!SWIG_IsOK(res1
)) {
15311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_HSVValue_hue_set" "', expected argument " "1"" of type '" "wxImage_HSVValue *""'");
15313 arg1
= reinterpret_cast< wxImage_HSVValue
* >(argp1
);
15314 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
15315 if (!SWIG_IsOK(ecode2
)) {
15316 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_HSVValue_hue_set" "', expected argument " "2"" of type '" "double""'");
15318 arg2
= static_cast< double >(val2
);
15319 if (arg1
) (arg1
)->hue
= arg2
;
15321 resultobj
= SWIG_Py_Void();
15328 SWIGINTERN PyObject
*_wrap_Image_HSVValue_hue_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15329 PyObject
*resultobj
= 0;
15330 wxImage_HSVValue
*arg1
= (wxImage_HSVValue
*) 0 ;
15334 PyObject
*swig_obj
[1] ;
15336 if (!args
) SWIG_fail
;
15337 swig_obj
[0] = args
;
15338 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_HSVValue
, 0 | 0 );
15339 if (!SWIG_IsOK(res1
)) {
15340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_HSVValue_hue_get" "', expected argument " "1"" of type '" "wxImage_HSVValue *""'");
15342 arg1
= reinterpret_cast< wxImage_HSVValue
* >(argp1
);
15343 result
= (double) ((arg1
)->hue
);
15344 resultobj
= SWIG_From_double(static_cast< double >(result
));
15351 SWIGINTERN PyObject
*_wrap_Image_HSVValue_saturation_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15352 PyObject
*resultobj
= 0;
15353 wxImage_HSVValue
*arg1
= (wxImage_HSVValue
*) 0 ;
15359 PyObject
*swig_obj
[2] ;
15361 if (!SWIG_Python_UnpackTuple(args
,"Image_HSVValue_saturation_set",2,2,swig_obj
)) SWIG_fail
;
15362 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_HSVValue
, 0 | 0 );
15363 if (!SWIG_IsOK(res1
)) {
15364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_HSVValue_saturation_set" "', expected argument " "1"" of type '" "wxImage_HSVValue *""'");
15366 arg1
= reinterpret_cast< wxImage_HSVValue
* >(argp1
);
15367 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
15368 if (!SWIG_IsOK(ecode2
)) {
15369 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_HSVValue_saturation_set" "', expected argument " "2"" of type '" "double""'");
15371 arg2
= static_cast< double >(val2
);
15372 if (arg1
) (arg1
)->saturation
= arg2
;
15374 resultobj
= SWIG_Py_Void();
15381 SWIGINTERN PyObject
*_wrap_Image_HSVValue_saturation_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15382 PyObject
*resultobj
= 0;
15383 wxImage_HSVValue
*arg1
= (wxImage_HSVValue
*) 0 ;
15387 PyObject
*swig_obj
[1] ;
15389 if (!args
) SWIG_fail
;
15390 swig_obj
[0] = args
;
15391 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_HSVValue
, 0 | 0 );
15392 if (!SWIG_IsOK(res1
)) {
15393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_HSVValue_saturation_get" "', expected argument " "1"" of type '" "wxImage_HSVValue *""'");
15395 arg1
= reinterpret_cast< wxImage_HSVValue
* >(argp1
);
15396 result
= (double) ((arg1
)->saturation
);
15397 resultobj
= SWIG_From_double(static_cast< double >(result
));
15404 SWIGINTERN PyObject
*_wrap_Image_HSVValue_value_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15405 PyObject
*resultobj
= 0;
15406 wxImage_HSVValue
*arg1
= (wxImage_HSVValue
*) 0 ;
15412 PyObject
*swig_obj
[2] ;
15414 if (!SWIG_Python_UnpackTuple(args
,"Image_HSVValue_value_set",2,2,swig_obj
)) SWIG_fail
;
15415 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_HSVValue
, 0 | 0 );
15416 if (!SWIG_IsOK(res1
)) {
15417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_HSVValue_value_set" "', expected argument " "1"" of type '" "wxImage_HSVValue *""'");
15419 arg1
= reinterpret_cast< wxImage_HSVValue
* >(argp1
);
15420 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
15421 if (!SWIG_IsOK(ecode2
)) {
15422 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_HSVValue_value_set" "', expected argument " "2"" of type '" "double""'");
15424 arg2
= static_cast< double >(val2
);
15425 if (arg1
) (arg1
)->value
= arg2
;
15427 resultobj
= SWIG_Py_Void();
15434 SWIGINTERN PyObject
*_wrap_Image_HSVValue_value_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15435 PyObject
*resultobj
= 0;
15436 wxImage_HSVValue
*arg1
= (wxImage_HSVValue
*) 0 ;
15440 PyObject
*swig_obj
[1] ;
15442 if (!args
) SWIG_fail
;
15443 swig_obj
[0] = args
;
15444 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_HSVValue
, 0 | 0 );
15445 if (!SWIG_IsOK(res1
)) {
15446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_HSVValue_value_get" "', expected argument " "1"" of type '" "wxImage_HSVValue *""'");
15448 arg1
= reinterpret_cast< wxImage_HSVValue
* >(argp1
);
15449 result
= (double) ((arg1
)->value
);
15450 resultobj
= SWIG_From_double(static_cast< double >(result
));
15457 SWIGINTERN PyObject
*Image_HSVValue_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15459 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15460 SWIG_TypeNewClientData(SWIGTYPE_p_wxImage_HSVValue
, SWIG_NewClientData(obj
));
15461 return SWIG_Py_Void();
15464 SWIGINTERN PyObject
*Image_HSVValue_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15465 return SWIG_Python_InitShadowInstance(args
);
15468 SWIGINTERN PyObject
*_wrap_new_Image(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15469 PyObject
*resultobj
= 0;
15470 wxString
*arg1
= 0 ;
15471 long arg2
= (long) wxBITMAP_TYPE_ANY
;
15472 int arg3
= (int) -1 ;
15473 wxImage
*result
= 0 ;
15474 bool temp1
= false ;
15479 PyObject
* obj0
= 0 ;
15480 PyObject
* obj1
= 0 ;
15481 PyObject
* obj2
= 0 ;
15482 char * kwnames
[] = {
15483 (char *) "name",(char *) "type",(char *) "index", NULL
15486 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Image",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15488 arg1
= wxString_in_helper(obj0
);
15489 if (arg1
== NULL
) SWIG_fail
;
15493 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
15494 if (!SWIG_IsOK(ecode2
)) {
15495 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Image" "', expected argument " "2"" of type '" "long""'");
15497 arg2
= static_cast< long >(val2
);
15500 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15501 if (!SWIG_IsOK(ecode3
)) {
15502 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Image" "', expected argument " "3"" of type '" "int""'");
15504 arg3
= static_cast< int >(val3
);
15507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15508 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,arg2
,arg3
);
15509 wxPyEndAllowThreads(__tstate
);
15510 if (PyErr_Occurred()) SWIG_fail
;
15512 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage
, SWIG_POINTER_NEW
| 0 );
15527 SWIGINTERN PyObject
*_wrap_delete_Image(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15528 PyObject
*resultobj
= 0;
15529 wxImage
*arg1
= (wxImage
*) 0 ;
15532 PyObject
*swig_obj
[1] ;
15534 if (!args
) SWIG_fail
;
15535 swig_obj
[0] = args
;
15536 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, SWIG_POINTER_DISOWN
| 0 );
15537 if (!SWIG_IsOK(res1
)) {
15538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Image" "', expected argument " "1"" of type '" "wxImage *""'");
15540 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15545 wxPyEndAllowThreads(__tstate
);
15546 if (PyErr_Occurred()) SWIG_fail
;
15548 resultobj
= SWIG_Py_Void();
15555 SWIGINTERN PyObject
*_wrap_new_ImageFromMime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15556 PyObject
*resultobj
= 0;
15557 wxString
*arg1
= 0 ;
15558 wxString
*arg2
= 0 ;
15559 int arg3
= (int) -1 ;
15560 wxImage
*result
= 0 ;
15561 bool temp1
= false ;
15562 bool temp2
= false ;
15565 PyObject
* obj0
= 0 ;
15566 PyObject
* obj1
= 0 ;
15567 PyObject
* obj2
= 0 ;
15568 char * kwnames
[] = {
15569 (char *) "name",(char *) "mimetype",(char *) "index", NULL
15572 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromMime",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15574 arg1
= wxString_in_helper(obj0
);
15575 if (arg1
== NULL
) SWIG_fail
;
15579 arg2
= wxString_in_helper(obj1
);
15580 if (arg2
== NULL
) SWIG_fail
;
15584 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15585 if (!SWIG_IsOK(ecode3
)) {
15586 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageFromMime" "', expected argument " "3"" of type '" "int""'");
15588 arg3
= static_cast< int >(val3
);
15591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15592 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
15593 wxPyEndAllowThreads(__tstate
);
15594 if (PyErr_Occurred()) SWIG_fail
;
15596 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
15619 SWIGINTERN PyObject
*_wrap_new_ImageFromStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15620 PyObject
*resultobj
= 0;
15621 wxInputStream
*arg1
= 0 ;
15622 long arg2
= (long) wxBITMAP_TYPE_ANY
;
15623 int arg3
= (int) -1 ;
15624 wxImage
*result
= 0 ;
15625 wxPyInputStream
*temp1
;
15631 PyObject
* obj0
= 0 ;
15632 PyObject
* obj1
= 0 ;
15633 PyObject
* obj2
= 0 ;
15634 char * kwnames
[] = {
15635 (char *) "stream",(char *) "type",(char *) "index", NULL
15638 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_ImageFromStream",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15640 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
15641 arg1
= temp1
->m_wxis
;
15644 PyErr_Clear(); // clear the failure of the wxPyConvert above
15645 arg1
= wxPyCBInputStream_create(obj0
, false);
15646 if (arg1
== NULL
) {
15647 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
15654 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
15655 if (!SWIG_IsOK(ecode2
)) {
15656 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageFromStream" "', expected argument " "2"" of type '" "long""'");
15658 arg2
= static_cast< long >(val2
);
15661 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15662 if (!SWIG_IsOK(ecode3
)) {
15663 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageFromStream" "', expected argument " "3"" of type '" "int""'");
15665 arg3
= static_cast< int >(val3
);
15668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15669 result
= (wxImage
*)new wxImage(*arg1
,arg2
,arg3
);
15670 wxPyEndAllowThreads(__tstate
);
15671 if (PyErr_Occurred()) SWIG_fail
;
15673 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
15675 if (created1
) delete arg1
;
15680 if (created1
) delete arg1
;
15686 SWIGINTERN PyObject
*_wrap_new_ImageFromStreamMime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15687 PyObject
*resultobj
= 0;
15688 wxInputStream
*arg1
= 0 ;
15689 wxString
*arg2
= 0 ;
15690 int arg3
= (int) -1 ;
15691 wxImage
*result
= 0 ;
15692 wxPyInputStream
*temp1
;
15694 bool temp2
= false ;
15697 PyObject
* obj0
= 0 ;
15698 PyObject
* obj1
= 0 ;
15699 PyObject
* obj2
= 0 ;
15700 char * kwnames
[] = {
15701 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
15704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromStreamMime",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15706 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
15707 arg1
= temp1
->m_wxis
;
15710 PyErr_Clear(); // clear the failure of the wxPyConvert above
15711 arg1
= wxPyCBInputStream_create(obj0
, false);
15712 if (arg1
== NULL
) {
15713 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
15720 arg2
= wxString_in_helper(obj1
);
15721 if (arg2
== NULL
) SWIG_fail
;
15725 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15726 if (!SWIG_IsOK(ecode3
)) {
15727 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageFromStreamMime" "', expected argument " "3"" of type '" "int""'");
15729 arg3
= static_cast< int >(val3
);
15732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15733 result
= (wxImage
*)new wxImage(*arg1
,(wxString
const &)*arg2
,arg3
);
15734 wxPyEndAllowThreads(__tstate
);
15735 if (PyErr_Occurred()) SWIG_fail
;
15737 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
15739 if (created1
) delete arg1
;
15748 if (created1
) delete arg1
;
15758 SWIGINTERN PyObject
*_wrap_new_EmptyImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15759 PyObject
*resultobj
= 0;
15760 int arg1
= (int) 0 ;
15761 int arg2
= (int) 0 ;
15762 bool arg3
= (bool) true ;
15763 wxImage
*result
= 0 ;
15770 PyObject
* obj0
= 0 ;
15771 PyObject
* obj1
= 0 ;
15772 PyObject
* obj2
= 0 ;
15773 char * kwnames
[] = {
15774 (char *) "width",(char *) "height",(char *) "clear", NULL
15777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_EmptyImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15779 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15780 if (!SWIG_IsOK(ecode1
)) {
15781 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_EmptyImage" "', expected argument " "1"" of type '" "int""'");
15783 arg1
= static_cast< int >(val1
);
15786 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15787 if (!SWIG_IsOK(ecode2
)) {
15788 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_EmptyImage" "', expected argument " "2"" of type '" "int""'");
15790 arg2
= static_cast< int >(val2
);
15793 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
15794 if (!SWIG_IsOK(ecode3
)) {
15795 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_EmptyImage" "', expected argument " "3"" of type '" "bool""'");
15797 arg3
= static_cast< bool >(val3
);
15800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15801 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
15802 wxPyEndAllowThreads(__tstate
);
15803 if (PyErr_Occurred()) SWIG_fail
;
15805 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
15812 SWIGINTERN PyObject
*_wrap_new_ImageFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15813 PyObject
*resultobj
= 0;
15814 wxBitmap
*arg1
= 0 ;
15815 wxImage
*result
= 0 ;
15818 PyObject
* obj0
= 0 ;
15819 char * kwnames
[] = {
15820 (char *) "bitmap", NULL
15823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ImageFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
15824 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
15825 if (!SWIG_IsOK(res1
)) {
15826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ImageFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
15829 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ImageFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
15831 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
15833 if (!wxPyCheckForApp()) SWIG_fail
;
15834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15835 result
= (wxImage
*)new_wxImage((wxBitmap
const &)*arg1
);
15836 wxPyEndAllowThreads(__tstate
);
15837 if (PyErr_Occurred()) SWIG_fail
;
15839 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
15846 SWIGINTERN PyObject
*_wrap_new_ImageFromData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15847 PyObject
*resultobj
= 0;
15852 wxImage
*result
= 0 ;
15858 PyObject
* obj0
= 0 ;
15859 PyObject
* obj1
= 0 ;
15860 PyObject
* obj2
= 0 ;
15861 char * kwnames
[] = {
15862 (char *) "width",(char *) "height",(char *) "data", NULL
15865 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ImageFromData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15866 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15867 if (!SWIG_IsOK(ecode1
)) {
15868 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageFromData" "', expected argument " "1"" of type '" "int""'");
15870 arg1
= static_cast< int >(val1
);
15871 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15872 if (!SWIG_IsOK(ecode2
)) {
15873 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageFromData" "', expected argument " "2"" of type '" "int""'");
15875 arg2
= static_cast< int >(val2
);
15877 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
15881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15882 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
,arg4
);
15883 wxPyEndAllowThreads(__tstate
);
15884 if (PyErr_Occurred()) SWIG_fail
;
15886 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
15893 SWIGINTERN PyObject
*_wrap_new_ImageFromDataWithAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15894 PyObject
*resultobj
= 0;
15901 wxImage
*result
= 0 ;
15908 PyObject
* obj0
= 0 ;
15909 PyObject
* obj1
= 0 ;
15910 PyObject
* obj2
= 0 ;
15911 PyObject
* obj3
= 0 ;
15912 char * kwnames
[] = {
15913 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
15916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_ImageFromDataWithAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15917 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15918 if (!SWIG_IsOK(ecode1
)) {
15919 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageFromDataWithAlpha" "', expected argument " "1"" of type '" "int""'");
15921 arg1
= static_cast< int >(val1
);
15922 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15923 if (!SWIG_IsOK(ecode2
)) {
15924 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageFromDataWithAlpha" "', expected argument " "2"" of type '" "int""'");
15926 arg2
= static_cast< int >(val2
);
15928 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
15932 if (obj3
!= Py_None
) {
15933 if (PyObject_AsReadBuffer(obj3
, (const void**)(&arg5
), &temp5
) == -1) SWIG_fail
;
15938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15939 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
15940 wxPyEndAllowThreads(__tstate
);
15941 if (PyErr_Occurred()) SWIG_fail
;
15943 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
15950 SWIGINTERN PyObject
*_wrap_Image_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15951 PyObject
*resultobj
= 0;
15952 wxImage
*arg1
= (wxImage
*) 0 ;
15955 bool arg4
= (bool) true ;
15964 PyObject
* obj0
= 0 ;
15965 PyObject
* obj1
= 0 ;
15966 PyObject
* obj2
= 0 ;
15967 PyObject
* obj3
= 0 ;
15968 char * kwnames
[] = {
15969 (char *) "self",(char *) "width",(char *) "height",(char *) "clear", NULL
15972 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15973 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15974 if (!SWIG_IsOK(res1
)) {
15975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Create" "', expected argument " "1"" of type '" "wxImage *""'");
15977 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15978 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15979 if (!SWIG_IsOK(ecode2
)) {
15980 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_Create" "', expected argument " "2"" of type '" "int""'");
15982 arg2
= static_cast< int >(val2
);
15983 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15984 if (!SWIG_IsOK(ecode3
)) {
15985 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_Create" "', expected argument " "3"" of type '" "int""'");
15987 arg3
= static_cast< int >(val3
);
15989 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
15990 if (!SWIG_IsOK(ecode4
)) {
15991 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_Create" "', expected argument " "4"" of type '" "bool""'");
15993 arg4
= static_cast< bool >(val4
);
15996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15997 (arg1
)->Create(arg2
,arg3
,arg4
);
15998 wxPyEndAllowThreads(__tstate
);
15999 if (PyErr_Occurred()) SWIG_fail
;
16001 resultobj
= SWIG_Py_Void();
16008 SWIGINTERN PyObject
*_wrap_Image_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16009 PyObject
*resultobj
= 0;
16010 wxImage
*arg1
= (wxImage
*) 0 ;
16013 PyObject
*swig_obj
[1] ;
16015 if (!args
) SWIG_fail
;
16016 swig_obj
[0] = args
;
16017 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16018 if (!SWIG_IsOK(res1
)) {
16019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Destroy" "', expected argument " "1"" of type '" "wxImage *""'");
16021 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16025 wxPyEndAllowThreads(__tstate
);
16026 if (PyErr_Occurred()) SWIG_fail
;
16028 resultobj
= SWIG_Py_Void();
16035 SWIGINTERN PyObject
*_wrap_Image_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16036 PyObject
*resultobj
= 0;
16037 wxImage
*arg1
= (wxImage
*) 0 ;
16040 int arg4
= (int) wxIMAGE_QUALITY_NORMAL
;
16041 SwigValueWrapper
<wxImage
> result
;
16050 PyObject
* obj0
= 0 ;
16051 PyObject
* obj1
= 0 ;
16052 PyObject
* obj2
= 0 ;
16053 PyObject
* obj3
= 0 ;
16054 char * kwnames
[] = {
16055 (char *) "self",(char *) "width",(char *) "height",(char *) "quality", NULL
16058 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_Scale",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16059 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16060 if (!SWIG_IsOK(res1
)) {
16061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Scale" "', expected argument " "1"" of type '" "wxImage *""'");
16063 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16064 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16065 if (!SWIG_IsOK(ecode2
)) {
16066 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_Scale" "', expected argument " "2"" of type '" "int""'");
16068 arg2
= static_cast< int >(val2
);
16069 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16070 if (!SWIG_IsOK(ecode3
)) {
16071 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_Scale" "', expected argument " "3"" of type '" "int""'");
16073 arg3
= static_cast< int >(val3
);
16075 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16076 if (!SWIG_IsOK(ecode4
)) {
16077 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_Scale" "', expected argument " "4"" of type '" "int""'");
16079 arg4
= static_cast< int >(val4
);
16082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16083 result
= (arg1
)->Scale(arg2
,arg3
,arg4
);
16084 wxPyEndAllowThreads(__tstate
);
16085 if (PyErr_Occurred()) SWIG_fail
;
16087 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
16094 SWIGINTERN PyObject
*_wrap_Image_ResampleBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16095 PyObject
*resultobj
= 0;
16096 wxImage
*arg1
= (wxImage
*) 0 ;
16099 SwigValueWrapper
<wxImage
> result
;
16106 PyObject
* obj0
= 0 ;
16107 PyObject
* obj1
= 0 ;
16108 PyObject
* obj2
= 0 ;
16109 char * kwnames
[] = {
16110 (char *) "self",(char *) "width",(char *) "height", NULL
16113 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_ResampleBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16114 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16115 if (!SWIG_IsOK(res1
)) {
16116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_ResampleBox" "', expected argument " "1"" of type '" "wxImage const *""'");
16118 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16119 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16120 if (!SWIG_IsOK(ecode2
)) {
16121 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_ResampleBox" "', expected argument " "2"" of type '" "int""'");
16123 arg2
= static_cast< int >(val2
);
16124 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16125 if (!SWIG_IsOK(ecode3
)) {
16126 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_ResampleBox" "', expected argument " "3"" of type '" "int""'");
16128 arg3
= static_cast< int >(val3
);
16130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16131 result
= ((wxImage
const *)arg1
)->ResampleBox(arg2
,arg3
);
16132 wxPyEndAllowThreads(__tstate
);
16133 if (PyErr_Occurred()) SWIG_fail
;
16135 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
16142 SWIGINTERN PyObject
*_wrap_Image_ResampleBicubic(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16143 PyObject
*resultobj
= 0;
16144 wxImage
*arg1
= (wxImage
*) 0 ;
16147 SwigValueWrapper
<wxImage
> result
;
16154 PyObject
* obj0
= 0 ;
16155 PyObject
* obj1
= 0 ;
16156 PyObject
* obj2
= 0 ;
16157 char * kwnames
[] = {
16158 (char *) "self",(char *) "width",(char *) "height", NULL
16161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_ResampleBicubic",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16162 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16163 if (!SWIG_IsOK(res1
)) {
16164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_ResampleBicubic" "', expected argument " "1"" of type '" "wxImage const *""'");
16166 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16167 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16168 if (!SWIG_IsOK(ecode2
)) {
16169 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_ResampleBicubic" "', expected argument " "2"" of type '" "int""'");
16171 arg2
= static_cast< int >(val2
);
16172 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16173 if (!SWIG_IsOK(ecode3
)) {
16174 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_ResampleBicubic" "', expected argument " "3"" of type '" "int""'");
16176 arg3
= static_cast< int >(val3
);
16178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16179 result
= ((wxImage
const *)arg1
)->ResampleBicubic(arg2
,arg3
);
16180 wxPyEndAllowThreads(__tstate
);
16181 if (PyErr_Occurred()) SWIG_fail
;
16183 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
16190 SWIGINTERN PyObject
*_wrap_Image_Blur(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16191 PyObject
*resultobj
= 0;
16192 wxImage
*arg1
= (wxImage
*) 0 ;
16194 SwigValueWrapper
<wxImage
> result
;
16199 PyObject
* obj0
= 0 ;
16200 PyObject
* obj1
= 0 ;
16201 char * kwnames
[] = {
16202 (char *) "self",(char *) "radius", NULL
16205 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_Blur",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16206 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16207 if (!SWIG_IsOK(res1
)) {
16208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Blur" "', expected argument " "1"" of type '" "wxImage *""'");
16210 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16211 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16212 if (!SWIG_IsOK(ecode2
)) {
16213 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_Blur" "', expected argument " "2"" of type '" "int""'");
16215 arg2
= static_cast< int >(val2
);
16217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16218 result
= (arg1
)->Blur(arg2
);
16219 wxPyEndAllowThreads(__tstate
);
16220 if (PyErr_Occurred()) SWIG_fail
;
16222 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
16229 SWIGINTERN PyObject
*_wrap_Image_BlurHorizontal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16230 PyObject
*resultobj
= 0;
16231 wxImage
*arg1
= (wxImage
*) 0 ;
16233 SwigValueWrapper
<wxImage
> result
;
16238 PyObject
* obj0
= 0 ;
16239 PyObject
* obj1
= 0 ;
16240 char * kwnames
[] = {
16241 (char *) "self",(char *) "radius", NULL
16244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_BlurHorizontal",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16245 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16246 if (!SWIG_IsOK(res1
)) {
16247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_BlurHorizontal" "', expected argument " "1"" of type '" "wxImage *""'");
16249 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16250 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16251 if (!SWIG_IsOK(ecode2
)) {
16252 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_BlurHorizontal" "', expected argument " "2"" of type '" "int""'");
16254 arg2
= static_cast< int >(val2
);
16256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16257 result
= (arg1
)->BlurHorizontal(arg2
);
16258 wxPyEndAllowThreads(__tstate
);
16259 if (PyErr_Occurred()) SWIG_fail
;
16261 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
16268 SWIGINTERN PyObject
*_wrap_Image_BlurVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16269 PyObject
*resultobj
= 0;
16270 wxImage
*arg1
= (wxImage
*) 0 ;
16272 SwigValueWrapper
<wxImage
> result
;
16277 PyObject
* obj0
= 0 ;
16278 PyObject
* obj1
= 0 ;
16279 char * kwnames
[] = {
16280 (char *) "self",(char *) "radius", NULL
16283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_BlurVertical",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16285 if (!SWIG_IsOK(res1
)) {
16286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_BlurVertical" "', expected argument " "1"" of type '" "wxImage *""'");
16288 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16289 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16290 if (!SWIG_IsOK(ecode2
)) {
16291 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_BlurVertical" "', expected argument " "2"" of type '" "int""'");
16293 arg2
= static_cast< int >(val2
);
16295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16296 result
= (arg1
)->BlurVertical(arg2
);
16297 wxPyEndAllowThreads(__tstate
);
16298 if (PyErr_Occurred()) SWIG_fail
;
16300 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
16307 SWIGINTERN PyObject
*_wrap_Image_ShrinkBy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16308 PyObject
*resultobj
= 0;
16309 wxImage
*arg1
= (wxImage
*) 0 ;
16312 SwigValueWrapper
<wxImage
> result
;
16319 PyObject
* obj0
= 0 ;
16320 PyObject
* obj1
= 0 ;
16321 PyObject
* obj2
= 0 ;
16322 char * kwnames
[] = {
16323 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
16326 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_ShrinkBy",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16327 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16328 if (!SWIG_IsOK(res1
)) {
16329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_ShrinkBy" "', expected argument " "1"" of type '" "wxImage const *""'");
16331 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16332 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16333 if (!SWIG_IsOK(ecode2
)) {
16334 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_ShrinkBy" "', expected argument " "2"" of type '" "int""'");
16336 arg2
= static_cast< int >(val2
);
16337 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16338 if (!SWIG_IsOK(ecode3
)) {
16339 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_ShrinkBy" "', expected argument " "3"" of type '" "int""'");
16341 arg3
= static_cast< int >(val3
);
16343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16344 result
= ((wxImage
const *)arg1
)->ShrinkBy(arg2
,arg3
);
16345 wxPyEndAllowThreads(__tstate
);
16346 if (PyErr_Occurred()) SWIG_fail
;
16348 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
16355 SWIGINTERN PyObject
*_wrap_Image_Rescale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16356 PyObject
*resultobj
= 0;
16357 wxImage
*arg1
= (wxImage
*) 0 ;
16360 int arg4
= (int) wxIMAGE_QUALITY_NORMAL
;
16361 wxImage
*result
= 0 ;
16370 PyObject
* obj0
= 0 ;
16371 PyObject
* obj1
= 0 ;
16372 PyObject
* obj2
= 0 ;
16373 PyObject
* obj3
= 0 ;
16374 char * kwnames
[] = {
16375 (char *) "self",(char *) "width",(char *) "height",(char *) "quality", NULL
16378 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_Rescale",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16379 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16380 if (!SWIG_IsOK(res1
)) {
16381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Rescale" "', expected argument " "1"" of type '" "wxImage *""'");
16383 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16384 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16385 if (!SWIG_IsOK(ecode2
)) {
16386 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_Rescale" "', expected argument " "2"" of type '" "int""'");
16388 arg2
= static_cast< int >(val2
);
16389 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16390 if (!SWIG_IsOK(ecode3
)) {
16391 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_Rescale" "', expected argument " "3"" of type '" "int""'");
16393 arg3
= static_cast< int >(val3
);
16395 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16396 if (!SWIG_IsOK(ecode4
)) {
16397 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_Rescale" "', expected argument " "4"" of type '" "int""'");
16399 arg4
= static_cast< int >(val4
);
16402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16404 wxImage
&_result_ref
= (arg1
)->Rescale(arg2
,arg3
,arg4
);
16405 result
= (wxImage
*) &_result_ref
;
16407 wxPyEndAllowThreads(__tstate
);
16408 if (PyErr_Occurred()) SWIG_fail
;
16410 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage
, 0 | 0 );
16417 SWIGINTERN PyObject
*_wrap_Image_Resize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16418 PyObject
*resultobj
= 0;
16419 wxImage
*arg1
= (wxImage
*) 0 ;
16421 wxPoint
*arg3
= 0 ;
16422 int arg4
= (int) -1 ;
16423 int arg5
= (int) -1 ;
16424 int arg6
= (int) -1 ;
16425 wxImage
*result
= 0 ;
16436 PyObject
* obj0
= 0 ;
16437 PyObject
* obj1
= 0 ;
16438 PyObject
* obj2
= 0 ;
16439 PyObject
* obj3
= 0 ;
16440 PyObject
* obj4
= 0 ;
16441 PyObject
* obj5
= 0 ;
16442 char * kwnames
[] = {
16443 (char *) "self",(char *) "size",(char *) "pos",(char *) "r",(char *) "g",(char *) "b", NULL
16446 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:Image_Resize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
16447 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16448 if (!SWIG_IsOK(res1
)) {
16449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Resize" "', expected argument " "1"" of type '" "wxImage *""'");
16451 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16454 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16458 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16461 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16462 if (!SWIG_IsOK(ecode4
)) {
16463 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_Resize" "', expected argument " "4"" of type '" "int""'");
16465 arg4
= static_cast< int >(val4
);
16468 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
16469 if (!SWIG_IsOK(ecode5
)) {
16470 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Image_Resize" "', expected argument " "5"" of type '" "int""'");
16472 arg5
= static_cast< int >(val5
);
16475 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
16476 if (!SWIG_IsOK(ecode6
)) {
16477 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Image_Resize" "', expected argument " "6"" of type '" "int""'");
16479 arg6
= static_cast< int >(val6
);
16482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16484 wxImage
&_result_ref
= (arg1
)->Resize((wxSize
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
,arg6
);
16485 result
= (wxImage
*) &_result_ref
;
16487 wxPyEndAllowThreads(__tstate
);
16488 if (PyErr_Occurred()) SWIG_fail
;
16490 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage
, 0 | 0 );
16497 SWIGINTERN PyObject
*_wrap_Image_SetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16498 PyObject
*resultobj
= 0;
16499 wxImage
*arg1
= (wxImage
*) 0 ;
16511 unsigned char val4
;
16513 unsigned char val5
;
16515 unsigned char val6
;
16517 PyObject
* obj0
= 0 ;
16518 PyObject
* obj1
= 0 ;
16519 PyObject
* obj2
= 0 ;
16520 PyObject
* obj3
= 0 ;
16521 PyObject
* obj4
= 0 ;
16522 PyObject
* obj5
= 0 ;
16523 char * kwnames
[] = {
16524 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
16527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Image_SetRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
16528 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16529 if (!SWIG_IsOK(res1
)) {
16530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetRGB" "', expected argument " "1"" of type '" "wxImage *""'");
16532 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16533 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16534 if (!SWIG_IsOK(ecode2
)) {
16535 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_SetRGB" "', expected argument " "2"" of type '" "int""'");
16537 arg2
= static_cast< int >(val2
);
16538 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16539 if (!SWIG_IsOK(ecode3
)) {
16540 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_SetRGB" "', expected argument " "3"" of type '" "int""'");
16542 arg3
= static_cast< int >(val3
);
16543 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
16544 if (!SWIG_IsOK(ecode4
)) {
16545 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_SetRGB" "', expected argument " "4"" of type '" "byte""'");
16547 arg4
= static_cast< byte
>(val4
);
16548 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
16549 if (!SWIG_IsOK(ecode5
)) {
16550 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Image_SetRGB" "', expected argument " "5"" of type '" "byte""'");
16552 arg5
= static_cast< byte
>(val5
);
16553 ecode6
= SWIG_AsVal_unsigned_SS_char(obj5
, &val6
);
16554 if (!SWIG_IsOK(ecode6
)) {
16555 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Image_SetRGB" "', expected argument " "6"" of type '" "byte""'");
16557 arg6
= static_cast< byte
>(val6
);
16559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16560 (arg1
)->SetRGB(arg2
,arg3
,arg4
,arg5
,arg6
);
16561 wxPyEndAllowThreads(__tstate
);
16562 if (PyErr_Occurred()) SWIG_fail
;
16564 resultobj
= SWIG_Py_Void();
16571 SWIGINTERN PyObject
*_wrap_Image_SetRGBRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16572 PyObject
*resultobj
= 0;
16573 wxImage
*arg1
= (wxImage
*) 0 ;
16581 unsigned char val3
;
16583 unsigned char val4
;
16585 unsigned char val5
;
16587 PyObject
* obj0
= 0 ;
16588 PyObject
* obj1
= 0 ;
16589 PyObject
* obj2
= 0 ;
16590 PyObject
* obj3
= 0 ;
16591 PyObject
* obj4
= 0 ;
16592 char * kwnames
[] = {
16593 (char *) "self",(char *) "rect",(char *) "r",(char *) "g",(char *) "b", NULL
16596 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetRGBRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16597 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16598 if (!SWIG_IsOK(res1
)) {
16599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetRGBRect" "', expected argument " "1"" of type '" "wxImage *""'");
16601 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16604 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
16606 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
16607 if (!SWIG_IsOK(ecode3
)) {
16608 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_SetRGBRect" "', expected argument " "3"" of type '" "byte""'");
16610 arg3
= static_cast< byte
>(val3
);
16611 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
16612 if (!SWIG_IsOK(ecode4
)) {
16613 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_SetRGBRect" "', expected argument " "4"" of type '" "byte""'");
16615 arg4
= static_cast< byte
>(val4
);
16616 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
16617 if (!SWIG_IsOK(ecode5
)) {
16618 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Image_SetRGBRect" "', expected argument " "5"" of type '" "byte""'");
16620 arg5
= static_cast< byte
>(val5
);
16622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16623 (arg1
)->SetRGB((wxRect
const &)*arg2
,arg3
,arg4
,arg5
);
16624 wxPyEndAllowThreads(__tstate
);
16625 if (PyErr_Occurred()) SWIG_fail
;
16627 resultobj
= SWIG_Py_Void();
16634 SWIGINTERN PyObject
*_wrap_Image_GetRed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16635 PyObject
*resultobj
= 0;
16636 wxImage
*arg1
= (wxImage
*) 0 ;
16646 PyObject
* obj0
= 0 ;
16647 PyObject
* obj1
= 0 ;
16648 PyObject
* obj2
= 0 ;
16649 char * kwnames
[] = {
16650 (char *) "self",(char *) "x",(char *) "y", NULL
16653 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetRed",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16654 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16655 if (!SWIG_IsOK(res1
)) {
16656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetRed" "', expected argument " "1"" of type '" "wxImage *""'");
16658 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16659 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16660 if (!SWIG_IsOK(ecode2
)) {
16661 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_GetRed" "', expected argument " "2"" of type '" "int""'");
16663 arg2
= static_cast< int >(val2
);
16664 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16665 if (!SWIG_IsOK(ecode3
)) {
16666 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_GetRed" "', expected argument " "3"" of type '" "int""'");
16668 arg3
= static_cast< int >(val3
);
16670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16671 result
= (byte
)(arg1
)->GetRed(arg2
,arg3
);
16672 wxPyEndAllowThreads(__tstate
);
16673 if (PyErr_Occurred()) SWIG_fail
;
16675 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
16682 SWIGINTERN PyObject
*_wrap_Image_GetGreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16683 PyObject
*resultobj
= 0;
16684 wxImage
*arg1
= (wxImage
*) 0 ;
16694 PyObject
* obj0
= 0 ;
16695 PyObject
* obj1
= 0 ;
16696 PyObject
* obj2
= 0 ;
16697 char * kwnames
[] = {
16698 (char *) "self",(char *) "x",(char *) "y", NULL
16701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetGreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16702 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16703 if (!SWIG_IsOK(res1
)) {
16704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetGreen" "', expected argument " "1"" of type '" "wxImage *""'");
16706 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16707 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16708 if (!SWIG_IsOK(ecode2
)) {
16709 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_GetGreen" "', expected argument " "2"" of type '" "int""'");
16711 arg2
= static_cast< int >(val2
);
16712 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16713 if (!SWIG_IsOK(ecode3
)) {
16714 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_GetGreen" "', expected argument " "3"" of type '" "int""'");
16716 arg3
= static_cast< int >(val3
);
16718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16719 result
= (byte
)(arg1
)->GetGreen(arg2
,arg3
);
16720 wxPyEndAllowThreads(__tstate
);
16721 if (PyErr_Occurred()) SWIG_fail
;
16723 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
16730 SWIGINTERN PyObject
*_wrap_Image_GetBlue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16731 PyObject
*resultobj
= 0;
16732 wxImage
*arg1
= (wxImage
*) 0 ;
16742 PyObject
* obj0
= 0 ;
16743 PyObject
* obj1
= 0 ;
16744 PyObject
* obj2
= 0 ;
16745 char * kwnames
[] = {
16746 (char *) "self",(char *) "x",(char *) "y", NULL
16749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetBlue",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16750 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16751 if (!SWIG_IsOK(res1
)) {
16752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetBlue" "', expected argument " "1"" of type '" "wxImage *""'");
16754 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16755 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16756 if (!SWIG_IsOK(ecode2
)) {
16757 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_GetBlue" "', expected argument " "2"" of type '" "int""'");
16759 arg2
= static_cast< int >(val2
);
16760 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16761 if (!SWIG_IsOK(ecode3
)) {
16762 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_GetBlue" "', expected argument " "3"" of type '" "int""'");
16764 arg3
= static_cast< int >(val3
);
16766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16767 result
= (byte
)(arg1
)->GetBlue(arg2
,arg3
);
16768 wxPyEndAllowThreads(__tstate
);
16769 if (PyErr_Occurred()) SWIG_fail
;
16771 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
16778 SWIGINTERN PyObject
*_wrap_Image_SetAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16779 PyObject
*resultobj
= 0;
16780 wxImage
*arg1
= (wxImage
*) 0 ;
16790 unsigned char val4
;
16792 PyObject
* obj0
= 0 ;
16793 PyObject
* obj1
= 0 ;
16794 PyObject
* obj2
= 0 ;
16795 PyObject
* obj3
= 0 ;
16796 char * kwnames
[] = {
16797 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
16800 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16801 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16802 if (!SWIG_IsOK(res1
)) {
16803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetAlpha" "', expected argument " "1"" of type '" "wxImage *""'");
16805 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16806 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16807 if (!SWIG_IsOK(ecode2
)) {
16808 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_SetAlpha" "', expected argument " "2"" of type '" "int""'");
16810 arg2
= static_cast< int >(val2
);
16811 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16812 if (!SWIG_IsOK(ecode3
)) {
16813 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_SetAlpha" "', expected argument " "3"" of type '" "int""'");
16815 arg3
= static_cast< int >(val3
);
16816 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
16817 if (!SWIG_IsOK(ecode4
)) {
16818 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_SetAlpha" "', expected argument " "4"" of type '" "byte""'");
16820 arg4
= static_cast< byte
>(val4
);
16822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16823 (arg1
)->SetAlpha(arg2
,arg3
,arg4
);
16824 wxPyEndAllowThreads(__tstate
);
16825 if (PyErr_Occurred()) SWIG_fail
;
16827 resultobj
= SWIG_Py_Void();
16834 SWIGINTERN PyObject
*_wrap_Image_GetAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16835 PyObject
*resultobj
= 0;
16836 wxImage
*arg1
= (wxImage
*) 0 ;
16846 PyObject
* obj0
= 0 ;
16847 PyObject
* obj1
= 0 ;
16848 PyObject
* obj2
= 0 ;
16849 char * kwnames
[] = {
16850 (char *) "self",(char *) "x",(char *) "y", NULL
16853 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetAlpha",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16854 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16855 if (!SWIG_IsOK(res1
)) {
16856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetAlpha" "', expected argument " "1"" of type '" "wxImage *""'");
16858 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16859 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16860 if (!SWIG_IsOK(ecode2
)) {
16861 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_GetAlpha" "', expected argument " "2"" of type '" "int""'");
16863 arg2
= static_cast< int >(val2
);
16864 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16865 if (!SWIG_IsOK(ecode3
)) {
16866 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_GetAlpha" "', expected argument " "3"" of type '" "int""'");
16868 arg3
= static_cast< int >(val3
);
16870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16871 result
= (byte
)(arg1
)->GetAlpha(arg2
,arg3
);
16872 wxPyEndAllowThreads(__tstate
);
16873 if (PyErr_Occurred()) SWIG_fail
;
16875 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
16882 SWIGINTERN PyObject
*_wrap_Image_HasAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16883 PyObject
*resultobj
= 0;
16884 wxImage
*arg1
= (wxImage
*) 0 ;
16888 PyObject
*swig_obj
[1] ;
16890 if (!args
) SWIG_fail
;
16891 swig_obj
[0] = args
;
16892 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16893 if (!SWIG_IsOK(res1
)) {
16894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_HasAlpha" "', expected argument " "1"" of type '" "wxImage *""'");
16896 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16899 result
= (bool)(arg1
)->HasAlpha();
16900 wxPyEndAllowThreads(__tstate
);
16901 if (PyErr_Occurred()) SWIG_fail
;
16904 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16912 SWIGINTERN PyObject
*_wrap_Image_InitAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16913 PyObject
*resultobj
= 0;
16914 wxImage
*arg1
= (wxImage
*) 0 ;
16917 PyObject
*swig_obj
[1] ;
16919 if (!args
) SWIG_fail
;
16920 swig_obj
[0] = args
;
16921 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16922 if (!SWIG_IsOK(res1
)) {
16923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_InitAlpha" "', expected argument " "1"" of type '" "wxImage *""'");
16925 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16928 (arg1
)->InitAlpha();
16929 wxPyEndAllowThreads(__tstate
);
16930 if (PyErr_Occurred()) SWIG_fail
;
16932 resultobj
= SWIG_Py_Void();
16939 SWIGINTERN PyObject
*_wrap_Image_IsTransparent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16940 PyObject
*resultobj
= 0;
16941 wxImage
*arg1
= (wxImage
*) 0 ;
16944 byte arg4
= (byte
) wxIMAGE_ALPHA_THRESHOLD
;
16952 unsigned char val4
;
16954 PyObject
* obj0
= 0 ;
16955 PyObject
* obj1
= 0 ;
16956 PyObject
* obj2
= 0 ;
16957 PyObject
* obj3
= 0 ;
16958 char * kwnames
[] = {
16959 (char *) "self",(char *) "x",(char *) "y",(char *) "threshold", NULL
16962 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_IsTransparent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16963 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16964 if (!SWIG_IsOK(res1
)) {
16965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_IsTransparent" "', expected argument " "1"" of type '" "wxImage const *""'");
16967 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16968 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16969 if (!SWIG_IsOK(ecode2
)) {
16970 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_IsTransparent" "', expected argument " "2"" of type '" "int""'");
16972 arg2
= static_cast< int >(val2
);
16973 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16974 if (!SWIG_IsOK(ecode3
)) {
16975 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_IsTransparent" "', expected argument " "3"" of type '" "int""'");
16977 arg3
= static_cast< int >(val3
);
16979 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
16980 if (!SWIG_IsOK(ecode4
)) {
16981 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_IsTransparent" "', expected argument " "4"" of type '" "byte""'");
16983 arg4
= static_cast< byte
>(val4
);
16986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16987 result
= (bool)((wxImage
const *)arg1
)->IsTransparent(arg2
,arg3
,arg4
);
16988 wxPyEndAllowThreads(__tstate
);
16989 if (PyErr_Occurred()) SWIG_fail
;
16992 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17000 SWIGINTERN PyObject
*_wrap_Image_FindFirstUnusedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17001 PyObject
*resultobj
= 0;
17002 wxImage
*arg1
= (wxImage
*) 0 ;
17003 byte
*arg2
= (byte
*) 0 ;
17004 byte
*arg3
= (byte
*) 0 ;
17005 byte
*arg4
= (byte
*) 0 ;
17006 byte arg5
= (byte
) 0 ;
17007 byte arg6
= (byte
) 0 ;
17008 byte arg7
= (byte
) 0 ;
17013 int res2
= SWIG_TMPOBJ
;
17015 int res3
= SWIG_TMPOBJ
;
17017 int res4
= SWIG_TMPOBJ
;
17018 unsigned char val5
;
17020 unsigned char val6
;
17022 unsigned char val7
;
17024 PyObject
* obj0
= 0 ;
17025 PyObject
* obj1
= 0 ;
17026 PyObject
* obj2
= 0 ;
17027 PyObject
* obj3
= 0 ;
17028 char * kwnames
[] = {
17029 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
17035 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17036 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
17037 if (!SWIG_IsOK(res1
)) {
17038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_FindFirstUnusedColour" "', expected argument " "1"" of type '" "wxImage const *""'");
17040 arg1
= reinterpret_cast< wxImage
* >(argp1
);
17042 ecode5
= SWIG_AsVal_unsigned_SS_char(obj1
, &val5
);
17043 if (!SWIG_IsOK(ecode5
)) {
17044 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Image_FindFirstUnusedColour" "', expected argument " "5"" of type '" "byte""'");
17046 arg5
= static_cast< byte
>(val5
);
17049 ecode6
= SWIG_AsVal_unsigned_SS_char(obj2
, &val6
);
17050 if (!SWIG_IsOK(ecode6
)) {
17051 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Image_FindFirstUnusedColour" "', expected argument " "6"" of type '" "byte""'");
17053 arg6
= static_cast< byte
>(val6
);
17056 ecode7
= SWIG_AsVal_unsigned_SS_char(obj3
, &val7
);
17057 if (!SWIG_IsOK(ecode7
)) {
17058 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Image_FindFirstUnusedColour" "', expected argument " "7"" of type '" "byte""'");
17060 arg7
= static_cast< byte
>(val7
);
17063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17064 result
= (bool)((wxImage
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
17065 wxPyEndAllowThreads(__tstate
);
17066 if (PyErr_Occurred()) SWIG_fail
;
17069 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17071 if (SWIG_IsTmpObj(res2
)) {
17072 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg2
)));
17074 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
17075 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, new_flags
));
17077 if (SWIG_IsTmpObj(res3
)) {
17078 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
17080 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
17081 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
17083 if (SWIG_IsTmpObj(res4
)) {
17084 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
17086 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
17087 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
17095 SWIGINTERN PyObject
*_wrap_Image_ConvertAlphaToMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17096 PyObject
*resultobj
= 0;
17097 wxImage
*arg1
= (wxImage
*) 0 ;
17098 byte arg2
= (byte
) wxIMAGE_ALPHA_THRESHOLD
;
17102 unsigned char val2
;
17104 PyObject
* obj0
= 0 ;
17105 PyObject
* obj1
= 0 ;
17106 char * kwnames
[] = {
17107 (char *) "self",(char *) "threshold", NULL
17110 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertAlphaToMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17111 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
17112 if (!SWIG_IsOK(res1
)) {
17113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_ConvertAlphaToMask" "', expected argument " "1"" of type '" "wxImage *""'");
17115 arg1
= reinterpret_cast< wxImage
* >(argp1
);
17117 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
17118 if (!SWIG_IsOK(ecode2
)) {
17119 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_ConvertAlphaToMask" "', expected argument " "2"" of type '" "byte""'");
17121 arg2
= static_cast< byte
>(val2
);
17124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17125 result
= (bool)(arg1
)->ConvertAlphaToMask(arg2
);
17126 wxPyEndAllowThreads(__tstate
);
17127 if (PyErr_Occurred()) SWIG_fail
;
17130 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17138 SWIGINTERN PyObject
*_wrap_Image_ConvertColourToAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17139 PyObject
*resultobj
= 0;
17140 wxImage
*arg1
= (wxImage
*) 0 ;
17147 unsigned char val2
;
17149 unsigned char val3
;
17151 unsigned char val4
;
17153 PyObject
* obj0
= 0 ;
17154 PyObject
* obj1
= 0 ;
17155 PyObject
* obj2
= 0 ;
17156 PyObject
* obj3
= 0 ;
17157 char * kwnames
[] = {
17158 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
17161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertColourToAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17162 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
17163 if (!SWIG_IsOK(res1
)) {
17164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_ConvertColourToAlpha" "', expected argument " "1"" of type '" "wxImage *""'");
17166 arg1
= reinterpret_cast< wxImage
* >(argp1
);
17167 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
17168 if (!SWIG_IsOK(ecode2
)) {
17169 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_ConvertColourToAlpha" "', expected argument " "2"" of type '" "byte""'");
17171 arg2
= static_cast< byte
>(val2
);
17172 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
17173 if (!SWIG_IsOK(ecode3
)) {
17174 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_ConvertColourToAlpha" "', expected argument " "3"" of type '" "byte""'");
17176 arg3
= static_cast< byte
>(val3
);
17177 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
17178 if (!SWIG_IsOK(ecode4
)) {
17179 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_ConvertColourToAlpha" "', expected argument " "4"" of type '" "byte""'");
17181 arg4
= static_cast< byte
>(val4
);
17183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17184 result
= (bool)(arg1
)->ConvertColourToAlpha(arg2
,arg3
,arg4
);
17185 wxPyEndAllowThreads(__tstate
);
17186 if (PyErr_Occurred()) SWIG_fail
;
17189 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17197 SWIGINTERN PyObject
*_wrap_Image_SetMaskFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17198 PyObject
*resultobj
= 0;
17199 wxImage
*arg1
= (wxImage
*) 0 ;
17200 wxImage
*arg2
= 0 ;
17209 unsigned char val3
;
17211 unsigned char val4
;
17213 unsigned char val5
;
17215 PyObject
* obj0
= 0 ;
17216 PyObject
* obj1
= 0 ;
17217 PyObject
* obj2
= 0 ;
17218 PyObject
* obj3
= 0 ;
17219 PyObject
* obj4
= 0 ;
17220 char * kwnames
[] = {
17221 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
17224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetMaskFromImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17225 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
17226 if (!SWIG_IsOK(res1
)) {
17227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetMaskFromImage" "', expected argument " "1"" of type '" "wxImage *""'");
17229 arg1
= reinterpret_cast< wxImage
* >(argp1
);
17230 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxImage
, 0 | 0);
17231 if (!SWIG_IsOK(res2
)) {
17232 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Image_SetMaskFromImage" "', expected argument " "2"" of type '" "wxImage const &""'");
17235 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Image_SetMaskFromImage" "', expected argument " "2"" of type '" "wxImage const &""'");
17237 arg2
= reinterpret_cast< wxImage
* >(argp2
);
17238 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
17239 if (!SWIG_IsOK(ecode3
)) {
17240 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_SetMaskFromImage" "', expected argument " "3"" of type '" "byte""'");
17242 arg3
= static_cast< byte
>(val3
);
17243 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
17244 if (!SWIG_IsOK(ecode4
)) {
17245 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_SetMaskFromImage" "', expected argument " "4"" of type '" "byte""'");
17247 arg4
= static_cast< byte
>(val4
);
17248 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
17249 if (!SWIG_IsOK(ecode5
)) {
17250 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Image_SetMaskFromImage" "', expected argument " "5"" of type '" "byte""'");
17252 arg5
= static_cast< byte
>(val5
);
17254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17255 result
= (bool)(arg1
)->SetMaskFromImage((wxImage
const &)*arg2
,arg3
,arg4
,arg5
);
17256 wxPyEndAllowThreads(__tstate
);
17257 if (PyErr_Occurred()) SWIG_fail
;
17260 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17268 SWIGINTERN PyObject
*_wrap_Image_CanRead(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17269 PyObject
*resultobj
= 0;
17270 wxString
*arg1
= 0 ;
17272 bool temp1
= false ;
17273 PyObject
* obj0
= 0 ;
17274 char * kwnames
[] = {
17275 (char *) "filename", NULL
17278 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanRead",kwnames
,&obj0
)) SWIG_fail
;
17280 arg1
= wxString_in_helper(obj0
);
17281 if (arg1
== NULL
) SWIG_fail
;
17285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17286 result
= (bool)wxImage::CanRead((wxString
const &)*arg1
);
17287 wxPyEndAllowThreads(__tstate
);
17288 if (PyErr_Occurred()) SWIG_fail
;
17291 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17307 SWIGINTERN PyObject
*_wrap_Image_GetImageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17308 PyObject
*resultobj
= 0;
17309 wxString
*arg1
= 0 ;
17310 long arg2
= (long) wxBITMAP_TYPE_ANY
;
17312 bool temp1
= false ;
17315 PyObject
* obj0
= 0 ;
17316 PyObject
* obj1
= 0 ;
17317 char * kwnames
[] = {
17318 (char *) "filename",(char *) "type", NULL
17321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_GetImageCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17323 arg1
= wxString_in_helper(obj0
);
17324 if (arg1
== NULL
) SWIG_fail
;
17328 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
17329 if (!SWIG_IsOK(ecode2
)) {
17330 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_GetImageCount" "', expected argument " "2"" of type '" "long""'");
17332 arg2
= static_cast< long >(val2
);
17335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17336 result
= (int)wxImage::GetImageCount((wxString
const &)*arg1
,arg2
);
17337 wxPyEndAllowThreads(__tstate
);
17338 if (PyErr_Occurred()) SWIG_fail
;
17340 resultobj
= SWIG_From_int(static_cast< int >(result
));
17355 SWIGINTERN PyObject
*_wrap_Image_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17356 PyObject
*resultobj
= 0;
17357 wxImage
*arg1
= (wxImage
*) 0 ;
17358 wxString
*arg2
= 0 ;
17359 long arg3
= (long) wxBITMAP_TYPE_ANY
;
17360 int arg4
= (int) -1 ;
17364 bool temp2
= false ;
17369 PyObject
* obj0
= 0 ;
17370 PyObject
* obj1
= 0 ;
17371 PyObject
* obj2
= 0 ;
17372 PyObject
* obj3
= 0 ;
17373 char * kwnames
[] = {
17374 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
17377 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17378 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
17379 if (!SWIG_IsOK(res1
)) {
17380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_LoadFile" "', expected argument " "1"" of type '" "wxImage *""'");
17382 arg1
= reinterpret_cast< wxImage
* >(argp1
);
17384 arg2
= wxString_in_helper(obj1
);
17385 if (arg2
== NULL
) SWIG_fail
;
17389 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
17390 if (!SWIG_IsOK(ecode3
)) {
17391 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_LoadFile" "', expected argument " "3"" of type '" "long""'");
17393 arg3
= static_cast< long >(val3
);
17396 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17397 if (!SWIG_IsOK(ecode4
)) {
17398 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_LoadFile" "', expected argument " "4"" of type '" "int""'");
17400 arg4
= static_cast< int >(val4
);
17403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17404 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
,arg4
);
17405 wxPyEndAllowThreads(__tstate
);
17406 if (PyErr_Occurred()) SWIG_fail
;
17409 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17425 SWIGINTERN PyObject
*_wrap_Image_LoadMimeFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17426 PyObject
*resultobj
= 0;
17427 wxImage
*arg1
= (wxImage
*) 0 ;
17428 wxString
*arg2
= 0 ;
17429 wxString
*arg3
= 0 ;
17430 int arg4
= (int) -1 ;
17434 bool temp2
= false ;
17435 bool temp3
= false ;
17438 PyObject
* obj0
= 0 ;
17439 PyObject
* obj1
= 0 ;
17440 PyObject
* obj2
= 0 ;
17441 PyObject
* obj3
= 0 ;
17442 char * kwnames
[] = {
17443 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
17446 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17447 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
17448 if (!SWIG_IsOK(res1
)) {
17449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_LoadMimeFile" "', expected argument " "1"" of type '" "wxImage *""'");
17451 arg1
= reinterpret_cast< wxImage
* >(argp1
);
17453 arg2
= wxString_in_helper(obj1
);
17454 if (arg2
== NULL
) SWIG_fail
;
17458 arg3
= wxString_in_helper(obj2
);
17459 if (arg3
== NULL
) SWIG_fail
;
17463 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17464 if (!SWIG_IsOK(ecode4
)) {
17465 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_LoadMimeFile" "', expected argument " "4"" of type '" "int""'");
17467 arg4
= static_cast< int >(val4
);
17470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17471 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
17472 wxPyEndAllowThreads(__tstate
);
17473 if (PyErr_Occurred()) SWIG_fail
;
17476 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17500 SWIGINTERN PyObject
*_wrap_Image_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17501 PyObject
*resultobj
= 0;
17502 wxImage
*arg1
= (wxImage
*) 0 ;
17503 wxString
*arg2
= 0 ;
17508 bool temp2
= false ;
17511 PyObject
* obj0
= 0 ;
17512 PyObject
* obj1
= 0 ;
17513 PyObject
* obj2
= 0 ;
17514 char * kwnames
[] = {
17515 (char *) "self",(char *) "name",(char *) "type", NULL
17518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17519 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
17520 if (!SWIG_IsOK(res1
)) {
17521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SaveFile" "', expected argument " "1"" of type '" "wxImage *""'");
17523 arg1
= reinterpret_cast< wxImage
* >(argp1
);
17525 arg2
= wxString_in_helper(obj1
);
17526 if (arg2
== NULL
) SWIG_fail
;
17529 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17530 if (!SWIG_IsOK(ecode3
)) {
17531 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_SaveFile" "', expected argument " "3"" of type '" "int""'");
17533 arg3
= static_cast< int >(val3
);
17535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17536 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
17537 wxPyEndAllowThreads(__tstate
);
17538 if (PyErr_Occurred()) SWIG_fail
;
17541 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17557 SWIGINTERN PyObject
*_wrap_Image_SaveMimeFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17558 PyObject
*resultobj
= 0;
17559 wxImage
*arg1
= (wxImage
*) 0 ;
17560 wxString
*arg2
= 0 ;
17561 wxString
*arg3
= 0 ;
17565 bool temp2
= false ;
17566 bool temp3
= false ;
17567 PyObject
* obj0
= 0 ;
17568 PyObject
* obj1
= 0 ;
17569 PyObject
* obj2
= 0 ;
17570 char * kwnames
[] = {
17571 (char *) "self",(char *) "name",(char *) "mimetype", NULL
17574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveMimeFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17575 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
17576 if (!SWIG_IsOK(res1
)) {
17577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SaveMimeFile" "', expected argument " "1"" of type '" "wxImage *""'");
17579 arg1
= reinterpret_cast< wxImage
* >(argp1
);
17581 arg2
= wxString_in_helper(obj1
);
17582 if (arg2
== NULL
) SWIG_fail
;
17586 arg3
= wxString_in_helper(obj2
);
17587 if (arg3
== NULL
) SWIG_fail
;
17591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17592 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxString
const &)*arg3
);
17593 wxPyEndAllowThreads(__tstate
);
17594 if (PyErr_Occurred()) SWIG_fail
;
17597 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17621 SWIGINTERN PyObject
*_wrap_Image_CanReadStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17622 PyObject
*resultobj
= 0;
17623 wxInputStream
*arg1
= 0 ;
17625 wxPyInputStream
*temp1
;
17627 PyObject
* obj0
= 0 ;
17628 char * kwnames
[] = {
17629 (char *) "stream", NULL
17632 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanReadStream",kwnames
,&obj0
)) SWIG_fail
;
17634 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
17635 arg1
= temp1
->m_wxis
;
17638 PyErr_Clear(); // clear the failure of the wxPyConvert above
17639 arg1
= wxPyCBInputStream_create(obj0
, false);
17640 if (arg1
== NULL
) {
17641 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
17648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17649 result
= (bool)wxImage::CanRead(*arg1
);
17650 wxPyEndAllowThreads(__tstate
);
17651 if (PyErr_Occurred()) SWIG_fail
;
17654 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17657 if (created1
) delete arg1
;
17662 if (created1
) delete arg1
;
17668 SWIGINTERN PyObject
*_wrap_Image_LoadStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17669 PyObject
*resultobj
= 0;
17670 wxImage
*arg1
= (wxImage
*) 0 ;
17671 wxInputStream
*arg2
= 0 ;
17672 long arg3
= (long) wxBITMAP_TYPE_ANY
;
17673 int arg4
= (int) -1 ;
17677 wxPyInputStream
*temp2
;
17683 PyObject
* obj0
= 0 ;
17684 PyObject
* obj1
= 0 ;
17685 PyObject
* obj2
= 0 ;
17686 PyObject
* obj3
= 0 ;
17687 char * kwnames
[] = {
17688 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
17691 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17692 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
17693 if (!SWIG_IsOK(res1
)) {
17694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_LoadStream" "', expected argument " "1"" of type '" "wxImage *""'");
17696 arg1
= reinterpret_cast< wxImage
* >(argp1
);
17698 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
17699 arg2
= temp2
->m_wxis
;
17702 PyErr_Clear(); // clear the failure of the wxPyConvert above
17703 arg2
= wxPyCBInputStream_create(obj1
, false);
17704 if (arg2
== NULL
) {
17705 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
17712 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
17713 if (!SWIG_IsOK(ecode3
)) {
17714 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_LoadStream" "', expected argument " "3"" of type '" "long""'");
17716 arg3
= static_cast< long >(val3
);
17719 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17720 if (!SWIG_IsOK(ecode4
)) {
17721 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_LoadStream" "', expected argument " "4"" of type '" "int""'");
17723 arg4
= static_cast< int >(val4
);
17726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17727 result
= (bool)(arg1
)->LoadFile(*arg2
,arg3
,arg4
);
17728 wxPyEndAllowThreads(__tstate
);
17729 if (PyErr_Occurred()) SWIG_fail
;
17732 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17735 if (created2
) delete arg2
;
17740 if (created2
) delete arg2
;
17746 SWIGINTERN PyObject
*_wrap_Image_LoadMimeStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17747 PyObject
*resultobj
= 0;
17748 wxImage
*arg1
= (wxImage
*) 0 ;
17749 wxInputStream
*arg2
= 0 ;
17750 wxString
*arg3
= 0 ;
17751 int arg4
= (int) -1 ;
17755 wxPyInputStream
*temp2
;
17757 bool temp3
= false ;
17760 PyObject
* obj0
= 0 ;
17761 PyObject
* obj1
= 0 ;
17762 PyObject
* obj2
= 0 ;
17763 PyObject
* obj3
= 0 ;
17764 char * kwnames
[] = {
17765 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
17768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17769 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
17770 if (!SWIG_IsOK(res1
)) {
17771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_LoadMimeStream" "', expected argument " "1"" of type '" "wxImage *""'");
17773 arg1
= reinterpret_cast< wxImage
* >(argp1
);
17775 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
17776 arg2
= temp2
->m_wxis
;
17779 PyErr_Clear(); // clear the failure of the wxPyConvert above
17780 arg2
= wxPyCBInputStream_create(obj1
, false);
17781 if (arg2
== NULL
) {
17782 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
17789 arg3
= wxString_in_helper(obj2
);
17790 if (arg3
== NULL
) SWIG_fail
;
17794 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17795 if (!SWIG_IsOK(ecode4
)) {
17796 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_LoadMimeStream" "', expected argument " "4"" of type '" "int""'");
17798 arg4
= static_cast< int >(val4
);
17801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17802 result
= (bool)(arg1
)->LoadFile(*arg2
,(wxString
const &)*arg3
,arg4
);
17803 wxPyEndAllowThreads(__tstate
);
17804 if (PyErr_Occurred()) SWIG_fail
;
17807 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17810 if (created2
) delete arg2
;
17819 if (created2
) delete arg2
;
17829 SWIGINTERN PyObject
*_wrap_Image_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17830 PyObject
*resultobj
= 0;
17831 wxImage
*arg1
= (wxImage
*) 0 ;
17835 PyObject
*swig_obj
[1] ;
17837 if (!args
) SWIG_fail
;
17838 swig_obj
[0] = args
;
17839 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
17840 if (!SWIG_IsOK(res1
)) {
17841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_IsOk" "', expected argument " "1"" of type '" "wxImage *""'");
17843 arg1
= reinterpret_cast< wxImage
* >(argp1
);
17845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17846 result
= (bool)(arg1
)->IsOk();
17847 wxPyEndAllowThreads(__tstate
);
17848 if (PyErr_Occurred()) SWIG_fail
;
17851 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17859 SWIGINTERN PyObject
*_wrap_Image_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17860 PyObject
*resultobj
= 0;
17861 wxImage
*arg1
= (wxImage
*) 0 ;
17865 PyObject
*swig_obj
[1] ;
17867 if (!args
) SWIG_fail
;
17868 swig_obj
[0] = args
;
17869 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
17870 if (!SWIG_IsOK(res1
)) {
17871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetWidth" "', expected argument " "1"" of type '" "wxImage *""'");
17873 arg1
= reinterpret_cast< wxImage
* >(argp1
);
17875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17876 result
= (int)(arg1
)->GetWidth();
17877 wxPyEndAllowThreads(__tstate
);
17878 if (PyErr_Occurred()) SWIG_fail
;
17880 resultobj
= SWIG_From_int(static_cast< int >(result
));
17887 SWIGINTERN PyObject
*_wrap_Image_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17888 PyObject
*resultobj
= 0;
17889 wxImage
*arg1
= (wxImage
*) 0 ;
17893 PyObject
*swig_obj
[1] ;
17895 if (!args
) SWIG_fail
;
17896 swig_obj
[0] = args
;
17897 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
17898 if (!SWIG_IsOK(res1
)) {
17899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetHeight" "', expected argument " "1"" of type '" "wxImage *""'");
17901 arg1
= reinterpret_cast< wxImage
* >(argp1
);
17903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17904 result
= (int)(arg1
)->GetHeight();
17905 wxPyEndAllowThreads(__tstate
);
17906 if (PyErr_Occurred()) SWIG_fail
;
17908 resultobj
= SWIG_From_int(static_cast< int >(result
));
17915 SWIGINTERN PyObject
*_wrap_Image_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17916 PyObject
*resultobj
= 0;
17917 wxImage
*arg1
= (wxImage
*) 0 ;
17921 PyObject
*swig_obj
[1] ;
17923 if (!args
) SWIG_fail
;
17924 swig_obj
[0] = args
;
17925 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
17926 if (!SWIG_IsOK(res1
)) {
17927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetSize" "', expected argument " "1"" of type '" "wxImage *""'");
17929 arg1
= reinterpret_cast< wxImage
* >(argp1
);
17931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17932 result
= wxImage_GetSize(arg1
);
17933 wxPyEndAllowThreads(__tstate
);
17934 if (PyErr_Occurred()) SWIG_fail
;
17936 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
17943 SWIGINTERN PyObject
*_wrap_Image_GetSubImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17944 PyObject
*resultobj
= 0;
17945 wxImage
*arg1
= (wxImage
*) 0 ;
17947 SwigValueWrapper
<wxImage
> result
;
17951 PyObject
* obj0
= 0 ;
17952 PyObject
* obj1
= 0 ;
17953 char * kwnames
[] = {
17954 (char *) "self",(char *) "rect", NULL
17957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetSubImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17958 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
17959 if (!SWIG_IsOK(res1
)) {
17960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetSubImage" "', expected argument " "1"" of type '" "wxImage *""'");
17962 arg1
= reinterpret_cast< wxImage
* >(argp1
);
17965 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17969 result
= (arg1
)->GetSubImage((wxRect
const &)*arg2
);
17970 wxPyEndAllowThreads(__tstate
);
17971 if (PyErr_Occurred()) SWIG_fail
;
17973 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
17980 SWIGINTERN PyObject
*_wrap_Image_Size(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17981 PyObject
*resultobj
= 0;
17982 wxImage
*arg1
= (wxImage
*) 0 ;
17984 wxPoint
*arg3
= 0 ;
17985 int arg4
= (int) -1 ;
17986 int arg5
= (int) -1 ;
17987 int arg6
= (int) -1 ;
17988 SwigValueWrapper
<wxImage
> result
;
17999 PyObject
* obj0
= 0 ;
18000 PyObject
* obj1
= 0 ;
18001 PyObject
* obj2
= 0 ;
18002 PyObject
* obj3
= 0 ;
18003 PyObject
* obj4
= 0 ;
18004 PyObject
* obj5
= 0 ;
18005 char * kwnames
[] = {
18006 (char *) "self",(char *) "size",(char *) "pos",(char *) "r",(char *) "g",(char *) "b", NULL
18009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:Image_Size",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
18011 if (!SWIG_IsOK(res1
)) {
18012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Size" "', expected argument " "1"" of type '" "wxImage const *""'");
18014 arg1
= reinterpret_cast< wxImage
* >(argp1
);
18017 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18021 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18024 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18025 if (!SWIG_IsOK(ecode4
)) {
18026 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_Size" "', expected argument " "4"" of type '" "int""'");
18028 arg4
= static_cast< int >(val4
);
18031 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18032 if (!SWIG_IsOK(ecode5
)) {
18033 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Image_Size" "', expected argument " "5"" of type '" "int""'");
18035 arg5
= static_cast< int >(val5
);
18038 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
18039 if (!SWIG_IsOK(ecode6
)) {
18040 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Image_Size" "', expected argument " "6"" of type '" "int""'");
18042 arg6
= static_cast< int >(val6
);
18045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18046 result
= ((wxImage
const *)arg1
)->Size((wxSize
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
,arg6
);
18047 wxPyEndAllowThreads(__tstate
);
18048 if (PyErr_Occurred()) SWIG_fail
;
18050 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
18057 SWIGINTERN PyObject
*_wrap_Image_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18058 PyObject
*resultobj
= 0;
18059 wxImage
*arg1
= (wxImage
*) 0 ;
18060 SwigValueWrapper
<wxImage
> result
;
18063 PyObject
*swig_obj
[1] ;
18065 if (!args
) SWIG_fail
;
18066 swig_obj
[0] = args
;
18067 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
18068 if (!SWIG_IsOK(res1
)) {
18069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Copy" "', expected argument " "1"" of type '" "wxImage *""'");
18071 arg1
= reinterpret_cast< wxImage
* >(argp1
);
18073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18074 result
= (arg1
)->Copy();
18075 wxPyEndAllowThreads(__tstate
);
18076 if (PyErr_Occurred()) SWIG_fail
;
18078 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
18085 SWIGINTERN PyObject
*_wrap_Image_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18086 PyObject
*resultobj
= 0;
18087 wxImage
*arg1
= (wxImage
*) 0 ;
18088 wxImage
*arg2
= 0 ;
18099 PyObject
* obj0
= 0 ;
18100 PyObject
* obj1
= 0 ;
18101 PyObject
* obj2
= 0 ;
18102 PyObject
* obj3
= 0 ;
18103 char * kwnames
[] = {
18104 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
18107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_Paste",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18108 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
18109 if (!SWIG_IsOK(res1
)) {
18110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Paste" "', expected argument " "1"" of type '" "wxImage *""'");
18112 arg1
= reinterpret_cast< wxImage
* >(argp1
);
18113 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxImage
, 0 | 0);
18114 if (!SWIG_IsOK(res2
)) {
18115 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Image_Paste" "', expected argument " "2"" of type '" "wxImage const &""'");
18118 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Image_Paste" "', expected argument " "2"" of type '" "wxImage const &""'");
18120 arg2
= reinterpret_cast< wxImage
* >(argp2
);
18121 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18122 if (!SWIG_IsOK(ecode3
)) {
18123 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_Paste" "', expected argument " "3"" of type '" "int""'");
18125 arg3
= static_cast< int >(val3
);
18126 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18127 if (!SWIG_IsOK(ecode4
)) {
18128 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_Paste" "', expected argument " "4"" of type '" "int""'");
18130 arg4
= static_cast< int >(val4
);
18132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18133 (arg1
)->Paste((wxImage
const &)*arg2
,arg3
,arg4
);
18134 wxPyEndAllowThreads(__tstate
);
18135 if (PyErr_Occurred()) SWIG_fail
;
18137 resultobj
= SWIG_Py_Void();
18144 SWIGINTERN PyObject
*_wrap_Image_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18145 PyObject
*resultobj
= 0;
18146 wxImage
*arg1
= (wxImage
*) 0 ;
18147 PyObject
*result
= 0 ;
18150 PyObject
*swig_obj
[1] ;
18152 if (!args
) SWIG_fail
;
18153 swig_obj
[0] = args
;
18154 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
18155 if (!SWIG_IsOK(res1
)) {
18156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetData" "', expected argument " "1"" of type '" "wxImage *""'");
18158 arg1
= reinterpret_cast< wxImage
* >(argp1
);
18160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18161 result
= (PyObject
*)wxImage_GetData(arg1
);
18162 wxPyEndAllowThreads(__tstate
);
18163 if (PyErr_Occurred()) SWIG_fail
;
18165 resultobj
= result
;
18172 SWIGINTERN PyObject
*_wrap_Image_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18173 PyObject
*resultobj
= 0;
18174 wxImage
*arg1
= (wxImage
*) 0 ;
18180 PyObject
* obj0
= 0 ;
18181 PyObject
* obj1
= 0 ;
18182 char * kwnames
[] = {
18183 (char *) "self",(char *) "data", NULL
18186 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18187 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
18188 if (!SWIG_IsOK(res1
)) {
18189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetData" "', expected argument " "1"" of type '" "wxImage *""'");
18191 arg1
= reinterpret_cast< wxImage
* >(argp1
);
18193 if (PyObject_AsReadBuffer(obj1
, (const void**)(&arg2
), &temp2
) == -1) SWIG_fail
;
18197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18198 wxImage_SetData(arg1
,arg2
,arg3
);
18199 wxPyEndAllowThreads(__tstate
);
18200 if (PyErr_Occurred()) SWIG_fail
;
18202 resultobj
= SWIG_Py_Void();
18209 SWIGINTERN PyObject
*_wrap_Image_GetDataBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18210 PyObject
*resultobj
= 0;
18211 wxImage
*arg1
= (wxImage
*) 0 ;
18212 PyObject
*result
= 0 ;
18215 PyObject
*swig_obj
[1] ;
18217 if (!args
) SWIG_fail
;
18218 swig_obj
[0] = args
;
18219 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
18220 if (!SWIG_IsOK(res1
)) {
18221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetDataBuffer" "', expected argument " "1"" of type '" "wxImage *""'");
18223 arg1
= reinterpret_cast< wxImage
* >(argp1
);
18225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18226 result
= (PyObject
*)wxImage_GetDataBuffer(arg1
);
18227 wxPyEndAllowThreads(__tstate
);
18228 if (PyErr_Occurred()) SWIG_fail
;
18230 resultobj
= result
;
18237 SWIGINTERN PyObject
*_wrap_Image_SetDataBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18238 PyObject
*resultobj
= 0;
18239 wxImage
*arg1
= (wxImage
*) 0 ;
18245 PyObject
* obj0
= 0 ;
18246 PyObject
* obj1
= 0 ;
18247 char * kwnames
[] = {
18248 (char *) "self",(char *) "data", NULL
18251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetDataBuffer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18252 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
18253 if (!SWIG_IsOK(res1
)) {
18254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetDataBuffer" "', expected argument " "1"" of type '" "wxImage *""'");
18256 arg1
= reinterpret_cast< wxImage
* >(argp1
);
18258 if (PyObject_AsReadBuffer(obj1
, (const void**)(&arg2
), &temp2
) == -1) SWIG_fail
;
18262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18263 wxImage_SetDataBuffer(arg1
,arg2
,arg3
);
18264 wxPyEndAllowThreads(__tstate
);
18265 if (PyErr_Occurred()) SWIG_fail
;
18267 resultobj
= SWIG_Py_Void();
18274 SWIGINTERN PyObject
*_wrap_Image_GetAlphaData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18275 PyObject
*resultobj
= 0;
18276 wxImage
*arg1
= (wxImage
*) 0 ;
18277 PyObject
*result
= 0 ;
18280 PyObject
*swig_obj
[1] ;
18282 if (!args
) SWIG_fail
;
18283 swig_obj
[0] = args
;
18284 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
18285 if (!SWIG_IsOK(res1
)) {
18286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetAlphaData" "', expected argument " "1"" of type '" "wxImage *""'");
18288 arg1
= reinterpret_cast< wxImage
* >(argp1
);
18290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18291 result
= (PyObject
*)wxImage_GetAlphaData(arg1
);
18292 wxPyEndAllowThreads(__tstate
);
18293 if (PyErr_Occurred()) SWIG_fail
;
18295 resultobj
= result
;
18302 SWIGINTERN PyObject
*_wrap_Image_SetAlphaData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18303 PyObject
*resultobj
= 0;
18304 wxImage
*arg1
= (wxImage
*) 0 ;
18310 PyObject
* obj0
= 0 ;
18311 PyObject
* obj1
= 0 ;
18312 char * kwnames
[] = {
18313 (char *) "self",(char *) "alpha", NULL
18316 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18317 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
18318 if (!SWIG_IsOK(res1
)) {
18319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetAlphaData" "', expected argument " "1"" of type '" "wxImage *""'");
18321 arg1
= reinterpret_cast< wxImage
* >(argp1
);
18323 if (obj1
!= Py_None
) {
18324 if (PyObject_AsReadBuffer(obj1
, (const void**)(&arg2
), &temp2
) == -1) SWIG_fail
;
18329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18330 wxImage_SetAlphaData(arg1
,arg2
,arg3
);
18331 wxPyEndAllowThreads(__tstate
);
18332 if (PyErr_Occurred()) SWIG_fail
;
18334 resultobj
= SWIG_Py_Void();
18341 SWIGINTERN PyObject
*_wrap_Image_GetAlphaBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18342 PyObject
*resultobj
= 0;
18343 wxImage
*arg1
= (wxImage
*) 0 ;
18344 PyObject
*result
= 0 ;
18347 PyObject
*swig_obj
[1] ;
18349 if (!args
) SWIG_fail
;
18350 swig_obj
[0] = args
;
18351 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
18352 if (!SWIG_IsOK(res1
)) {
18353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetAlphaBuffer" "', expected argument " "1"" of type '" "wxImage *""'");
18355 arg1
= reinterpret_cast< wxImage
* >(argp1
);
18357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18358 result
= (PyObject
*)wxImage_GetAlphaBuffer(arg1
);
18359 wxPyEndAllowThreads(__tstate
);
18360 if (PyErr_Occurred()) SWIG_fail
;
18362 resultobj
= result
;
18369 SWIGINTERN PyObject
*_wrap_Image_SetAlphaBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18370 PyObject
*resultobj
= 0;
18371 wxImage
*arg1
= (wxImage
*) 0 ;
18377 PyObject
* obj0
= 0 ;
18378 PyObject
* obj1
= 0 ;
18379 char * kwnames
[] = {
18380 (char *) "self",(char *) "alpha", NULL
18383 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaBuffer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18384 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
18385 if (!SWIG_IsOK(res1
)) {
18386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetAlphaBuffer" "', expected argument " "1"" of type '" "wxImage *""'");
18388 arg1
= reinterpret_cast< wxImage
* >(argp1
);
18390 if (obj1
!= Py_None
) {
18391 if (PyObject_AsReadBuffer(obj1
, (const void**)(&arg2
), &temp2
) == -1) SWIG_fail
;
18396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18397 wxImage_SetAlphaBuffer(arg1
,arg2
,arg3
);
18398 wxPyEndAllowThreads(__tstate
);
18399 if (PyErr_Occurred()) SWIG_fail
;
18401 resultobj
= SWIG_Py_Void();
18408 SWIGINTERN PyObject
*_wrap_Image_SetMaskColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18409 PyObject
*resultobj
= 0;
18410 wxImage
*arg1
= (wxImage
*) 0 ;
18416 unsigned char val2
;
18418 unsigned char val3
;
18420 unsigned char val4
;
18422 PyObject
* obj0
= 0 ;
18423 PyObject
* obj1
= 0 ;
18424 PyObject
* obj2
= 0 ;
18425 PyObject
* obj3
= 0 ;
18426 char * kwnames
[] = {
18427 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
18430 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetMaskColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18431 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
18432 if (!SWIG_IsOK(res1
)) {
18433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetMaskColour" "', expected argument " "1"" of type '" "wxImage *""'");
18435 arg1
= reinterpret_cast< wxImage
* >(argp1
);
18436 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
18437 if (!SWIG_IsOK(ecode2
)) {
18438 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_SetMaskColour" "', expected argument " "2"" of type '" "byte""'");
18440 arg2
= static_cast< byte
>(val2
);
18441 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
18442 if (!SWIG_IsOK(ecode3
)) {
18443 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_SetMaskColour" "', expected argument " "3"" of type '" "byte""'");
18445 arg3
= static_cast< byte
>(val3
);
18446 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
18447 if (!SWIG_IsOK(ecode4
)) {
18448 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_SetMaskColour" "', expected argument " "4"" of type '" "byte""'");
18450 arg4
= static_cast< byte
>(val4
);
18452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18453 (arg1
)->SetMaskColour(arg2
,arg3
,arg4
);
18454 wxPyEndAllowThreads(__tstate
);
18455 if (PyErr_Occurred()) SWIG_fail
;
18457 resultobj
= SWIG_Py_Void();
18464 SWIGINTERN PyObject
*_wrap_Image_GetOrFindMaskColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18465 PyObject
*resultobj
= 0;
18466 wxImage
*arg1
= (wxImage
*) 0 ;
18467 byte
*arg2
= (byte
*) 0 ;
18468 byte
*arg3
= (byte
*) 0 ;
18469 byte
*arg4
= (byte
*) 0 ;
18473 int res2
= SWIG_TMPOBJ
;
18475 int res3
= SWIG_TMPOBJ
;
18477 int res4
= SWIG_TMPOBJ
;
18478 PyObject
*swig_obj
[1] ;
18483 if (!args
) SWIG_fail
;
18484 swig_obj
[0] = args
;
18485 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
18486 if (!SWIG_IsOK(res1
)) {
18487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetOrFindMaskColour" "', expected argument " "1"" of type '" "wxImage const *""'");
18489 arg1
= reinterpret_cast< wxImage
* >(argp1
);
18491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18492 ((wxImage
const *)arg1
)->GetOrFindMaskColour(arg2
,arg3
,arg4
);
18493 wxPyEndAllowThreads(__tstate
);
18494 if (PyErr_Occurred()) SWIG_fail
;
18496 resultobj
= SWIG_Py_Void();
18497 if (SWIG_IsTmpObj(res2
)) {
18498 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg2
)));
18500 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18501 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, new_flags
));
18503 if (SWIG_IsTmpObj(res3
)) {
18504 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
18506 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18507 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
18509 if (SWIG_IsTmpObj(res4
)) {
18510 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
18512 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18513 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
18521 SWIGINTERN PyObject
*_wrap_Image_GetMaskRed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18522 PyObject
*resultobj
= 0;
18523 wxImage
*arg1
= (wxImage
*) 0 ;
18527 PyObject
*swig_obj
[1] ;
18529 if (!args
) SWIG_fail
;
18530 swig_obj
[0] = args
;
18531 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
18532 if (!SWIG_IsOK(res1
)) {
18533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetMaskRed" "', expected argument " "1"" of type '" "wxImage *""'");
18535 arg1
= reinterpret_cast< wxImage
* >(argp1
);
18537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18538 result
= (byte
)(arg1
)->GetMaskRed();
18539 wxPyEndAllowThreads(__tstate
);
18540 if (PyErr_Occurred()) SWIG_fail
;
18542 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
18549 SWIGINTERN PyObject
*_wrap_Image_GetMaskGreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18550 PyObject
*resultobj
= 0;
18551 wxImage
*arg1
= (wxImage
*) 0 ;
18555 PyObject
*swig_obj
[1] ;
18557 if (!args
) SWIG_fail
;
18558 swig_obj
[0] = args
;
18559 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
18560 if (!SWIG_IsOK(res1
)) {
18561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetMaskGreen" "', expected argument " "1"" of type '" "wxImage *""'");
18563 arg1
= reinterpret_cast< wxImage
* >(argp1
);
18565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18566 result
= (byte
)(arg1
)->GetMaskGreen();
18567 wxPyEndAllowThreads(__tstate
);
18568 if (PyErr_Occurred()) SWIG_fail
;
18570 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
18577 SWIGINTERN PyObject
*_wrap_Image_GetMaskBlue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18578 PyObject
*resultobj
= 0;
18579 wxImage
*arg1
= (wxImage
*) 0 ;
18583 PyObject
*swig_obj
[1] ;
18585 if (!args
) SWIG_fail
;
18586 swig_obj
[0] = args
;
18587 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
18588 if (!SWIG_IsOK(res1
)) {
18589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetMaskBlue" "', expected argument " "1"" of type '" "wxImage *""'");
18591 arg1
= reinterpret_cast< wxImage
* >(argp1
);
18593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18594 result
= (byte
)(arg1
)->GetMaskBlue();
18595 wxPyEndAllowThreads(__tstate
);
18596 if (PyErr_Occurred()) SWIG_fail
;
18598 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
18605 SWIGINTERN PyObject
*_wrap_Image_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18606 PyObject
*resultobj
= 0;
18607 wxImage
*arg1
= (wxImage
*) 0 ;
18608 bool arg2
= (bool) true ;
18613 PyObject
* obj0
= 0 ;
18614 PyObject
* obj1
= 0 ;
18615 char * kwnames
[] = {
18616 (char *) "self",(char *) "mask", NULL
18619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18620 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
18621 if (!SWIG_IsOK(res1
)) {
18622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetMask" "', expected argument " "1"" of type '" "wxImage *""'");
18624 arg1
= reinterpret_cast< wxImage
* >(argp1
);
18626 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18627 if (!SWIG_IsOK(ecode2
)) {
18628 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_SetMask" "', expected argument " "2"" of type '" "bool""'");
18630 arg2
= static_cast< bool >(val2
);
18633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18634 (arg1
)->SetMask(arg2
);
18635 wxPyEndAllowThreads(__tstate
);
18636 if (PyErr_Occurred()) SWIG_fail
;
18638 resultobj
= SWIG_Py_Void();
18645 SWIGINTERN PyObject
*_wrap_Image_HasMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18646 PyObject
*resultobj
= 0;
18647 wxImage
*arg1
= (wxImage
*) 0 ;
18651 PyObject
*swig_obj
[1] ;
18653 if (!args
) SWIG_fail
;
18654 swig_obj
[0] = args
;
18655 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
18656 if (!SWIG_IsOK(res1
)) {
18657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_HasMask" "', expected argument " "1"" of type '" "wxImage *""'");
18659 arg1
= reinterpret_cast< wxImage
* >(argp1
);
18661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18662 result
= (bool)(arg1
)->HasMask();
18663 wxPyEndAllowThreads(__tstate
);
18664 if (PyErr_Occurred()) SWIG_fail
;
18667 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18675 SWIGINTERN PyObject
*_wrap_Image_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18676 PyObject
*resultobj
= 0;
18677 wxImage
*arg1
= (wxImage
*) 0 ;
18679 wxPoint
*arg3
= 0 ;
18680 bool arg4
= (bool) true ;
18681 wxPoint
*arg5
= (wxPoint
*) NULL
;
18682 SwigValueWrapper
<wxImage
> result
;
18692 PyObject
* obj0
= 0 ;
18693 PyObject
* obj1
= 0 ;
18694 PyObject
* obj2
= 0 ;
18695 PyObject
* obj3
= 0 ;
18696 PyObject
* obj4
= 0 ;
18697 char * kwnames
[] = {
18698 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
18701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Image_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18702 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
18703 if (!SWIG_IsOK(res1
)) {
18704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Rotate" "', expected argument " "1"" of type '" "wxImage const *""'");
18706 arg1
= reinterpret_cast< wxImage
* >(argp1
);
18707 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
18708 if (!SWIG_IsOK(ecode2
)) {
18709 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_Rotate" "', expected argument " "2"" of type '" "double""'");
18711 arg2
= static_cast< double >(val2
);
18714 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18717 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
18718 if (!SWIG_IsOK(ecode4
)) {
18719 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_Rotate" "', expected argument " "4"" of type '" "bool""'");
18721 arg4
= static_cast< bool >(val4
);
18724 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxPoint
, 0 | 0 );
18725 if (!SWIG_IsOK(res5
)) {
18726 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "Image_Rotate" "', expected argument " "5"" of type '" "wxPoint *""'");
18728 arg5
= reinterpret_cast< wxPoint
* >(argp5
);
18731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18732 result
= ((wxImage
const *)arg1
)->Rotate(arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
18733 wxPyEndAllowThreads(__tstate
);
18734 if (PyErr_Occurred()) SWIG_fail
;
18736 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
18743 SWIGINTERN PyObject
*_wrap_Image_Rotate90(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18744 PyObject
*resultobj
= 0;
18745 wxImage
*arg1
= (wxImage
*) 0 ;
18746 bool arg2
= (bool) true ;
18747 SwigValueWrapper
<wxImage
> result
;
18752 PyObject
* obj0
= 0 ;
18753 PyObject
* obj1
= 0 ;
18754 char * kwnames
[] = {
18755 (char *) "self",(char *) "clockwise", NULL
18758 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Rotate90",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18759 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
18760 if (!SWIG_IsOK(res1
)) {
18761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Rotate90" "', expected argument " "1"" of type '" "wxImage *""'");
18763 arg1
= reinterpret_cast< wxImage
* >(argp1
);
18765 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18766 if (!SWIG_IsOK(ecode2
)) {
18767 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_Rotate90" "', expected argument " "2"" of type '" "bool""'");
18769 arg2
= static_cast< bool >(val2
);
18772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18773 result
= (arg1
)->Rotate90(arg2
);
18774 wxPyEndAllowThreads(__tstate
);
18775 if (PyErr_Occurred()) SWIG_fail
;
18777 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
18784 SWIGINTERN PyObject
*_wrap_Image_Mirror(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18785 PyObject
*resultobj
= 0;
18786 wxImage
*arg1
= (wxImage
*) 0 ;
18787 bool arg2
= (bool) true ;
18788 SwigValueWrapper
<wxImage
> result
;
18793 PyObject
* obj0
= 0 ;
18794 PyObject
* obj1
= 0 ;
18795 char * kwnames
[] = {
18796 (char *) "self",(char *) "horizontally", NULL
18799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Mirror",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18800 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
18801 if (!SWIG_IsOK(res1
)) {
18802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Mirror" "', expected argument " "1"" of type '" "wxImage *""'");
18804 arg1
= reinterpret_cast< wxImage
* >(argp1
);
18806 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18807 if (!SWIG_IsOK(ecode2
)) {
18808 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_Mirror" "', expected argument " "2"" of type '" "bool""'");
18810 arg2
= static_cast< bool >(val2
);
18813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18814 result
= (arg1
)->Mirror(arg2
);
18815 wxPyEndAllowThreads(__tstate
);
18816 if (PyErr_Occurred()) SWIG_fail
;
18818 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
18825 SWIGINTERN PyObject
*_wrap_Image_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18826 PyObject
*resultobj
= 0;
18827 wxImage
*arg1
= (wxImage
*) 0 ;
18836 unsigned char val2
;
18838 unsigned char val3
;
18840 unsigned char val4
;
18842 unsigned char val5
;
18844 unsigned char val6
;
18846 unsigned char val7
;
18848 PyObject
* obj0
= 0 ;
18849 PyObject
* obj1
= 0 ;
18850 PyObject
* obj2
= 0 ;
18851 PyObject
* obj3
= 0 ;
18852 PyObject
* obj4
= 0 ;
18853 PyObject
* obj5
= 0 ;
18854 PyObject
* obj6
= 0 ;
18855 char * kwnames
[] = {
18856 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
18859 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:Image_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18860 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
18861 if (!SWIG_IsOK(res1
)) {
18862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Replace" "', expected argument " "1"" of type '" "wxImage *""'");
18864 arg1
= reinterpret_cast< wxImage
* >(argp1
);
18865 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
18866 if (!SWIG_IsOK(ecode2
)) {
18867 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_Replace" "', expected argument " "2"" of type '" "byte""'");
18869 arg2
= static_cast< byte
>(val2
);
18870 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
18871 if (!SWIG_IsOK(ecode3
)) {
18872 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_Replace" "', expected argument " "3"" of type '" "byte""'");
18874 arg3
= static_cast< byte
>(val3
);
18875 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
18876 if (!SWIG_IsOK(ecode4
)) {
18877 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_Replace" "', expected argument " "4"" of type '" "byte""'");
18879 arg4
= static_cast< byte
>(val4
);
18880 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
18881 if (!SWIG_IsOK(ecode5
)) {
18882 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Image_Replace" "', expected argument " "5"" of type '" "byte""'");
18884 arg5
= static_cast< byte
>(val5
);
18885 ecode6
= SWIG_AsVal_unsigned_SS_char(obj5
, &val6
);
18886 if (!SWIG_IsOK(ecode6
)) {
18887 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Image_Replace" "', expected argument " "6"" of type '" "byte""'");
18889 arg6
= static_cast< byte
>(val6
);
18890 ecode7
= SWIG_AsVal_unsigned_SS_char(obj6
, &val7
);
18891 if (!SWIG_IsOK(ecode7
)) {
18892 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Image_Replace" "', expected argument " "7"" of type '" "byte""'");
18894 arg7
= static_cast< byte
>(val7
);
18896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18897 (arg1
)->Replace(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18898 wxPyEndAllowThreads(__tstate
);
18899 if (PyErr_Occurred()) SWIG_fail
;
18901 resultobj
= SWIG_Py_Void();
18908 SWIGINTERN PyObject
*_wrap_Image_ConvertToGreyscale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18909 PyObject
*resultobj
= 0;
18910 wxImage
*arg1
= (wxImage
*) 0 ;
18911 double arg2
= (double) 0.299 ;
18912 double arg3
= (double) 0.587 ;
18913 double arg4
= (double) 0.114 ;
18914 SwigValueWrapper
<wxImage
> result
;
18923 PyObject
* obj0
= 0 ;
18924 PyObject
* obj1
= 0 ;
18925 PyObject
* obj2
= 0 ;
18926 PyObject
* obj3
= 0 ;
18927 char * kwnames
[] = {
18928 (char *) "self",(char *) "lr",(char *) "lg",(char *) "lb", NULL
18931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_ConvertToGreyscale",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18932 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
18933 if (!SWIG_IsOK(res1
)) {
18934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_ConvertToGreyscale" "', expected argument " "1"" of type '" "wxImage const *""'");
18936 arg1
= reinterpret_cast< wxImage
* >(argp1
);
18938 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
18939 if (!SWIG_IsOK(ecode2
)) {
18940 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_ConvertToGreyscale" "', expected argument " "2"" of type '" "double""'");
18942 arg2
= static_cast< double >(val2
);
18945 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
18946 if (!SWIG_IsOK(ecode3
)) {
18947 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_ConvertToGreyscale" "', expected argument " "3"" of type '" "double""'");
18949 arg3
= static_cast< double >(val3
);
18952 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
18953 if (!SWIG_IsOK(ecode4
)) {
18954 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_ConvertToGreyscale" "', expected argument " "4"" of type '" "double""'");
18956 arg4
= static_cast< double >(val4
);
18959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18960 result
= ((wxImage
const *)arg1
)->ConvertToGreyscale(arg2
,arg3
,arg4
);
18961 wxPyEndAllowThreads(__tstate
);
18962 if (PyErr_Occurred()) SWIG_fail
;
18964 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
18971 SWIGINTERN PyObject
*_wrap_Image_ConvertToMono(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18972 PyObject
*resultobj
= 0;
18973 wxImage
*arg1
= (wxImage
*) 0 ;
18977 SwigValueWrapper
<wxImage
> result
;
18980 unsigned char val2
;
18982 unsigned char val3
;
18984 unsigned char val4
;
18986 PyObject
* obj0
= 0 ;
18987 PyObject
* obj1
= 0 ;
18988 PyObject
* obj2
= 0 ;
18989 PyObject
* obj3
= 0 ;
18990 char * kwnames
[] = {
18991 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
18994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMono",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
18996 if (!SWIG_IsOK(res1
)) {
18997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_ConvertToMono" "', expected argument " "1"" of type '" "wxImage const *""'");
18999 arg1
= reinterpret_cast< wxImage
* >(argp1
);
19000 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
19001 if (!SWIG_IsOK(ecode2
)) {
19002 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_ConvertToMono" "', expected argument " "2"" of type '" "byte""'");
19004 arg2
= static_cast< byte
>(val2
);
19005 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
19006 if (!SWIG_IsOK(ecode3
)) {
19007 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_ConvertToMono" "', expected argument " "3"" of type '" "byte""'");
19009 arg3
= static_cast< byte
>(val3
);
19010 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
19011 if (!SWIG_IsOK(ecode4
)) {
19012 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_ConvertToMono" "', expected argument " "4"" of type '" "byte""'");
19014 arg4
= static_cast< byte
>(val4
);
19016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19017 result
= ((wxImage
const *)arg1
)->ConvertToMono(arg2
,arg3
,arg4
);
19018 wxPyEndAllowThreads(__tstate
);
19019 if (PyErr_Occurred()) SWIG_fail
;
19021 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
19028 SWIGINTERN PyObject
*_wrap_Image_SetOption(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19029 PyObject
*resultobj
= 0;
19030 wxImage
*arg1
= (wxImage
*) 0 ;
19031 wxString
*arg2
= 0 ;
19032 wxString
*arg3
= 0 ;
19035 bool temp2
= false ;
19036 bool temp3
= false ;
19037 PyObject
* obj0
= 0 ;
19038 PyObject
* obj1
= 0 ;
19039 PyObject
* obj2
= 0 ;
19040 char * kwnames
[] = {
19041 (char *) "self",(char *) "name",(char *) "value", NULL
19044 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOption",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19045 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
19046 if (!SWIG_IsOK(res1
)) {
19047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetOption" "', expected argument " "1"" of type '" "wxImage *""'");
19049 arg1
= reinterpret_cast< wxImage
* >(argp1
);
19051 arg2
= wxString_in_helper(obj1
);
19052 if (arg2
== NULL
) SWIG_fail
;
19056 arg3
= wxString_in_helper(obj2
);
19057 if (arg3
== NULL
) SWIG_fail
;
19061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19062 (arg1
)->SetOption((wxString
const &)*arg2
,(wxString
const &)*arg3
);
19063 wxPyEndAllowThreads(__tstate
);
19064 if (PyErr_Occurred()) SWIG_fail
;
19066 resultobj
= SWIG_Py_Void();
19089 SWIGINTERN PyObject
*_wrap_Image_SetOptionInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19090 PyObject
*resultobj
= 0;
19091 wxImage
*arg1
= (wxImage
*) 0 ;
19092 wxString
*arg2
= 0 ;
19096 bool temp2
= false ;
19099 PyObject
* obj0
= 0 ;
19100 PyObject
* obj1
= 0 ;
19101 PyObject
* obj2
= 0 ;
19102 char * kwnames
[] = {
19103 (char *) "self",(char *) "name",(char *) "value", NULL
19106 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOptionInt",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19107 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
19108 if (!SWIG_IsOK(res1
)) {
19109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetOptionInt" "', expected argument " "1"" of type '" "wxImage *""'");
19111 arg1
= reinterpret_cast< wxImage
* >(argp1
);
19113 arg2
= wxString_in_helper(obj1
);
19114 if (arg2
== NULL
) SWIG_fail
;
19117 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19118 if (!SWIG_IsOK(ecode3
)) {
19119 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_SetOptionInt" "', expected argument " "3"" of type '" "int""'");
19121 arg3
= static_cast< int >(val3
);
19123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19124 (arg1
)->SetOption((wxString
const &)*arg2
,arg3
);
19125 wxPyEndAllowThreads(__tstate
);
19126 if (PyErr_Occurred()) SWIG_fail
;
19128 resultobj
= SWIG_Py_Void();
19143 SWIGINTERN PyObject
*_wrap_Image_GetOption(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19144 PyObject
*resultobj
= 0;
19145 wxImage
*arg1
= (wxImage
*) 0 ;
19146 wxString
*arg2
= 0 ;
19150 bool temp2
= false ;
19151 PyObject
* obj0
= 0 ;
19152 PyObject
* obj1
= 0 ;
19153 char * kwnames
[] = {
19154 (char *) "self",(char *) "name", NULL
19157 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOption",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19158 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
19159 if (!SWIG_IsOK(res1
)) {
19160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetOption" "', expected argument " "1"" of type '" "wxImage const *""'");
19162 arg1
= reinterpret_cast< wxImage
* >(argp1
);
19164 arg2
= wxString_in_helper(obj1
);
19165 if (arg2
== NULL
) SWIG_fail
;
19169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19170 result
= ((wxImage
const *)arg1
)->GetOption((wxString
const &)*arg2
);
19171 wxPyEndAllowThreads(__tstate
);
19172 if (PyErr_Occurred()) SWIG_fail
;
19176 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19178 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19195 SWIGINTERN PyObject
*_wrap_Image_GetOptionInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19196 PyObject
*resultobj
= 0;
19197 wxImage
*arg1
= (wxImage
*) 0 ;
19198 wxString
*arg2
= 0 ;
19202 bool temp2
= false ;
19203 PyObject
* obj0
= 0 ;
19204 PyObject
* obj1
= 0 ;
19205 char * kwnames
[] = {
19206 (char *) "self",(char *) "name", NULL
19209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOptionInt",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
19211 if (!SWIG_IsOK(res1
)) {
19212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetOptionInt" "', expected argument " "1"" of type '" "wxImage const *""'");
19214 arg1
= reinterpret_cast< wxImage
* >(argp1
);
19216 arg2
= wxString_in_helper(obj1
);
19217 if (arg2
== NULL
) SWIG_fail
;
19221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19222 result
= (int)((wxImage
const *)arg1
)->GetOptionInt((wxString
const &)*arg2
);
19223 wxPyEndAllowThreads(__tstate
);
19224 if (PyErr_Occurred()) SWIG_fail
;
19226 resultobj
= SWIG_From_int(static_cast< int >(result
));
19241 SWIGINTERN PyObject
*_wrap_Image_HasOption(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19242 PyObject
*resultobj
= 0;
19243 wxImage
*arg1
= (wxImage
*) 0 ;
19244 wxString
*arg2
= 0 ;
19248 bool temp2
= false ;
19249 PyObject
* obj0
= 0 ;
19250 PyObject
* obj1
= 0 ;
19251 char * kwnames
[] = {
19252 (char *) "self",(char *) "name", NULL
19255 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HasOption",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19256 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
19257 if (!SWIG_IsOK(res1
)) {
19258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_HasOption" "', expected argument " "1"" of type '" "wxImage const *""'");
19260 arg1
= reinterpret_cast< wxImage
* >(argp1
);
19262 arg2
= wxString_in_helper(obj1
);
19263 if (arg2
== NULL
) SWIG_fail
;
19267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19268 result
= (bool)((wxImage
const *)arg1
)->HasOption((wxString
const &)*arg2
);
19269 wxPyEndAllowThreads(__tstate
);
19270 if (PyErr_Occurred()) SWIG_fail
;
19273 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19289 SWIGINTERN PyObject
*_wrap_Image_CountColours(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19290 PyObject
*resultobj
= 0;
19291 wxImage
*arg1
= (wxImage
*) 0 ;
19292 unsigned long arg2
= (unsigned long) (unsigned long) -1 ;
19293 unsigned long result
;
19296 unsigned long val2
;
19298 PyObject
* obj0
= 0 ;
19299 PyObject
* obj1
= 0 ;
19300 char * kwnames
[] = {
19301 (char *) "self",(char *) "stopafter", NULL
19304 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_CountColours",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19305 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
19306 if (!SWIG_IsOK(res1
)) {
19307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_CountColours" "', expected argument " "1"" of type '" "wxImage *""'");
19309 arg1
= reinterpret_cast< wxImage
* >(argp1
);
19311 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
19312 if (!SWIG_IsOK(ecode2
)) {
19313 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_CountColours" "', expected argument " "2"" of type '" "unsigned long""'");
19315 arg2
= static_cast< unsigned long >(val2
);
19318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19319 result
= (unsigned long)(arg1
)->CountColours(arg2
);
19320 wxPyEndAllowThreads(__tstate
);
19321 if (PyErr_Occurred()) SWIG_fail
;
19323 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
19330 SWIGINTERN PyObject
*_wrap_Image_ComputeHistogram(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19331 PyObject
*resultobj
= 0;
19332 wxImage
*arg1
= (wxImage
*) 0 ;
19333 wxImageHistogram
*arg2
= 0 ;
19334 unsigned long result
;
19339 PyObject
* obj0
= 0 ;
19340 PyObject
* obj1
= 0 ;
19341 char * kwnames
[] = {
19342 (char *) "self",(char *) "h", NULL
19345 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_ComputeHistogram",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19346 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
19347 if (!SWIG_IsOK(res1
)) {
19348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_ComputeHistogram" "', expected argument " "1"" of type '" "wxImage *""'");
19350 arg1
= reinterpret_cast< wxImage
* >(argp1
);
19351 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxImageHistogram
, 0 );
19352 if (!SWIG_IsOK(res2
)) {
19353 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Image_ComputeHistogram" "', expected argument " "2"" of type '" "wxImageHistogram &""'");
19356 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Image_ComputeHistogram" "', expected argument " "2"" of type '" "wxImageHistogram &""'");
19358 arg2
= reinterpret_cast< wxImageHistogram
* >(argp2
);
19360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19361 result
= (unsigned long)(arg1
)->ComputeHistogram(*arg2
);
19362 wxPyEndAllowThreads(__tstate
);
19363 if (PyErr_Occurred()) SWIG_fail
;
19365 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
19372 SWIGINTERN PyObject
*_wrap_Image_AddHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19373 PyObject
*resultobj
= 0;
19374 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
19377 PyObject
* obj0
= 0 ;
19378 char * kwnames
[] = {
19379 (char *) "handler", NULL
19382 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_AddHandler",kwnames
,&obj0
)) SWIG_fail
;
19383 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
19384 if (!SWIG_IsOK(res1
)) {
19385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_AddHandler" "', expected argument " "1"" of type '" "wxImageHandler *""'");
19387 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
19389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19390 wxImage::AddHandler(arg1
);
19391 wxPyEndAllowThreads(__tstate
);
19392 if (PyErr_Occurred()) SWIG_fail
;
19394 resultobj
= SWIG_Py_Void();
19401 SWIGINTERN PyObject
*_wrap_Image_InsertHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19402 PyObject
*resultobj
= 0;
19403 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
19406 PyObject
* obj0
= 0 ;
19407 char * kwnames
[] = {
19408 (char *) "handler", NULL
19411 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InsertHandler",kwnames
,&obj0
)) SWIG_fail
;
19412 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
19413 if (!SWIG_IsOK(res1
)) {
19414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_InsertHandler" "', expected argument " "1"" of type '" "wxImageHandler *""'");
19416 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
19418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19419 wxImage::InsertHandler(arg1
);
19420 wxPyEndAllowThreads(__tstate
);
19421 if (PyErr_Occurred()) SWIG_fail
;
19423 resultobj
= SWIG_Py_Void();
19430 SWIGINTERN PyObject
*_wrap_Image_RemoveHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19431 PyObject
*resultobj
= 0;
19432 wxString
*arg1
= 0 ;
19434 bool temp1
= false ;
19435 PyObject
* obj0
= 0 ;
19436 char * kwnames
[] = {
19437 (char *) "name", NULL
19440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RemoveHandler",kwnames
,&obj0
)) SWIG_fail
;
19442 arg1
= wxString_in_helper(obj0
);
19443 if (arg1
== NULL
) SWIG_fail
;
19447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19448 result
= (bool)wxImage::RemoveHandler((wxString
const &)*arg1
);
19449 wxPyEndAllowThreads(__tstate
);
19450 if (PyErr_Occurred()) SWIG_fail
;
19453 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19469 SWIGINTERN PyObject
*_wrap_Image_GetHandlers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19470 PyObject
*resultobj
= 0;
19471 PyObject
*result
= 0 ;
19473 if (!SWIG_Python_UnpackTuple(args
,"Image_GetHandlers",0,0,0)) SWIG_fail
;
19475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19476 result
= (PyObject
*)wxImage_GetHandlers();
19477 wxPyEndAllowThreads(__tstate
);
19478 if (PyErr_Occurred()) SWIG_fail
;
19480 resultobj
= result
;
19487 SWIGINTERN PyObject
*_wrap_Image_GetImageExtWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19488 PyObject
*resultobj
= 0;
19491 if (!SWIG_Python_UnpackTuple(args
,"Image_GetImageExtWildcard",0,0,0)) SWIG_fail
;
19493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19494 result
= wxImage::GetImageExtWildcard();
19495 wxPyEndAllowThreads(__tstate
);
19496 if (PyErr_Occurred()) SWIG_fail
;
19500 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19502 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19511 SWIGINTERN PyObject
*_wrap_Image_ConvertToBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19512 PyObject
*resultobj
= 0;
19513 wxImage
*arg1
= (wxImage
*) 0 ;
19514 int arg2
= (int) -1 ;
19520 PyObject
* obj0
= 0 ;
19521 PyObject
* obj1
= 0 ;
19522 char * kwnames
[] = {
19523 (char *) "self",(char *) "depth", NULL
19526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertToBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19527 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
19528 if (!SWIG_IsOK(res1
)) {
19529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_ConvertToBitmap" "', expected argument " "1"" of type '" "wxImage *""'");
19531 arg1
= reinterpret_cast< wxImage
* >(argp1
);
19533 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19534 if (!SWIG_IsOK(ecode2
)) {
19535 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_ConvertToBitmap" "', expected argument " "2"" of type '" "int""'");
19537 arg2
= static_cast< int >(val2
);
19540 if (!wxPyCheckForApp()) SWIG_fail
;
19541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19542 result
= wxImage_ConvertToBitmap(arg1
,arg2
);
19543 wxPyEndAllowThreads(__tstate
);
19544 if (PyErr_Occurred()) SWIG_fail
;
19546 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
19553 SWIGINTERN PyObject
*_wrap_Image_ConvertToMonoBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19554 PyObject
*resultobj
= 0;
19555 wxImage
*arg1
= (wxImage
*) 0 ;
19562 unsigned char val2
;
19564 unsigned char val3
;
19566 unsigned char val4
;
19568 PyObject
* obj0
= 0 ;
19569 PyObject
* obj1
= 0 ;
19570 PyObject
* obj2
= 0 ;
19571 PyObject
* obj3
= 0 ;
19572 char * kwnames
[] = {
19573 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
19576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19577 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
19578 if (!SWIG_IsOK(res1
)) {
19579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_ConvertToMonoBitmap" "', expected argument " "1"" of type '" "wxImage *""'");
19581 arg1
= reinterpret_cast< wxImage
* >(argp1
);
19582 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
19583 if (!SWIG_IsOK(ecode2
)) {
19584 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_ConvertToMonoBitmap" "', expected argument " "2"" of type '" "byte""'");
19586 arg2
= static_cast< byte
>(val2
);
19587 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
19588 if (!SWIG_IsOK(ecode3
)) {
19589 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_ConvertToMonoBitmap" "', expected argument " "3"" of type '" "byte""'");
19591 arg3
= static_cast< byte
>(val3
);
19592 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
19593 if (!SWIG_IsOK(ecode4
)) {
19594 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_ConvertToMonoBitmap" "', expected argument " "4"" of type '" "byte""'");
19596 arg4
= static_cast< byte
>(val4
);
19598 if (!wxPyCheckForApp()) SWIG_fail
;
19599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19600 result
= wxImage_ConvertToMonoBitmap(arg1
,arg2
,arg3
,arg4
);
19601 wxPyEndAllowThreads(__tstate
);
19602 if (PyErr_Occurred()) SWIG_fail
;
19604 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
19611 SWIGINTERN PyObject
*_wrap_Image_RotateHue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19612 PyObject
*resultobj
= 0;
19613 wxImage
*arg1
= (wxImage
*) 0 ;
19619 PyObject
* obj0
= 0 ;
19620 PyObject
* obj1
= 0 ;
19621 char * kwnames
[] = {
19622 (char *) "self",(char *) "angle", NULL
19625 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_RotateHue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19626 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
19627 if (!SWIG_IsOK(res1
)) {
19628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_RotateHue" "', expected argument " "1"" of type '" "wxImage *""'");
19630 arg1
= reinterpret_cast< wxImage
* >(argp1
);
19631 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
19632 if (!SWIG_IsOK(ecode2
)) {
19633 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_RotateHue" "', expected argument " "2"" of type '" "double""'");
19635 arg2
= static_cast< double >(val2
);
19637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19638 (arg1
)->RotateHue(arg2
);
19639 wxPyEndAllowThreads(__tstate
);
19640 if (PyErr_Occurred()) SWIG_fail
;
19642 resultobj
= SWIG_Py_Void();
19649 SWIGINTERN PyObject
*_wrap_Image_RGBtoHSV(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19650 PyObject
*resultobj
= 0;
19651 wxImage_RGBValue arg1
;
19652 wxImage_HSVValue result
;
19655 PyObject
* obj0
= 0 ;
19656 char * kwnames
[] = {
19657 (char *) "rgb", NULL
19660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RGBtoHSV",kwnames
,&obj0
)) SWIG_fail
;
19662 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage_RGBValue
, 0 | 0);
19663 if (!SWIG_IsOK(res1
)) {
19664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_RGBtoHSV" "', expected argument " "1"" of type '" "wxImage_RGBValue""'");
19667 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Image_RGBtoHSV" "', expected argument " "1"" of type '" "wxImage_RGBValue""'");
19669 wxImage_RGBValue
* temp
= reinterpret_cast< wxImage_RGBValue
* >(argp1
);
19671 if (SWIG_IsNewObj(res1
)) delete temp
;
19675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19676 result
= wxImage::RGBtoHSV(arg1
);
19677 wxPyEndAllowThreads(__tstate
);
19678 if (PyErr_Occurred()) SWIG_fail
;
19680 resultobj
= SWIG_NewPointerObj((new wxImage_HSVValue(static_cast< const wxImage_HSVValue
& >(result
))), SWIGTYPE_p_wxImage_HSVValue
, SWIG_POINTER_OWN
| 0 );
19687 SWIGINTERN PyObject
*_wrap_Image_HSVtoRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19688 PyObject
*resultobj
= 0;
19689 wxImage_HSVValue arg1
;
19690 wxImage_RGBValue result
;
19693 PyObject
* obj0
= 0 ;
19694 char * kwnames
[] = {
19695 (char *) "hsv", NULL
19698 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HSVtoRGB",kwnames
,&obj0
)) SWIG_fail
;
19700 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage_HSVValue
, 0 | 0);
19701 if (!SWIG_IsOK(res1
)) {
19702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_HSVtoRGB" "', expected argument " "1"" of type '" "wxImage_HSVValue""'");
19705 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Image_HSVtoRGB" "', expected argument " "1"" of type '" "wxImage_HSVValue""'");
19707 wxImage_HSVValue
* temp
= reinterpret_cast< wxImage_HSVValue
* >(argp1
);
19709 if (SWIG_IsNewObj(res1
)) delete temp
;
19713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19714 result
= wxImage::HSVtoRGB(arg1
);
19715 wxPyEndAllowThreads(__tstate
);
19716 if (PyErr_Occurred()) SWIG_fail
;
19718 resultobj
= SWIG_NewPointerObj((new wxImage_RGBValue(static_cast< const wxImage_RGBValue
& >(result
))), SWIGTYPE_p_wxImage_RGBValue
, SWIG_POINTER_OWN
| 0 );
19725 SWIGINTERN PyObject
*Image_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19727 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19728 SWIG_TypeNewClientData(SWIGTYPE_p_wxImage
, SWIG_NewClientData(obj
));
19729 return SWIG_Py_Void();
19732 SWIGINTERN PyObject
*Image_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19733 return SWIG_Python_InitShadowInstance(args
);
19736 SWIGINTERN PyObject
*_wrap__ImageFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19737 PyObject
*resultobj
= 0;
19742 buffer arg5
= (buffer
) NULL
;
19743 int arg6
= (int) 0 ;
19744 wxImage
*result
= 0 ;
19751 PyObject
* obj0
= 0 ;
19752 PyObject
* obj1
= 0 ;
19753 PyObject
* obj2
= 0 ;
19754 PyObject
* obj3
= 0 ;
19755 char * kwnames
[] = {
19756 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
19759 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:_ImageFromBuffer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19760 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19761 if (!SWIG_IsOK(ecode1
)) {
19762 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_ImageFromBuffer" "', expected argument " "1"" of type '" "int""'");
19764 arg1
= static_cast< int >(val1
);
19765 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19766 if (!SWIG_IsOK(ecode2
)) {
19767 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_ImageFromBuffer" "', expected argument " "2"" of type '" "int""'");
19769 arg2
= static_cast< int >(val2
);
19771 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
19776 if (obj3
!= Py_None
) {
19777 if (PyObject_AsReadBuffer(obj3
, (const void**)(&arg5
), &temp5
) == -1) SWIG_fail
;
19783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19784 result
= (wxImage
*)_ImageFromBuffer(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
19785 wxPyEndAllowThreads(__tstate
);
19786 if (PyErr_Occurred()) SWIG_fail
;
19789 resultobj
= wxPyMake_wxObject(result
, SWIG_POINTER_OWN
);
19797 SWIGINTERN
int NullImage_set(PyObject
*) {
19798 SWIG_Error(SWIG_AttributeError
,"Variable NullImage is read-only.");
19803 SWIGINTERN PyObject
*NullImage_get(void) {
19804 PyObject
*pyobj
= 0;
19806 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullImage
), SWIGTYPE_p_wxImage
, 0 );
19811 SWIGINTERN
int IMAGE_OPTION_FILENAME_set(PyObject
*) {
19812 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_FILENAME is read-only.");
19817 SWIGINTERN PyObject
*IMAGE_OPTION_FILENAME_get(void) {
19818 PyObject
*pyobj
= 0;
19822 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_FILENAME
)->c_str(), (&wxPyIMAGE_OPTION_FILENAME
)->Len());
19824 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_FILENAME
)->c_str(), (&wxPyIMAGE_OPTION_FILENAME
)->Len());
19831 SWIGINTERN
int IMAGE_OPTION_BMP_FORMAT_set(PyObject
*) {
19832 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
19837 SWIGINTERN PyObject
*IMAGE_OPTION_BMP_FORMAT_get(void) {
19838 PyObject
*pyobj
= 0;
19842 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
19844 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
19851 SWIGINTERN
int IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject
*) {
19852 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
19857 SWIGINTERN PyObject
*IMAGE_OPTION_CUR_HOTSPOT_X_get(void) {
19858 PyObject
*pyobj
= 0;
19862 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
19864 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
19871 SWIGINTERN
int IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject
*) {
19872 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
19877 SWIGINTERN PyObject
*IMAGE_OPTION_CUR_HOTSPOT_Y_get(void) {
19878 PyObject
*pyobj
= 0;
19882 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
19884 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
19891 SWIGINTERN
int IMAGE_OPTION_RESOLUTION_set(PyObject
*) {
19892 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
19897 SWIGINTERN PyObject
*IMAGE_OPTION_RESOLUTION_get(void) {
19898 PyObject
*pyobj
= 0;
19902 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
19904 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
19911 SWIGINTERN
int IMAGE_OPTION_RESOLUTIONX_set(PyObject
*) {
19912 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_RESOLUTIONX is read-only.");
19917 SWIGINTERN PyObject
*IMAGE_OPTION_RESOLUTIONX_get(void) {
19918 PyObject
*pyobj
= 0;
19922 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONX
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONX
)->Len());
19924 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONX
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONX
)->Len());
19931 SWIGINTERN
int IMAGE_OPTION_RESOLUTIONY_set(PyObject
*) {
19932 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_RESOLUTIONY is read-only.");
19937 SWIGINTERN PyObject
*IMAGE_OPTION_RESOLUTIONY_get(void) {
19938 PyObject
*pyobj
= 0;
19942 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONY
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONY
)->Len());
19944 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONY
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONY
)->Len());
19951 SWIGINTERN
int IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject
*) {
19952 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
19957 SWIGINTERN PyObject
*IMAGE_OPTION_RESOLUTIONUNIT_get(void) {
19958 PyObject
*pyobj
= 0;
19962 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
19964 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
19971 SWIGINTERN
int IMAGE_OPTION_QUALITY_set(PyObject
*) {
19972 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_QUALITY is read-only.");
19977 SWIGINTERN PyObject
*IMAGE_OPTION_QUALITY_get(void) {
19978 PyObject
*pyobj
= 0;
19982 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_QUALITY
)->c_str(), (&wxPyIMAGE_OPTION_QUALITY
)->Len());
19984 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_QUALITY
)->c_str(), (&wxPyIMAGE_OPTION_QUALITY
)->Len());
19991 SWIGINTERN
int IMAGE_OPTION_BITSPERSAMPLE_set(PyObject
*) {
19992 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_BITSPERSAMPLE is read-only.");
19997 SWIGINTERN PyObject
*IMAGE_OPTION_BITSPERSAMPLE_get(void) {
19998 PyObject
*pyobj
= 0;
20002 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->c_str(), (&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->Len());
20004 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->c_str(), (&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->Len());
20011 SWIGINTERN
int IMAGE_OPTION_SAMPLESPERPIXEL_set(PyObject
*) {
20012 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_SAMPLESPERPIXEL is read-only.");
20017 SWIGINTERN PyObject
*IMAGE_OPTION_SAMPLESPERPIXEL_get(void) {
20018 PyObject
*pyobj
= 0;
20022 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->c_str(), (&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->Len());
20024 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->c_str(), (&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->Len());
20031 SWIGINTERN
int IMAGE_OPTION_COMPRESSION_set(PyObject
*) {
20032 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_COMPRESSION is read-only.");
20037 SWIGINTERN PyObject
*IMAGE_OPTION_COMPRESSION_get(void) {
20038 PyObject
*pyobj
= 0;
20042 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_COMPRESSION
)->c_str(), (&wxPyIMAGE_OPTION_COMPRESSION
)->Len());
20044 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_COMPRESSION
)->c_str(), (&wxPyIMAGE_OPTION_COMPRESSION
)->Len());
20051 SWIGINTERN
int IMAGE_OPTION_IMAGEDESCRIPTOR_set(PyObject
*) {
20052 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_IMAGEDESCRIPTOR is read-only.");
20057 SWIGINTERN PyObject
*IMAGE_OPTION_IMAGEDESCRIPTOR_get(void) {
20058 PyObject
*pyobj
= 0;
20062 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->c_str(), (&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->Len());
20064 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->c_str(), (&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->Len());
20071 SWIGINTERN
int IMAGE_OPTION_PNG_FORMAT_set(PyObject
*) {
20072 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_PNG_FORMAT is read-only.");
20077 SWIGINTERN PyObject
*IMAGE_OPTION_PNG_FORMAT_get(void) {
20078 PyObject
*pyobj
= 0;
20082 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_PNG_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_PNG_FORMAT
)->Len());
20084 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_PNG_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_PNG_FORMAT
)->Len());
20091 SWIGINTERN
int IMAGE_OPTION_PNG_BITDEPTH_set(PyObject
*) {
20092 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_PNG_BITDEPTH is read-only.");
20097 SWIGINTERN PyObject
*IMAGE_OPTION_PNG_BITDEPTH_get(void) {
20098 PyObject
*pyobj
= 0;
20102 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->c_str(), (&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->Len());
20104 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->c_str(), (&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->Len());
20111 SWIGINTERN PyObject
*_wrap_new_BMPHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20112 PyObject
*resultobj
= 0;
20113 wxBMPHandler
*result
= 0 ;
20115 if (!SWIG_Python_UnpackTuple(args
,"new_BMPHandler",0,0,0)) SWIG_fail
;
20117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20118 result
= (wxBMPHandler
*)new wxBMPHandler();
20119 wxPyEndAllowThreads(__tstate
);
20120 if (PyErr_Occurred()) SWIG_fail
;
20122 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBMPHandler
, SWIG_POINTER_NEW
| 0 );
20129 SWIGINTERN PyObject
*BMPHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20131 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20132 SWIG_TypeNewClientData(SWIGTYPE_p_wxBMPHandler
, SWIG_NewClientData(obj
));
20133 return SWIG_Py_Void();
20136 SWIGINTERN PyObject
*BMPHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20137 return SWIG_Python_InitShadowInstance(args
);
20140 SWIGINTERN PyObject
*_wrap_new_ICOHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20141 PyObject
*resultobj
= 0;
20142 wxICOHandler
*result
= 0 ;
20144 if (!SWIG_Python_UnpackTuple(args
,"new_ICOHandler",0,0,0)) SWIG_fail
;
20146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20147 result
= (wxICOHandler
*)new wxICOHandler();
20148 wxPyEndAllowThreads(__tstate
);
20149 if (PyErr_Occurred()) SWIG_fail
;
20151 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxICOHandler
, SWIG_POINTER_NEW
| 0 );
20158 SWIGINTERN PyObject
*ICOHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20160 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20161 SWIG_TypeNewClientData(SWIGTYPE_p_wxICOHandler
, SWIG_NewClientData(obj
));
20162 return SWIG_Py_Void();
20165 SWIGINTERN PyObject
*ICOHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20166 return SWIG_Python_InitShadowInstance(args
);
20169 SWIGINTERN PyObject
*_wrap_new_CURHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20170 PyObject
*resultobj
= 0;
20171 wxCURHandler
*result
= 0 ;
20173 if (!SWIG_Python_UnpackTuple(args
,"new_CURHandler",0,0,0)) SWIG_fail
;
20175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20176 result
= (wxCURHandler
*)new wxCURHandler();
20177 wxPyEndAllowThreads(__tstate
);
20178 if (PyErr_Occurred()) SWIG_fail
;
20180 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCURHandler
, SWIG_POINTER_NEW
| 0 );
20187 SWIGINTERN PyObject
*CURHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20189 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20190 SWIG_TypeNewClientData(SWIGTYPE_p_wxCURHandler
, SWIG_NewClientData(obj
));
20191 return SWIG_Py_Void();
20194 SWIGINTERN PyObject
*CURHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20195 return SWIG_Python_InitShadowInstance(args
);
20198 SWIGINTERN PyObject
*_wrap_new_ANIHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20199 PyObject
*resultobj
= 0;
20200 wxANIHandler
*result
= 0 ;
20202 if (!SWIG_Python_UnpackTuple(args
,"new_ANIHandler",0,0,0)) SWIG_fail
;
20204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20205 result
= (wxANIHandler
*)new wxANIHandler();
20206 wxPyEndAllowThreads(__tstate
);
20207 if (PyErr_Occurred()) SWIG_fail
;
20209 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxANIHandler
, SWIG_POINTER_NEW
| 0 );
20216 SWIGINTERN PyObject
*ANIHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20218 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20219 SWIG_TypeNewClientData(SWIGTYPE_p_wxANIHandler
, SWIG_NewClientData(obj
));
20220 return SWIG_Py_Void();
20223 SWIGINTERN PyObject
*ANIHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20224 return SWIG_Python_InitShadowInstance(args
);
20227 SWIGINTERN PyObject
*_wrap_new_PNGHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20228 PyObject
*resultobj
= 0;
20229 wxPNGHandler
*result
= 0 ;
20231 if (!SWIG_Python_UnpackTuple(args
,"new_PNGHandler",0,0,0)) SWIG_fail
;
20233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20234 result
= (wxPNGHandler
*)new wxPNGHandler();
20235 wxPyEndAllowThreads(__tstate
);
20236 if (PyErr_Occurred()) SWIG_fail
;
20238 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPNGHandler
, SWIG_POINTER_NEW
| 0 );
20245 SWIGINTERN PyObject
*PNGHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20247 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20248 SWIG_TypeNewClientData(SWIGTYPE_p_wxPNGHandler
, SWIG_NewClientData(obj
));
20249 return SWIG_Py_Void();
20252 SWIGINTERN PyObject
*PNGHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20253 return SWIG_Python_InitShadowInstance(args
);
20256 SWIGINTERN PyObject
*_wrap_new_GIFHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20257 PyObject
*resultobj
= 0;
20258 wxGIFHandler
*result
= 0 ;
20260 if (!SWIG_Python_UnpackTuple(args
,"new_GIFHandler",0,0,0)) SWIG_fail
;
20262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20263 result
= (wxGIFHandler
*)new wxGIFHandler();
20264 wxPyEndAllowThreads(__tstate
);
20265 if (PyErr_Occurred()) SWIG_fail
;
20267 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGIFHandler
, SWIG_POINTER_NEW
| 0 );
20274 SWIGINTERN PyObject
*GIFHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20276 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20277 SWIG_TypeNewClientData(SWIGTYPE_p_wxGIFHandler
, SWIG_NewClientData(obj
));
20278 return SWIG_Py_Void();
20281 SWIGINTERN PyObject
*GIFHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20282 return SWIG_Python_InitShadowInstance(args
);
20285 SWIGINTERN PyObject
*_wrap_new_PCXHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20286 PyObject
*resultobj
= 0;
20287 wxPCXHandler
*result
= 0 ;
20289 if (!SWIG_Python_UnpackTuple(args
,"new_PCXHandler",0,0,0)) SWIG_fail
;
20291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20292 result
= (wxPCXHandler
*)new wxPCXHandler();
20293 wxPyEndAllowThreads(__tstate
);
20294 if (PyErr_Occurred()) SWIG_fail
;
20296 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPCXHandler
, SWIG_POINTER_NEW
| 0 );
20303 SWIGINTERN PyObject
*PCXHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20305 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20306 SWIG_TypeNewClientData(SWIGTYPE_p_wxPCXHandler
, SWIG_NewClientData(obj
));
20307 return SWIG_Py_Void();
20310 SWIGINTERN PyObject
*PCXHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20311 return SWIG_Python_InitShadowInstance(args
);
20314 SWIGINTERN PyObject
*_wrap_new_JPEGHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20315 PyObject
*resultobj
= 0;
20316 wxJPEGHandler
*result
= 0 ;
20318 if (!SWIG_Python_UnpackTuple(args
,"new_JPEGHandler",0,0,0)) SWIG_fail
;
20320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20321 result
= (wxJPEGHandler
*)new wxJPEGHandler();
20322 wxPyEndAllowThreads(__tstate
);
20323 if (PyErr_Occurred()) SWIG_fail
;
20325 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxJPEGHandler
, SWIG_POINTER_NEW
| 0 );
20332 SWIGINTERN PyObject
*JPEGHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20334 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20335 SWIG_TypeNewClientData(SWIGTYPE_p_wxJPEGHandler
, SWIG_NewClientData(obj
));
20336 return SWIG_Py_Void();
20339 SWIGINTERN PyObject
*JPEGHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20340 return SWIG_Python_InitShadowInstance(args
);
20343 SWIGINTERN PyObject
*_wrap_new_PNMHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20344 PyObject
*resultobj
= 0;
20345 wxPNMHandler
*result
= 0 ;
20347 if (!SWIG_Python_UnpackTuple(args
,"new_PNMHandler",0,0,0)) SWIG_fail
;
20349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20350 result
= (wxPNMHandler
*)new wxPNMHandler();
20351 wxPyEndAllowThreads(__tstate
);
20352 if (PyErr_Occurred()) SWIG_fail
;
20354 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPNMHandler
, SWIG_POINTER_NEW
| 0 );
20361 SWIGINTERN PyObject
*PNMHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20363 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20364 SWIG_TypeNewClientData(SWIGTYPE_p_wxPNMHandler
, SWIG_NewClientData(obj
));
20365 return SWIG_Py_Void();
20368 SWIGINTERN PyObject
*PNMHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20369 return SWIG_Python_InitShadowInstance(args
);
20372 SWIGINTERN PyObject
*_wrap_new_XPMHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20373 PyObject
*resultobj
= 0;
20374 wxXPMHandler
*result
= 0 ;
20376 if (!SWIG_Python_UnpackTuple(args
,"new_XPMHandler",0,0,0)) SWIG_fail
;
20378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20379 result
= (wxXPMHandler
*)new wxXPMHandler();
20380 wxPyEndAllowThreads(__tstate
);
20381 if (PyErr_Occurred()) SWIG_fail
;
20383 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxXPMHandler
, SWIG_POINTER_NEW
| 0 );
20390 SWIGINTERN PyObject
*XPMHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20392 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20393 SWIG_TypeNewClientData(SWIGTYPE_p_wxXPMHandler
, SWIG_NewClientData(obj
));
20394 return SWIG_Py_Void();
20397 SWIGINTERN PyObject
*XPMHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20398 return SWIG_Python_InitShadowInstance(args
);
20401 SWIGINTERN PyObject
*_wrap_new_TIFFHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20402 PyObject
*resultobj
= 0;
20403 wxTIFFHandler
*result
= 0 ;
20405 if (!SWIG_Python_UnpackTuple(args
,"new_TIFFHandler",0,0,0)) SWIG_fail
;
20407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20408 result
= (wxTIFFHandler
*)new wxTIFFHandler();
20409 wxPyEndAllowThreads(__tstate
);
20410 if (PyErr_Occurred()) SWIG_fail
;
20412 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTIFFHandler
, SWIG_POINTER_NEW
| 0 );
20419 SWIGINTERN PyObject
*TIFFHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20421 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20422 SWIG_TypeNewClientData(SWIGTYPE_p_wxTIFFHandler
, SWIG_NewClientData(obj
));
20423 return SWIG_Py_Void();
20426 SWIGINTERN PyObject
*TIFFHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20427 return SWIG_Python_InitShadowInstance(args
);
20430 SWIGINTERN PyObject
*_wrap_new_TGAHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20431 PyObject
*resultobj
= 0;
20432 wxTGAHandler
*result
= 0 ;
20434 if (!SWIG_Python_UnpackTuple(args
,"new_TGAHandler",0,0,0)) SWIG_fail
;
20436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20437 result
= (wxTGAHandler
*)new wxTGAHandler();
20438 wxPyEndAllowThreads(__tstate
);
20439 if (PyErr_Occurred()) SWIG_fail
;
20441 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTGAHandler
, SWIG_POINTER_NEW
| 0 );
20448 SWIGINTERN PyObject
*TGAHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20450 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20451 SWIG_TypeNewClientData(SWIGTYPE_p_wxTGAHandler
, SWIG_NewClientData(obj
));
20452 return SWIG_Py_Void();
20455 SWIGINTERN PyObject
*TGAHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20456 return SWIG_Python_InitShadowInstance(args
);
20459 SWIGINTERN PyObject
*_wrap_Quantize_Quantize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20460 PyObject
*resultobj
= 0;
20461 wxImage
*arg1
= 0 ;
20462 wxImage
*arg2
= 0 ;
20463 int arg3
= (int) 236 ;
20464 int arg4
= (int) wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
|wxQUANTIZE_FILL_DESTINATION_IMAGE
;
20474 PyObject
* obj0
= 0 ;
20475 PyObject
* obj1
= 0 ;
20476 PyObject
* obj2
= 0 ;
20477 PyObject
* obj3
= 0 ;
20478 char * kwnames
[] = {
20479 (char *) "src",(char *) "dest",(char *) "desiredNoColours",(char *) "flags", NULL
20482 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Quantize_Quantize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20483 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
20484 if (!SWIG_IsOK(res1
)) {
20485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Quantize_Quantize" "', expected argument " "1"" of type '" "wxImage const &""'");
20488 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Quantize_Quantize" "', expected argument " "1"" of type '" "wxImage const &""'");
20490 arg1
= reinterpret_cast< wxImage
* >(argp1
);
20491 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxImage
, 0 );
20492 if (!SWIG_IsOK(res2
)) {
20493 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Quantize_Quantize" "', expected argument " "2"" of type '" "wxImage &""'");
20496 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Quantize_Quantize" "', expected argument " "2"" of type '" "wxImage &""'");
20498 arg2
= reinterpret_cast< wxImage
* >(argp2
);
20500 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20501 if (!SWIG_IsOK(ecode3
)) {
20502 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Quantize_Quantize" "', expected argument " "3"" of type '" "int""'");
20504 arg3
= static_cast< int >(val3
);
20507 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20508 if (!SWIG_IsOK(ecode4
)) {
20509 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Quantize_Quantize" "', expected argument " "4"" of type '" "int""'");
20511 arg4
= static_cast< int >(val4
);
20514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20515 result
= (bool)wxQuantize_Quantize((wxImage
const &)*arg1
,*arg2
,arg3
,arg4
);
20516 wxPyEndAllowThreads(__tstate
);
20517 if (PyErr_Occurred()) SWIG_fail
;
20520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20528 SWIGINTERN PyObject
*Quantize_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20530 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20531 SWIG_TypeNewClientData(SWIGTYPE_p_wxQuantize
, SWIG_NewClientData(obj
));
20532 return SWIG_Py_Void();
20535 SWIGINTERN PyObject
*_wrap_new_EvtHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20536 PyObject
*resultobj
= 0;
20537 wxEvtHandler
*result
= 0 ;
20539 if (!SWIG_Python_UnpackTuple(args
,"new_EvtHandler",0,0,0)) SWIG_fail
;
20541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20542 result
= (wxEvtHandler
*)new wxEvtHandler();
20543 wxPyEndAllowThreads(__tstate
);
20544 if (PyErr_Occurred()) SWIG_fail
;
20546 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_NEW
| 0 );
20553 SWIGINTERN PyObject
*_wrap_EvtHandler_GetNextHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20554 PyObject
*resultobj
= 0;
20555 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
20556 wxEvtHandler
*result
= 0 ;
20559 PyObject
*swig_obj
[1] ;
20561 if (!args
) SWIG_fail
;
20562 swig_obj
[0] = args
;
20563 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
20564 if (!SWIG_IsOK(res1
)) {
20565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_GetNextHandler" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
20567 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
20569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20570 result
= (wxEvtHandler
*)(arg1
)->GetNextHandler();
20571 wxPyEndAllowThreads(__tstate
);
20572 if (PyErr_Occurred()) SWIG_fail
;
20575 resultobj
= wxPyMake_wxObject(result
, 0);
20583 SWIGINTERN PyObject
*_wrap_EvtHandler_GetPreviousHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20584 PyObject
*resultobj
= 0;
20585 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
20586 wxEvtHandler
*result
= 0 ;
20589 PyObject
*swig_obj
[1] ;
20591 if (!args
) SWIG_fail
;
20592 swig_obj
[0] = args
;
20593 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
20594 if (!SWIG_IsOK(res1
)) {
20595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_GetPreviousHandler" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
20597 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
20599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20600 result
= (wxEvtHandler
*)(arg1
)->GetPreviousHandler();
20601 wxPyEndAllowThreads(__tstate
);
20602 if (PyErr_Occurred()) SWIG_fail
;
20605 resultobj
= wxPyMake_wxObject(result
, 0);
20613 SWIGINTERN PyObject
*_wrap_EvtHandler_SetNextHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20614 PyObject
*resultobj
= 0;
20615 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
20616 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
20621 PyObject
* obj0
= 0 ;
20622 PyObject
* obj1
= 0 ;
20623 char * kwnames
[] = {
20624 (char *) "self",(char *) "handler", NULL
20627 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetNextHandler",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20628 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
20629 if (!SWIG_IsOK(res1
)) {
20630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_SetNextHandler" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
20632 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
20633 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
20634 if (!SWIG_IsOK(res2
)) {
20635 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "EvtHandler_SetNextHandler" "', expected argument " "2"" of type '" "wxEvtHandler *""'");
20637 arg2
= reinterpret_cast< wxEvtHandler
* >(argp2
);
20639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20640 (arg1
)->SetNextHandler(arg2
);
20641 wxPyEndAllowThreads(__tstate
);
20642 if (PyErr_Occurred()) SWIG_fail
;
20644 resultobj
= SWIG_Py_Void();
20651 SWIGINTERN PyObject
*_wrap_EvtHandler_SetPreviousHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20652 PyObject
*resultobj
= 0;
20653 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
20654 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
20659 PyObject
* obj0
= 0 ;
20660 PyObject
* obj1
= 0 ;
20661 char * kwnames
[] = {
20662 (char *) "self",(char *) "handler", NULL
20665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20666 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
20667 if (!SWIG_IsOK(res1
)) {
20668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_SetPreviousHandler" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
20670 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
20671 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
20672 if (!SWIG_IsOK(res2
)) {
20673 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "EvtHandler_SetPreviousHandler" "', expected argument " "2"" of type '" "wxEvtHandler *""'");
20675 arg2
= reinterpret_cast< wxEvtHandler
* >(argp2
);
20677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20678 (arg1
)->SetPreviousHandler(arg2
);
20679 wxPyEndAllowThreads(__tstate
);
20680 if (PyErr_Occurred()) SWIG_fail
;
20682 resultobj
= SWIG_Py_Void();
20689 SWIGINTERN PyObject
*_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20690 PyObject
*resultobj
= 0;
20691 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
20695 PyObject
*swig_obj
[1] ;
20697 if (!args
) SWIG_fail
;
20698 swig_obj
[0] = args
;
20699 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
20700 if (!SWIG_IsOK(res1
)) {
20701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_GetEvtHandlerEnabled" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
20703 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
20705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20706 result
= (bool)(arg1
)->GetEvtHandlerEnabled();
20707 wxPyEndAllowThreads(__tstate
);
20708 if (PyErr_Occurred()) SWIG_fail
;
20711 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20719 SWIGINTERN PyObject
*_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20720 PyObject
*resultobj
= 0;
20721 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
20727 PyObject
* obj0
= 0 ;
20728 PyObject
* obj1
= 0 ;
20729 char * kwnames
[] = {
20730 (char *) "self",(char *) "enabled", NULL
20733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20734 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
20735 if (!SWIG_IsOK(res1
)) {
20736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_SetEvtHandlerEnabled" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
20738 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
20739 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20740 if (!SWIG_IsOK(ecode2
)) {
20741 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EvtHandler_SetEvtHandlerEnabled" "', expected argument " "2"" of type '" "bool""'");
20743 arg2
= static_cast< bool >(val2
);
20745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20746 (arg1
)->SetEvtHandlerEnabled(arg2
);
20747 wxPyEndAllowThreads(__tstate
);
20748 if (PyErr_Occurred()) SWIG_fail
;
20750 resultobj
= SWIG_Py_Void();
20757 SWIGINTERN PyObject
*_wrap_EvtHandler_ProcessEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20758 PyObject
*resultobj
= 0;
20759 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
20760 wxEvent
*arg2
= 0 ;
20766 PyObject
* obj0
= 0 ;
20767 PyObject
* obj1
= 0 ;
20768 char * kwnames
[] = {
20769 (char *) "self",(char *) "event", NULL
20772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_ProcessEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20773 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
20774 if (!SWIG_IsOK(res1
)) {
20775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_ProcessEvent" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
20777 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
20778 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxEvent
, 0 );
20779 if (!SWIG_IsOK(res2
)) {
20780 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "EvtHandler_ProcessEvent" "', expected argument " "2"" of type '" "wxEvent &""'");
20783 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "EvtHandler_ProcessEvent" "', expected argument " "2"" of type '" "wxEvent &""'");
20785 arg2
= reinterpret_cast< wxEvent
* >(argp2
);
20787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20788 result
= (bool)(arg1
)->ProcessEvent(*arg2
);
20789 wxPyEndAllowThreads(__tstate
);
20790 if (PyErr_Occurred()) SWIG_fail
;
20793 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20801 SWIGINTERN PyObject
*_wrap_EvtHandler_AddPendingEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20802 PyObject
*resultobj
= 0;
20803 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
20804 wxEvent
*arg2
= 0 ;
20809 PyObject
* obj0
= 0 ;
20810 PyObject
* obj1
= 0 ;
20811 char * kwnames
[] = {
20812 (char *) "self",(char *) "event", NULL
20815 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_AddPendingEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20816 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
20817 if (!SWIG_IsOK(res1
)) {
20818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_AddPendingEvent" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
20820 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
20821 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxEvent
, 0 );
20822 if (!SWIG_IsOK(res2
)) {
20823 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "EvtHandler_AddPendingEvent" "', expected argument " "2"" of type '" "wxEvent &""'");
20826 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "EvtHandler_AddPendingEvent" "', expected argument " "2"" of type '" "wxEvent &""'");
20828 arg2
= reinterpret_cast< wxEvent
* >(argp2
);
20830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20831 (arg1
)->AddPendingEvent(*arg2
);
20832 wxPyEndAllowThreads(__tstate
);
20833 if (PyErr_Occurred()) SWIG_fail
;
20835 resultobj
= SWIG_Py_Void();
20842 SWIGINTERN PyObject
*_wrap_EvtHandler_ProcessPendingEvents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20843 PyObject
*resultobj
= 0;
20844 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
20847 PyObject
*swig_obj
[1] ;
20849 if (!args
) SWIG_fail
;
20850 swig_obj
[0] = args
;
20851 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
20852 if (!SWIG_IsOK(res1
)) {
20853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_ProcessPendingEvents" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
20855 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
20857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20858 (arg1
)->ProcessPendingEvents();
20859 wxPyEndAllowThreads(__tstate
);
20860 if (PyErr_Occurred()) SWIG_fail
;
20862 resultobj
= SWIG_Py_Void();
20869 SWIGINTERN PyObject
*_wrap_EvtHandler_Connect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20870 PyObject
*resultobj
= 0;
20871 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
20875 PyObject
*arg5
= (PyObject
*) 0 ;
20884 PyObject
* obj0
= 0 ;
20885 PyObject
* obj1
= 0 ;
20886 PyObject
* obj2
= 0 ;
20887 PyObject
* obj3
= 0 ;
20888 PyObject
* obj4
= 0 ;
20889 char * kwnames
[] = {
20890 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
20893 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:EvtHandler_Connect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20894 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
20895 if (!SWIG_IsOK(res1
)) {
20896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_Connect" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
20898 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
20899 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20900 if (!SWIG_IsOK(ecode2
)) {
20901 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EvtHandler_Connect" "', expected argument " "2"" of type '" "int""'");
20903 arg2
= static_cast< int >(val2
);
20904 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20905 if (!SWIG_IsOK(ecode3
)) {
20906 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EvtHandler_Connect" "', expected argument " "3"" of type '" "int""'");
20908 arg3
= static_cast< int >(val3
);
20909 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20910 if (!SWIG_IsOK(ecode4
)) {
20911 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EvtHandler_Connect" "', expected argument " "4"" of type '" "int""'");
20913 arg4
= static_cast< int >(val4
);
20916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20917 wxEvtHandler_Connect(arg1
,arg2
,arg3
,arg4
,arg5
);
20918 wxPyEndAllowThreads(__tstate
);
20919 if (PyErr_Occurred()) SWIG_fail
;
20921 resultobj
= SWIG_Py_Void();
20928 SWIGINTERN PyObject
*_wrap_EvtHandler_Disconnect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20929 PyObject
*resultobj
= 0;
20930 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
20932 int arg3
= (int) -1 ;
20933 wxEventType arg4
= (wxEventType
) wxEVT_NULL
;
20943 PyObject
* obj0
= 0 ;
20944 PyObject
* obj1
= 0 ;
20945 PyObject
* obj2
= 0 ;
20946 PyObject
* obj3
= 0 ;
20947 char * kwnames
[] = {
20948 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
20951 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:EvtHandler_Disconnect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20952 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
20953 if (!SWIG_IsOK(res1
)) {
20954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_Disconnect" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
20956 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
20957 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20958 if (!SWIG_IsOK(ecode2
)) {
20959 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EvtHandler_Disconnect" "', expected argument " "2"" of type '" "int""'");
20961 arg2
= static_cast< int >(val2
);
20963 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20964 if (!SWIG_IsOK(ecode3
)) {
20965 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EvtHandler_Disconnect" "', expected argument " "3"" of type '" "int""'");
20967 arg3
= static_cast< int >(val3
);
20970 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20971 if (!SWIG_IsOK(ecode4
)) {
20972 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EvtHandler_Disconnect" "', expected argument " "4"" of type '" "wxEventType""'");
20974 arg4
= static_cast< wxEventType
>(val4
);
20977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20978 result
= (bool)wxEvtHandler_Disconnect(arg1
,arg2
,arg3
,arg4
);
20979 wxPyEndAllowThreads(__tstate
);
20980 if (PyErr_Occurred()) SWIG_fail
;
20983 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20991 SWIGINTERN PyObject
*_wrap_EvtHandler__setOORInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20992 PyObject
*resultobj
= 0;
20993 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
20994 PyObject
*arg2
= (PyObject
*) 0 ;
20995 bool arg3
= (bool) true ;
21000 PyObject
* obj0
= 0 ;
21001 PyObject
* obj1
= 0 ;
21002 PyObject
* obj2
= 0 ;
21003 char * kwnames
[] = {
21004 (char *) "self",(char *) "_self",(char *) "incref", NULL
21007 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:EvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21008 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
21009 if (!SWIG_IsOK(res1
)) {
21010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler__setOORInfo" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
21012 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
21015 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
21016 if (!SWIG_IsOK(ecode3
)) {
21017 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EvtHandler__setOORInfo" "', expected argument " "3"" of type '" "bool""'");
21019 arg3
= static_cast< bool >(val3
);
21022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21023 wxEvtHandler__setOORInfo(arg1
,arg2
,arg3
);
21024 wxPyEndAllowThreads(__tstate
);
21025 if (PyErr_Occurred()) SWIG_fail
;
21027 resultobj
= SWIG_Py_Void();
21034 SWIGINTERN PyObject
*EvtHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21036 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21037 SWIG_TypeNewClientData(SWIGTYPE_p_wxEvtHandler
, SWIG_NewClientData(obj
));
21038 return SWIG_Py_Void();
21041 SWIGINTERN PyObject
*EvtHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21042 return SWIG_Python_InitShadowInstance(args
);
21045 SWIGINTERN PyObject
*_wrap_NewEventType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21046 PyObject
*resultobj
= 0;
21047 wxEventType result
;
21049 if (!SWIG_Python_UnpackTuple(args
,"NewEventType",0,0,0)) SWIG_fail
;
21051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21052 result
= (wxEventType
)wxNewEventType();
21053 wxPyEndAllowThreads(__tstate
);
21054 if (PyErr_Occurred()) SWIG_fail
;
21056 resultobj
= SWIG_From_int(static_cast< int >(result
));
21063 SWIGINTERN PyObject
*_wrap_delete_Event(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21064 PyObject
*resultobj
= 0;
21065 wxEvent
*arg1
= (wxEvent
*) 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_wxEvent
, SWIG_POINTER_DISOWN
| 0 );
21073 if (!SWIG_IsOK(res1
)) {
21074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Event" "', expected argument " "1"" of type '" "wxEvent *""'");
21076 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
21078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21081 wxPyEndAllowThreads(__tstate
);
21082 if (PyErr_Occurred()) SWIG_fail
;
21084 resultobj
= SWIG_Py_Void();
21091 SWIGINTERN PyObject
*_wrap_Event_SetEventType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21092 PyObject
*resultobj
= 0;
21093 wxEvent
*arg1
= (wxEvent
*) 0 ;
21099 PyObject
* obj0
= 0 ;
21100 PyObject
* obj1
= 0 ;
21101 char * kwnames
[] = {
21102 (char *) "self",(char *) "typ", NULL
21105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21106 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
21107 if (!SWIG_IsOK(res1
)) {
21108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_SetEventType" "', expected argument " "1"" of type '" "wxEvent *""'");
21110 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
21111 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21112 if (!SWIG_IsOK(ecode2
)) {
21113 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Event_SetEventType" "', expected argument " "2"" of type '" "wxEventType""'");
21115 arg2
= static_cast< wxEventType
>(val2
);
21117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21118 (arg1
)->SetEventType(arg2
);
21119 wxPyEndAllowThreads(__tstate
);
21120 if (PyErr_Occurred()) SWIG_fail
;
21122 resultobj
= SWIG_Py_Void();
21129 SWIGINTERN PyObject
*_wrap_Event_GetEventType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21130 PyObject
*resultobj
= 0;
21131 wxEvent
*arg1
= (wxEvent
*) 0 ;
21132 wxEventType result
;
21135 PyObject
*swig_obj
[1] ;
21137 if (!args
) SWIG_fail
;
21138 swig_obj
[0] = args
;
21139 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
21140 if (!SWIG_IsOK(res1
)) {
21141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_GetEventType" "', expected argument " "1"" of type '" "wxEvent const *""'");
21143 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
21145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21146 result
= (wxEventType
)((wxEvent
const *)arg1
)->GetEventType();
21147 wxPyEndAllowThreads(__tstate
);
21148 if (PyErr_Occurred()) SWIG_fail
;
21150 resultobj
= SWIG_From_int(static_cast< int >(result
));
21157 SWIGINTERN PyObject
*_wrap_Event_GetEventObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21158 PyObject
*resultobj
= 0;
21159 wxEvent
*arg1
= (wxEvent
*) 0 ;
21160 wxObject
*result
= 0 ;
21163 PyObject
*swig_obj
[1] ;
21165 if (!args
) SWIG_fail
;
21166 swig_obj
[0] = args
;
21167 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
21168 if (!SWIG_IsOK(res1
)) {
21169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_GetEventObject" "', expected argument " "1"" of type '" "wxEvent const *""'");
21171 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
21173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21174 result
= (wxObject
*)((wxEvent
const *)arg1
)->GetEventObject();
21175 wxPyEndAllowThreads(__tstate
);
21176 if (PyErr_Occurred()) SWIG_fail
;
21179 resultobj
= wxPyMake_wxObject(result
, (bool)0);
21187 SWIGINTERN PyObject
*_wrap_Event_SetEventObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21188 PyObject
*resultobj
= 0;
21189 wxEvent
*arg1
= (wxEvent
*) 0 ;
21190 wxObject
*arg2
= (wxObject
*) 0 ;
21195 PyObject
* obj0
= 0 ;
21196 PyObject
* obj1
= 0 ;
21197 char * kwnames
[] = {
21198 (char *) "self",(char *) "obj", NULL
21201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21202 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
21203 if (!SWIG_IsOK(res1
)) {
21204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_SetEventObject" "', expected argument " "1"" of type '" "wxEvent *""'");
21206 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
21207 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxObject
, 0 | 0 );
21208 if (!SWIG_IsOK(res2
)) {
21209 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Event_SetEventObject" "', expected argument " "2"" of type '" "wxObject *""'");
21211 arg2
= reinterpret_cast< wxObject
* >(argp2
);
21213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21214 (arg1
)->SetEventObject(arg2
);
21215 wxPyEndAllowThreads(__tstate
);
21216 if (PyErr_Occurred()) SWIG_fail
;
21218 resultobj
= SWIG_Py_Void();
21225 SWIGINTERN PyObject
*_wrap_Event_GetTimestamp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21226 PyObject
*resultobj
= 0;
21227 wxEvent
*arg1
= (wxEvent
*) 0 ;
21231 PyObject
*swig_obj
[1] ;
21233 if (!args
) SWIG_fail
;
21234 swig_obj
[0] = args
;
21235 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
21236 if (!SWIG_IsOK(res1
)) {
21237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_GetTimestamp" "', expected argument " "1"" of type '" "wxEvent const *""'");
21239 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
21241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21242 result
= (long)((wxEvent
const *)arg1
)->GetTimestamp();
21243 wxPyEndAllowThreads(__tstate
);
21244 if (PyErr_Occurred()) SWIG_fail
;
21246 resultobj
= SWIG_From_long(static_cast< long >(result
));
21253 SWIGINTERN PyObject
*_wrap_Event_SetTimestamp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21254 PyObject
*resultobj
= 0;
21255 wxEvent
*arg1
= (wxEvent
*) 0 ;
21256 long arg2
= (long) 0 ;
21261 PyObject
* obj0
= 0 ;
21262 PyObject
* obj1
= 0 ;
21263 char * kwnames
[] = {
21264 (char *) "self",(char *) "ts", NULL
21267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_SetTimestamp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21268 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
21269 if (!SWIG_IsOK(res1
)) {
21270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_SetTimestamp" "', expected argument " "1"" of type '" "wxEvent *""'");
21272 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
21274 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
21275 if (!SWIG_IsOK(ecode2
)) {
21276 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Event_SetTimestamp" "', expected argument " "2"" of type '" "long""'");
21278 arg2
= static_cast< long >(val2
);
21281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21282 (arg1
)->SetTimestamp(arg2
);
21283 wxPyEndAllowThreads(__tstate
);
21284 if (PyErr_Occurred()) SWIG_fail
;
21286 resultobj
= SWIG_Py_Void();
21293 SWIGINTERN PyObject
*_wrap_Event_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21294 PyObject
*resultobj
= 0;
21295 wxEvent
*arg1
= (wxEvent
*) 0 ;
21299 PyObject
*swig_obj
[1] ;
21301 if (!args
) SWIG_fail
;
21302 swig_obj
[0] = args
;
21303 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
21304 if (!SWIG_IsOK(res1
)) {
21305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_GetId" "', expected argument " "1"" of type '" "wxEvent const *""'");
21307 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
21309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21310 result
= (int)((wxEvent
const *)arg1
)->GetId();
21311 wxPyEndAllowThreads(__tstate
);
21312 if (PyErr_Occurred()) SWIG_fail
;
21314 resultobj
= SWIG_From_int(static_cast< int >(result
));
21321 SWIGINTERN PyObject
*_wrap_Event_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21322 PyObject
*resultobj
= 0;
21323 wxEvent
*arg1
= (wxEvent
*) 0 ;
21329 PyObject
* obj0
= 0 ;
21330 PyObject
* obj1
= 0 ;
21331 char * kwnames
[] = {
21332 (char *) "self",(char *) "Id", NULL
21335 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21336 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
21337 if (!SWIG_IsOK(res1
)) {
21338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_SetId" "', expected argument " "1"" of type '" "wxEvent *""'");
21340 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
21341 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21342 if (!SWIG_IsOK(ecode2
)) {
21343 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Event_SetId" "', expected argument " "2"" of type '" "int""'");
21345 arg2
= static_cast< int >(val2
);
21347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21348 (arg1
)->SetId(arg2
);
21349 wxPyEndAllowThreads(__tstate
);
21350 if (PyErr_Occurred()) SWIG_fail
;
21352 resultobj
= SWIG_Py_Void();
21359 SWIGINTERN PyObject
*_wrap_Event_IsCommandEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21360 PyObject
*resultobj
= 0;
21361 wxEvent
*arg1
= (wxEvent
*) 0 ;
21365 PyObject
*swig_obj
[1] ;
21367 if (!args
) SWIG_fail
;
21368 swig_obj
[0] = args
;
21369 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
21370 if (!SWIG_IsOK(res1
)) {
21371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_IsCommandEvent" "', expected argument " "1"" of type '" "wxEvent const *""'");
21373 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
21375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21376 result
= (bool)((wxEvent
const *)arg1
)->IsCommandEvent();
21377 wxPyEndAllowThreads(__tstate
);
21378 if (PyErr_Occurred()) SWIG_fail
;
21381 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21389 SWIGINTERN PyObject
*_wrap_Event_Skip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21390 PyObject
*resultobj
= 0;
21391 wxEvent
*arg1
= (wxEvent
*) 0 ;
21392 bool arg2
= (bool) true ;
21397 PyObject
* obj0
= 0 ;
21398 PyObject
* obj1
= 0 ;
21399 char * kwnames
[] = {
21400 (char *) "self",(char *) "skip", NULL
21403 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_Skip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21404 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
21405 if (!SWIG_IsOK(res1
)) {
21406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_Skip" "', expected argument " "1"" of type '" "wxEvent *""'");
21408 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
21410 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
21411 if (!SWIG_IsOK(ecode2
)) {
21412 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Event_Skip" "', expected argument " "2"" of type '" "bool""'");
21414 arg2
= static_cast< bool >(val2
);
21417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21418 (arg1
)->Skip(arg2
);
21419 wxPyEndAllowThreads(__tstate
);
21420 if (PyErr_Occurred()) SWIG_fail
;
21422 resultobj
= SWIG_Py_Void();
21429 SWIGINTERN PyObject
*_wrap_Event_GetSkipped(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21430 PyObject
*resultobj
= 0;
21431 wxEvent
*arg1
= (wxEvent
*) 0 ;
21435 PyObject
*swig_obj
[1] ;
21437 if (!args
) SWIG_fail
;
21438 swig_obj
[0] = args
;
21439 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
21440 if (!SWIG_IsOK(res1
)) {
21441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_GetSkipped" "', expected argument " "1"" of type '" "wxEvent const *""'");
21443 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
21445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21446 result
= (bool)((wxEvent
const *)arg1
)->GetSkipped();
21447 wxPyEndAllowThreads(__tstate
);
21448 if (PyErr_Occurred()) SWIG_fail
;
21451 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21459 SWIGINTERN PyObject
*_wrap_Event_ShouldPropagate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21460 PyObject
*resultobj
= 0;
21461 wxEvent
*arg1
= (wxEvent
*) 0 ;
21465 PyObject
*swig_obj
[1] ;
21467 if (!args
) SWIG_fail
;
21468 swig_obj
[0] = args
;
21469 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
21470 if (!SWIG_IsOK(res1
)) {
21471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_ShouldPropagate" "', expected argument " "1"" of type '" "wxEvent const *""'");
21473 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
21475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21476 result
= (bool)((wxEvent
const *)arg1
)->ShouldPropagate();
21477 wxPyEndAllowThreads(__tstate
);
21478 if (PyErr_Occurred()) SWIG_fail
;
21481 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21489 SWIGINTERN PyObject
*_wrap_Event_StopPropagation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21490 PyObject
*resultobj
= 0;
21491 wxEvent
*arg1
= (wxEvent
*) 0 ;
21495 PyObject
*swig_obj
[1] ;
21497 if (!args
) SWIG_fail
;
21498 swig_obj
[0] = args
;
21499 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
21500 if (!SWIG_IsOK(res1
)) {
21501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_StopPropagation" "', expected argument " "1"" of type '" "wxEvent *""'");
21503 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
21505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21506 result
= (int)(arg1
)->StopPropagation();
21507 wxPyEndAllowThreads(__tstate
);
21508 if (PyErr_Occurred()) SWIG_fail
;
21510 resultobj
= SWIG_From_int(static_cast< int >(result
));
21517 SWIGINTERN PyObject
*_wrap_Event_ResumePropagation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21518 PyObject
*resultobj
= 0;
21519 wxEvent
*arg1
= (wxEvent
*) 0 ;
21525 PyObject
* obj0
= 0 ;
21526 PyObject
* obj1
= 0 ;
21527 char * kwnames
[] = {
21528 (char *) "self",(char *) "propagationLevel", NULL
21531 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_ResumePropagation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21532 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
21533 if (!SWIG_IsOK(res1
)) {
21534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_ResumePropagation" "', expected argument " "1"" of type '" "wxEvent *""'");
21536 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
21537 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21538 if (!SWIG_IsOK(ecode2
)) {
21539 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Event_ResumePropagation" "', expected argument " "2"" of type '" "int""'");
21541 arg2
= static_cast< int >(val2
);
21543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21544 (arg1
)->ResumePropagation(arg2
);
21545 wxPyEndAllowThreads(__tstate
);
21546 if (PyErr_Occurred()) SWIG_fail
;
21548 resultobj
= SWIG_Py_Void();
21555 SWIGINTERN PyObject
*_wrap_Event_Clone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21556 PyObject
*resultobj
= 0;
21557 wxEvent
*arg1
= (wxEvent
*) 0 ;
21558 wxEvent
*result
= 0 ;
21561 PyObject
*swig_obj
[1] ;
21563 if (!args
) SWIG_fail
;
21564 swig_obj
[0] = args
;
21565 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
21566 if (!SWIG_IsOK(res1
)) {
21567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_Clone" "', expected argument " "1"" of type '" "wxEvent *""'");
21569 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
21571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21572 result
= (wxEvent
*)(arg1
)->Clone();
21573 wxPyEndAllowThreads(__tstate
);
21574 if (PyErr_Occurred()) SWIG_fail
;
21576 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEvent
, 0 | 0 );
21583 SWIGINTERN PyObject
*Event_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21585 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21586 SWIG_TypeNewClientData(SWIGTYPE_p_wxEvent
, SWIG_NewClientData(obj
));
21587 return SWIG_Py_Void();
21590 SWIGINTERN PyObject
*_wrap_new_PropagationDisabler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21591 PyObject
*resultobj
= 0;
21592 wxEvent
*arg1
= 0 ;
21593 wxPropagationDisabler
*result
= 0 ;
21596 PyObject
* obj0
= 0 ;
21597 char * kwnames
[] = {
21598 (char *) "event", NULL
21601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagationDisabler",kwnames
,&obj0
)) SWIG_fail
;
21602 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxEvent
, 0 );
21603 if (!SWIG_IsOK(res1
)) {
21604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PropagationDisabler" "', expected argument " "1"" of type '" "wxEvent &""'");
21607 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PropagationDisabler" "', expected argument " "1"" of type '" "wxEvent &""'");
21609 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
21611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21612 result
= (wxPropagationDisabler
*)new wxPropagationDisabler(*arg1
);
21613 wxPyEndAllowThreads(__tstate
);
21614 if (PyErr_Occurred()) SWIG_fail
;
21616 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPropagationDisabler
, SWIG_POINTER_NEW
| 0 );
21623 SWIGINTERN PyObject
*_wrap_delete_PropagationDisabler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21624 PyObject
*resultobj
= 0;
21625 wxPropagationDisabler
*arg1
= (wxPropagationDisabler
*) 0 ;
21628 PyObject
*swig_obj
[1] ;
21630 if (!args
) SWIG_fail
;
21631 swig_obj
[0] = args
;
21632 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPropagationDisabler
, SWIG_POINTER_DISOWN
| 0 );
21633 if (!SWIG_IsOK(res1
)) {
21634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PropagationDisabler" "', expected argument " "1"" of type '" "wxPropagationDisabler *""'");
21636 arg1
= reinterpret_cast< wxPropagationDisabler
* >(argp1
);
21638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21641 wxPyEndAllowThreads(__tstate
);
21642 if (PyErr_Occurred()) SWIG_fail
;
21644 resultobj
= SWIG_Py_Void();
21651 SWIGINTERN PyObject
*PropagationDisabler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21653 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21654 SWIG_TypeNewClientData(SWIGTYPE_p_wxPropagationDisabler
, SWIG_NewClientData(obj
));
21655 return SWIG_Py_Void();
21658 SWIGINTERN PyObject
*PropagationDisabler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21659 return SWIG_Python_InitShadowInstance(args
);
21662 SWIGINTERN PyObject
*_wrap_new_PropagateOnce(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21663 PyObject
*resultobj
= 0;
21664 wxEvent
*arg1
= 0 ;
21665 wxPropagateOnce
*result
= 0 ;
21668 PyObject
* obj0
= 0 ;
21669 char * kwnames
[] = {
21670 (char *) "event", NULL
21673 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagateOnce",kwnames
,&obj0
)) SWIG_fail
;
21674 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxEvent
, 0 );
21675 if (!SWIG_IsOK(res1
)) {
21676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PropagateOnce" "', expected argument " "1"" of type '" "wxEvent &""'");
21679 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PropagateOnce" "', expected argument " "1"" of type '" "wxEvent &""'");
21681 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
21683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21684 result
= (wxPropagateOnce
*)new wxPropagateOnce(*arg1
);
21685 wxPyEndAllowThreads(__tstate
);
21686 if (PyErr_Occurred()) SWIG_fail
;
21688 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPropagateOnce
, SWIG_POINTER_NEW
| 0 );
21695 SWIGINTERN PyObject
*_wrap_delete_PropagateOnce(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21696 PyObject
*resultobj
= 0;
21697 wxPropagateOnce
*arg1
= (wxPropagateOnce
*) 0 ;
21700 PyObject
*swig_obj
[1] ;
21702 if (!args
) SWIG_fail
;
21703 swig_obj
[0] = args
;
21704 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPropagateOnce
, SWIG_POINTER_DISOWN
| 0 );
21705 if (!SWIG_IsOK(res1
)) {
21706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PropagateOnce" "', expected argument " "1"" of type '" "wxPropagateOnce *""'");
21708 arg1
= reinterpret_cast< wxPropagateOnce
* >(argp1
);
21710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21713 wxPyEndAllowThreads(__tstate
);
21714 if (PyErr_Occurred()) SWIG_fail
;
21716 resultobj
= SWIG_Py_Void();
21723 SWIGINTERN PyObject
*PropagateOnce_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21725 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21726 SWIG_TypeNewClientData(SWIGTYPE_p_wxPropagateOnce
, SWIG_NewClientData(obj
));
21727 return SWIG_Py_Void();
21730 SWIGINTERN PyObject
*PropagateOnce_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21731 return SWIG_Python_InitShadowInstance(args
);
21734 SWIGINTERN PyObject
*_wrap_new_CommandEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21735 PyObject
*resultobj
= 0;
21736 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21737 int arg2
= (int) 0 ;
21738 wxCommandEvent
*result
= 0 ;
21743 PyObject
* obj0
= 0 ;
21744 PyObject
* obj1
= 0 ;
21745 char * kwnames
[] = {
21746 (char *) "commandType",(char *) "winid", NULL
21749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CommandEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21751 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21752 if (!SWIG_IsOK(ecode1
)) {
21753 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_CommandEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21755 arg1
= static_cast< wxEventType
>(val1
);
21758 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21759 if (!SWIG_IsOK(ecode2
)) {
21760 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CommandEvent" "', expected argument " "2"" of type '" "int""'");
21762 arg2
= static_cast< int >(val2
);
21765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21766 result
= (wxCommandEvent
*)new wxCommandEvent(arg1
,arg2
);
21767 wxPyEndAllowThreads(__tstate
);
21768 if (PyErr_Occurred()) SWIG_fail
;
21770 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_NEW
| 0 );
21777 SWIGINTERN PyObject
*_wrap_CommandEvent_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21778 PyObject
*resultobj
= 0;
21779 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
21783 PyObject
*swig_obj
[1] ;
21785 if (!args
) SWIG_fail
;
21786 swig_obj
[0] = args
;
21787 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
21788 if (!SWIG_IsOK(res1
)) {
21789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_GetSelection" "', expected argument " "1"" of type '" "wxCommandEvent const *""'");
21791 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
21793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21794 result
= (int)((wxCommandEvent
const *)arg1
)->GetSelection();
21795 wxPyEndAllowThreads(__tstate
);
21796 if (PyErr_Occurred()) SWIG_fail
;
21798 resultobj
= SWIG_From_int(static_cast< int >(result
));
21805 SWIGINTERN PyObject
*_wrap_CommandEvent_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21806 PyObject
*resultobj
= 0;
21807 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
21808 wxString
*arg2
= 0 ;
21811 bool temp2
= false ;
21812 PyObject
* obj0
= 0 ;
21813 PyObject
* obj1
= 0 ;
21814 char * kwnames
[] = {
21815 (char *) "self",(char *) "s", NULL
21818 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21819 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
21820 if (!SWIG_IsOK(res1
)) {
21821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_SetString" "', expected argument " "1"" of type '" "wxCommandEvent *""'");
21823 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
21825 arg2
= wxString_in_helper(obj1
);
21826 if (arg2
== NULL
) SWIG_fail
;
21830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21831 (arg1
)->SetString((wxString
const &)*arg2
);
21832 wxPyEndAllowThreads(__tstate
);
21833 if (PyErr_Occurred()) SWIG_fail
;
21835 resultobj
= SWIG_Py_Void();
21850 SWIGINTERN PyObject
*_wrap_CommandEvent_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21851 PyObject
*resultobj
= 0;
21852 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
21856 PyObject
*swig_obj
[1] ;
21858 if (!args
) SWIG_fail
;
21859 swig_obj
[0] = args
;
21860 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
21861 if (!SWIG_IsOK(res1
)) {
21862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_GetString" "', expected argument " "1"" of type '" "wxCommandEvent const *""'");
21864 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
21866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21867 result
= ((wxCommandEvent
const *)arg1
)->GetString();
21868 wxPyEndAllowThreads(__tstate
);
21869 if (PyErr_Occurred()) SWIG_fail
;
21873 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21875 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21884 SWIGINTERN PyObject
*_wrap_CommandEvent_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21885 PyObject
*resultobj
= 0;
21886 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
21890 PyObject
*swig_obj
[1] ;
21892 if (!args
) SWIG_fail
;
21893 swig_obj
[0] = args
;
21894 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
21895 if (!SWIG_IsOK(res1
)) {
21896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_IsChecked" "', expected argument " "1"" of type '" "wxCommandEvent const *""'");
21898 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
21900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21901 result
= (bool)((wxCommandEvent
const *)arg1
)->IsChecked();
21902 wxPyEndAllowThreads(__tstate
);
21903 if (PyErr_Occurred()) SWIG_fail
;
21906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21914 SWIGINTERN PyObject
*_wrap_CommandEvent_IsSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21915 PyObject
*resultobj
= 0;
21916 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
21920 PyObject
*swig_obj
[1] ;
21922 if (!args
) SWIG_fail
;
21923 swig_obj
[0] = args
;
21924 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
21925 if (!SWIG_IsOK(res1
)) {
21926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_IsSelection" "', expected argument " "1"" of type '" "wxCommandEvent const *""'");
21928 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
21930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21931 result
= (bool)((wxCommandEvent
const *)arg1
)->IsSelection();
21932 wxPyEndAllowThreads(__tstate
);
21933 if (PyErr_Occurred()) SWIG_fail
;
21936 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21944 SWIGINTERN PyObject
*_wrap_CommandEvent_SetExtraLong(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21945 PyObject
*resultobj
= 0;
21946 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
21952 PyObject
* obj0
= 0 ;
21953 PyObject
* obj1
= 0 ;
21954 char * kwnames
[] = {
21955 (char *) "self",(char *) "extraLong", NULL
21958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetExtraLong",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21959 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
21960 if (!SWIG_IsOK(res1
)) {
21961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_SetExtraLong" "', expected argument " "1"" of type '" "wxCommandEvent *""'");
21963 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
21964 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
21965 if (!SWIG_IsOK(ecode2
)) {
21966 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CommandEvent_SetExtraLong" "', expected argument " "2"" of type '" "long""'");
21968 arg2
= static_cast< long >(val2
);
21970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21971 (arg1
)->SetExtraLong(arg2
);
21972 wxPyEndAllowThreads(__tstate
);
21973 if (PyErr_Occurred()) SWIG_fail
;
21975 resultobj
= SWIG_Py_Void();
21982 SWIGINTERN PyObject
*_wrap_CommandEvent_GetExtraLong(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21983 PyObject
*resultobj
= 0;
21984 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
21988 PyObject
*swig_obj
[1] ;
21990 if (!args
) SWIG_fail
;
21991 swig_obj
[0] = args
;
21992 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
21993 if (!SWIG_IsOK(res1
)) {
21994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_GetExtraLong" "', expected argument " "1"" of type '" "wxCommandEvent const *""'");
21996 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
21998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21999 result
= (long)((wxCommandEvent
const *)arg1
)->GetExtraLong();
22000 wxPyEndAllowThreads(__tstate
);
22001 if (PyErr_Occurred()) SWIG_fail
;
22003 resultobj
= SWIG_From_long(static_cast< long >(result
));
22010 SWIGINTERN PyObject
*_wrap_CommandEvent_SetInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22011 PyObject
*resultobj
= 0;
22012 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
22018 PyObject
* obj0
= 0 ;
22019 PyObject
* obj1
= 0 ;
22020 char * kwnames
[] = {
22021 (char *) "self",(char *) "i", NULL
22024 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetInt",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22025 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
22026 if (!SWIG_IsOK(res1
)) {
22027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_SetInt" "', expected argument " "1"" of type '" "wxCommandEvent *""'");
22029 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
22030 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22031 if (!SWIG_IsOK(ecode2
)) {
22032 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CommandEvent_SetInt" "', expected argument " "2"" of type '" "int""'");
22034 arg2
= static_cast< int >(val2
);
22036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22037 (arg1
)->SetInt(arg2
);
22038 wxPyEndAllowThreads(__tstate
);
22039 if (PyErr_Occurred()) SWIG_fail
;
22041 resultobj
= SWIG_Py_Void();
22048 SWIGINTERN PyObject
*_wrap_CommandEvent_GetInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22049 PyObject
*resultobj
= 0;
22050 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
22054 PyObject
*swig_obj
[1] ;
22056 if (!args
) SWIG_fail
;
22057 swig_obj
[0] = args
;
22058 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
22059 if (!SWIG_IsOK(res1
)) {
22060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_GetInt" "', expected argument " "1"" of type '" "wxCommandEvent const *""'");
22062 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
22064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22065 result
= (int)((wxCommandEvent
const *)arg1
)->GetInt();
22066 wxPyEndAllowThreads(__tstate
);
22067 if (PyErr_Occurred()) SWIG_fail
;
22069 resultobj
= SWIG_From_int(static_cast< int >(result
));
22076 SWIGINTERN PyObject
*_wrap_CommandEvent_GetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22077 PyObject
*resultobj
= 0;
22078 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
22079 PyObject
*result
= 0 ;
22082 PyObject
*swig_obj
[1] ;
22084 if (!args
) SWIG_fail
;
22085 swig_obj
[0] = args
;
22086 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
22087 if (!SWIG_IsOK(res1
)) {
22088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_GetClientData" "', expected argument " "1"" of type '" "wxCommandEvent *""'");
22090 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
22092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22093 result
= (PyObject
*)wxCommandEvent_GetClientData(arg1
);
22094 wxPyEndAllowThreads(__tstate
);
22095 if (PyErr_Occurred()) SWIG_fail
;
22097 resultobj
= result
;
22104 SWIGINTERN PyObject
*_wrap_CommandEvent_SetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22105 PyObject
*resultobj
= 0;
22106 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
22107 PyObject
*arg2
= (PyObject
*) 0 ;
22110 PyObject
* obj0
= 0 ;
22111 PyObject
* obj1
= 0 ;
22112 char * kwnames
[] = {
22113 (char *) "self",(char *) "clientData", NULL
22116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22117 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
22118 if (!SWIG_IsOK(res1
)) {
22119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_SetClientData" "', expected argument " "1"" of type '" "wxCommandEvent *""'");
22121 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
22124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22125 wxCommandEvent_SetClientData(arg1
,arg2
);
22126 wxPyEndAllowThreads(__tstate
);
22127 if (PyErr_Occurred()) SWIG_fail
;
22129 resultobj
= SWIG_Py_Void();
22136 SWIGINTERN PyObject
*_wrap_CommandEvent_Clone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22137 PyObject
*resultobj
= 0;
22138 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
22139 wxEvent
*result
= 0 ;
22142 PyObject
*swig_obj
[1] ;
22144 if (!args
) SWIG_fail
;
22145 swig_obj
[0] = args
;
22146 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
22147 if (!SWIG_IsOK(res1
)) {
22148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_Clone" "', expected argument " "1"" of type '" "wxCommandEvent const *""'");
22150 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
22152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22153 result
= (wxEvent
*)((wxCommandEvent
const *)arg1
)->Clone();
22154 wxPyEndAllowThreads(__tstate
);
22155 if (PyErr_Occurred()) SWIG_fail
;
22157 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEvent
, 0 | 0 );
22164 SWIGINTERN PyObject
*CommandEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22166 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22167 SWIG_TypeNewClientData(SWIGTYPE_p_wxCommandEvent
, SWIG_NewClientData(obj
));
22168 return SWIG_Py_Void();
22171 SWIGINTERN PyObject
*CommandEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22172 return SWIG_Python_InitShadowInstance(args
);
22175 SWIGINTERN PyObject
*_wrap_new_NotifyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22176 PyObject
*resultobj
= 0;
22177 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22178 int arg2
= (int) 0 ;
22179 wxNotifyEvent
*result
= 0 ;
22184 PyObject
* obj0
= 0 ;
22185 PyObject
* obj1
= 0 ;
22186 char * kwnames
[] = {
22187 (char *) "commandType",(char *) "winid", NULL
22190 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_NotifyEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22192 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22193 if (!SWIG_IsOK(ecode1
)) {
22194 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_NotifyEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22196 arg1
= static_cast< wxEventType
>(val1
);
22199 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22200 if (!SWIG_IsOK(ecode2
)) {
22201 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_NotifyEvent" "', expected argument " "2"" of type '" "int""'");
22203 arg2
= static_cast< int >(val2
);
22206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22207 result
= (wxNotifyEvent
*)new wxNotifyEvent(arg1
,arg2
);
22208 wxPyEndAllowThreads(__tstate
);
22209 if (PyErr_Occurred()) SWIG_fail
;
22211 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_NEW
| 0 );
22218 SWIGINTERN PyObject
*_wrap_NotifyEvent_Veto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22219 PyObject
*resultobj
= 0;
22220 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
22223 PyObject
*swig_obj
[1] ;
22225 if (!args
) SWIG_fail
;
22226 swig_obj
[0] = args
;
22227 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotifyEvent
, 0 | 0 );
22228 if (!SWIG_IsOK(res1
)) {
22229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NotifyEvent_Veto" "', expected argument " "1"" of type '" "wxNotifyEvent *""'");
22231 arg1
= reinterpret_cast< wxNotifyEvent
* >(argp1
);
22233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22235 wxPyEndAllowThreads(__tstate
);
22236 if (PyErr_Occurred()) SWIG_fail
;
22238 resultobj
= SWIG_Py_Void();
22245 SWIGINTERN PyObject
*_wrap_NotifyEvent_Allow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22246 PyObject
*resultobj
= 0;
22247 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
22250 PyObject
*swig_obj
[1] ;
22252 if (!args
) SWIG_fail
;
22253 swig_obj
[0] = args
;
22254 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotifyEvent
, 0 | 0 );
22255 if (!SWIG_IsOK(res1
)) {
22256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NotifyEvent_Allow" "', expected argument " "1"" of type '" "wxNotifyEvent *""'");
22258 arg1
= reinterpret_cast< wxNotifyEvent
* >(argp1
);
22260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22262 wxPyEndAllowThreads(__tstate
);
22263 if (PyErr_Occurred()) SWIG_fail
;
22265 resultobj
= SWIG_Py_Void();
22272 SWIGINTERN PyObject
*_wrap_NotifyEvent_IsAllowed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22273 PyObject
*resultobj
= 0;
22274 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
22278 PyObject
*swig_obj
[1] ;
22280 if (!args
) SWIG_fail
;
22281 swig_obj
[0] = args
;
22282 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotifyEvent
, 0 | 0 );
22283 if (!SWIG_IsOK(res1
)) {
22284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NotifyEvent_IsAllowed" "', expected argument " "1"" of type '" "wxNotifyEvent *""'");
22286 arg1
= reinterpret_cast< wxNotifyEvent
* >(argp1
);
22288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22289 result
= (bool)(arg1
)->IsAllowed();
22290 wxPyEndAllowThreads(__tstate
);
22291 if (PyErr_Occurred()) SWIG_fail
;
22294 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22302 SWIGINTERN PyObject
*NotifyEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22304 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22305 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotifyEvent
, SWIG_NewClientData(obj
));
22306 return SWIG_Py_Void();
22309 SWIGINTERN PyObject
*NotifyEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22310 return SWIG_Python_InitShadowInstance(args
);
22313 SWIGINTERN PyObject
*_wrap_new_ScrollEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22314 PyObject
*resultobj
= 0;
22315 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22316 int arg2
= (int) 0 ;
22317 int arg3
= (int) 0 ;
22318 int arg4
= (int) 0 ;
22319 wxScrollEvent
*result
= 0 ;
22328 PyObject
* obj0
= 0 ;
22329 PyObject
* obj1
= 0 ;
22330 PyObject
* obj2
= 0 ;
22331 PyObject
* obj3
= 0 ;
22332 char * kwnames
[] = {
22333 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
22336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ScrollEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22338 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22339 if (!SWIG_IsOK(ecode1
)) {
22340 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ScrollEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22342 arg1
= static_cast< wxEventType
>(val1
);
22345 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22346 if (!SWIG_IsOK(ecode2
)) {
22347 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrollEvent" "', expected argument " "2"" of type '" "int""'");
22349 arg2
= static_cast< int >(val2
);
22352 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22353 if (!SWIG_IsOK(ecode3
)) {
22354 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ScrollEvent" "', expected argument " "3"" of type '" "int""'");
22356 arg3
= static_cast< int >(val3
);
22359 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22360 if (!SWIG_IsOK(ecode4
)) {
22361 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ScrollEvent" "', expected argument " "4"" of type '" "int""'");
22363 arg4
= static_cast< int >(val4
);
22366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22367 result
= (wxScrollEvent
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
);
22368 wxPyEndAllowThreads(__tstate
);
22369 if (PyErr_Occurred()) SWIG_fail
;
22371 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_NEW
| 0 );
22378 SWIGINTERN PyObject
*_wrap_ScrollEvent_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22379 PyObject
*resultobj
= 0;
22380 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
22384 PyObject
*swig_obj
[1] ;
22386 if (!args
) SWIG_fail
;
22387 swig_obj
[0] = args
;
22388 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollEvent
, 0 | 0 );
22389 if (!SWIG_IsOK(res1
)) {
22390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollEvent_GetOrientation" "', expected argument " "1"" of type '" "wxScrollEvent const *""'");
22392 arg1
= reinterpret_cast< wxScrollEvent
* >(argp1
);
22394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22395 result
= (int)((wxScrollEvent
const *)arg1
)->GetOrientation();
22396 wxPyEndAllowThreads(__tstate
);
22397 if (PyErr_Occurred()) SWIG_fail
;
22399 resultobj
= SWIG_From_int(static_cast< int >(result
));
22406 SWIGINTERN PyObject
*_wrap_ScrollEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22407 PyObject
*resultobj
= 0;
22408 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
22412 PyObject
*swig_obj
[1] ;
22414 if (!args
) SWIG_fail
;
22415 swig_obj
[0] = args
;
22416 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollEvent
, 0 | 0 );
22417 if (!SWIG_IsOK(res1
)) {
22418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollEvent_GetPosition" "', expected argument " "1"" of type '" "wxScrollEvent const *""'");
22420 arg1
= reinterpret_cast< wxScrollEvent
* >(argp1
);
22422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22423 result
= (int)((wxScrollEvent
const *)arg1
)->GetPosition();
22424 wxPyEndAllowThreads(__tstate
);
22425 if (PyErr_Occurred()) SWIG_fail
;
22427 resultobj
= SWIG_From_int(static_cast< int >(result
));
22434 SWIGINTERN PyObject
*_wrap_ScrollEvent_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22435 PyObject
*resultobj
= 0;
22436 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
22442 PyObject
* obj0
= 0 ;
22443 PyObject
* obj1
= 0 ;
22444 char * kwnames
[] = {
22445 (char *) "self",(char *) "orient", NULL
22448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22449 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollEvent
, 0 | 0 );
22450 if (!SWIG_IsOK(res1
)) {
22451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollEvent_SetOrientation" "', expected argument " "1"" of type '" "wxScrollEvent *""'");
22453 arg1
= reinterpret_cast< wxScrollEvent
* >(argp1
);
22454 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22455 if (!SWIG_IsOK(ecode2
)) {
22456 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrollEvent_SetOrientation" "', expected argument " "2"" of type '" "int""'");
22458 arg2
= static_cast< int >(val2
);
22460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22461 (arg1
)->SetOrientation(arg2
);
22462 wxPyEndAllowThreads(__tstate
);
22463 if (PyErr_Occurred()) SWIG_fail
;
22465 resultobj
= SWIG_Py_Void();
22472 SWIGINTERN PyObject
*_wrap_ScrollEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22473 PyObject
*resultobj
= 0;
22474 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
22480 PyObject
* obj0
= 0 ;
22481 PyObject
* obj1
= 0 ;
22482 char * kwnames
[] = {
22483 (char *) "self",(char *) "pos", NULL
22486 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22487 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollEvent
, 0 | 0 );
22488 if (!SWIG_IsOK(res1
)) {
22489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollEvent_SetPosition" "', expected argument " "1"" of type '" "wxScrollEvent *""'");
22491 arg1
= reinterpret_cast< wxScrollEvent
* >(argp1
);
22492 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22493 if (!SWIG_IsOK(ecode2
)) {
22494 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrollEvent_SetPosition" "', expected argument " "2"" of type '" "int""'");
22496 arg2
= static_cast< int >(val2
);
22498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22499 (arg1
)->SetPosition(arg2
);
22500 wxPyEndAllowThreads(__tstate
);
22501 if (PyErr_Occurred()) SWIG_fail
;
22503 resultobj
= SWIG_Py_Void();
22510 SWIGINTERN PyObject
*ScrollEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22512 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22513 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrollEvent
, SWIG_NewClientData(obj
));
22514 return SWIG_Py_Void();
22517 SWIGINTERN PyObject
*ScrollEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22518 return SWIG_Python_InitShadowInstance(args
);
22521 SWIGINTERN PyObject
*_wrap_new_ScrollWinEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22522 PyObject
*resultobj
= 0;
22523 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22524 int arg2
= (int) 0 ;
22525 int arg3
= (int) 0 ;
22526 wxScrollWinEvent
*result
= 0 ;
22533 PyObject
* obj0
= 0 ;
22534 PyObject
* obj1
= 0 ;
22535 PyObject
* obj2
= 0 ;
22536 char * kwnames
[] = {
22537 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
22540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ScrollWinEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22542 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22543 if (!SWIG_IsOK(ecode1
)) {
22544 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ScrollWinEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22546 arg1
= static_cast< wxEventType
>(val1
);
22549 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22550 if (!SWIG_IsOK(ecode2
)) {
22551 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrollWinEvent" "', expected argument " "2"" of type '" "int""'");
22553 arg2
= static_cast< int >(val2
);
22556 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22557 if (!SWIG_IsOK(ecode3
)) {
22558 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ScrollWinEvent" "', expected argument " "3"" of type '" "int""'");
22560 arg3
= static_cast< int >(val3
);
22563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22564 result
= (wxScrollWinEvent
*)new wxScrollWinEvent(arg1
,arg2
,arg3
);
22565 wxPyEndAllowThreads(__tstate
);
22566 if (PyErr_Occurred()) SWIG_fail
;
22568 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_NEW
| 0 );
22575 SWIGINTERN PyObject
*_wrap_ScrollWinEvent_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22576 PyObject
*resultobj
= 0;
22577 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
22581 PyObject
*swig_obj
[1] ;
22583 if (!args
) SWIG_fail
;
22584 swig_obj
[0] = args
;
22585 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollWinEvent
, 0 | 0 );
22586 if (!SWIG_IsOK(res1
)) {
22587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollWinEvent_GetOrientation" "', expected argument " "1"" of type '" "wxScrollWinEvent const *""'");
22589 arg1
= reinterpret_cast< wxScrollWinEvent
* >(argp1
);
22591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22592 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetOrientation();
22593 wxPyEndAllowThreads(__tstate
);
22594 if (PyErr_Occurred()) SWIG_fail
;
22596 resultobj
= SWIG_From_int(static_cast< int >(result
));
22603 SWIGINTERN PyObject
*_wrap_ScrollWinEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22604 PyObject
*resultobj
= 0;
22605 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
22609 PyObject
*swig_obj
[1] ;
22611 if (!args
) SWIG_fail
;
22612 swig_obj
[0] = args
;
22613 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollWinEvent
, 0 | 0 );
22614 if (!SWIG_IsOK(res1
)) {
22615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollWinEvent_GetPosition" "', expected argument " "1"" of type '" "wxScrollWinEvent const *""'");
22617 arg1
= reinterpret_cast< wxScrollWinEvent
* >(argp1
);
22619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22620 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetPosition();
22621 wxPyEndAllowThreads(__tstate
);
22622 if (PyErr_Occurred()) SWIG_fail
;
22624 resultobj
= SWIG_From_int(static_cast< int >(result
));
22631 SWIGINTERN PyObject
*_wrap_ScrollWinEvent_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22632 PyObject
*resultobj
= 0;
22633 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
22639 PyObject
* obj0
= 0 ;
22640 PyObject
* obj1
= 0 ;
22641 char * kwnames
[] = {
22642 (char *) "self",(char *) "orient", NULL
22645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22646 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollWinEvent
, 0 | 0 );
22647 if (!SWIG_IsOK(res1
)) {
22648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollWinEvent_SetOrientation" "', expected argument " "1"" of type '" "wxScrollWinEvent *""'");
22650 arg1
= reinterpret_cast< wxScrollWinEvent
* >(argp1
);
22651 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22652 if (!SWIG_IsOK(ecode2
)) {
22653 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrollWinEvent_SetOrientation" "', expected argument " "2"" of type '" "int""'");
22655 arg2
= static_cast< int >(val2
);
22657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22658 (arg1
)->SetOrientation(arg2
);
22659 wxPyEndAllowThreads(__tstate
);
22660 if (PyErr_Occurred()) SWIG_fail
;
22662 resultobj
= SWIG_Py_Void();
22669 SWIGINTERN PyObject
*_wrap_ScrollWinEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22670 PyObject
*resultobj
= 0;
22671 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
22677 PyObject
* obj0
= 0 ;
22678 PyObject
* obj1
= 0 ;
22679 char * kwnames
[] = {
22680 (char *) "self",(char *) "pos", NULL
22683 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22684 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollWinEvent
, 0 | 0 );
22685 if (!SWIG_IsOK(res1
)) {
22686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollWinEvent_SetPosition" "', expected argument " "1"" of type '" "wxScrollWinEvent *""'");
22688 arg1
= reinterpret_cast< wxScrollWinEvent
* >(argp1
);
22689 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22690 if (!SWIG_IsOK(ecode2
)) {
22691 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrollWinEvent_SetPosition" "', expected argument " "2"" of type '" "int""'");
22693 arg2
= static_cast< int >(val2
);
22695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22696 (arg1
)->SetPosition(arg2
);
22697 wxPyEndAllowThreads(__tstate
);
22698 if (PyErr_Occurred()) SWIG_fail
;
22700 resultobj
= SWIG_Py_Void();
22707 SWIGINTERN PyObject
*ScrollWinEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22709 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22710 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrollWinEvent
, SWIG_NewClientData(obj
));
22711 return SWIG_Py_Void();
22714 SWIGINTERN PyObject
*ScrollWinEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22715 return SWIG_Python_InitShadowInstance(args
);
22718 SWIGINTERN PyObject
*_wrap_new_MouseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22719 PyObject
*resultobj
= 0;
22720 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22721 wxMouseEvent
*result
= 0 ;
22724 PyObject
* obj0
= 0 ;
22725 char * kwnames
[] = {
22726 (char *) "mouseType", NULL
22729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MouseEvent",kwnames
,&obj0
)) SWIG_fail
;
22731 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22732 if (!SWIG_IsOK(ecode1
)) {
22733 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_MouseEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22735 arg1
= static_cast< wxEventType
>(val1
);
22738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22739 result
= (wxMouseEvent
*)new wxMouseEvent(arg1
);
22740 wxPyEndAllowThreads(__tstate
);
22741 if (PyErr_Occurred()) SWIG_fail
;
22743 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_NEW
| 0 );
22750 SWIGINTERN PyObject
*_wrap_MouseEvent_IsButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22751 PyObject
*resultobj
= 0;
22752 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
22756 PyObject
*swig_obj
[1] ;
22758 if (!args
) SWIG_fail
;
22759 swig_obj
[0] = args
;
22760 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
22761 if (!SWIG_IsOK(res1
)) {
22762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_IsButton" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
22764 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
22766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22767 result
= (bool)((wxMouseEvent
const *)arg1
)->IsButton();
22768 wxPyEndAllowThreads(__tstate
);
22769 if (PyErr_Occurred()) SWIG_fail
;
22772 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22780 SWIGINTERN PyObject
*_wrap_MouseEvent_ButtonDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22781 PyObject
*resultobj
= 0;
22782 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
22783 int arg2
= (int) wxMOUSE_BTN_ANY
;
22789 PyObject
* obj0
= 0 ;
22790 PyObject
* obj1
= 0 ;
22791 char * kwnames
[] = {
22792 (char *) "self",(char *) "but", NULL
22795 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22796 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
22797 if (!SWIG_IsOK(res1
)) {
22798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_ButtonDown" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
22800 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
22802 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22803 if (!SWIG_IsOK(ecode2
)) {
22804 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_ButtonDown" "', expected argument " "2"" of type '" "int""'");
22806 arg2
= static_cast< int >(val2
);
22809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22810 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDown(arg2
);
22811 wxPyEndAllowThreads(__tstate
);
22812 if (PyErr_Occurred()) SWIG_fail
;
22815 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22823 SWIGINTERN PyObject
*_wrap_MouseEvent_ButtonDClick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22824 PyObject
*resultobj
= 0;
22825 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
22826 int arg2
= (int) wxMOUSE_BTN_ANY
;
22832 PyObject
* obj0
= 0 ;
22833 PyObject
* obj1
= 0 ;
22834 char * kwnames
[] = {
22835 (char *) "self",(char *) "but", NULL
22838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDClick",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22839 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
22840 if (!SWIG_IsOK(res1
)) {
22841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_ButtonDClick" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
22843 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
22845 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22846 if (!SWIG_IsOK(ecode2
)) {
22847 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_ButtonDClick" "', expected argument " "2"" of type '" "int""'");
22849 arg2
= static_cast< int >(val2
);
22852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22853 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDClick(arg2
);
22854 wxPyEndAllowThreads(__tstate
);
22855 if (PyErr_Occurred()) SWIG_fail
;
22858 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22866 SWIGINTERN PyObject
*_wrap_MouseEvent_ButtonUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22867 PyObject
*resultobj
= 0;
22868 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
22869 int arg2
= (int) wxMOUSE_BTN_ANY
;
22875 PyObject
* obj0
= 0 ;
22876 PyObject
* obj1
= 0 ;
22877 char * kwnames
[] = {
22878 (char *) "self",(char *) "but", NULL
22881 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22882 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
22883 if (!SWIG_IsOK(res1
)) {
22884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_ButtonUp" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
22886 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
22888 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22889 if (!SWIG_IsOK(ecode2
)) {
22890 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_ButtonUp" "', expected argument " "2"" of type '" "int""'");
22892 arg2
= static_cast< int >(val2
);
22895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22896 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonUp(arg2
);
22897 wxPyEndAllowThreads(__tstate
);
22898 if (PyErr_Occurred()) SWIG_fail
;
22901 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22909 SWIGINTERN PyObject
*_wrap_MouseEvent_Button(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22910 PyObject
*resultobj
= 0;
22911 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
22918 PyObject
* obj0
= 0 ;
22919 PyObject
* obj1
= 0 ;
22920 char * kwnames
[] = {
22921 (char *) "self",(char *) "button", NULL
22924 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_Button",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22925 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
22926 if (!SWIG_IsOK(res1
)) {
22927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_Button" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
22929 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
22930 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22931 if (!SWIG_IsOK(ecode2
)) {
22932 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_Button" "', expected argument " "2"" of type '" "int""'");
22934 arg2
= static_cast< int >(val2
);
22936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22937 result
= (bool)((wxMouseEvent
const *)arg1
)->Button(arg2
);
22938 wxPyEndAllowThreads(__tstate
);
22939 if (PyErr_Occurred()) SWIG_fail
;
22942 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22950 SWIGINTERN PyObject
*_wrap_MouseEvent_ButtonIsDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22951 PyObject
*resultobj
= 0;
22952 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
22959 PyObject
* obj0
= 0 ;
22960 PyObject
* obj1
= 0 ;
22961 char * kwnames
[] = {
22962 (char *) "self",(char *) "but", NULL
22965 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22966 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
22967 if (!SWIG_IsOK(res1
)) {
22968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_ButtonIsDown" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
22970 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
22971 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22972 if (!SWIG_IsOK(ecode2
)) {
22973 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_ButtonIsDown" "', expected argument " "2"" of type '" "int""'");
22975 arg2
= static_cast< int >(val2
);
22977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22978 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonIsDown(arg2
);
22979 wxPyEndAllowThreads(__tstate
);
22980 if (PyErr_Occurred()) SWIG_fail
;
22983 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22991 SWIGINTERN PyObject
*_wrap_MouseEvent_GetButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22992 PyObject
*resultobj
= 0;
22993 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
22997 PyObject
*swig_obj
[1] ;
22999 if (!args
) SWIG_fail
;
23000 swig_obj
[0] = args
;
23001 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
23002 if (!SWIG_IsOK(res1
)) {
23003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_GetButton" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
23005 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
23007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23008 result
= (int)((wxMouseEvent
const *)arg1
)->GetButton();
23009 wxPyEndAllowThreads(__tstate
);
23010 if (PyErr_Occurred()) SWIG_fail
;
23012 resultobj
= SWIG_From_int(static_cast< int >(result
));
23019 SWIGINTERN PyObject
*_wrap_MouseEvent_ControlDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23020 PyObject
*resultobj
= 0;
23021 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
23025 PyObject
*swig_obj
[1] ;
23027 if (!args
) SWIG_fail
;
23028 swig_obj
[0] = args
;
23029 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
23030 if (!SWIG_IsOK(res1
)) {
23031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_ControlDown" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
23033 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
23035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23036 result
= (bool)((wxMouseEvent
const *)arg1
)->ControlDown();
23037 wxPyEndAllowThreads(__tstate
);
23038 if (PyErr_Occurred()) SWIG_fail
;
23041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23049 SWIGINTERN PyObject
*_wrap_MouseEvent_MetaDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23050 PyObject
*resultobj
= 0;
23051 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
23055 PyObject
*swig_obj
[1] ;
23057 if (!args
) SWIG_fail
;
23058 swig_obj
[0] = args
;
23059 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
23060 if (!SWIG_IsOK(res1
)) {
23061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_MetaDown" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
23063 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
23065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23066 result
= (bool)((wxMouseEvent
const *)arg1
)->MetaDown();
23067 wxPyEndAllowThreads(__tstate
);
23068 if (PyErr_Occurred()) SWIG_fail
;
23071 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23079 SWIGINTERN PyObject
*_wrap_MouseEvent_AltDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23080 PyObject
*resultobj
= 0;
23081 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
23085 PyObject
*swig_obj
[1] ;
23087 if (!args
) SWIG_fail
;
23088 swig_obj
[0] = args
;
23089 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
23090 if (!SWIG_IsOK(res1
)) {
23091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_AltDown" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
23093 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
23095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23096 result
= (bool)((wxMouseEvent
const *)arg1
)->AltDown();
23097 wxPyEndAllowThreads(__tstate
);
23098 if (PyErr_Occurred()) SWIG_fail
;
23101 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23109 SWIGINTERN PyObject
*_wrap_MouseEvent_ShiftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23110 PyObject
*resultobj
= 0;
23111 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
23115 PyObject
*swig_obj
[1] ;
23117 if (!args
) SWIG_fail
;
23118 swig_obj
[0] = args
;
23119 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
23120 if (!SWIG_IsOK(res1
)) {
23121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_ShiftDown" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
23123 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
23125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23126 result
= (bool)((wxMouseEvent
const *)arg1
)->ShiftDown();
23127 wxPyEndAllowThreads(__tstate
);
23128 if (PyErr_Occurred()) SWIG_fail
;
23131 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23139 SWIGINTERN PyObject
*_wrap_MouseEvent_CmdDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23140 PyObject
*resultobj
= 0;
23141 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
23145 PyObject
*swig_obj
[1] ;
23147 if (!args
) SWIG_fail
;
23148 swig_obj
[0] = args
;
23149 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
23150 if (!SWIG_IsOK(res1
)) {
23151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_CmdDown" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
23153 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
23155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23156 result
= (bool)((wxMouseEvent
const *)arg1
)->CmdDown();
23157 wxPyEndAllowThreads(__tstate
);
23158 if (PyErr_Occurred()) SWIG_fail
;
23161 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23169 SWIGINTERN PyObject
*_wrap_MouseEvent_LeftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23170 PyObject
*resultobj
= 0;
23171 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
23175 PyObject
*swig_obj
[1] ;
23177 if (!args
) SWIG_fail
;
23178 swig_obj
[0] = args
;
23179 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
23180 if (!SWIG_IsOK(res1
)) {
23181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_LeftDown" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
23183 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
23185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23186 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDown();
23187 wxPyEndAllowThreads(__tstate
);
23188 if (PyErr_Occurred()) SWIG_fail
;
23191 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23199 SWIGINTERN PyObject
*_wrap_MouseEvent_MiddleDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23200 PyObject
*resultobj
= 0;
23201 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
23205 PyObject
*swig_obj
[1] ;
23207 if (!args
) SWIG_fail
;
23208 swig_obj
[0] = args
;
23209 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
23210 if (!SWIG_IsOK(res1
)) {
23211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_MiddleDown" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
23213 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
23215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23216 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDown();
23217 wxPyEndAllowThreads(__tstate
);
23218 if (PyErr_Occurred()) SWIG_fail
;
23221 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23229 SWIGINTERN PyObject
*_wrap_MouseEvent_RightDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23230 PyObject
*resultobj
= 0;
23231 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
23235 PyObject
*swig_obj
[1] ;
23237 if (!args
) SWIG_fail
;
23238 swig_obj
[0] = args
;
23239 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
23240 if (!SWIG_IsOK(res1
)) {
23241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_RightDown" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
23243 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
23245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23246 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDown();
23247 wxPyEndAllowThreads(__tstate
);
23248 if (PyErr_Occurred()) SWIG_fail
;
23251 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23259 SWIGINTERN PyObject
*_wrap_MouseEvent_LeftUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23260 PyObject
*resultobj
= 0;
23261 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
23265 PyObject
*swig_obj
[1] ;
23267 if (!args
) SWIG_fail
;
23268 swig_obj
[0] = args
;
23269 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
23270 if (!SWIG_IsOK(res1
)) {
23271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_LeftUp" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
23273 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
23275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23276 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftUp();
23277 wxPyEndAllowThreads(__tstate
);
23278 if (PyErr_Occurred()) SWIG_fail
;
23281 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23289 SWIGINTERN PyObject
*_wrap_MouseEvent_MiddleUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23290 PyObject
*resultobj
= 0;
23291 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
23295 PyObject
*swig_obj
[1] ;
23297 if (!args
) SWIG_fail
;
23298 swig_obj
[0] = args
;
23299 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
23300 if (!SWIG_IsOK(res1
)) {
23301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_MiddleUp" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
23303 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
23305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23306 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleUp();
23307 wxPyEndAllowThreads(__tstate
);
23308 if (PyErr_Occurred()) SWIG_fail
;
23311 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23319 SWIGINTERN PyObject
*_wrap_MouseEvent_RightUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23320 PyObject
*resultobj
= 0;
23321 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
23325 PyObject
*swig_obj
[1] ;
23327 if (!args
) SWIG_fail
;
23328 swig_obj
[0] = args
;
23329 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
23330 if (!SWIG_IsOK(res1
)) {
23331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_RightUp" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
23333 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
23335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23336 result
= (bool)((wxMouseEvent
const *)arg1
)->RightUp();
23337 wxPyEndAllowThreads(__tstate
);
23338 if (PyErr_Occurred()) SWIG_fail
;
23341 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23349 SWIGINTERN PyObject
*_wrap_MouseEvent_LeftDClick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23350 PyObject
*resultobj
= 0;
23351 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
23355 PyObject
*swig_obj
[1] ;
23357 if (!args
) SWIG_fail
;
23358 swig_obj
[0] = args
;
23359 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
23360 if (!SWIG_IsOK(res1
)) {
23361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_LeftDClick" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
23363 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
23365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23366 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDClick();
23367 wxPyEndAllowThreads(__tstate
);
23368 if (PyErr_Occurred()) SWIG_fail
;
23371 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23379 SWIGINTERN PyObject
*_wrap_MouseEvent_MiddleDClick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23380 PyObject
*resultobj
= 0;
23381 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
23385 PyObject
*swig_obj
[1] ;
23387 if (!args
) SWIG_fail
;
23388 swig_obj
[0] = args
;
23389 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
23390 if (!SWIG_IsOK(res1
)) {
23391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_MiddleDClick" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
23393 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
23395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23396 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDClick();
23397 wxPyEndAllowThreads(__tstate
);
23398 if (PyErr_Occurred()) SWIG_fail
;
23401 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23409 SWIGINTERN PyObject
*_wrap_MouseEvent_RightDClick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23410 PyObject
*resultobj
= 0;
23411 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
23415 PyObject
*swig_obj
[1] ;
23417 if (!args
) SWIG_fail
;
23418 swig_obj
[0] = args
;
23419 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
23420 if (!SWIG_IsOK(res1
)) {
23421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_RightDClick" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
23423 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
23425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23426 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDClick();
23427 wxPyEndAllowThreads(__tstate
);
23428 if (PyErr_Occurred()) SWIG_fail
;
23431 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23439 SWIGINTERN PyObject
*_wrap_MouseEvent_LeftIsDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23440 PyObject
*resultobj
= 0;
23441 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
23445 PyObject
*swig_obj
[1] ;
23447 if (!args
) SWIG_fail
;
23448 swig_obj
[0] = args
;
23449 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
23450 if (!SWIG_IsOK(res1
)) {
23451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_LeftIsDown" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
23453 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
23455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23456 result
= (bool)(arg1
)->LeftIsDown();
23457 wxPyEndAllowThreads(__tstate
);
23458 if (PyErr_Occurred()) SWIG_fail
;
23461 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23469 SWIGINTERN PyObject
*_wrap_MouseEvent_MiddleIsDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23470 PyObject
*resultobj
= 0;
23471 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
23475 PyObject
*swig_obj
[1] ;
23477 if (!args
) SWIG_fail
;
23478 swig_obj
[0] = args
;
23479 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
23480 if (!SWIG_IsOK(res1
)) {
23481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_MiddleIsDown" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
23483 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
23485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23486 result
= (bool)(arg1
)->MiddleIsDown();
23487 wxPyEndAllowThreads(__tstate
);
23488 if (PyErr_Occurred()) SWIG_fail
;
23491 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23499 SWIGINTERN PyObject
*_wrap_MouseEvent_RightIsDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23500 PyObject
*resultobj
= 0;
23501 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
23505 PyObject
*swig_obj
[1] ;
23507 if (!args
) SWIG_fail
;
23508 swig_obj
[0] = args
;
23509 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
23510 if (!SWIG_IsOK(res1
)) {
23511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_RightIsDown" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
23513 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
23515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23516 result
= (bool)(arg1
)->RightIsDown();
23517 wxPyEndAllowThreads(__tstate
);
23518 if (PyErr_Occurred()) SWIG_fail
;
23521 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23529 SWIGINTERN PyObject
*_wrap_MouseEvent_Dragging(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23530 PyObject
*resultobj
= 0;
23531 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
23535 PyObject
*swig_obj
[1] ;
23537 if (!args
) SWIG_fail
;
23538 swig_obj
[0] = args
;
23539 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
23540 if (!SWIG_IsOK(res1
)) {
23541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_Dragging" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
23543 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
23545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23546 result
= (bool)((wxMouseEvent
const *)arg1
)->Dragging();
23547 wxPyEndAllowThreads(__tstate
);
23548 if (PyErr_Occurred()) SWIG_fail
;
23551 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23559 SWIGINTERN PyObject
*_wrap_MouseEvent_Moving(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23560 PyObject
*resultobj
= 0;
23561 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
23565 PyObject
*swig_obj
[1] ;
23567 if (!args
) SWIG_fail
;
23568 swig_obj
[0] = args
;
23569 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
23570 if (!SWIG_IsOK(res1
)) {
23571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_Moving" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
23573 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
23575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23576 result
= (bool)((wxMouseEvent
const *)arg1
)->Moving();
23577 wxPyEndAllowThreads(__tstate
);
23578 if (PyErr_Occurred()) SWIG_fail
;
23581 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23589 SWIGINTERN PyObject
*_wrap_MouseEvent_Entering(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23590 PyObject
*resultobj
= 0;
23591 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
23595 PyObject
*swig_obj
[1] ;
23597 if (!args
) SWIG_fail
;
23598 swig_obj
[0] = args
;
23599 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
23600 if (!SWIG_IsOK(res1
)) {
23601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_Entering" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
23603 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
23605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23606 result
= (bool)((wxMouseEvent
const *)arg1
)->Entering();
23607 wxPyEndAllowThreads(__tstate
);
23608 if (PyErr_Occurred()) SWIG_fail
;
23611 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23619 SWIGINTERN PyObject
*_wrap_MouseEvent_Leaving(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23620 PyObject
*resultobj
= 0;
23621 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
23625 PyObject
*swig_obj
[1] ;
23627 if (!args
) SWIG_fail
;
23628 swig_obj
[0] = args
;
23629 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
23630 if (!SWIG_IsOK(res1
)) {
23631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_Leaving" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
23633 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
23635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23636 result
= (bool)((wxMouseEvent
const *)arg1
)->Leaving();
23637 wxPyEndAllowThreads(__tstate
);
23638 if (PyErr_Occurred()) SWIG_fail
;
23641 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23649 SWIGINTERN PyObject
*_wrap_MouseEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23650 PyObject
*resultobj
= 0;
23651 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
23655 PyObject
*swig_obj
[1] ;
23657 if (!args
) SWIG_fail
;
23658 swig_obj
[0] = args
;
23659 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
23660 if (!SWIG_IsOK(res1
)) {
23661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_GetPosition" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
23663 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
23665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23666 result
= (arg1
)->GetPosition();
23667 wxPyEndAllowThreads(__tstate
);
23668 if (PyErr_Occurred()) SWIG_fail
;
23670 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
23677 SWIGINTERN PyObject
*_wrap_MouseEvent_GetPositionTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23678 PyObject
*resultobj
= 0;
23679 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
23680 long *arg2
= (long *) 0 ;
23681 long *arg3
= (long *) 0 ;
23685 int res2
= SWIG_TMPOBJ
;
23687 int res3
= SWIG_TMPOBJ
;
23688 PyObject
*swig_obj
[1] ;
23692 if (!args
) SWIG_fail
;
23693 swig_obj
[0] = args
;
23694 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
23695 if (!SWIG_IsOK(res1
)) {
23696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_GetPositionTuple" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
23698 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
23700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23701 (arg1
)->GetPosition(arg2
,arg3
);
23702 wxPyEndAllowThreads(__tstate
);
23703 if (PyErr_Occurred()) SWIG_fail
;
23705 resultobj
= SWIG_Py_Void();
23706 if (SWIG_IsTmpObj(res2
)) {
23707 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
23709 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23710 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
23712 if (SWIG_IsTmpObj(res3
)) {
23713 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
23715 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23716 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
23724 SWIGINTERN PyObject
*_wrap_MouseEvent_GetLogicalPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23725 PyObject
*resultobj
= 0;
23726 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
23733 PyObject
* obj0
= 0 ;
23734 PyObject
* obj1
= 0 ;
23735 char * kwnames
[] = {
23736 (char *) "self",(char *) "dc", NULL
23739 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23740 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
23741 if (!SWIG_IsOK(res1
)) {
23742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_GetLogicalPosition" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
23744 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
23745 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 | 0);
23746 if (!SWIG_IsOK(res2
)) {
23747 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MouseEvent_GetLogicalPosition" "', expected argument " "2"" of type '" "wxDC const &""'");
23750 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MouseEvent_GetLogicalPosition" "', expected argument " "2"" of type '" "wxDC const &""'");
23752 arg2
= reinterpret_cast< wxDC
* >(argp2
);
23754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23755 result
= ((wxMouseEvent
const *)arg1
)->GetLogicalPosition((wxDC
const &)*arg2
);
23756 wxPyEndAllowThreads(__tstate
);
23757 if (PyErr_Occurred()) SWIG_fail
;
23759 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
23766 SWIGINTERN PyObject
*_wrap_MouseEvent_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23767 PyObject
*resultobj
= 0;
23768 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
23772 PyObject
*swig_obj
[1] ;
23774 if (!args
) SWIG_fail
;
23775 swig_obj
[0] = args
;
23776 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
23777 if (!SWIG_IsOK(res1
)) {
23778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_GetX" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
23780 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
23782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23783 result
= (int)((wxMouseEvent
const *)arg1
)->GetX();
23784 wxPyEndAllowThreads(__tstate
);
23785 if (PyErr_Occurred()) SWIG_fail
;
23787 resultobj
= SWIG_From_int(static_cast< int >(result
));
23794 SWIGINTERN PyObject
*_wrap_MouseEvent_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23795 PyObject
*resultobj
= 0;
23796 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
23800 PyObject
*swig_obj
[1] ;
23802 if (!args
) SWIG_fail
;
23803 swig_obj
[0] = args
;
23804 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
23805 if (!SWIG_IsOK(res1
)) {
23806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_GetY" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
23808 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
23810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23811 result
= (int)((wxMouseEvent
const *)arg1
)->GetY();
23812 wxPyEndAllowThreads(__tstate
);
23813 if (PyErr_Occurred()) SWIG_fail
;
23815 resultobj
= SWIG_From_int(static_cast< int >(result
));
23822 SWIGINTERN PyObject
*_wrap_MouseEvent_GetWheelRotation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23823 PyObject
*resultobj
= 0;
23824 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
23828 PyObject
*swig_obj
[1] ;
23830 if (!args
) SWIG_fail
;
23831 swig_obj
[0] = args
;
23832 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
23833 if (!SWIG_IsOK(res1
)) {
23834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_GetWheelRotation" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
23836 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
23838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23839 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelRotation();
23840 wxPyEndAllowThreads(__tstate
);
23841 if (PyErr_Occurred()) SWIG_fail
;
23843 resultobj
= SWIG_From_int(static_cast< int >(result
));
23850 SWIGINTERN PyObject
*_wrap_MouseEvent_GetWheelDelta(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23851 PyObject
*resultobj
= 0;
23852 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
23856 PyObject
*swig_obj
[1] ;
23858 if (!args
) SWIG_fail
;
23859 swig_obj
[0] = args
;
23860 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
23861 if (!SWIG_IsOK(res1
)) {
23862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_GetWheelDelta" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
23864 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
23866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23867 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelDelta();
23868 wxPyEndAllowThreads(__tstate
);
23869 if (PyErr_Occurred()) SWIG_fail
;
23871 resultobj
= SWIG_From_int(static_cast< int >(result
));
23878 SWIGINTERN PyObject
*_wrap_MouseEvent_GetWheelAxis(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23879 PyObject
*resultobj
= 0;
23880 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
23884 PyObject
*swig_obj
[1] ;
23886 if (!args
) SWIG_fail
;
23887 swig_obj
[0] = args
;
23888 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
23889 if (!SWIG_IsOK(res1
)) {
23890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_GetWheelAxis" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
23892 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
23894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23895 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelAxis();
23896 wxPyEndAllowThreads(__tstate
);
23897 if (PyErr_Occurred()) SWIG_fail
;
23899 resultobj
= SWIG_From_int(static_cast< int >(result
));
23906 SWIGINTERN PyObject
*_wrap_MouseEvent_GetLinesPerAction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23907 PyObject
*resultobj
= 0;
23908 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
23912 PyObject
*swig_obj
[1] ;
23914 if (!args
) SWIG_fail
;
23915 swig_obj
[0] = args
;
23916 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
23917 if (!SWIG_IsOK(res1
)) {
23918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_GetLinesPerAction" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
23920 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
23922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23923 result
= (int)((wxMouseEvent
const *)arg1
)->GetLinesPerAction();
23924 wxPyEndAllowThreads(__tstate
);
23925 if (PyErr_Occurred()) SWIG_fail
;
23927 resultobj
= SWIG_From_int(static_cast< int >(result
));
23934 SWIGINTERN PyObject
*_wrap_MouseEvent_IsPageScroll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23935 PyObject
*resultobj
= 0;
23936 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
23940 PyObject
*swig_obj
[1] ;
23942 if (!args
) SWIG_fail
;
23943 swig_obj
[0] = args
;
23944 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
23945 if (!SWIG_IsOK(res1
)) {
23946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_IsPageScroll" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
23948 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
23950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23951 result
= (bool)((wxMouseEvent
const *)arg1
)->IsPageScroll();
23952 wxPyEndAllowThreads(__tstate
);
23953 if (PyErr_Occurred()) SWIG_fail
;
23956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23964 SWIGINTERN PyObject
*_wrap_MouseEvent_m_x_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23965 PyObject
*resultobj
= 0;
23966 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
23972 PyObject
*swig_obj
[2] ;
23974 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_x_set",2,2,swig_obj
)) SWIG_fail
;
23975 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
23976 if (!SWIG_IsOK(res1
)) {
23977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_x_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
23979 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
23980 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
23981 if (!SWIG_IsOK(ecode2
)) {
23982 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_x_set" "', expected argument " "2"" of type '" "int""'");
23984 arg2
= static_cast< int >(val2
);
23985 if (arg1
) (arg1
)->m_x
= arg2
;
23987 resultobj
= SWIG_Py_Void();
23994 SWIGINTERN PyObject
*_wrap_MouseEvent_m_x_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23995 PyObject
*resultobj
= 0;
23996 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
24000 PyObject
*swig_obj
[1] ;
24002 if (!args
) SWIG_fail
;
24003 swig_obj
[0] = args
;
24004 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
24005 if (!SWIG_IsOK(res1
)) {
24006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_x_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
24008 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
24009 result
= (int) ((arg1
)->m_x
);
24010 resultobj
= SWIG_From_int(static_cast< int >(result
));
24017 SWIGINTERN PyObject
*_wrap_MouseEvent_m_y_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24018 PyObject
*resultobj
= 0;
24019 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
24025 PyObject
*swig_obj
[2] ;
24027 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_y_set",2,2,swig_obj
)) SWIG_fail
;
24028 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
24029 if (!SWIG_IsOK(res1
)) {
24030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_y_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
24032 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
24033 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
24034 if (!SWIG_IsOK(ecode2
)) {
24035 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_y_set" "', expected argument " "2"" of type '" "int""'");
24037 arg2
= static_cast< int >(val2
);
24038 if (arg1
) (arg1
)->m_y
= arg2
;
24040 resultobj
= SWIG_Py_Void();
24047 SWIGINTERN PyObject
*_wrap_MouseEvent_m_y_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24048 PyObject
*resultobj
= 0;
24049 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
24053 PyObject
*swig_obj
[1] ;
24055 if (!args
) SWIG_fail
;
24056 swig_obj
[0] = args
;
24057 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
24058 if (!SWIG_IsOK(res1
)) {
24059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_y_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
24061 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
24062 result
= (int) ((arg1
)->m_y
);
24063 resultobj
= SWIG_From_int(static_cast< int >(result
));
24070 SWIGINTERN PyObject
*_wrap_MouseEvent_m_leftDown_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24071 PyObject
*resultobj
= 0;
24072 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
24078 PyObject
*swig_obj
[2] ;
24080 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_leftDown_set",2,2,swig_obj
)) SWIG_fail
;
24081 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
24082 if (!SWIG_IsOK(res1
)) {
24083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_leftDown_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
24085 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
24086 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
24087 if (!SWIG_IsOK(ecode2
)) {
24088 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_leftDown_set" "', expected argument " "2"" of type '" "bool""'");
24090 arg2
= static_cast< bool >(val2
);
24091 if (arg1
) (arg1
)->m_leftDown
= arg2
;
24093 resultobj
= SWIG_Py_Void();
24100 SWIGINTERN PyObject
*_wrap_MouseEvent_m_leftDown_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24101 PyObject
*resultobj
= 0;
24102 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
24106 PyObject
*swig_obj
[1] ;
24108 if (!args
) SWIG_fail
;
24109 swig_obj
[0] = args
;
24110 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
24111 if (!SWIG_IsOK(res1
)) {
24112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_leftDown_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
24114 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
24115 result
= (bool) ((arg1
)->m_leftDown
);
24117 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24125 SWIGINTERN PyObject
*_wrap_MouseEvent_m_middleDown_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24126 PyObject
*resultobj
= 0;
24127 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
24133 PyObject
*swig_obj
[2] ;
24135 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_middleDown_set",2,2,swig_obj
)) SWIG_fail
;
24136 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
24137 if (!SWIG_IsOK(res1
)) {
24138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_middleDown_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
24140 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
24141 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
24142 if (!SWIG_IsOK(ecode2
)) {
24143 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_middleDown_set" "', expected argument " "2"" of type '" "bool""'");
24145 arg2
= static_cast< bool >(val2
);
24146 if (arg1
) (arg1
)->m_middleDown
= arg2
;
24148 resultobj
= SWIG_Py_Void();
24155 SWIGINTERN PyObject
*_wrap_MouseEvent_m_middleDown_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24156 PyObject
*resultobj
= 0;
24157 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
24161 PyObject
*swig_obj
[1] ;
24163 if (!args
) SWIG_fail
;
24164 swig_obj
[0] = args
;
24165 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
24166 if (!SWIG_IsOK(res1
)) {
24167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_middleDown_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
24169 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
24170 result
= (bool) ((arg1
)->m_middleDown
);
24172 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24180 SWIGINTERN PyObject
*_wrap_MouseEvent_m_rightDown_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24181 PyObject
*resultobj
= 0;
24182 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
24188 PyObject
*swig_obj
[2] ;
24190 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_rightDown_set",2,2,swig_obj
)) SWIG_fail
;
24191 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
24192 if (!SWIG_IsOK(res1
)) {
24193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_rightDown_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
24195 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
24196 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
24197 if (!SWIG_IsOK(ecode2
)) {
24198 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_rightDown_set" "', expected argument " "2"" of type '" "bool""'");
24200 arg2
= static_cast< bool >(val2
);
24201 if (arg1
) (arg1
)->m_rightDown
= arg2
;
24203 resultobj
= SWIG_Py_Void();
24210 SWIGINTERN PyObject
*_wrap_MouseEvent_m_rightDown_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24211 PyObject
*resultobj
= 0;
24212 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
24216 PyObject
*swig_obj
[1] ;
24218 if (!args
) SWIG_fail
;
24219 swig_obj
[0] = args
;
24220 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
24221 if (!SWIG_IsOK(res1
)) {
24222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_rightDown_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
24224 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
24225 result
= (bool) ((arg1
)->m_rightDown
);
24227 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24235 SWIGINTERN PyObject
*_wrap_MouseEvent_m_controlDown_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24236 PyObject
*resultobj
= 0;
24237 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
24243 PyObject
*swig_obj
[2] ;
24245 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_controlDown_set",2,2,swig_obj
)) SWIG_fail
;
24246 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
24247 if (!SWIG_IsOK(res1
)) {
24248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_controlDown_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
24250 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
24251 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
24252 if (!SWIG_IsOK(ecode2
)) {
24253 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_controlDown_set" "', expected argument " "2"" of type '" "bool""'");
24255 arg2
= static_cast< bool >(val2
);
24256 if (arg1
) (arg1
)->m_controlDown
= arg2
;
24258 resultobj
= SWIG_Py_Void();
24265 SWIGINTERN PyObject
*_wrap_MouseEvent_m_controlDown_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24266 PyObject
*resultobj
= 0;
24267 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
24271 PyObject
*swig_obj
[1] ;
24273 if (!args
) SWIG_fail
;
24274 swig_obj
[0] = args
;
24275 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
24276 if (!SWIG_IsOK(res1
)) {
24277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_controlDown_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
24279 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
24280 result
= (bool) ((arg1
)->m_controlDown
);
24282 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24290 SWIGINTERN PyObject
*_wrap_MouseEvent_m_shiftDown_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24291 PyObject
*resultobj
= 0;
24292 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
24298 PyObject
*swig_obj
[2] ;
24300 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_shiftDown_set",2,2,swig_obj
)) SWIG_fail
;
24301 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
24302 if (!SWIG_IsOK(res1
)) {
24303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_shiftDown_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
24305 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
24306 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
24307 if (!SWIG_IsOK(ecode2
)) {
24308 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_shiftDown_set" "', expected argument " "2"" of type '" "bool""'");
24310 arg2
= static_cast< bool >(val2
);
24311 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
24313 resultobj
= SWIG_Py_Void();
24320 SWIGINTERN PyObject
*_wrap_MouseEvent_m_shiftDown_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24321 PyObject
*resultobj
= 0;
24322 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
24326 PyObject
*swig_obj
[1] ;
24328 if (!args
) SWIG_fail
;
24329 swig_obj
[0] = args
;
24330 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
24331 if (!SWIG_IsOK(res1
)) {
24332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_shiftDown_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
24334 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
24335 result
= (bool) ((arg1
)->m_shiftDown
);
24337 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24345 SWIGINTERN PyObject
*_wrap_MouseEvent_m_altDown_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24346 PyObject
*resultobj
= 0;
24347 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
24353 PyObject
*swig_obj
[2] ;
24355 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_altDown_set",2,2,swig_obj
)) SWIG_fail
;
24356 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
24357 if (!SWIG_IsOK(res1
)) {
24358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_altDown_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
24360 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
24361 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
24362 if (!SWIG_IsOK(ecode2
)) {
24363 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_altDown_set" "', expected argument " "2"" of type '" "bool""'");
24365 arg2
= static_cast< bool >(val2
);
24366 if (arg1
) (arg1
)->m_altDown
= arg2
;
24368 resultobj
= SWIG_Py_Void();
24375 SWIGINTERN PyObject
*_wrap_MouseEvent_m_altDown_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24376 PyObject
*resultobj
= 0;
24377 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
24381 PyObject
*swig_obj
[1] ;
24383 if (!args
) SWIG_fail
;
24384 swig_obj
[0] = args
;
24385 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
24386 if (!SWIG_IsOK(res1
)) {
24387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_altDown_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
24389 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
24390 result
= (bool) ((arg1
)->m_altDown
);
24392 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24400 SWIGINTERN PyObject
*_wrap_MouseEvent_m_metaDown_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24401 PyObject
*resultobj
= 0;
24402 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
24408 PyObject
*swig_obj
[2] ;
24410 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_metaDown_set",2,2,swig_obj
)) SWIG_fail
;
24411 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
24412 if (!SWIG_IsOK(res1
)) {
24413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_metaDown_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
24415 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
24416 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
24417 if (!SWIG_IsOK(ecode2
)) {
24418 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_metaDown_set" "', expected argument " "2"" of type '" "bool""'");
24420 arg2
= static_cast< bool >(val2
);
24421 if (arg1
) (arg1
)->m_metaDown
= arg2
;
24423 resultobj
= SWIG_Py_Void();
24430 SWIGINTERN PyObject
*_wrap_MouseEvent_m_metaDown_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24431 PyObject
*resultobj
= 0;
24432 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
24436 PyObject
*swig_obj
[1] ;
24438 if (!args
) SWIG_fail
;
24439 swig_obj
[0] = args
;
24440 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
24441 if (!SWIG_IsOK(res1
)) {
24442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_metaDown_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
24444 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
24445 result
= (bool) ((arg1
)->m_metaDown
);
24447 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24455 SWIGINTERN PyObject
*_wrap_MouseEvent_m_wheelRotation_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24456 PyObject
*resultobj
= 0;
24457 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
24463 PyObject
*swig_obj
[2] ;
24465 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_wheelRotation_set",2,2,swig_obj
)) SWIG_fail
;
24466 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
24467 if (!SWIG_IsOK(res1
)) {
24468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_wheelRotation_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
24470 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
24471 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
24472 if (!SWIG_IsOK(ecode2
)) {
24473 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_wheelRotation_set" "', expected argument " "2"" of type '" "int""'");
24475 arg2
= static_cast< int >(val2
);
24476 if (arg1
) (arg1
)->m_wheelRotation
= arg2
;
24478 resultobj
= SWIG_Py_Void();
24485 SWIGINTERN PyObject
*_wrap_MouseEvent_m_wheelRotation_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24486 PyObject
*resultobj
= 0;
24487 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
24491 PyObject
*swig_obj
[1] ;
24493 if (!args
) SWIG_fail
;
24494 swig_obj
[0] = args
;
24495 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
24496 if (!SWIG_IsOK(res1
)) {
24497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_wheelRotation_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
24499 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
24500 result
= (int) ((arg1
)->m_wheelRotation
);
24501 resultobj
= SWIG_From_int(static_cast< int >(result
));
24508 SWIGINTERN PyObject
*_wrap_MouseEvent_m_wheelDelta_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24509 PyObject
*resultobj
= 0;
24510 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
24516 PyObject
*swig_obj
[2] ;
24518 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_wheelDelta_set",2,2,swig_obj
)) SWIG_fail
;
24519 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
24520 if (!SWIG_IsOK(res1
)) {
24521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_wheelDelta_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
24523 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
24524 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
24525 if (!SWIG_IsOK(ecode2
)) {
24526 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_wheelDelta_set" "', expected argument " "2"" of type '" "int""'");
24528 arg2
= static_cast< int >(val2
);
24529 if (arg1
) (arg1
)->m_wheelDelta
= arg2
;
24531 resultobj
= SWIG_Py_Void();
24538 SWIGINTERN PyObject
*_wrap_MouseEvent_m_wheelDelta_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24539 PyObject
*resultobj
= 0;
24540 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
24544 PyObject
*swig_obj
[1] ;
24546 if (!args
) SWIG_fail
;
24547 swig_obj
[0] = args
;
24548 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
24549 if (!SWIG_IsOK(res1
)) {
24550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_wheelDelta_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
24552 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
24553 result
= (int) ((arg1
)->m_wheelDelta
);
24554 resultobj
= SWIG_From_int(static_cast< int >(result
));
24561 SWIGINTERN PyObject
*_wrap_MouseEvent_m_linesPerAction_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24562 PyObject
*resultobj
= 0;
24563 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
24569 PyObject
*swig_obj
[2] ;
24571 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_linesPerAction_set",2,2,swig_obj
)) SWIG_fail
;
24572 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
24573 if (!SWIG_IsOK(res1
)) {
24574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_linesPerAction_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
24576 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
24577 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
24578 if (!SWIG_IsOK(ecode2
)) {
24579 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_linesPerAction_set" "', expected argument " "2"" of type '" "int""'");
24581 arg2
= static_cast< int >(val2
);
24582 if (arg1
) (arg1
)->m_linesPerAction
= arg2
;
24584 resultobj
= SWIG_Py_Void();
24591 SWIGINTERN PyObject
*_wrap_MouseEvent_m_linesPerAction_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24592 PyObject
*resultobj
= 0;
24593 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
24597 PyObject
*swig_obj
[1] ;
24599 if (!args
) SWIG_fail
;
24600 swig_obj
[0] = args
;
24601 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
24602 if (!SWIG_IsOK(res1
)) {
24603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_linesPerAction_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
24605 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
24606 result
= (int) ((arg1
)->m_linesPerAction
);
24607 resultobj
= SWIG_From_int(static_cast< int >(result
));
24614 SWIGINTERN PyObject
*MouseEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24616 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24617 SWIG_TypeNewClientData(SWIGTYPE_p_wxMouseEvent
, SWIG_NewClientData(obj
));
24618 return SWIG_Py_Void();
24621 SWIGINTERN PyObject
*MouseEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24622 return SWIG_Python_InitShadowInstance(args
);
24625 SWIGINTERN PyObject
*_wrap_new_SetCursorEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24626 PyObject
*resultobj
= 0;
24627 int arg1
= (int) 0 ;
24628 int arg2
= (int) 0 ;
24629 wxSetCursorEvent
*result
= 0 ;
24634 PyObject
* obj0
= 0 ;
24635 PyObject
* obj1
= 0 ;
24636 char * kwnames
[] = {
24637 (char *) "x",(char *) "y", NULL
24640 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SetCursorEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24642 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24643 if (!SWIG_IsOK(ecode1
)) {
24644 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SetCursorEvent" "', expected argument " "1"" of type '" "int""'");
24646 arg1
= static_cast< int >(val1
);
24649 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24650 if (!SWIG_IsOK(ecode2
)) {
24651 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SetCursorEvent" "', expected argument " "2"" of type '" "int""'");
24653 arg2
= static_cast< int >(val2
);
24656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24657 result
= (wxSetCursorEvent
*)new wxSetCursorEvent(arg1
,arg2
);
24658 wxPyEndAllowThreads(__tstate
);
24659 if (PyErr_Occurred()) SWIG_fail
;
24661 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_NEW
| 0 );
24668 SWIGINTERN PyObject
*_wrap_SetCursorEvent_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24669 PyObject
*resultobj
= 0;
24670 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
24674 PyObject
*swig_obj
[1] ;
24676 if (!args
) SWIG_fail
;
24677 swig_obj
[0] = args
;
24678 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSetCursorEvent
, 0 | 0 );
24679 if (!SWIG_IsOK(res1
)) {
24680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SetCursorEvent_GetX" "', expected argument " "1"" of type '" "wxSetCursorEvent const *""'");
24682 arg1
= reinterpret_cast< wxSetCursorEvent
* >(argp1
);
24684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24685 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetX();
24686 wxPyEndAllowThreads(__tstate
);
24687 if (PyErr_Occurred()) SWIG_fail
;
24689 resultobj
= SWIG_From_int(static_cast< int >(result
));
24696 SWIGINTERN PyObject
*_wrap_SetCursorEvent_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24697 PyObject
*resultobj
= 0;
24698 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
24702 PyObject
*swig_obj
[1] ;
24704 if (!args
) SWIG_fail
;
24705 swig_obj
[0] = args
;
24706 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSetCursorEvent
, 0 | 0 );
24707 if (!SWIG_IsOK(res1
)) {
24708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SetCursorEvent_GetY" "', expected argument " "1"" of type '" "wxSetCursorEvent const *""'");
24710 arg1
= reinterpret_cast< wxSetCursorEvent
* >(argp1
);
24712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24713 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetY();
24714 wxPyEndAllowThreads(__tstate
);
24715 if (PyErr_Occurred()) SWIG_fail
;
24717 resultobj
= SWIG_From_int(static_cast< int >(result
));
24724 SWIGINTERN PyObject
*_wrap_SetCursorEvent_SetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24725 PyObject
*resultobj
= 0;
24726 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
24727 wxCursor
*arg2
= 0 ;
24732 PyObject
* obj0
= 0 ;
24733 PyObject
* obj1
= 0 ;
24734 char * kwnames
[] = {
24735 (char *) "self",(char *) "cursor", NULL
24738 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24739 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSetCursorEvent
, 0 | 0 );
24740 if (!SWIG_IsOK(res1
)) {
24741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SetCursorEvent_SetCursor" "', expected argument " "1"" of type '" "wxSetCursorEvent *""'");
24743 arg1
= reinterpret_cast< wxSetCursorEvent
* >(argp1
);
24744 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
24745 if (!SWIG_IsOK(res2
)) {
24746 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SetCursorEvent_SetCursor" "', expected argument " "2"" of type '" "wxCursor const &""'");
24749 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SetCursorEvent_SetCursor" "', expected argument " "2"" of type '" "wxCursor const &""'");
24751 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
24753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24754 (arg1
)->SetCursor((wxCursor
const &)*arg2
);
24755 wxPyEndAllowThreads(__tstate
);
24756 if (PyErr_Occurred()) SWIG_fail
;
24758 resultobj
= SWIG_Py_Void();
24765 SWIGINTERN PyObject
*_wrap_SetCursorEvent_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24766 PyObject
*resultobj
= 0;
24767 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
24768 wxCursor
*result
= 0 ;
24771 PyObject
*swig_obj
[1] ;
24773 if (!args
) SWIG_fail
;
24774 swig_obj
[0] = args
;
24775 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSetCursorEvent
, 0 | 0 );
24776 if (!SWIG_IsOK(res1
)) {
24777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SetCursorEvent_GetCursor" "', expected argument " "1"" of type '" "wxSetCursorEvent const *""'");
24779 arg1
= reinterpret_cast< wxSetCursorEvent
* >(argp1
);
24781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24783 wxCursor
const &_result_ref
= ((wxSetCursorEvent
const *)arg1
)->GetCursor();
24784 result
= (wxCursor
*) &_result_ref
;
24786 wxPyEndAllowThreads(__tstate
);
24787 if (PyErr_Occurred()) SWIG_fail
;
24790 wxCursor
* resultptr
= new wxCursor(*result
);
24791 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
24799 SWIGINTERN PyObject
*_wrap_SetCursorEvent_HasCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24800 PyObject
*resultobj
= 0;
24801 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
24805 PyObject
*swig_obj
[1] ;
24807 if (!args
) SWIG_fail
;
24808 swig_obj
[0] = args
;
24809 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSetCursorEvent
, 0 | 0 );
24810 if (!SWIG_IsOK(res1
)) {
24811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SetCursorEvent_HasCursor" "', expected argument " "1"" of type '" "wxSetCursorEvent const *""'");
24813 arg1
= reinterpret_cast< wxSetCursorEvent
* >(argp1
);
24815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24816 result
= (bool)((wxSetCursorEvent
const *)arg1
)->HasCursor();
24817 wxPyEndAllowThreads(__tstate
);
24818 if (PyErr_Occurred()) SWIG_fail
;
24821 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24829 SWIGINTERN PyObject
*SetCursorEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24831 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24832 SWIG_TypeNewClientData(SWIGTYPE_p_wxSetCursorEvent
, SWIG_NewClientData(obj
));
24833 return SWIG_Py_Void();
24836 SWIGINTERN PyObject
*SetCursorEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24837 return SWIG_Python_InitShadowInstance(args
);
24840 SWIGINTERN PyObject
*_wrap_new_KeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24841 PyObject
*resultobj
= 0;
24842 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
24843 wxKeyEvent
*result
= 0 ;
24846 PyObject
* obj0
= 0 ;
24847 char * kwnames
[] = {
24848 (char *) "eventType", NULL
24851 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_KeyEvent",kwnames
,&obj0
)) SWIG_fail
;
24853 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24854 if (!SWIG_IsOK(ecode1
)) {
24855 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_KeyEvent" "', expected argument " "1"" of type '" "wxEventType""'");
24857 arg1
= static_cast< wxEventType
>(val1
);
24860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24861 result
= (wxKeyEvent
*)new wxKeyEvent(arg1
);
24862 wxPyEndAllowThreads(__tstate
);
24863 if (PyErr_Occurred()) SWIG_fail
;
24865 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_NEW
| 0 );
24872 SWIGINTERN PyObject
*_wrap_KeyEvent_GetModifiers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24873 PyObject
*resultobj
= 0;
24874 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
24878 PyObject
*swig_obj
[1] ;
24880 if (!args
) SWIG_fail
;
24881 swig_obj
[0] = args
;
24882 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
24883 if (!SWIG_IsOK(res1
)) {
24884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_GetModifiers" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
24886 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
24888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24889 result
= (int)((wxKeyEvent
const *)arg1
)->GetModifiers();
24890 wxPyEndAllowThreads(__tstate
);
24891 if (PyErr_Occurred()) SWIG_fail
;
24893 resultobj
= SWIG_From_int(static_cast< int >(result
));
24900 SWIGINTERN PyObject
*_wrap_KeyEvent_ControlDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24901 PyObject
*resultobj
= 0;
24902 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
24906 PyObject
*swig_obj
[1] ;
24908 if (!args
) SWIG_fail
;
24909 swig_obj
[0] = args
;
24910 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
24911 if (!SWIG_IsOK(res1
)) {
24912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_ControlDown" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
24914 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
24916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24917 result
= (bool)((wxKeyEvent
const *)arg1
)->ControlDown();
24918 wxPyEndAllowThreads(__tstate
);
24919 if (PyErr_Occurred()) SWIG_fail
;
24922 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24930 SWIGINTERN PyObject
*_wrap_KeyEvent_MetaDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24931 PyObject
*resultobj
= 0;
24932 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
24936 PyObject
*swig_obj
[1] ;
24938 if (!args
) SWIG_fail
;
24939 swig_obj
[0] = args
;
24940 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
24941 if (!SWIG_IsOK(res1
)) {
24942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_MetaDown" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
24944 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
24946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24947 result
= (bool)((wxKeyEvent
const *)arg1
)->MetaDown();
24948 wxPyEndAllowThreads(__tstate
);
24949 if (PyErr_Occurred()) SWIG_fail
;
24952 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24960 SWIGINTERN PyObject
*_wrap_KeyEvent_AltDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24961 PyObject
*resultobj
= 0;
24962 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
24966 PyObject
*swig_obj
[1] ;
24968 if (!args
) SWIG_fail
;
24969 swig_obj
[0] = args
;
24970 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
24971 if (!SWIG_IsOK(res1
)) {
24972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_AltDown" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
24974 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
24976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24977 result
= (bool)((wxKeyEvent
const *)arg1
)->AltDown();
24978 wxPyEndAllowThreads(__tstate
);
24979 if (PyErr_Occurred()) SWIG_fail
;
24982 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24990 SWIGINTERN PyObject
*_wrap_KeyEvent_ShiftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24991 PyObject
*resultobj
= 0;
24992 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
24996 PyObject
*swig_obj
[1] ;
24998 if (!args
) SWIG_fail
;
24999 swig_obj
[0] = args
;
25000 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
25001 if (!SWIG_IsOK(res1
)) {
25002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_ShiftDown" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
25004 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
25006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25007 result
= (bool)((wxKeyEvent
const *)arg1
)->ShiftDown();
25008 wxPyEndAllowThreads(__tstate
);
25009 if (PyErr_Occurred()) SWIG_fail
;
25012 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25020 SWIGINTERN PyObject
*_wrap_KeyEvent_CmdDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25021 PyObject
*resultobj
= 0;
25022 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
25026 PyObject
*swig_obj
[1] ;
25028 if (!args
) SWIG_fail
;
25029 swig_obj
[0] = args
;
25030 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
25031 if (!SWIG_IsOK(res1
)) {
25032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_CmdDown" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
25034 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
25036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25037 result
= (bool)((wxKeyEvent
const *)arg1
)->CmdDown();
25038 wxPyEndAllowThreads(__tstate
);
25039 if (PyErr_Occurred()) SWIG_fail
;
25042 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25050 SWIGINTERN PyObject
*_wrap_KeyEvent_HasModifiers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25051 PyObject
*resultobj
= 0;
25052 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
25056 PyObject
*swig_obj
[1] ;
25058 if (!args
) SWIG_fail
;
25059 swig_obj
[0] = args
;
25060 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
25061 if (!SWIG_IsOK(res1
)) {
25062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_HasModifiers" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
25064 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
25066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25067 result
= (bool)((wxKeyEvent
const *)arg1
)->HasModifiers();
25068 wxPyEndAllowThreads(__tstate
);
25069 if (PyErr_Occurred()) SWIG_fail
;
25072 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25080 SWIGINTERN PyObject
*_wrap_KeyEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25081 PyObject
*resultobj
= 0;
25082 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
25086 PyObject
*swig_obj
[1] ;
25088 if (!args
) SWIG_fail
;
25089 swig_obj
[0] = args
;
25090 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
25091 if (!SWIG_IsOK(res1
)) {
25092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
25094 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
25096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25097 result
= (int)((wxKeyEvent
const *)arg1
)->GetKeyCode();
25098 wxPyEndAllowThreads(__tstate
);
25099 if (PyErr_Occurred()) SWIG_fail
;
25101 resultobj
= SWIG_From_int(static_cast< int >(result
));
25108 SWIGINTERN PyObject
*_wrap_KeyEvent_GetUnicodeKey(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25109 PyObject
*resultobj
= 0;
25110 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
25114 PyObject
*swig_obj
[1] ;
25116 if (!args
) SWIG_fail
;
25117 swig_obj
[0] = args
;
25118 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
25119 if (!SWIG_IsOK(res1
)) {
25120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_GetUnicodeKey" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
25122 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
25124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25125 result
= (int)wxKeyEvent_GetUnicodeKey(arg1
);
25126 wxPyEndAllowThreads(__tstate
);
25127 if (PyErr_Occurred()) SWIG_fail
;
25129 resultobj
= SWIG_From_int(static_cast< int >(result
));
25136 SWIGINTERN PyObject
*_wrap_KeyEvent_SetUnicodeKey(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25137 PyObject
*resultobj
= 0;
25138 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
25144 PyObject
* obj0
= 0 ;
25145 PyObject
* obj1
= 0 ;
25146 char * kwnames
[] = {
25147 (char *) "self",(char *) "uniChar", NULL
25150 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_SetUnicodeKey",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25151 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
25152 if (!SWIG_IsOK(res1
)) {
25153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_SetUnicodeKey" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
25155 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
25156 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25157 if (!SWIG_IsOK(ecode2
)) {
25158 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "KeyEvent_SetUnicodeKey" "', expected argument " "2"" of type '" "int""'");
25160 arg2
= static_cast< int >(val2
);
25162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25163 wxKeyEvent_SetUnicodeKey(arg1
,arg2
);
25164 wxPyEndAllowThreads(__tstate
);
25165 if (PyErr_Occurred()) SWIG_fail
;
25167 resultobj
= SWIG_Py_Void();
25174 SWIGINTERN PyObject
*_wrap_KeyEvent_GetRawKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25175 PyObject
*resultobj
= 0;
25176 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
25177 unsigned int result
;
25180 PyObject
*swig_obj
[1] ;
25182 if (!args
) SWIG_fail
;
25183 swig_obj
[0] = args
;
25184 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
25185 if (!SWIG_IsOK(res1
)) {
25186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_GetRawKeyCode" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
25188 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
25190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25191 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyCode();
25192 wxPyEndAllowThreads(__tstate
);
25193 if (PyErr_Occurred()) SWIG_fail
;
25195 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
25202 SWIGINTERN PyObject
*_wrap_KeyEvent_GetRawKeyFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25203 PyObject
*resultobj
= 0;
25204 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
25205 unsigned int result
;
25208 PyObject
*swig_obj
[1] ;
25210 if (!args
) SWIG_fail
;
25211 swig_obj
[0] = args
;
25212 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
25213 if (!SWIG_IsOK(res1
)) {
25214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_GetRawKeyFlags" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
25216 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
25218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25219 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyFlags();
25220 wxPyEndAllowThreads(__tstate
);
25221 if (PyErr_Occurred()) SWIG_fail
;
25223 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
25230 SWIGINTERN PyObject
*_wrap_KeyEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25231 PyObject
*resultobj
= 0;
25232 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
25236 PyObject
*swig_obj
[1] ;
25238 if (!args
) SWIG_fail
;
25239 swig_obj
[0] = args
;
25240 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
25241 if (!SWIG_IsOK(res1
)) {
25242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_GetPosition" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
25244 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
25246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25247 result
= (arg1
)->GetPosition();
25248 wxPyEndAllowThreads(__tstate
);
25249 if (PyErr_Occurred()) SWIG_fail
;
25251 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25258 SWIGINTERN PyObject
*_wrap_KeyEvent_GetPositionTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25259 PyObject
*resultobj
= 0;
25260 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
25261 long *arg2
= (long *) 0 ;
25262 long *arg3
= (long *) 0 ;
25266 int res2
= SWIG_TMPOBJ
;
25268 int res3
= SWIG_TMPOBJ
;
25269 PyObject
*swig_obj
[1] ;
25273 if (!args
) SWIG_fail
;
25274 swig_obj
[0] = args
;
25275 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
25276 if (!SWIG_IsOK(res1
)) {
25277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_GetPositionTuple" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
25279 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
25281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25282 (arg1
)->GetPosition(arg2
,arg3
);
25283 wxPyEndAllowThreads(__tstate
);
25284 if (PyErr_Occurred()) SWIG_fail
;
25286 resultobj
= SWIG_Py_Void();
25287 if (SWIG_IsTmpObj(res2
)) {
25288 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
25290 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25291 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
25293 if (SWIG_IsTmpObj(res3
)) {
25294 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
25296 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25297 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
25305 SWIGINTERN PyObject
*_wrap_KeyEvent_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25306 PyObject
*resultobj
= 0;
25307 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
25311 PyObject
*swig_obj
[1] ;
25313 if (!args
) SWIG_fail
;
25314 swig_obj
[0] = args
;
25315 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
25316 if (!SWIG_IsOK(res1
)) {
25317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_GetX" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
25319 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
25321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25322 result
= (int)((wxKeyEvent
const *)arg1
)->GetX();
25323 wxPyEndAllowThreads(__tstate
);
25324 if (PyErr_Occurred()) SWIG_fail
;
25326 resultobj
= SWIG_From_int(static_cast< int >(result
));
25333 SWIGINTERN PyObject
*_wrap_KeyEvent_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25334 PyObject
*resultobj
= 0;
25335 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
25339 PyObject
*swig_obj
[1] ;
25341 if (!args
) SWIG_fail
;
25342 swig_obj
[0] = args
;
25343 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
25344 if (!SWIG_IsOK(res1
)) {
25345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_GetY" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
25347 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
25349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25350 result
= (int)((wxKeyEvent
const *)arg1
)->GetY();
25351 wxPyEndAllowThreads(__tstate
);
25352 if (PyErr_Occurred()) SWIG_fail
;
25354 resultobj
= SWIG_From_int(static_cast< int >(result
));
25361 SWIGINTERN PyObject
*_wrap_KeyEvent_m_x_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25362 PyObject
*resultobj
= 0;
25363 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
25369 PyObject
*swig_obj
[2] ;
25371 if (!SWIG_Python_UnpackTuple(args
,"KeyEvent_m_x_set",2,2,swig_obj
)) SWIG_fail
;
25372 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
25373 if (!SWIG_IsOK(res1
)) {
25374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_x_set" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
25376 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
25377 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
25378 if (!SWIG_IsOK(ecode2
)) {
25379 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "KeyEvent_m_x_set" "', expected argument " "2"" of type '" "int""'");
25381 arg2
= static_cast< int >(val2
);
25382 if (arg1
) (arg1
)->m_x
= arg2
;
25384 resultobj
= SWIG_Py_Void();
25391 SWIGINTERN PyObject
*_wrap_KeyEvent_m_x_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25392 PyObject
*resultobj
= 0;
25393 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
25397 PyObject
*swig_obj
[1] ;
25399 if (!args
) SWIG_fail
;
25400 swig_obj
[0] = args
;
25401 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
25402 if (!SWIG_IsOK(res1
)) {
25403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_x_get" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
25405 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
25406 result
= (int) ((arg1
)->m_x
);
25407 resultobj
= SWIG_From_int(static_cast< int >(result
));
25414 SWIGINTERN PyObject
*_wrap_KeyEvent_m_y_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25415 PyObject
*resultobj
= 0;
25416 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
25422 PyObject
*swig_obj
[2] ;
25424 if (!SWIG_Python_UnpackTuple(args
,"KeyEvent_m_y_set",2,2,swig_obj
)) SWIG_fail
;
25425 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
25426 if (!SWIG_IsOK(res1
)) {
25427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_y_set" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
25429 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
25430 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
25431 if (!SWIG_IsOK(ecode2
)) {
25432 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "KeyEvent_m_y_set" "', expected argument " "2"" of type '" "int""'");
25434 arg2
= static_cast< int >(val2
);
25435 if (arg1
) (arg1
)->m_y
= arg2
;
25437 resultobj
= SWIG_Py_Void();
25444 SWIGINTERN PyObject
*_wrap_KeyEvent_m_y_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25445 PyObject
*resultobj
= 0;
25446 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
25450 PyObject
*swig_obj
[1] ;
25452 if (!args
) SWIG_fail
;
25453 swig_obj
[0] = args
;
25454 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
25455 if (!SWIG_IsOK(res1
)) {
25456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_y_get" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
25458 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
25459 result
= (int) ((arg1
)->m_y
);
25460 resultobj
= SWIG_From_int(static_cast< int >(result
));
25467 SWIGINTERN PyObject
*_wrap_KeyEvent_m_keyCode_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25468 PyObject
*resultobj
= 0;
25469 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
25475 PyObject
*swig_obj
[2] ;
25477 if (!SWIG_Python_UnpackTuple(args
,"KeyEvent_m_keyCode_set",2,2,swig_obj
)) SWIG_fail
;
25478 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
25479 if (!SWIG_IsOK(res1
)) {
25480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_keyCode_set" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
25482 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
25483 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
25484 if (!SWIG_IsOK(ecode2
)) {
25485 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "KeyEvent_m_keyCode_set" "', expected argument " "2"" of type '" "long""'");
25487 arg2
= static_cast< long >(val2
);
25488 if (arg1
) (arg1
)->m_keyCode
= arg2
;
25490 resultobj
= SWIG_Py_Void();
25497 SWIGINTERN PyObject
*_wrap_KeyEvent_m_keyCode_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25498 PyObject
*resultobj
= 0;
25499 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
25503 PyObject
*swig_obj
[1] ;
25505 if (!args
) SWIG_fail
;
25506 swig_obj
[0] = args
;
25507 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
25508 if (!SWIG_IsOK(res1
)) {
25509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_keyCode_get" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
25511 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
25512 result
= (long) ((arg1
)->m_keyCode
);
25513 resultobj
= SWIG_From_long(static_cast< long >(result
));
25520 SWIGINTERN PyObject
*_wrap_KeyEvent_m_controlDown_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25521 PyObject
*resultobj
= 0;
25522 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
25528 PyObject
*swig_obj
[2] ;
25530 if (!SWIG_Python_UnpackTuple(args
,"KeyEvent_m_controlDown_set",2,2,swig_obj
)) SWIG_fail
;
25531 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
25532 if (!SWIG_IsOK(res1
)) {
25533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_controlDown_set" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
25535 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
25536 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
25537 if (!SWIG_IsOK(ecode2
)) {
25538 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "KeyEvent_m_controlDown_set" "', expected argument " "2"" of type '" "bool""'");
25540 arg2
= static_cast< bool >(val2
);
25541 if (arg1
) (arg1
)->m_controlDown
= arg2
;
25543 resultobj
= SWIG_Py_Void();
25550 SWIGINTERN PyObject
*_wrap_KeyEvent_m_controlDown_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25551 PyObject
*resultobj
= 0;
25552 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
25556 PyObject
*swig_obj
[1] ;
25558 if (!args
) SWIG_fail
;
25559 swig_obj
[0] = args
;
25560 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
25561 if (!SWIG_IsOK(res1
)) {
25562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_controlDown_get" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
25564 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
25565 result
= (bool) ((arg1
)->m_controlDown
);
25567 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25575 SWIGINTERN PyObject
*_wrap_KeyEvent_m_shiftDown_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25576 PyObject
*resultobj
= 0;
25577 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
25583 PyObject
*swig_obj
[2] ;
25585 if (!SWIG_Python_UnpackTuple(args
,"KeyEvent_m_shiftDown_set",2,2,swig_obj
)) SWIG_fail
;
25586 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
25587 if (!SWIG_IsOK(res1
)) {
25588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_shiftDown_set" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
25590 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
25591 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
25592 if (!SWIG_IsOK(ecode2
)) {
25593 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "KeyEvent_m_shiftDown_set" "', expected argument " "2"" of type '" "bool""'");
25595 arg2
= static_cast< bool >(val2
);
25596 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
25598 resultobj
= SWIG_Py_Void();
25605 SWIGINTERN PyObject
*_wrap_KeyEvent_m_shiftDown_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25606 PyObject
*resultobj
= 0;
25607 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
25611 PyObject
*swig_obj
[1] ;
25613 if (!args
) SWIG_fail
;
25614 swig_obj
[0] = args
;
25615 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
25616 if (!SWIG_IsOK(res1
)) {
25617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_shiftDown_get" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
25619 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
25620 result
= (bool) ((arg1
)->m_shiftDown
);
25622 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25630 SWIGINTERN PyObject
*_wrap_KeyEvent_m_altDown_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25631 PyObject
*resultobj
= 0;
25632 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
25638 PyObject
*swig_obj
[2] ;
25640 if (!SWIG_Python_UnpackTuple(args
,"KeyEvent_m_altDown_set",2,2,swig_obj
)) SWIG_fail
;
25641 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
25642 if (!SWIG_IsOK(res1
)) {
25643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_altDown_set" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
25645 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
25646 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
25647 if (!SWIG_IsOK(ecode2
)) {
25648 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "KeyEvent_m_altDown_set" "', expected argument " "2"" of type '" "bool""'");
25650 arg2
= static_cast< bool >(val2
);
25651 if (arg1
) (arg1
)->m_altDown
= arg2
;
25653 resultobj
= SWIG_Py_Void();
25660 SWIGINTERN PyObject
*_wrap_KeyEvent_m_altDown_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25661 PyObject
*resultobj
= 0;
25662 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
25666 PyObject
*swig_obj
[1] ;
25668 if (!args
) SWIG_fail
;
25669 swig_obj
[0] = args
;
25670 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
25671 if (!SWIG_IsOK(res1
)) {
25672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_altDown_get" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
25674 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
25675 result
= (bool) ((arg1
)->m_altDown
);
25677 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25685 SWIGINTERN PyObject
*_wrap_KeyEvent_m_metaDown_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25686 PyObject
*resultobj
= 0;
25687 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
25693 PyObject
*swig_obj
[2] ;
25695 if (!SWIG_Python_UnpackTuple(args
,"KeyEvent_m_metaDown_set",2,2,swig_obj
)) SWIG_fail
;
25696 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
25697 if (!SWIG_IsOK(res1
)) {
25698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_metaDown_set" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
25700 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
25701 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
25702 if (!SWIG_IsOK(ecode2
)) {
25703 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "KeyEvent_m_metaDown_set" "', expected argument " "2"" of type '" "bool""'");
25705 arg2
= static_cast< bool >(val2
);
25706 if (arg1
) (arg1
)->m_metaDown
= arg2
;
25708 resultobj
= SWIG_Py_Void();
25715 SWIGINTERN PyObject
*_wrap_KeyEvent_m_metaDown_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25716 PyObject
*resultobj
= 0;
25717 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
25721 PyObject
*swig_obj
[1] ;
25723 if (!args
) SWIG_fail
;
25724 swig_obj
[0] = args
;
25725 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
25726 if (!SWIG_IsOK(res1
)) {
25727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_metaDown_get" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
25729 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
25730 result
= (bool) ((arg1
)->m_metaDown
);
25732 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25740 SWIGINTERN PyObject
*_wrap_KeyEvent_m_scanCode_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25741 PyObject
*resultobj
= 0;
25742 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
25748 PyObject
*swig_obj
[2] ;
25750 if (!SWIG_Python_UnpackTuple(args
,"KeyEvent_m_scanCode_set",2,2,swig_obj
)) SWIG_fail
;
25751 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
25752 if (!SWIG_IsOK(res1
)) {
25753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_scanCode_set" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
25755 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
25756 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
25757 if (!SWIG_IsOK(ecode2
)) {
25758 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "KeyEvent_m_scanCode_set" "', expected argument " "2"" of type '" "bool""'");
25760 arg2
= static_cast< bool >(val2
);
25761 if (arg1
) (arg1
)->m_scanCode
= arg2
;
25763 resultobj
= SWIG_Py_Void();
25770 SWIGINTERN PyObject
*_wrap_KeyEvent_m_scanCode_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25771 PyObject
*resultobj
= 0;
25772 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
25776 PyObject
*swig_obj
[1] ;
25778 if (!args
) SWIG_fail
;
25779 swig_obj
[0] = args
;
25780 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
25781 if (!SWIG_IsOK(res1
)) {
25782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_scanCode_get" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
25784 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
25785 result
= (bool) ((arg1
)->m_scanCode
);
25787 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25795 SWIGINTERN PyObject
*_wrap_KeyEvent_m_rawCode_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25796 PyObject
*resultobj
= 0;
25797 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
25798 unsigned int arg2
;
25801 unsigned int val2
;
25803 PyObject
*swig_obj
[2] ;
25805 if (!SWIG_Python_UnpackTuple(args
,"KeyEvent_m_rawCode_set",2,2,swig_obj
)) SWIG_fail
;
25806 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
25807 if (!SWIG_IsOK(res1
)) {
25808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_rawCode_set" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
25810 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
25811 ecode2
= SWIG_AsVal_unsigned_SS_int(swig_obj
[1], &val2
);
25812 if (!SWIG_IsOK(ecode2
)) {
25813 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "KeyEvent_m_rawCode_set" "', expected argument " "2"" of type '" "unsigned int""'");
25815 arg2
= static_cast< unsigned int >(val2
);
25816 if (arg1
) (arg1
)->m_rawCode
= arg2
;
25818 resultobj
= SWIG_Py_Void();
25825 SWIGINTERN PyObject
*_wrap_KeyEvent_m_rawCode_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25826 PyObject
*resultobj
= 0;
25827 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
25828 unsigned int result
;
25831 PyObject
*swig_obj
[1] ;
25833 if (!args
) SWIG_fail
;
25834 swig_obj
[0] = args
;
25835 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
25836 if (!SWIG_IsOK(res1
)) {
25837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_rawCode_get" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
25839 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
25840 result
= (unsigned int) ((arg1
)->m_rawCode
);
25841 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
25848 SWIGINTERN PyObject
*_wrap_KeyEvent_m_rawFlags_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25849 PyObject
*resultobj
= 0;
25850 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
25851 unsigned int arg2
;
25854 unsigned int val2
;
25856 PyObject
*swig_obj
[2] ;
25858 if (!SWIG_Python_UnpackTuple(args
,"KeyEvent_m_rawFlags_set",2,2,swig_obj
)) SWIG_fail
;
25859 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
25860 if (!SWIG_IsOK(res1
)) {
25861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_rawFlags_set" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
25863 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
25864 ecode2
= SWIG_AsVal_unsigned_SS_int(swig_obj
[1], &val2
);
25865 if (!SWIG_IsOK(ecode2
)) {
25866 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "KeyEvent_m_rawFlags_set" "', expected argument " "2"" of type '" "unsigned int""'");
25868 arg2
= static_cast< unsigned int >(val2
);
25869 if (arg1
) (arg1
)->m_rawFlags
= arg2
;
25871 resultobj
= SWIG_Py_Void();
25878 SWIGINTERN PyObject
*_wrap_KeyEvent_m_rawFlags_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25879 PyObject
*resultobj
= 0;
25880 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
25881 unsigned int result
;
25884 PyObject
*swig_obj
[1] ;
25886 if (!args
) SWIG_fail
;
25887 swig_obj
[0] = args
;
25888 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
25889 if (!SWIG_IsOK(res1
)) {
25890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_rawFlags_get" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
25892 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
25893 result
= (unsigned int) ((arg1
)->m_rawFlags
);
25894 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
25901 SWIGINTERN PyObject
*KeyEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25903 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25904 SWIG_TypeNewClientData(SWIGTYPE_p_wxKeyEvent
, SWIG_NewClientData(obj
));
25905 return SWIG_Py_Void();
25908 SWIGINTERN PyObject
*KeyEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25909 return SWIG_Python_InitShadowInstance(args
);
25912 SWIGINTERN PyObject
*_wrap_new_SizeEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25913 PyObject
*resultobj
= 0;
25914 wxSize
const &arg1_defvalue
= wxDefaultSize
;
25915 wxSize
*arg1
= (wxSize
*) &arg1_defvalue
;
25916 int arg2
= (int) 0 ;
25917 wxSizeEvent
*result
= 0 ;
25921 PyObject
* obj0
= 0 ;
25922 PyObject
* obj1
= 0 ;
25923 char * kwnames
[] = {
25924 (char *) "sz",(char *) "winid", NULL
25927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SizeEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25931 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
25935 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25936 if (!SWIG_IsOK(ecode2
)) {
25937 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SizeEvent" "', expected argument " "2"" of type '" "int""'");
25939 arg2
= static_cast< int >(val2
);
25942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25943 result
= (wxSizeEvent
*)new wxSizeEvent((wxSize
const &)*arg1
,arg2
);
25944 wxPyEndAllowThreads(__tstate
);
25945 if (PyErr_Occurred()) SWIG_fail
;
25947 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_NEW
| 0 );
25954 SWIGINTERN PyObject
*_wrap_SizeEvent_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25955 PyObject
*resultobj
= 0;
25956 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
25960 PyObject
*swig_obj
[1] ;
25962 if (!args
) SWIG_fail
;
25963 swig_obj
[0] = args
;
25964 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizeEvent
, 0 | 0 );
25965 if (!SWIG_IsOK(res1
)) {
25966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizeEvent_GetSize" "', expected argument " "1"" of type '" "wxSizeEvent const *""'");
25968 arg1
= reinterpret_cast< wxSizeEvent
* >(argp1
);
25970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25971 result
= ((wxSizeEvent
const *)arg1
)->GetSize();
25972 wxPyEndAllowThreads(__tstate
);
25973 if (PyErr_Occurred()) SWIG_fail
;
25975 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25982 SWIGINTERN PyObject
*_wrap_SizeEvent_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25983 PyObject
*resultobj
= 0;
25984 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
25988 PyObject
*swig_obj
[1] ;
25990 if (!args
) SWIG_fail
;
25991 swig_obj
[0] = args
;
25992 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizeEvent
, 0 | 0 );
25993 if (!SWIG_IsOK(res1
)) {
25994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizeEvent_GetRect" "', expected argument " "1"" of type '" "wxSizeEvent const *""'");
25996 arg1
= reinterpret_cast< wxSizeEvent
* >(argp1
);
25998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25999 result
= ((wxSizeEvent
const *)arg1
)->GetRect();
26000 wxPyEndAllowThreads(__tstate
);
26001 if (PyErr_Occurred()) SWIG_fail
;
26003 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
26010 SWIGINTERN PyObject
*_wrap_SizeEvent_SetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26011 PyObject
*resultobj
= 0;
26012 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
26018 PyObject
* obj0
= 0 ;
26019 PyObject
* obj1
= 0 ;
26020 char * kwnames
[] = {
26021 (char *) "self",(char *) "rect", NULL
26024 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26025 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizeEvent
, 0 | 0 );
26026 if (!SWIG_IsOK(res1
)) {
26027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizeEvent_SetRect" "', expected argument " "1"" of type '" "wxSizeEvent *""'");
26029 arg1
= reinterpret_cast< wxSizeEvent
* >(argp1
);
26031 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRect
, 0 | 0);
26032 if (!SWIG_IsOK(res2
)) {
26033 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SizeEvent_SetRect" "', expected argument " "2"" of type '" "wxRect""'");
26036 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SizeEvent_SetRect" "', expected argument " "2"" of type '" "wxRect""'");
26038 wxRect
* temp
= reinterpret_cast< wxRect
* >(argp2
);
26040 if (SWIG_IsNewObj(res2
)) delete temp
;
26044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26045 (arg1
)->SetRect(arg2
);
26046 wxPyEndAllowThreads(__tstate
);
26047 if (PyErr_Occurred()) SWIG_fail
;
26049 resultobj
= SWIG_Py_Void();
26056 SWIGINTERN PyObject
*_wrap_SizeEvent_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26057 PyObject
*resultobj
= 0;
26058 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
26064 PyObject
* obj0
= 0 ;
26065 PyObject
* obj1
= 0 ;
26066 char * kwnames
[] = {
26067 (char *) "self",(char *) "size", NULL
26070 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26071 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizeEvent
, 0 | 0 );
26072 if (!SWIG_IsOK(res1
)) {
26073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizeEvent_SetSize" "', expected argument " "1"" of type '" "wxSizeEvent *""'");
26075 arg1
= reinterpret_cast< wxSizeEvent
* >(argp1
);
26077 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxSize
, 0 | 0);
26078 if (!SWIG_IsOK(res2
)) {
26079 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SizeEvent_SetSize" "', expected argument " "2"" of type '" "wxSize""'");
26082 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SizeEvent_SetSize" "', expected argument " "2"" of type '" "wxSize""'");
26084 wxSize
* temp
= reinterpret_cast< wxSize
* >(argp2
);
26086 if (SWIG_IsNewObj(res2
)) delete temp
;
26090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26091 wxSizeEvent_SetSize(arg1
,arg2
);
26092 wxPyEndAllowThreads(__tstate
);
26093 if (PyErr_Occurred()) SWIG_fail
;
26095 resultobj
= SWIG_Py_Void();
26102 SWIGINTERN PyObject
*_wrap_SizeEvent_m_size_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26103 PyObject
*resultobj
= 0;
26104 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
26105 wxSize
*arg2
= (wxSize
*) 0 ;
26110 PyObject
*swig_obj
[2] ;
26112 if (!SWIG_Python_UnpackTuple(args
,"SizeEvent_m_size_set",2,2,swig_obj
)) SWIG_fail
;
26113 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizeEvent
, 0 | 0 );
26114 if (!SWIG_IsOK(res1
)) {
26115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizeEvent_m_size_set" "', expected argument " "1"" of type '" "wxSizeEvent *""'");
26117 arg1
= reinterpret_cast< wxSizeEvent
* >(argp1
);
26118 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxSize
, 0 | 0 );
26119 if (!SWIG_IsOK(res2
)) {
26120 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SizeEvent_m_size_set" "', expected argument " "2"" of type '" "wxSize *""'");
26122 arg2
= reinterpret_cast< wxSize
* >(argp2
);
26123 if (arg1
) (arg1
)->m_size
= *arg2
;
26125 resultobj
= SWIG_Py_Void();
26132 SWIGINTERN PyObject
*_wrap_SizeEvent_m_size_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26133 PyObject
*resultobj
= 0;
26134 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
26135 wxSize
*result
= 0 ;
26138 PyObject
*swig_obj
[1] ;
26140 if (!args
) SWIG_fail
;
26141 swig_obj
[0] = args
;
26142 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizeEvent
, 0 | 0 );
26143 if (!SWIG_IsOK(res1
)) {
26144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizeEvent_m_size_get" "', expected argument " "1"" of type '" "wxSizeEvent *""'");
26146 arg1
= reinterpret_cast< wxSizeEvent
* >(argp1
);
26147 result
= (wxSize
*)& ((arg1
)->m_size
);
26148 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSize
, 0 | 0 );
26155 SWIGINTERN PyObject
*_wrap_SizeEvent_m_rect_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26156 PyObject
*resultobj
= 0;
26157 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
26158 wxRect
*arg2
= (wxRect
*) 0 ;
26163 PyObject
*swig_obj
[2] ;
26165 if (!SWIG_Python_UnpackTuple(args
,"SizeEvent_m_rect_set",2,2,swig_obj
)) SWIG_fail
;
26166 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizeEvent
, 0 | 0 );
26167 if (!SWIG_IsOK(res1
)) {
26168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizeEvent_m_rect_set" "', expected argument " "1"" of type '" "wxSizeEvent *""'");
26170 arg1
= reinterpret_cast< wxSizeEvent
* >(argp1
);
26171 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
26172 if (!SWIG_IsOK(res2
)) {
26173 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SizeEvent_m_rect_set" "', expected argument " "2"" of type '" "wxRect *""'");
26175 arg2
= reinterpret_cast< wxRect
* >(argp2
);
26176 if (arg1
) (arg1
)->m_rect
= *arg2
;
26178 resultobj
= SWIG_Py_Void();
26185 SWIGINTERN PyObject
*_wrap_SizeEvent_m_rect_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26186 PyObject
*resultobj
= 0;
26187 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
26188 wxRect
*result
= 0 ;
26191 PyObject
*swig_obj
[1] ;
26193 if (!args
) SWIG_fail
;
26194 swig_obj
[0] = args
;
26195 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizeEvent
, 0 | 0 );
26196 if (!SWIG_IsOK(res1
)) {
26197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizeEvent_m_rect_get" "', expected argument " "1"" of type '" "wxSizeEvent *""'");
26199 arg1
= reinterpret_cast< wxSizeEvent
* >(argp1
);
26200 result
= (wxRect
*)& ((arg1
)->m_rect
);
26201 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRect
, 0 | 0 );
26208 SWIGINTERN PyObject
*SizeEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26210 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26211 SWIG_TypeNewClientData(SWIGTYPE_p_wxSizeEvent
, SWIG_NewClientData(obj
));
26212 return SWIG_Py_Void();
26215 SWIGINTERN PyObject
*SizeEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26216 return SWIG_Python_InitShadowInstance(args
);
26219 SWIGINTERN PyObject
*_wrap_new_MoveEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26220 PyObject
*resultobj
= 0;
26221 wxPoint
const &arg1_defvalue
= wxDefaultPosition
;
26222 wxPoint
*arg1
= (wxPoint
*) &arg1_defvalue
;
26223 int arg2
= (int) 0 ;
26224 wxMoveEvent
*result
= 0 ;
26228 PyObject
* obj0
= 0 ;
26229 PyObject
* obj1
= 0 ;
26230 char * kwnames
[] = {
26231 (char *) "pos",(char *) "winid", NULL
26234 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MoveEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26238 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
26242 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26243 if (!SWIG_IsOK(ecode2
)) {
26244 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MoveEvent" "', expected argument " "2"" of type '" "int""'");
26246 arg2
= static_cast< int >(val2
);
26249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26250 result
= (wxMoveEvent
*)new wxMoveEvent((wxPoint
const &)*arg1
,arg2
);
26251 wxPyEndAllowThreads(__tstate
);
26252 if (PyErr_Occurred()) SWIG_fail
;
26254 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_NEW
| 0 );
26261 SWIGINTERN PyObject
*_wrap_MoveEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26262 PyObject
*resultobj
= 0;
26263 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
26267 PyObject
*swig_obj
[1] ;
26269 if (!args
) SWIG_fail
;
26270 swig_obj
[0] = args
;
26271 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMoveEvent
, 0 | 0 );
26272 if (!SWIG_IsOK(res1
)) {
26273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MoveEvent_GetPosition" "', expected argument " "1"" of type '" "wxMoveEvent const *""'");
26275 arg1
= reinterpret_cast< wxMoveEvent
* >(argp1
);
26277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26278 result
= ((wxMoveEvent
const *)arg1
)->GetPosition();
26279 wxPyEndAllowThreads(__tstate
);
26280 if (PyErr_Occurred()) SWIG_fail
;
26282 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
26289 SWIGINTERN PyObject
*_wrap_MoveEvent_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26290 PyObject
*resultobj
= 0;
26291 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
26295 PyObject
*swig_obj
[1] ;
26297 if (!args
) SWIG_fail
;
26298 swig_obj
[0] = args
;
26299 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMoveEvent
, 0 | 0 );
26300 if (!SWIG_IsOK(res1
)) {
26301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MoveEvent_GetRect" "', expected argument " "1"" of type '" "wxMoveEvent const *""'");
26303 arg1
= reinterpret_cast< wxMoveEvent
* >(argp1
);
26305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26306 result
= ((wxMoveEvent
const *)arg1
)->GetRect();
26307 wxPyEndAllowThreads(__tstate
);
26308 if (PyErr_Occurred()) SWIG_fail
;
26310 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
26317 SWIGINTERN PyObject
*_wrap_MoveEvent_SetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26318 PyObject
*resultobj
= 0;
26319 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
26324 PyObject
* obj0
= 0 ;
26325 PyObject
* obj1
= 0 ;
26326 char * kwnames
[] = {
26327 (char *) "self",(char *) "rect", NULL
26330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26331 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMoveEvent
, 0 | 0 );
26332 if (!SWIG_IsOK(res1
)) {
26333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MoveEvent_SetRect" "', expected argument " "1"" of type '" "wxMoveEvent *""'");
26335 arg1
= reinterpret_cast< wxMoveEvent
* >(argp1
);
26338 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
26341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26342 (arg1
)->SetRect((wxRect
const &)*arg2
);
26343 wxPyEndAllowThreads(__tstate
);
26344 if (PyErr_Occurred()) SWIG_fail
;
26346 resultobj
= SWIG_Py_Void();
26353 SWIGINTERN PyObject
*_wrap_MoveEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26354 PyObject
*resultobj
= 0;
26355 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
26356 wxPoint
*arg2
= 0 ;
26360 PyObject
* obj0
= 0 ;
26361 PyObject
* obj1
= 0 ;
26362 char * kwnames
[] = {
26363 (char *) "self",(char *) "pos", NULL
26366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26367 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMoveEvent
, 0 | 0 );
26368 if (!SWIG_IsOK(res1
)) {
26369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MoveEvent_SetPosition" "', expected argument " "1"" of type '" "wxMoveEvent *""'");
26371 arg1
= reinterpret_cast< wxMoveEvent
* >(argp1
);
26374 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26378 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
26379 wxPyEndAllowThreads(__tstate
);
26380 if (PyErr_Occurred()) SWIG_fail
;
26382 resultobj
= SWIG_Py_Void();
26389 SWIGINTERN PyObject
*MoveEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26391 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26392 SWIG_TypeNewClientData(SWIGTYPE_p_wxMoveEvent
, SWIG_NewClientData(obj
));
26393 return SWIG_Py_Void();
26396 SWIGINTERN PyObject
*MoveEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26397 return SWIG_Python_InitShadowInstance(args
);
26400 SWIGINTERN PyObject
*_wrap_new_PaintEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26401 PyObject
*resultobj
= 0;
26402 int arg1
= (int) 0 ;
26403 wxPaintEvent
*result
= 0 ;
26406 PyObject
* obj0
= 0 ;
26407 char * kwnames
[] = {
26408 (char *) "Id", NULL
26411 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaintEvent",kwnames
,&obj0
)) SWIG_fail
;
26413 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
26414 if (!SWIG_IsOK(ecode1
)) {
26415 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PaintEvent" "', expected argument " "1"" of type '" "int""'");
26417 arg1
= static_cast< int >(val1
);
26420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26421 result
= (wxPaintEvent
*)new wxPaintEvent(arg1
);
26422 wxPyEndAllowThreads(__tstate
);
26423 if (PyErr_Occurred()) SWIG_fail
;
26425 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaintEvent
, SWIG_POINTER_NEW
| 0 );
26432 SWIGINTERN PyObject
*PaintEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26434 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26435 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaintEvent
, SWIG_NewClientData(obj
));
26436 return SWIG_Py_Void();
26439 SWIGINTERN PyObject
*PaintEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26440 return SWIG_Python_InitShadowInstance(args
);
26443 SWIGINTERN PyObject
*_wrap_new_NcPaintEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26444 PyObject
*resultobj
= 0;
26445 int arg1
= (int) 0 ;
26446 wxNcPaintEvent
*result
= 0 ;
26449 PyObject
* obj0
= 0 ;
26450 char * kwnames
[] = {
26451 (char *) "winid", NULL
26454 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_NcPaintEvent",kwnames
,&obj0
)) SWIG_fail
;
26456 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
26457 if (!SWIG_IsOK(ecode1
)) {
26458 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_NcPaintEvent" "', expected argument " "1"" of type '" "int""'");
26460 arg1
= static_cast< int >(val1
);
26463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26464 result
= (wxNcPaintEvent
*)new wxNcPaintEvent(arg1
);
26465 wxPyEndAllowThreads(__tstate
);
26466 if (PyErr_Occurred()) SWIG_fail
;
26468 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNcPaintEvent
, SWIG_POINTER_NEW
| 0 );
26475 SWIGINTERN PyObject
*NcPaintEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26477 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26478 SWIG_TypeNewClientData(SWIGTYPE_p_wxNcPaintEvent
, SWIG_NewClientData(obj
));
26479 return SWIG_Py_Void();
26482 SWIGINTERN PyObject
*NcPaintEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26483 return SWIG_Python_InitShadowInstance(args
);
26486 SWIGINTERN PyObject
*_wrap_new_EraseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26487 PyObject
*resultobj
= 0;
26488 int arg1
= (int) 0 ;
26489 wxDC
*arg2
= (wxDC
*) NULL
;
26490 wxEraseEvent
*result
= 0 ;
26495 PyObject
* obj0
= 0 ;
26496 PyObject
* obj1
= 0 ;
26497 char * kwnames
[] = {
26498 (char *) "Id",(char *) "dc", NULL
26501 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_EraseEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26503 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
26504 if (!SWIG_IsOK(ecode1
)) {
26505 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_EraseEvent" "', expected argument " "1"" of type '" "int""'");
26507 arg1
= static_cast< int >(val1
);
26510 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
26511 if (!SWIG_IsOK(res2
)) {
26512 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_EraseEvent" "', expected argument " "2"" of type '" "wxDC *""'");
26514 arg2
= reinterpret_cast< wxDC
* >(argp2
);
26517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26518 result
= (wxEraseEvent
*)new wxEraseEvent(arg1
,arg2
);
26519 wxPyEndAllowThreads(__tstate
);
26520 if (PyErr_Occurred()) SWIG_fail
;
26522 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEraseEvent
, SWIG_POINTER_NEW
| 0 );
26529 SWIGINTERN PyObject
*_wrap_EraseEvent_GetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26530 PyObject
*resultobj
= 0;
26531 wxEraseEvent
*arg1
= (wxEraseEvent
*) 0 ;
26535 PyObject
*swig_obj
[1] ;
26537 if (!args
) SWIG_fail
;
26538 swig_obj
[0] = args
;
26539 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEraseEvent
, 0 | 0 );
26540 if (!SWIG_IsOK(res1
)) {
26541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EraseEvent_GetDC" "', expected argument " "1"" of type '" "wxEraseEvent const *""'");
26543 arg1
= reinterpret_cast< wxEraseEvent
* >(argp1
);
26545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26546 result
= (wxDC
*)((wxEraseEvent
const *)arg1
)->GetDC();
26547 wxPyEndAllowThreads(__tstate
);
26548 if (PyErr_Occurred()) SWIG_fail
;
26551 resultobj
= wxPyMake_wxObject(result
, (bool)0);
26559 SWIGINTERN PyObject
*EraseEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26561 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26562 SWIG_TypeNewClientData(SWIGTYPE_p_wxEraseEvent
, SWIG_NewClientData(obj
));
26563 return SWIG_Py_Void();
26566 SWIGINTERN PyObject
*EraseEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26567 return SWIG_Python_InitShadowInstance(args
);
26570 SWIGINTERN PyObject
*_wrap_new_FocusEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26571 PyObject
*resultobj
= 0;
26572 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
26573 int arg2
= (int) 0 ;
26574 wxFocusEvent
*result
= 0 ;
26579 PyObject
* obj0
= 0 ;
26580 PyObject
* obj1
= 0 ;
26581 char * kwnames
[] = {
26582 (char *) "type",(char *) "winid", NULL
26585 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FocusEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26587 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
26588 if (!SWIG_IsOK(ecode1
)) {
26589 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FocusEvent" "', expected argument " "1"" of type '" "wxEventType""'");
26591 arg1
= static_cast< wxEventType
>(val1
);
26594 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26595 if (!SWIG_IsOK(ecode2
)) {
26596 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FocusEvent" "', expected argument " "2"" of type '" "int""'");
26598 arg2
= static_cast< int >(val2
);
26601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26602 result
= (wxFocusEvent
*)new wxFocusEvent(arg1
,arg2
);
26603 wxPyEndAllowThreads(__tstate
);
26604 if (PyErr_Occurred()) SWIG_fail
;
26606 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFocusEvent
, SWIG_POINTER_NEW
| 0 );
26613 SWIGINTERN PyObject
*_wrap_FocusEvent_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26614 PyObject
*resultobj
= 0;
26615 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
26616 wxWindow
*result
= 0 ;
26619 PyObject
*swig_obj
[1] ;
26621 if (!args
) SWIG_fail
;
26622 swig_obj
[0] = args
;
26623 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFocusEvent
, 0 | 0 );
26624 if (!SWIG_IsOK(res1
)) {
26625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FocusEvent_GetWindow" "', expected argument " "1"" of type '" "wxFocusEvent const *""'");
26627 arg1
= reinterpret_cast< wxFocusEvent
* >(argp1
);
26629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26630 result
= (wxWindow
*)((wxFocusEvent
const *)arg1
)->GetWindow();
26631 wxPyEndAllowThreads(__tstate
);
26632 if (PyErr_Occurred()) SWIG_fail
;
26635 resultobj
= wxPyMake_wxObject(result
, (bool)0);
26643 SWIGINTERN PyObject
*_wrap_FocusEvent_SetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26644 PyObject
*resultobj
= 0;
26645 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
26646 wxWindow
*arg2
= (wxWindow
*) 0 ;
26651 PyObject
* obj0
= 0 ;
26652 PyObject
* obj1
= 0 ;
26653 char * kwnames
[] = {
26654 (char *) "self",(char *) "win", NULL
26657 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26658 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFocusEvent
, 0 | 0 );
26659 if (!SWIG_IsOK(res1
)) {
26660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FocusEvent_SetWindow" "', expected argument " "1"" of type '" "wxFocusEvent *""'");
26662 arg1
= reinterpret_cast< wxFocusEvent
* >(argp1
);
26663 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26664 if (!SWIG_IsOK(res2
)) {
26665 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FocusEvent_SetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
26667 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
26669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26670 (arg1
)->SetWindow(arg2
);
26671 wxPyEndAllowThreads(__tstate
);
26672 if (PyErr_Occurred()) SWIG_fail
;
26674 resultobj
= SWIG_Py_Void();
26681 SWIGINTERN PyObject
*FocusEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26683 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26684 SWIG_TypeNewClientData(SWIGTYPE_p_wxFocusEvent
, SWIG_NewClientData(obj
));
26685 return SWIG_Py_Void();
26688 SWIGINTERN PyObject
*FocusEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26689 return SWIG_Python_InitShadowInstance(args
);
26692 SWIGINTERN PyObject
*_wrap_new_ChildFocusEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26693 PyObject
*resultobj
= 0;
26694 wxWindow
*arg1
= (wxWindow
*) NULL
;
26695 wxChildFocusEvent
*result
= 0 ;
26698 PyObject
* obj0
= 0 ;
26699 char * kwnames
[] = {
26700 (char *) "win", NULL
26703 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ChildFocusEvent",kwnames
,&obj0
)) SWIG_fail
;
26705 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26706 if (!SWIG_IsOK(res1
)) {
26707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ChildFocusEvent" "', expected argument " "1"" of type '" "wxWindow *""'");
26709 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
26712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26713 result
= (wxChildFocusEvent
*)new wxChildFocusEvent(arg1
);
26714 wxPyEndAllowThreads(__tstate
);
26715 if (PyErr_Occurred()) SWIG_fail
;
26717 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChildFocusEvent
, SWIG_POINTER_NEW
| 0 );
26724 SWIGINTERN PyObject
*_wrap_ChildFocusEvent_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26725 PyObject
*resultobj
= 0;
26726 wxChildFocusEvent
*arg1
= (wxChildFocusEvent
*) 0 ;
26727 wxWindow
*result
= 0 ;
26730 PyObject
*swig_obj
[1] ;
26732 if (!args
) SWIG_fail
;
26733 swig_obj
[0] = args
;
26734 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChildFocusEvent
, 0 | 0 );
26735 if (!SWIG_IsOK(res1
)) {
26736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ChildFocusEvent_GetWindow" "', expected argument " "1"" of type '" "wxChildFocusEvent const *""'");
26738 arg1
= reinterpret_cast< wxChildFocusEvent
* >(argp1
);
26740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26741 result
= (wxWindow
*)((wxChildFocusEvent
const *)arg1
)->GetWindow();
26742 wxPyEndAllowThreads(__tstate
);
26743 if (PyErr_Occurred()) SWIG_fail
;
26746 resultobj
= wxPyMake_wxObject(result
, (bool)0);
26754 SWIGINTERN PyObject
*ChildFocusEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26756 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26757 SWIG_TypeNewClientData(SWIGTYPE_p_wxChildFocusEvent
, SWIG_NewClientData(obj
));
26758 return SWIG_Py_Void();
26761 SWIGINTERN PyObject
*ChildFocusEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26762 return SWIG_Python_InitShadowInstance(args
);
26765 SWIGINTERN PyObject
*_wrap_new_ActivateEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26766 PyObject
*resultobj
= 0;
26767 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
26768 bool arg2
= (bool) true ;
26769 int arg3
= (int) 0 ;
26770 wxActivateEvent
*result
= 0 ;
26777 PyObject
* obj0
= 0 ;
26778 PyObject
* obj1
= 0 ;
26779 PyObject
* obj2
= 0 ;
26780 char * kwnames
[] = {
26781 (char *) "type",(char *) "active",(char *) "Id", NULL
26784 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ActivateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26786 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
26787 if (!SWIG_IsOK(ecode1
)) {
26788 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ActivateEvent" "', expected argument " "1"" of type '" "wxEventType""'");
26790 arg1
= static_cast< wxEventType
>(val1
);
26793 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26794 if (!SWIG_IsOK(ecode2
)) {
26795 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ActivateEvent" "', expected argument " "2"" of type '" "bool""'");
26797 arg2
= static_cast< bool >(val2
);
26800 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
26801 if (!SWIG_IsOK(ecode3
)) {
26802 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ActivateEvent" "', expected argument " "3"" of type '" "int""'");
26804 arg3
= static_cast< int >(val3
);
26807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26808 result
= (wxActivateEvent
*)new wxActivateEvent(arg1
,arg2
,arg3
);
26809 wxPyEndAllowThreads(__tstate
);
26810 if (PyErr_Occurred()) SWIG_fail
;
26812 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxActivateEvent
, SWIG_POINTER_NEW
| 0 );
26819 SWIGINTERN PyObject
*_wrap_ActivateEvent_GetActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26820 PyObject
*resultobj
= 0;
26821 wxActivateEvent
*arg1
= (wxActivateEvent
*) 0 ;
26825 PyObject
*swig_obj
[1] ;
26827 if (!args
) SWIG_fail
;
26828 swig_obj
[0] = args
;
26829 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxActivateEvent
, 0 | 0 );
26830 if (!SWIG_IsOK(res1
)) {
26831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ActivateEvent_GetActive" "', expected argument " "1"" of type '" "wxActivateEvent const *""'");
26833 arg1
= reinterpret_cast< wxActivateEvent
* >(argp1
);
26835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26836 result
= (bool)((wxActivateEvent
const *)arg1
)->GetActive();
26837 wxPyEndAllowThreads(__tstate
);
26838 if (PyErr_Occurred()) SWIG_fail
;
26841 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26849 SWIGINTERN PyObject
*ActivateEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26851 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26852 SWIG_TypeNewClientData(SWIGTYPE_p_wxActivateEvent
, SWIG_NewClientData(obj
));
26853 return SWIG_Py_Void();
26856 SWIGINTERN PyObject
*ActivateEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26857 return SWIG_Python_InitShadowInstance(args
);
26860 SWIGINTERN PyObject
*_wrap_new_InitDialogEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26861 PyObject
*resultobj
= 0;
26862 int arg1
= (int) 0 ;
26863 wxInitDialogEvent
*result
= 0 ;
26866 PyObject
* obj0
= 0 ;
26867 char * kwnames
[] = {
26868 (char *) "Id", NULL
26871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_InitDialogEvent",kwnames
,&obj0
)) SWIG_fail
;
26873 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
26874 if (!SWIG_IsOK(ecode1
)) {
26875 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_InitDialogEvent" "', expected argument " "1"" of type '" "int""'");
26877 arg1
= static_cast< int >(val1
);
26880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26881 result
= (wxInitDialogEvent
*)new wxInitDialogEvent(arg1
);
26882 wxPyEndAllowThreads(__tstate
);
26883 if (PyErr_Occurred()) SWIG_fail
;
26885 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxInitDialogEvent
, SWIG_POINTER_NEW
| 0 );
26892 SWIGINTERN PyObject
*InitDialogEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26894 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26895 SWIG_TypeNewClientData(SWIGTYPE_p_wxInitDialogEvent
, SWIG_NewClientData(obj
));
26896 return SWIG_Py_Void();
26899 SWIGINTERN PyObject
*InitDialogEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26900 return SWIG_Python_InitShadowInstance(args
);
26903 SWIGINTERN PyObject
*_wrap_new_MenuEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26904 PyObject
*resultobj
= 0;
26905 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
26906 int arg2
= (int) 0 ;
26907 wxMenu
*arg3
= (wxMenu
*) NULL
;
26908 wxMenuEvent
*result
= 0 ;
26915 PyObject
* obj0
= 0 ;
26916 PyObject
* obj1
= 0 ;
26917 PyObject
* obj2
= 0 ;
26918 char * kwnames
[] = {
26919 (char *) "type",(char *) "winid",(char *) "menu", NULL
26922 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_MenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26924 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
26925 if (!SWIG_IsOK(ecode1
)) {
26926 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_MenuEvent" "', expected argument " "1"" of type '" "wxEventType""'");
26928 arg1
= static_cast< wxEventType
>(val1
);
26931 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26932 if (!SWIG_IsOK(ecode2
)) {
26933 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MenuEvent" "', expected argument " "2"" of type '" "int""'");
26935 arg2
= static_cast< int >(val2
);
26938 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxMenu
, 0 | 0 );
26939 if (!SWIG_IsOK(res3
)) {
26940 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_MenuEvent" "', expected argument " "3"" of type '" "wxMenu *""'");
26942 arg3
= reinterpret_cast< wxMenu
* >(argp3
);
26945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26946 result
= (wxMenuEvent
*)new wxMenuEvent(arg1
,arg2
,arg3
);
26947 wxPyEndAllowThreads(__tstate
);
26948 if (PyErr_Occurred()) SWIG_fail
;
26950 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_NEW
| 0 );
26957 SWIGINTERN PyObject
*_wrap_MenuEvent_GetMenuId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26958 PyObject
*resultobj
= 0;
26959 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
26963 PyObject
*swig_obj
[1] ;
26965 if (!args
) SWIG_fail
;
26966 swig_obj
[0] = args
;
26967 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuEvent
, 0 | 0 );
26968 if (!SWIG_IsOK(res1
)) {
26969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuEvent_GetMenuId" "', expected argument " "1"" of type '" "wxMenuEvent const *""'");
26971 arg1
= reinterpret_cast< wxMenuEvent
* >(argp1
);
26973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26974 result
= (int)((wxMenuEvent
const *)arg1
)->GetMenuId();
26975 wxPyEndAllowThreads(__tstate
);
26976 if (PyErr_Occurred()) SWIG_fail
;
26978 resultobj
= SWIG_From_int(static_cast< int >(result
));
26985 SWIGINTERN PyObject
*_wrap_MenuEvent_IsPopup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26986 PyObject
*resultobj
= 0;
26987 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
26991 PyObject
*swig_obj
[1] ;
26993 if (!args
) SWIG_fail
;
26994 swig_obj
[0] = args
;
26995 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuEvent
, 0 | 0 );
26996 if (!SWIG_IsOK(res1
)) {
26997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuEvent_IsPopup" "', expected argument " "1"" of type '" "wxMenuEvent const *""'");
26999 arg1
= reinterpret_cast< wxMenuEvent
* >(argp1
);
27001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27002 result
= (bool)((wxMenuEvent
const *)arg1
)->IsPopup();
27003 wxPyEndAllowThreads(__tstate
);
27004 if (PyErr_Occurred()) SWIG_fail
;
27007 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27015 SWIGINTERN PyObject
*_wrap_MenuEvent_GetMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27016 PyObject
*resultobj
= 0;
27017 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
27018 wxMenu
*result
= 0 ;
27021 PyObject
*swig_obj
[1] ;
27023 if (!args
) SWIG_fail
;
27024 swig_obj
[0] = args
;
27025 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuEvent
, 0 | 0 );
27026 if (!SWIG_IsOK(res1
)) {
27027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuEvent_GetMenu" "', expected argument " "1"" of type '" "wxMenuEvent const *""'");
27029 arg1
= reinterpret_cast< wxMenuEvent
* >(argp1
);
27031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27032 result
= (wxMenu
*)((wxMenuEvent
const *)arg1
)->GetMenu();
27033 wxPyEndAllowThreads(__tstate
);
27034 if (PyErr_Occurred()) SWIG_fail
;
27037 resultobj
= wxPyMake_wxObject(result
, (bool)0);
27045 SWIGINTERN PyObject
*MenuEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27047 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27048 SWIG_TypeNewClientData(SWIGTYPE_p_wxMenuEvent
, SWIG_NewClientData(obj
));
27049 return SWIG_Py_Void();
27052 SWIGINTERN PyObject
*MenuEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27053 return SWIG_Python_InitShadowInstance(args
);
27056 SWIGINTERN PyObject
*_wrap_new_CloseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27057 PyObject
*resultobj
= 0;
27058 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
27059 int arg2
= (int) 0 ;
27060 wxCloseEvent
*result
= 0 ;
27065 PyObject
* obj0
= 0 ;
27066 PyObject
* obj1
= 0 ;
27067 char * kwnames
[] = {
27068 (char *) "type",(char *) "winid", NULL
27071 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CloseEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27073 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27074 if (!SWIG_IsOK(ecode1
)) {
27075 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_CloseEvent" "', expected argument " "1"" of type '" "wxEventType""'");
27077 arg1
= static_cast< wxEventType
>(val1
);
27080 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27081 if (!SWIG_IsOK(ecode2
)) {
27082 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CloseEvent" "', expected argument " "2"" of type '" "int""'");
27084 arg2
= static_cast< int >(val2
);
27087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27088 result
= (wxCloseEvent
*)new wxCloseEvent(arg1
,arg2
);
27089 wxPyEndAllowThreads(__tstate
);
27090 if (PyErr_Occurred()) SWIG_fail
;
27092 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_NEW
| 0 );
27099 SWIGINTERN PyObject
*_wrap_CloseEvent_SetLoggingOff(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27100 PyObject
*resultobj
= 0;
27101 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
27107 PyObject
* obj0
= 0 ;
27108 PyObject
* obj1
= 0 ;
27109 char * kwnames
[] = {
27110 (char *) "self",(char *) "logOff", NULL
27113 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27114 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCloseEvent
, 0 | 0 );
27115 if (!SWIG_IsOK(res1
)) {
27116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CloseEvent_SetLoggingOff" "', expected argument " "1"" of type '" "wxCloseEvent *""'");
27118 arg1
= reinterpret_cast< wxCloseEvent
* >(argp1
);
27119 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27120 if (!SWIG_IsOK(ecode2
)) {
27121 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CloseEvent_SetLoggingOff" "', expected argument " "2"" of type '" "bool""'");
27123 arg2
= static_cast< bool >(val2
);
27125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27126 (arg1
)->SetLoggingOff(arg2
);
27127 wxPyEndAllowThreads(__tstate
);
27128 if (PyErr_Occurred()) SWIG_fail
;
27130 resultobj
= SWIG_Py_Void();
27137 SWIGINTERN PyObject
*_wrap_CloseEvent_GetLoggingOff(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27138 PyObject
*resultobj
= 0;
27139 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
27143 PyObject
*swig_obj
[1] ;
27145 if (!args
) SWIG_fail
;
27146 swig_obj
[0] = args
;
27147 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCloseEvent
, 0 | 0 );
27148 if (!SWIG_IsOK(res1
)) {
27149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CloseEvent_GetLoggingOff" "', expected argument " "1"" of type '" "wxCloseEvent const *""'");
27151 arg1
= reinterpret_cast< wxCloseEvent
* >(argp1
);
27153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27154 result
= (bool)((wxCloseEvent
const *)arg1
)->GetLoggingOff();
27155 wxPyEndAllowThreads(__tstate
);
27156 if (PyErr_Occurred()) SWIG_fail
;
27159 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27167 SWIGINTERN PyObject
*_wrap_CloseEvent_Veto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27168 PyObject
*resultobj
= 0;
27169 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
27170 bool arg2
= (bool) true ;
27175 PyObject
* obj0
= 0 ;
27176 PyObject
* obj1
= 0 ;
27177 char * kwnames
[] = {
27178 (char *) "self",(char *) "veto", NULL
27181 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CloseEvent_Veto",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27182 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCloseEvent
, 0 | 0 );
27183 if (!SWIG_IsOK(res1
)) {
27184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CloseEvent_Veto" "', expected argument " "1"" of type '" "wxCloseEvent *""'");
27186 arg1
= reinterpret_cast< wxCloseEvent
* >(argp1
);
27188 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27189 if (!SWIG_IsOK(ecode2
)) {
27190 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CloseEvent_Veto" "', expected argument " "2"" of type '" "bool""'");
27192 arg2
= static_cast< bool >(val2
);
27195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27196 (arg1
)->Veto(arg2
);
27197 wxPyEndAllowThreads(__tstate
);
27198 if (PyErr_Occurred()) SWIG_fail
;
27200 resultobj
= SWIG_Py_Void();
27207 SWIGINTERN PyObject
*_wrap_CloseEvent_GetVeto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27208 PyObject
*resultobj
= 0;
27209 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
27213 PyObject
*swig_obj
[1] ;
27215 if (!args
) SWIG_fail
;
27216 swig_obj
[0] = args
;
27217 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCloseEvent
, 0 | 0 );
27218 if (!SWIG_IsOK(res1
)) {
27219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CloseEvent_GetVeto" "', expected argument " "1"" of type '" "wxCloseEvent const *""'");
27221 arg1
= reinterpret_cast< wxCloseEvent
* >(argp1
);
27223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27224 result
= (bool)((wxCloseEvent
const *)arg1
)->GetVeto();
27225 wxPyEndAllowThreads(__tstate
);
27226 if (PyErr_Occurred()) SWIG_fail
;
27229 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27237 SWIGINTERN PyObject
*_wrap_CloseEvent_SetCanVeto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27238 PyObject
*resultobj
= 0;
27239 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
27245 PyObject
* obj0
= 0 ;
27246 PyObject
* obj1
= 0 ;
27247 char * kwnames
[] = {
27248 (char *) "self",(char *) "canVeto", NULL
27251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetCanVeto",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27252 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCloseEvent
, 0 | 0 );
27253 if (!SWIG_IsOK(res1
)) {
27254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CloseEvent_SetCanVeto" "', expected argument " "1"" of type '" "wxCloseEvent *""'");
27256 arg1
= reinterpret_cast< wxCloseEvent
* >(argp1
);
27257 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27258 if (!SWIG_IsOK(ecode2
)) {
27259 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CloseEvent_SetCanVeto" "', expected argument " "2"" of type '" "bool""'");
27261 arg2
= static_cast< bool >(val2
);
27263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27264 (arg1
)->SetCanVeto(arg2
);
27265 wxPyEndAllowThreads(__tstate
);
27266 if (PyErr_Occurred()) SWIG_fail
;
27268 resultobj
= SWIG_Py_Void();
27275 SWIGINTERN PyObject
*_wrap_CloseEvent_CanVeto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27276 PyObject
*resultobj
= 0;
27277 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
27281 PyObject
*swig_obj
[1] ;
27283 if (!args
) SWIG_fail
;
27284 swig_obj
[0] = args
;
27285 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCloseEvent
, 0 | 0 );
27286 if (!SWIG_IsOK(res1
)) {
27287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CloseEvent_CanVeto" "', expected argument " "1"" of type '" "wxCloseEvent const *""'");
27289 arg1
= reinterpret_cast< wxCloseEvent
* >(argp1
);
27291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27292 result
= (bool)((wxCloseEvent
const *)arg1
)->CanVeto();
27293 wxPyEndAllowThreads(__tstate
);
27294 if (PyErr_Occurred()) SWIG_fail
;
27297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27305 SWIGINTERN PyObject
*CloseEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27307 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27308 SWIG_TypeNewClientData(SWIGTYPE_p_wxCloseEvent
, SWIG_NewClientData(obj
));
27309 return SWIG_Py_Void();
27312 SWIGINTERN PyObject
*CloseEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27313 return SWIG_Python_InitShadowInstance(args
);
27316 SWIGINTERN PyObject
*_wrap_new_ShowEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27317 PyObject
*resultobj
= 0;
27318 int arg1
= (int) 0 ;
27319 bool arg2
= (bool) false ;
27320 wxShowEvent
*result
= 0 ;
27325 PyObject
* obj0
= 0 ;
27326 PyObject
* obj1
= 0 ;
27327 char * kwnames
[] = {
27328 (char *) "winid",(char *) "show", NULL
27331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ShowEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27333 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27334 if (!SWIG_IsOK(ecode1
)) {
27335 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ShowEvent" "', expected argument " "1"" of type '" "int""'");
27337 arg1
= static_cast< int >(val1
);
27340 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27341 if (!SWIG_IsOK(ecode2
)) {
27342 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ShowEvent" "', expected argument " "2"" of type '" "bool""'");
27344 arg2
= static_cast< bool >(val2
);
27347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27348 result
= (wxShowEvent
*)new wxShowEvent(arg1
,arg2
);
27349 wxPyEndAllowThreads(__tstate
);
27350 if (PyErr_Occurred()) SWIG_fail
;
27352 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxShowEvent
, SWIG_POINTER_NEW
| 0 );
27359 SWIGINTERN PyObject
*_wrap_ShowEvent_SetShow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27360 PyObject
*resultobj
= 0;
27361 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
27367 PyObject
* obj0
= 0 ;
27368 PyObject
* obj1
= 0 ;
27369 char * kwnames
[] = {
27370 (char *) "self",(char *) "show", NULL
27373 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27374 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxShowEvent
, 0 | 0 );
27375 if (!SWIG_IsOK(res1
)) {
27376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ShowEvent_SetShow" "', expected argument " "1"" of type '" "wxShowEvent *""'");
27378 arg1
= reinterpret_cast< wxShowEvent
* >(argp1
);
27379 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27380 if (!SWIG_IsOK(ecode2
)) {
27381 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ShowEvent_SetShow" "', expected argument " "2"" of type '" "bool""'");
27383 arg2
= static_cast< bool >(val2
);
27385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27386 (arg1
)->SetShow(arg2
);
27387 wxPyEndAllowThreads(__tstate
);
27388 if (PyErr_Occurred()) SWIG_fail
;
27390 resultobj
= SWIG_Py_Void();
27397 SWIGINTERN PyObject
*_wrap_ShowEvent_GetShow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27398 PyObject
*resultobj
= 0;
27399 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
27403 PyObject
*swig_obj
[1] ;
27405 if (!args
) SWIG_fail
;
27406 swig_obj
[0] = args
;
27407 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxShowEvent
, 0 | 0 );
27408 if (!SWIG_IsOK(res1
)) {
27409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ShowEvent_GetShow" "', expected argument " "1"" of type '" "wxShowEvent const *""'");
27411 arg1
= reinterpret_cast< wxShowEvent
* >(argp1
);
27413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27414 result
= (bool)((wxShowEvent
const *)arg1
)->GetShow();
27415 wxPyEndAllowThreads(__tstate
);
27416 if (PyErr_Occurred()) SWIG_fail
;
27419 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27427 SWIGINTERN PyObject
*ShowEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27429 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27430 SWIG_TypeNewClientData(SWIGTYPE_p_wxShowEvent
, SWIG_NewClientData(obj
));
27431 return SWIG_Py_Void();
27434 SWIGINTERN PyObject
*ShowEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27435 return SWIG_Python_InitShadowInstance(args
);
27438 SWIGINTERN PyObject
*_wrap_new_IconizeEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27439 PyObject
*resultobj
= 0;
27440 int arg1
= (int) 0 ;
27441 bool arg2
= (bool) true ;
27442 wxIconizeEvent
*result
= 0 ;
27447 PyObject
* obj0
= 0 ;
27448 PyObject
* obj1
= 0 ;
27449 char * kwnames
[] = {
27450 (char *) "id",(char *) "iconized", NULL
27453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconizeEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27455 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27456 if (!SWIG_IsOK(ecode1
)) {
27457 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_IconizeEvent" "', expected argument " "1"" of type '" "int""'");
27459 arg1
= static_cast< int >(val1
);
27462 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27463 if (!SWIG_IsOK(ecode2
)) {
27464 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconizeEvent" "', expected argument " "2"" of type '" "bool""'");
27466 arg2
= static_cast< bool >(val2
);
27469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27470 result
= (wxIconizeEvent
*)new wxIconizeEvent(arg1
,arg2
);
27471 wxPyEndAllowThreads(__tstate
);
27472 if (PyErr_Occurred()) SWIG_fail
;
27474 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconizeEvent
, SWIG_POINTER_NEW
| 0 );
27481 SWIGINTERN PyObject
*_wrap_IconizeEvent_Iconized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27482 PyObject
*resultobj
= 0;
27483 wxIconizeEvent
*arg1
= (wxIconizeEvent
*) 0 ;
27487 PyObject
*swig_obj
[1] ;
27489 if (!args
) SWIG_fail
;
27490 swig_obj
[0] = args
;
27491 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconizeEvent
, 0 | 0 );
27492 if (!SWIG_IsOK(res1
)) {
27493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconizeEvent_Iconized" "', expected argument " "1"" of type '" "wxIconizeEvent *""'");
27495 arg1
= reinterpret_cast< wxIconizeEvent
* >(argp1
);
27497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27498 result
= (bool)(arg1
)->Iconized();
27499 wxPyEndAllowThreads(__tstate
);
27500 if (PyErr_Occurred()) SWIG_fail
;
27503 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27511 SWIGINTERN PyObject
*IconizeEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27513 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27514 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconizeEvent
, SWIG_NewClientData(obj
));
27515 return SWIG_Py_Void();
27518 SWIGINTERN PyObject
*IconizeEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27519 return SWIG_Python_InitShadowInstance(args
);
27522 SWIGINTERN PyObject
*_wrap_new_MaximizeEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27523 PyObject
*resultobj
= 0;
27524 int arg1
= (int) 0 ;
27525 wxMaximizeEvent
*result
= 0 ;
27528 PyObject
* obj0
= 0 ;
27529 char * kwnames
[] = {
27530 (char *) "id", NULL
27533 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MaximizeEvent",kwnames
,&obj0
)) SWIG_fail
;
27535 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27536 if (!SWIG_IsOK(ecode1
)) {
27537 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_MaximizeEvent" "', expected argument " "1"" of type '" "int""'");
27539 arg1
= static_cast< int >(val1
);
27542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27543 result
= (wxMaximizeEvent
*)new wxMaximizeEvent(arg1
);
27544 wxPyEndAllowThreads(__tstate
);
27545 if (PyErr_Occurred()) SWIG_fail
;
27547 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMaximizeEvent
, SWIG_POINTER_NEW
| 0 );
27554 SWIGINTERN PyObject
*MaximizeEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27556 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27557 SWIG_TypeNewClientData(SWIGTYPE_p_wxMaximizeEvent
, SWIG_NewClientData(obj
));
27558 return SWIG_Py_Void();
27561 SWIGINTERN PyObject
*MaximizeEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27562 return SWIG_Python_InitShadowInstance(args
);
27565 SWIGINTERN PyObject
*_wrap_DropFilesEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27566 PyObject
*resultobj
= 0;
27567 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
27571 PyObject
*swig_obj
[1] ;
27573 if (!args
) SWIG_fail
;
27574 swig_obj
[0] = args
;
27575 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDropFilesEvent
, 0 | 0 );
27576 if (!SWIG_IsOK(res1
)) {
27577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropFilesEvent_GetPosition" "', expected argument " "1"" of type '" "wxDropFilesEvent *""'");
27579 arg1
= reinterpret_cast< wxDropFilesEvent
* >(argp1
);
27581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27582 result
= (arg1
)->GetPosition();
27583 wxPyEndAllowThreads(__tstate
);
27584 if (PyErr_Occurred()) SWIG_fail
;
27586 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
27593 SWIGINTERN PyObject
*_wrap_DropFilesEvent_GetNumberOfFiles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27594 PyObject
*resultobj
= 0;
27595 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
27599 PyObject
*swig_obj
[1] ;
27601 if (!args
) SWIG_fail
;
27602 swig_obj
[0] = args
;
27603 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDropFilesEvent
, 0 | 0 );
27604 if (!SWIG_IsOK(res1
)) {
27605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropFilesEvent_GetNumberOfFiles" "', expected argument " "1"" of type '" "wxDropFilesEvent *""'");
27607 arg1
= reinterpret_cast< wxDropFilesEvent
* >(argp1
);
27609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27610 result
= (int)(arg1
)->GetNumberOfFiles();
27611 wxPyEndAllowThreads(__tstate
);
27612 if (PyErr_Occurred()) SWIG_fail
;
27614 resultobj
= SWIG_From_int(static_cast< int >(result
));
27621 SWIGINTERN PyObject
*_wrap_DropFilesEvent_GetFiles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27622 PyObject
*resultobj
= 0;
27623 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
27624 PyObject
*result
= 0 ;
27627 PyObject
*swig_obj
[1] ;
27629 if (!args
) SWIG_fail
;
27630 swig_obj
[0] = args
;
27631 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDropFilesEvent
, 0 | 0 );
27632 if (!SWIG_IsOK(res1
)) {
27633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropFilesEvent_GetFiles" "', expected argument " "1"" of type '" "wxDropFilesEvent *""'");
27635 arg1
= reinterpret_cast< wxDropFilesEvent
* >(argp1
);
27637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27638 result
= (PyObject
*)wxDropFilesEvent_GetFiles(arg1
);
27639 wxPyEndAllowThreads(__tstate
);
27640 if (PyErr_Occurred()) SWIG_fail
;
27642 resultobj
= result
;
27649 SWIGINTERN PyObject
*DropFilesEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27651 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27652 SWIG_TypeNewClientData(SWIGTYPE_p_wxDropFilesEvent
, SWIG_NewClientData(obj
));
27653 return SWIG_Py_Void();
27656 SWIGINTERN PyObject
*_wrap_new_UpdateUIEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27657 PyObject
*resultobj
= 0;
27658 int arg1
= (int) 0 ;
27659 wxUpdateUIEvent
*result
= 0 ;
27662 PyObject
* obj0
= 0 ;
27663 char * kwnames
[] = {
27664 (char *) "commandId", NULL
27667 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_UpdateUIEvent",kwnames
,&obj0
)) SWIG_fail
;
27669 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27670 if (!SWIG_IsOK(ecode1
)) {
27671 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_UpdateUIEvent" "', expected argument " "1"" of type '" "int""'");
27673 arg1
= static_cast< int >(val1
);
27676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27677 result
= (wxUpdateUIEvent
*)new wxUpdateUIEvent(arg1
);
27678 wxPyEndAllowThreads(__tstate
);
27679 if (PyErr_Occurred()) SWIG_fail
;
27681 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_NEW
| 0 );
27688 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_GetChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27689 PyObject
*resultobj
= 0;
27690 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
27694 PyObject
*swig_obj
[1] ;
27696 if (!args
) SWIG_fail
;
27697 swig_obj
[0] = args
;
27698 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
27699 if (!SWIG_IsOK(res1
)) {
27700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_GetChecked" "', expected argument " "1"" of type '" "wxUpdateUIEvent const *""'");
27702 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
27704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27705 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetChecked();
27706 wxPyEndAllowThreads(__tstate
);
27707 if (PyErr_Occurred()) SWIG_fail
;
27710 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27718 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_GetEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27719 PyObject
*resultobj
= 0;
27720 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
27724 PyObject
*swig_obj
[1] ;
27726 if (!args
) SWIG_fail
;
27727 swig_obj
[0] = args
;
27728 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
27729 if (!SWIG_IsOK(res1
)) {
27730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_GetEnabled" "', expected argument " "1"" of type '" "wxUpdateUIEvent const *""'");
27732 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
27734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27735 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetEnabled();
27736 wxPyEndAllowThreads(__tstate
);
27737 if (PyErr_Occurred()) SWIG_fail
;
27740 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27748 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_GetShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27749 PyObject
*resultobj
= 0;
27750 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
27754 PyObject
*swig_obj
[1] ;
27756 if (!args
) SWIG_fail
;
27757 swig_obj
[0] = args
;
27758 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
27759 if (!SWIG_IsOK(res1
)) {
27760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_GetShown" "', expected argument " "1"" of type '" "wxUpdateUIEvent const *""'");
27762 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
27764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27765 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetShown();
27766 wxPyEndAllowThreads(__tstate
);
27767 if (PyErr_Occurred()) SWIG_fail
;
27770 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27778 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27779 PyObject
*resultobj
= 0;
27780 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
27784 PyObject
*swig_obj
[1] ;
27786 if (!args
) SWIG_fail
;
27787 swig_obj
[0] = args
;
27788 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
27789 if (!SWIG_IsOK(res1
)) {
27790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_GetText" "', expected argument " "1"" of type '" "wxUpdateUIEvent const *""'");
27792 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
27794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27795 result
= ((wxUpdateUIEvent
const *)arg1
)->GetText();
27796 wxPyEndAllowThreads(__tstate
);
27797 if (PyErr_Occurred()) SWIG_fail
;
27801 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27803 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27812 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_GetSetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27813 PyObject
*resultobj
= 0;
27814 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
27818 PyObject
*swig_obj
[1] ;
27820 if (!args
) SWIG_fail
;
27821 swig_obj
[0] = args
;
27822 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
27823 if (!SWIG_IsOK(res1
)) {
27824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_GetSetText" "', expected argument " "1"" of type '" "wxUpdateUIEvent const *""'");
27826 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
27828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27829 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetText();
27830 wxPyEndAllowThreads(__tstate
);
27831 if (PyErr_Occurred()) SWIG_fail
;
27834 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27842 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_GetSetChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27843 PyObject
*resultobj
= 0;
27844 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
27848 PyObject
*swig_obj
[1] ;
27850 if (!args
) SWIG_fail
;
27851 swig_obj
[0] = args
;
27852 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
27853 if (!SWIG_IsOK(res1
)) {
27854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_GetSetChecked" "', expected argument " "1"" of type '" "wxUpdateUIEvent const *""'");
27856 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
27858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27859 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetChecked();
27860 wxPyEndAllowThreads(__tstate
);
27861 if (PyErr_Occurred()) SWIG_fail
;
27864 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27872 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_GetSetEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27873 PyObject
*resultobj
= 0;
27874 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
27878 PyObject
*swig_obj
[1] ;
27880 if (!args
) SWIG_fail
;
27881 swig_obj
[0] = args
;
27882 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
27883 if (!SWIG_IsOK(res1
)) {
27884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_GetSetEnabled" "', expected argument " "1"" of type '" "wxUpdateUIEvent const *""'");
27886 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
27888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27889 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetEnabled();
27890 wxPyEndAllowThreads(__tstate
);
27891 if (PyErr_Occurred()) SWIG_fail
;
27894 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27902 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_GetSetShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27903 PyObject
*resultobj
= 0;
27904 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
27908 PyObject
*swig_obj
[1] ;
27910 if (!args
) SWIG_fail
;
27911 swig_obj
[0] = args
;
27912 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
27913 if (!SWIG_IsOK(res1
)) {
27914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_GetSetShown" "', expected argument " "1"" of type '" "wxUpdateUIEvent const *""'");
27916 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
27918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27919 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetShown();
27920 wxPyEndAllowThreads(__tstate
);
27921 if (PyErr_Occurred()) SWIG_fail
;
27924 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27932 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_Check(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27933 PyObject
*resultobj
= 0;
27934 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
27940 PyObject
* obj0
= 0 ;
27941 PyObject
* obj1
= 0 ;
27942 char * kwnames
[] = {
27943 (char *) "self",(char *) "check", NULL
27946 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27947 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
27948 if (!SWIG_IsOK(res1
)) {
27949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_Check" "', expected argument " "1"" of type '" "wxUpdateUIEvent *""'");
27951 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
27952 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27953 if (!SWIG_IsOK(ecode2
)) {
27954 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "UpdateUIEvent_Check" "', expected argument " "2"" of type '" "bool""'");
27956 arg2
= static_cast< bool >(val2
);
27958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27959 (arg1
)->Check(arg2
);
27960 wxPyEndAllowThreads(__tstate
);
27961 if (PyErr_Occurred()) SWIG_fail
;
27963 resultobj
= SWIG_Py_Void();
27970 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27971 PyObject
*resultobj
= 0;
27972 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
27978 PyObject
* obj0
= 0 ;
27979 PyObject
* obj1
= 0 ;
27980 char * kwnames
[] = {
27981 (char *) "self",(char *) "enable", NULL
27984 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27985 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
27986 if (!SWIG_IsOK(res1
)) {
27987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_Enable" "', expected argument " "1"" of type '" "wxUpdateUIEvent *""'");
27989 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
27990 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27991 if (!SWIG_IsOK(ecode2
)) {
27992 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "UpdateUIEvent_Enable" "', expected argument " "2"" of type '" "bool""'");
27994 arg2
= static_cast< bool >(val2
);
27996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27997 (arg1
)->Enable(arg2
);
27998 wxPyEndAllowThreads(__tstate
);
27999 if (PyErr_Occurred()) SWIG_fail
;
28001 resultobj
= SWIG_Py_Void();
28008 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28009 PyObject
*resultobj
= 0;
28010 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
28016 PyObject
* obj0
= 0 ;
28017 PyObject
* obj1
= 0 ;
28018 char * kwnames
[] = {
28019 (char *) "self",(char *) "show", NULL
28022 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Show",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28023 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
28024 if (!SWIG_IsOK(res1
)) {
28025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_Show" "', expected argument " "1"" of type '" "wxUpdateUIEvent *""'");
28027 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
28028 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
28029 if (!SWIG_IsOK(ecode2
)) {
28030 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "UpdateUIEvent_Show" "', expected argument " "2"" of type '" "bool""'");
28032 arg2
= static_cast< bool >(val2
);
28034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28035 (arg1
)->Show(arg2
);
28036 wxPyEndAllowThreads(__tstate
);
28037 if (PyErr_Occurred()) SWIG_fail
;
28039 resultobj
= SWIG_Py_Void();
28046 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_SetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28047 PyObject
*resultobj
= 0;
28048 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
28049 wxString
*arg2
= 0 ;
28052 bool temp2
= false ;
28053 PyObject
* obj0
= 0 ;
28054 PyObject
* obj1
= 0 ;
28055 char * kwnames
[] = {
28056 (char *) "self",(char *) "text", NULL
28059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28060 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
28061 if (!SWIG_IsOK(res1
)) {
28062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_SetText" "', expected argument " "1"" of type '" "wxUpdateUIEvent *""'");
28064 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
28066 arg2
= wxString_in_helper(obj1
);
28067 if (arg2
== NULL
) SWIG_fail
;
28071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28072 (arg1
)->SetText((wxString
const &)*arg2
);
28073 wxPyEndAllowThreads(__tstate
);
28074 if (PyErr_Occurred()) SWIG_fail
;
28076 resultobj
= SWIG_Py_Void();
28091 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_SetUpdateInterval(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28092 PyObject
*resultobj
= 0;
28096 PyObject
* obj0
= 0 ;
28097 char * kwnames
[] = {
28098 (char *) "updateInterval", NULL
28101 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames
,&obj0
)) SWIG_fail
;
28102 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
28103 if (!SWIG_IsOK(ecode1
)) {
28104 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "UpdateUIEvent_SetUpdateInterval" "', expected argument " "1"" of type '" "long""'");
28106 arg1
= static_cast< long >(val1
);
28108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28109 wxUpdateUIEvent::SetUpdateInterval(arg1
);
28110 wxPyEndAllowThreads(__tstate
);
28111 if (PyErr_Occurred()) SWIG_fail
;
28113 resultobj
= SWIG_Py_Void();
28120 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_GetUpdateInterval(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28121 PyObject
*resultobj
= 0;
28124 if (!SWIG_Python_UnpackTuple(args
,"UpdateUIEvent_GetUpdateInterval",0,0,0)) SWIG_fail
;
28126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28127 result
= (long)wxUpdateUIEvent::GetUpdateInterval();
28128 wxPyEndAllowThreads(__tstate
);
28129 if (PyErr_Occurred()) SWIG_fail
;
28131 resultobj
= SWIG_From_long(static_cast< long >(result
));
28138 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_CanUpdate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28139 PyObject
*resultobj
= 0;
28140 wxWindow
*arg1
= (wxWindow
*) 0 ;
28144 PyObject
* obj0
= 0 ;
28145 char * kwnames
[] = {
28146 (char *) "win", NULL
28149 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_CanUpdate",kwnames
,&obj0
)) SWIG_fail
;
28150 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28151 if (!SWIG_IsOK(res1
)) {
28152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_CanUpdate" "', expected argument " "1"" of type '" "wxWindow *""'");
28154 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
28156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28157 result
= (bool)wxUpdateUIEvent::CanUpdate(arg1
);
28158 wxPyEndAllowThreads(__tstate
);
28159 if (PyErr_Occurred()) SWIG_fail
;
28162 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28170 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_ResetUpdateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28171 PyObject
*resultobj
= 0;
28173 if (!SWIG_Python_UnpackTuple(args
,"UpdateUIEvent_ResetUpdateTime",0,0,0)) SWIG_fail
;
28175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28176 wxUpdateUIEvent::ResetUpdateTime();
28177 wxPyEndAllowThreads(__tstate
);
28178 if (PyErr_Occurred()) SWIG_fail
;
28180 resultobj
= SWIG_Py_Void();
28187 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_SetMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28188 PyObject
*resultobj
= 0;
28189 wxUpdateUIMode arg1
;
28192 PyObject
* obj0
= 0 ;
28193 char * kwnames
[] = {
28194 (char *) "mode", NULL
28197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetMode",kwnames
,&obj0
)) SWIG_fail
;
28198 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
28199 if (!SWIG_IsOK(ecode1
)) {
28200 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "UpdateUIEvent_SetMode" "', expected argument " "1"" of type '" "wxUpdateUIMode""'");
28202 arg1
= static_cast< wxUpdateUIMode
>(val1
);
28204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28205 wxUpdateUIEvent::SetMode(arg1
);
28206 wxPyEndAllowThreads(__tstate
);
28207 if (PyErr_Occurred()) SWIG_fail
;
28209 resultobj
= SWIG_Py_Void();
28216 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_GetMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28217 PyObject
*resultobj
= 0;
28218 wxUpdateUIMode result
;
28220 if (!SWIG_Python_UnpackTuple(args
,"UpdateUIEvent_GetMode",0,0,0)) SWIG_fail
;
28222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28223 result
= (wxUpdateUIMode
)wxUpdateUIEvent::GetMode();
28224 wxPyEndAllowThreads(__tstate
);
28225 if (PyErr_Occurred()) SWIG_fail
;
28227 resultobj
= SWIG_From_int(static_cast< int >(result
));
28234 SWIGINTERN PyObject
*UpdateUIEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28236 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28237 SWIG_TypeNewClientData(SWIGTYPE_p_wxUpdateUIEvent
, SWIG_NewClientData(obj
));
28238 return SWIG_Py_Void();
28241 SWIGINTERN PyObject
*UpdateUIEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28242 return SWIG_Python_InitShadowInstance(args
);
28245 SWIGINTERN PyObject
*_wrap_new_SysColourChangedEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28246 PyObject
*resultobj
= 0;
28247 wxSysColourChangedEvent
*result
= 0 ;
28249 if (!SWIG_Python_UnpackTuple(args
,"new_SysColourChangedEvent",0,0,0)) SWIG_fail
;
28251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28252 result
= (wxSysColourChangedEvent
*)new wxSysColourChangedEvent();
28253 wxPyEndAllowThreads(__tstate
);
28254 if (PyErr_Occurred()) SWIG_fail
;
28256 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSysColourChangedEvent
, SWIG_POINTER_NEW
| 0 );
28263 SWIGINTERN PyObject
*SysColourChangedEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28265 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28266 SWIG_TypeNewClientData(SWIGTYPE_p_wxSysColourChangedEvent
, SWIG_NewClientData(obj
));
28267 return SWIG_Py_Void();
28270 SWIGINTERN PyObject
*SysColourChangedEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28271 return SWIG_Python_InitShadowInstance(args
);
28274 SWIGINTERN PyObject
*_wrap_new_MouseCaptureChangedEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28275 PyObject
*resultobj
= 0;
28276 int arg1
= (int) 0 ;
28277 wxWindow
*arg2
= (wxWindow
*) NULL
;
28278 wxMouseCaptureChangedEvent
*result
= 0 ;
28283 PyObject
* obj0
= 0 ;
28284 PyObject
* obj1
= 0 ;
28285 char * kwnames
[] = {
28286 (char *) "winid",(char *) "gainedCapture", NULL
28289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28291 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
28292 if (!SWIG_IsOK(ecode1
)) {
28293 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_MouseCaptureChangedEvent" "', expected argument " "1"" of type '" "int""'");
28295 arg1
= static_cast< int >(val1
);
28298 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28299 if (!SWIG_IsOK(res2
)) {
28300 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_MouseCaptureChangedEvent" "', expected argument " "2"" of type '" "wxWindow *""'");
28302 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28306 result
= (wxMouseCaptureChangedEvent
*)new wxMouseCaptureChangedEvent(arg1
,arg2
);
28307 wxPyEndAllowThreads(__tstate
);
28308 if (PyErr_Occurred()) SWIG_fail
;
28310 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMouseCaptureChangedEvent
, SWIG_POINTER_NEW
| 0 );
28317 SWIGINTERN PyObject
*_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28318 PyObject
*resultobj
= 0;
28319 wxMouseCaptureChangedEvent
*arg1
= (wxMouseCaptureChangedEvent
*) 0 ;
28320 wxWindow
*result
= 0 ;
28323 PyObject
*swig_obj
[1] ;
28325 if (!args
) SWIG_fail
;
28326 swig_obj
[0] = args
;
28327 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseCaptureChangedEvent
, 0 | 0 );
28328 if (!SWIG_IsOK(res1
)) {
28329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseCaptureChangedEvent_GetCapturedWindow" "', expected argument " "1"" of type '" "wxMouseCaptureChangedEvent const *""'");
28331 arg1
= reinterpret_cast< wxMouseCaptureChangedEvent
* >(argp1
);
28333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28334 result
= (wxWindow
*)((wxMouseCaptureChangedEvent
const *)arg1
)->GetCapturedWindow();
28335 wxPyEndAllowThreads(__tstate
);
28336 if (PyErr_Occurred()) SWIG_fail
;
28339 resultobj
= wxPyMake_wxObject(result
, (bool)0);
28347 SWIGINTERN PyObject
*MouseCaptureChangedEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28349 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28350 SWIG_TypeNewClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, SWIG_NewClientData(obj
));
28351 return SWIG_Py_Void();
28354 SWIGINTERN PyObject
*MouseCaptureChangedEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28355 return SWIG_Python_InitShadowInstance(args
);
28358 SWIGINTERN PyObject
*_wrap_new_MouseCaptureLostEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28359 PyObject
*resultobj
= 0;
28360 int arg1
= (int) 0 ;
28361 wxMouseCaptureLostEvent
*result
= 0 ;
28364 PyObject
* obj0
= 0 ;
28365 char * kwnames
[] = {
28366 (char *) "winid", NULL
28369 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MouseCaptureLostEvent",kwnames
,&obj0
)) SWIG_fail
;
28371 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
28372 if (!SWIG_IsOK(ecode1
)) {
28373 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_MouseCaptureLostEvent" "', expected argument " "1"" of type '" "int""'");
28375 arg1
= static_cast< int >(val1
);
28378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28379 result
= (wxMouseCaptureLostEvent
*)new wxMouseCaptureLostEvent(arg1
);
28380 wxPyEndAllowThreads(__tstate
);
28381 if (PyErr_Occurred()) SWIG_fail
;
28383 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMouseCaptureLostEvent
, SWIG_POINTER_NEW
| 0 );
28390 SWIGINTERN PyObject
*MouseCaptureLostEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28392 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28393 SWIG_TypeNewClientData(SWIGTYPE_p_wxMouseCaptureLostEvent
, SWIG_NewClientData(obj
));
28394 return SWIG_Py_Void();
28397 SWIGINTERN PyObject
*MouseCaptureLostEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28398 return SWIG_Python_InitShadowInstance(args
);
28401 SWIGINTERN PyObject
*_wrap_new_DisplayChangedEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28402 PyObject
*resultobj
= 0;
28403 wxDisplayChangedEvent
*result
= 0 ;
28405 if (!SWIG_Python_UnpackTuple(args
,"new_DisplayChangedEvent",0,0,0)) SWIG_fail
;
28407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28408 result
= (wxDisplayChangedEvent
*)new wxDisplayChangedEvent();
28409 wxPyEndAllowThreads(__tstate
);
28410 if (PyErr_Occurred()) SWIG_fail
;
28412 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDisplayChangedEvent
, SWIG_POINTER_NEW
| 0 );
28419 SWIGINTERN PyObject
*DisplayChangedEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28421 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28422 SWIG_TypeNewClientData(SWIGTYPE_p_wxDisplayChangedEvent
, SWIG_NewClientData(obj
));
28423 return SWIG_Py_Void();
28426 SWIGINTERN PyObject
*DisplayChangedEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28427 return SWIG_Python_InitShadowInstance(args
);
28430 SWIGINTERN PyObject
*_wrap_new_PaletteChangedEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28431 PyObject
*resultobj
= 0;
28432 int arg1
= (int) 0 ;
28433 wxPaletteChangedEvent
*result
= 0 ;
28436 PyObject
* obj0
= 0 ;
28437 char * kwnames
[] = {
28438 (char *) "id", NULL
28441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaletteChangedEvent",kwnames
,&obj0
)) SWIG_fail
;
28443 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
28444 if (!SWIG_IsOK(ecode1
)) {
28445 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PaletteChangedEvent" "', expected argument " "1"" of type '" "int""'");
28447 arg1
= static_cast< int >(val1
);
28450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28451 result
= (wxPaletteChangedEvent
*)new wxPaletteChangedEvent(arg1
);
28452 wxPyEndAllowThreads(__tstate
);
28453 if (PyErr_Occurred()) SWIG_fail
;
28455 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaletteChangedEvent
, SWIG_POINTER_NEW
| 0 );
28462 SWIGINTERN PyObject
*_wrap_PaletteChangedEvent_SetChangedWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28463 PyObject
*resultobj
= 0;
28464 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
28465 wxWindow
*arg2
= (wxWindow
*) 0 ;
28470 PyObject
* obj0
= 0 ;
28471 PyObject
* obj1
= 0 ;
28472 char * kwnames
[] = {
28473 (char *) "self",(char *) "win", NULL
28476 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28477 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPaletteChangedEvent
, 0 | 0 );
28478 if (!SWIG_IsOK(res1
)) {
28479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PaletteChangedEvent_SetChangedWindow" "', expected argument " "1"" of type '" "wxPaletteChangedEvent *""'");
28481 arg1
= reinterpret_cast< wxPaletteChangedEvent
* >(argp1
);
28482 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28483 if (!SWIG_IsOK(res2
)) {
28484 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PaletteChangedEvent_SetChangedWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
28486 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28489 (arg1
)->SetChangedWindow(arg2
);
28490 wxPyEndAllowThreads(__tstate
);
28491 if (PyErr_Occurred()) SWIG_fail
;
28493 resultobj
= SWIG_Py_Void();
28500 SWIGINTERN PyObject
*_wrap_PaletteChangedEvent_GetChangedWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28501 PyObject
*resultobj
= 0;
28502 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
28503 wxWindow
*result
= 0 ;
28506 PyObject
*swig_obj
[1] ;
28508 if (!args
) SWIG_fail
;
28509 swig_obj
[0] = args
;
28510 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPaletteChangedEvent
, 0 | 0 );
28511 if (!SWIG_IsOK(res1
)) {
28512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PaletteChangedEvent_GetChangedWindow" "', expected argument " "1"" of type '" "wxPaletteChangedEvent *""'");
28514 arg1
= reinterpret_cast< wxPaletteChangedEvent
* >(argp1
);
28516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28517 result
= (wxWindow
*)(arg1
)->GetChangedWindow();
28518 wxPyEndAllowThreads(__tstate
);
28519 if (PyErr_Occurred()) SWIG_fail
;
28522 resultobj
= wxPyMake_wxObject(result
, (bool)0);
28530 SWIGINTERN PyObject
*PaletteChangedEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28532 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28533 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaletteChangedEvent
, SWIG_NewClientData(obj
));
28534 return SWIG_Py_Void();
28537 SWIGINTERN PyObject
*PaletteChangedEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28538 return SWIG_Python_InitShadowInstance(args
);
28541 SWIGINTERN PyObject
*_wrap_new_QueryNewPaletteEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28542 PyObject
*resultobj
= 0;
28543 int arg1
= (int) 0 ;
28544 wxQueryNewPaletteEvent
*result
= 0 ;
28547 PyObject
* obj0
= 0 ;
28548 char * kwnames
[] = {
28549 (char *) "winid", NULL
28552 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryNewPaletteEvent",kwnames
,&obj0
)) SWIG_fail
;
28554 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
28555 if (!SWIG_IsOK(ecode1
)) {
28556 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_QueryNewPaletteEvent" "', expected argument " "1"" of type '" "int""'");
28558 arg1
= static_cast< int >(val1
);
28561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28562 result
= (wxQueryNewPaletteEvent
*)new wxQueryNewPaletteEvent(arg1
);
28563 wxPyEndAllowThreads(__tstate
);
28564 if (PyErr_Occurred()) SWIG_fail
;
28566 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxQueryNewPaletteEvent
, SWIG_POINTER_NEW
| 0 );
28573 SWIGINTERN PyObject
*_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28574 PyObject
*resultobj
= 0;
28575 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
28581 PyObject
* obj0
= 0 ;
28582 PyObject
* obj1
= 0 ;
28583 char * kwnames
[] = {
28584 (char *) "self",(char *) "realized", NULL
28587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryNewPaletteEvent
, 0 | 0 );
28589 if (!SWIG_IsOK(res1
)) {
28590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryNewPaletteEvent_SetPaletteRealized" "', expected argument " "1"" of type '" "wxQueryNewPaletteEvent *""'");
28592 arg1
= reinterpret_cast< wxQueryNewPaletteEvent
* >(argp1
);
28593 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
28594 if (!SWIG_IsOK(ecode2
)) {
28595 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryNewPaletteEvent_SetPaletteRealized" "', expected argument " "2"" of type '" "bool""'");
28597 arg2
= static_cast< bool >(val2
);
28599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28600 (arg1
)->SetPaletteRealized(arg2
);
28601 wxPyEndAllowThreads(__tstate
);
28602 if (PyErr_Occurred()) SWIG_fail
;
28604 resultobj
= SWIG_Py_Void();
28611 SWIGINTERN PyObject
*_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28612 PyObject
*resultobj
= 0;
28613 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
28617 PyObject
*swig_obj
[1] ;
28619 if (!args
) SWIG_fail
;
28620 swig_obj
[0] = args
;
28621 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryNewPaletteEvent
, 0 | 0 );
28622 if (!SWIG_IsOK(res1
)) {
28623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryNewPaletteEvent_GetPaletteRealized" "', expected argument " "1"" of type '" "wxQueryNewPaletteEvent const *""'");
28625 arg1
= reinterpret_cast< wxQueryNewPaletteEvent
* >(argp1
);
28627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28628 result
= (bool)((wxQueryNewPaletteEvent
const *)arg1
)->GetPaletteRealized();
28629 wxPyEndAllowThreads(__tstate
);
28630 if (PyErr_Occurred()) SWIG_fail
;
28633 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28641 SWIGINTERN PyObject
*QueryNewPaletteEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28643 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28644 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, SWIG_NewClientData(obj
));
28645 return SWIG_Py_Void();
28648 SWIGINTERN PyObject
*QueryNewPaletteEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28649 return SWIG_Python_InitShadowInstance(args
);
28652 SWIGINTERN PyObject
*_wrap_new_NavigationKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28653 PyObject
*resultobj
= 0;
28654 wxNavigationKeyEvent
*result
= 0 ;
28656 if (!SWIG_Python_UnpackTuple(args
,"new_NavigationKeyEvent",0,0,0)) SWIG_fail
;
28658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28659 result
= (wxNavigationKeyEvent
*)new wxNavigationKeyEvent();
28660 wxPyEndAllowThreads(__tstate
);
28661 if (PyErr_Occurred()) SWIG_fail
;
28663 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_NEW
| 0 );
28670 SWIGINTERN PyObject
*_wrap_NavigationKeyEvent_GetDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28671 PyObject
*resultobj
= 0;
28672 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
28676 PyObject
*swig_obj
[1] ;
28678 if (!args
) SWIG_fail
;
28679 swig_obj
[0] = args
;
28680 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNavigationKeyEvent
, 0 | 0 );
28681 if (!SWIG_IsOK(res1
)) {
28682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NavigationKeyEvent_GetDirection" "', expected argument " "1"" of type '" "wxNavigationKeyEvent const *""'");
28684 arg1
= reinterpret_cast< wxNavigationKeyEvent
* >(argp1
);
28686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28687 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->GetDirection();
28688 wxPyEndAllowThreads(__tstate
);
28689 if (PyErr_Occurred()) SWIG_fail
;
28692 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28700 SWIGINTERN PyObject
*_wrap_NavigationKeyEvent_SetDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28701 PyObject
*resultobj
= 0;
28702 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
28708 PyObject
* obj0
= 0 ;
28709 PyObject
* obj1
= 0 ;
28710 char * kwnames
[] = {
28711 (char *) "self",(char *) "forward", NULL
28714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28715 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNavigationKeyEvent
, 0 | 0 );
28716 if (!SWIG_IsOK(res1
)) {
28717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NavigationKeyEvent_SetDirection" "', expected argument " "1"" of type '" "wxNavigationKeyEvent *""'");
28719 arg1
= reinterpret_cast< wxNavigationKeyEvent
* >(argp1
);
28720 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
28721 if (!SWIG_IsOK(ecode2
)) {
28722 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NavigationKeyEvent_SetDirection" "', expected argument " "2"" of type '" "bool""'");
28724 arg2
= static_cast< bool >(val2
);
28726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28727 (arg1
)->SetDirection(arg2
);
28728 wxPyEndAllowThreads(__tstate
);
28729 if (PyErr_Occurred()) SWIG_fail
;
28731 resultobj
= SWIG_Py_Void();
28738 SWIGINTERN PyObject
*_wrap_NavigationKeyEvent_IsWindowChange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28739 PyObject
*resultobj
= 0;
28740 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
28744 PyObject
*swig_obj
[1] ;
28746 if (!args
) SWIG_fail
;
28747 swig_obj
[0] = args
;
28748 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNavigationKeyEvent
, 0 | 0 );
28749 if (!SWIG_IsOK(res1
)) {
28750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NavigationKeyEvent_IsWindowChange" "', expected argument " "1"" of type '" "wxNavigationKeyEvent const *""'");
28752 arg1
= reinterpret_cast< wxNavigationKeyEvent
* >(argp1
);
28754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28755 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsWindowChange();
28756 wxPyEndAllowThreads(__tstate
);
28757 if (PyErr_Occurred()) SWIG_fail
;
28760 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28768 SWIGINTERN PyObject
*_wrap_NavigationKeyEvent_SetWindowChange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28769 PyObject
*resultobj
= 0;
28770 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
28776 PyObject
* obj0
= 0 ;
28777 PyObject
* obj1
= 0 ;
28778 char * kwnames
[] = {
28779 (char *) "self",(char *) "ischange", NULL
28782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28783 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNavigationKeyEvent
, 0 | 0 );
28784 if (!SWIG_IsOK(res1
)) {
28785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NavigationKeyEvent_SetWindowChange" "', expected argument " "1"" of type '" "wxNavigationKeyEvent *""'");
28787 arg1
= reinterpret_cast< wxNavigationKeyEvent
* >(argp1
);
28788 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
28789 if (!SWIG_IsOK(ecode2
)) {
28790 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NavigationKeyEvent_SetWindowChange" "', expected argument " "2"" of type '" "bool""'");
28792 arg2
= static_cast< bool >(val2
);
28794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28795 (arg1
)->SetWindowChange(arg2
);
28796 wxPyEndAllowThreads(__tstate
);
28797 if (PyErr_Occurred()) SWIG_fail
;
28799 resultobj
= SWIG_Py_Void();
28806 SWIGINTERN PyObject
*_wrap_NavigationKeyEvent_IsFromTab(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28807 PyObject
*resultobj
= 0;
28808 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
28812 PyObject
*swig_obj
[1] ;
28814 if (!args
) SWIG_fail
;
28815 swig_obj
[0] = args
;
28816 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNavigationKeyEvent
, 0 | 0 );
28817 if (!SWIG_IsOK(res1
)) {
28818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NavigationKeyEvent_IsFromTab" "', expected argument " "1"" of type '" "wxNavigationKeyEvent const *""'");
28820 arg1
= reinterpret_cast< wxNavigationKeyEvent
* >(argp1
);
28822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28823 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsFromTab();
28824 wxPyEndAllowThreads(__tstate
);
28825 if (PyErr_Occurred()) SWIG_fail
;
28828 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28836 SWIGINTERN PyObject
*_wrap_NavigationKeyEvent_SetFromTab(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28837 PyObject
*resultobj
= 0;
28838 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
28844 PyObject
* obj0
= 0 ;
28845 PyObject
* obj1
= 0 ;
28846 char * kwnames
[] = {
28847 (char *) "self",(char *) "bIs", NULL
28850 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFromTab",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28851 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNavigationKeyEvent
, 0 | 0 );
28852 if (!SWIG_IsOK(res1
)) {
28853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NavigationKeyEvent_SetFromTab" "', expected argument " "1"" of type '" "wxNavigationKeyEvent *""'");
28855 arg1
= reinterpret_cast< wxNavigationKeyEvent
* >(argp1
);
28856 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
28857 if (!SWIG_IsOK(ecode2
)) {
28858 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NavigationKeyEvent_SetFromTab" "', expected argument " "2"" of type '" "bool""'");
28860 arg2
= static_cast< bool >(val2
);
28862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28863 (arg1
)->SetFromTab(arg2
);
28864 wxPyEndAllowThreads(__tstate
);
28865 if (PyErr_Occurred()) SWIG_fail
;
28867 resultobj
= SWIG_Py_Void();
28874 SWIGINTERN PyObject
*_wrap_NavigationKeyEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28875 PyObject
*resultobj
= 0;
28876 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
28882 PyObject
* obj0
= 0 ;
28883 PyObject
* obj1
= 0 ;
28884 char * kwnames
[] = {
28885 (char *) "self",(char *) "flags", NULL
28888 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28889 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNavigationKeyEvent
, 0 | 0 );
28890 if (!SWIG_IsOK(res1
)) {
28891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NavigationKeyEvent_SetFlags" "', expected argument " "1"" of type '" "wxNavigationKeyEvent *""'");
28893 arg1
= reinterpret_cast< wxNavigationKeyEvent
* >(argp1
);
28894 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
28895 if (!SWIG_IsOK(ecode2
)) {
28896 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NavigationKeyEvent_SetFlags" "', expected argument " "2"" of type '" "long""'");
28898 arg2
= static_cast< long >(val2
);
28900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28901 (arg1
)->SetFlags(arg2
);
28902 wxPyEndAllowThreads(__tstate
);
28903 if (PyErr_Occurred()) SWIG_fail
;
28905 resultobj
= SWIG_Py_Void();
28912 SWIGINTERN PyObject
*_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28913 PyObject
*resultobj
= 0;
28914 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
28915 wxWindow
*result
= 0 ;
28918 PyObject
*swig_obj
[1] ;
28920 if (!args
) SWIG_fail
;
28921 swig_obj
[0] = args
;
28922 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNavigationKeyEvent
, 0 | 0 );
28923 if (!SWIG_IsOK(res1
)) {
28924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NavigationKeyEvent_GetCurrentFocus" "', expected argument " "1"" of type '" "wxNavigationKeyEvent const *""'");
28926 arg1
= reinterpret_cast< wxNavigationKeyEvent
* >(argp1
);
28928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28929 result
= (wxWindow
*)((wxNavigationKeyEvent
const *)arg1
)->GetCurrentFocus();
28930 wxPyEndAllowThreads(__tstate
);
28931 if (PyErr_Occurred()) SWIG_fail
;
28934 resultobj
= wxPyMake_wxObject(result
, (bool)0);
28942 SWIGINTERN PyObject
*_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28943 PyObject
*resultobj
= 0;
28944 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
28945 wxWindow
*arg2
= (wxWindow
*) 0 ;
28950 PyObject
* obj0
= 0 ;
28951 PyObject
* obj1
= 0 ;
28952 char * kwnames
[] = {
28953 (char *) "self",(char *) "win", NULL
28956 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28957 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNavigationKeyEvent
, 0 | 0 );
28958 if (!SWIG_IsOK(res1
)) {
28959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NavigationKeyEvent_SetCurrentFocus" "', expected argument " "1"" of type '" "wxNavigationKeyEvent *""'");
28961 arg1
= reinterpret_cast< wxNavigationKeyEvent
* >(argp1
);
28962 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28963 if (!SWIG_IsOK(res2
)) {
28964 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NavigationKeyEvent_SetCurrentFocus" "', expected argument " "2"" of type '" "wxWindow *""'");
28966 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28969 (arg1
)->SetCurrentFocus(arg2
);
28970 wxPyEndAllowThreads(__tstate
);
28971 if (PyErr_Occurred()) SWIG_fail
;
28973 resultobj
= SWIG_Py_Void();
28980 SWIGINTERN PyObject
*NavigationKeyEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28982 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28983 SWIG_TypeNewClientData(SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_NewClientData(obj
));
28984 return SWIG_Py_Void();
28987 SWIGINTERN PyObject
*NavigationKeyEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28988 return SWIG_Python_InitShadowInstance(args
);
28991 SWIGINTERN PyObject
*_wrap_new_WindowCreateEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28992 PyObject
*resultobj
= 0;
28993 wxWindow
*arg1
= (wxWindow
*) NULL
;
28994 wxWindowCreateEvent
*result
= 0 ;
28997 PyObject
* obj0
= 0 ;
28998 char * kwnames
[] = {
28999 (char *) "win", NULL
29002 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowCreateEvent",kwnames
,&obj0
)) SWIG_fail
;
29004 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29005 if (!SWIG_IsOK(res1
)) {
29006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowCreateEvent" "', expected argument " "1"" of type '" "wxWindow *""'");
29008 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
29011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29012 result
= (wxWindowCreateEvent
*)new wxWindowCreateEvent(arg1
);
29013 wxPyEndAllowThreads(__tstate
);
29014 if (PyErr_Occurred()) SWIG_fail
;
29016 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowCreateEvent
, SWIG_POINTER_NEW
| 0 );
29023 SWIGINTERN PyObject
*_wrap_WindowCreateEvent_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29024 PyObject
*resultobj
= 0;
29025 wxWindowCreateEvent
*arg1
= (wxWindowCreateEvent
*) 0 ;
29026 wxWindow
*result
= 0 ;
29029 PyObject
*swig_obj
[1] ;
29031 if (!args
) SWIG_fail
;
29032 swig_obj
[0] = args
;
29033 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindowCreateEvent
, 0 | 0 );
29034 if (!SWIG_IsOK(res1
)) {
29035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "WindowCreateEvent_GetWindow" "', expected argument " "1"" of type '" "wxWindowCreateEvent const *""'");
29037 arg1
= reinterpret_cast< wxWindowCreateEvent
* >(argp1
);
29039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29040 result
= (wxWindow
*)((wxWindowCreateEvent
const *)arg1
)->GetWindow();
29041 wxPyEndAllowThreads(__tstate
);
29042 if (PyErr_Occurred()) SWIG_fail
;
29045 resultobj
= wxPyMake_wxObject(result
, (bool)0);
29053 SWIGINTERN PyObject
*WindowCreateEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29055 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29056 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowCreateEvent
, SWIG_NewClientData(obj
));
29057 return SWIG_Py_Void();
29060 SWIGINTERN PyObject
*WindowCreateEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29061 return SWIG_Python_InitShadowInstance(args
);
29064 SWIGINTERN PyObject
*_wrap_new_WindowDestroyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29065 PyObject
*resultobj
= 0;
29066 wxWindow
*arg1
= (wxWindow
*) NULL
;
29067 wxWindowDestroyEvent
*result
= 0 ;
29070 PyObject
* obj0
= 0 ;
29071 char * kwnames
[] = {
29072 (char *) "win", NULL
29075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDestroyEvent",kwnames
,&obj0
)) SWIG_fail
;
29077 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29078 if (!SWIG_IsOK(res1
)) {
29079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDestroyEvent" "', expected argument " "1"" of type '" "wxWindow *""'");
29081 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
29084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29085 result
= (wxWindowDestroyEvent
*)new wxWindowDestroyEvent(arg1
);
29086 wxPyEndAllowThreads(__tstate
);
29087 if (PyErr_Occurred()) SWIG_fail
;
29089 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDestroyEvent
, SWIG_POINTER_NEW
| 0 );
29096 SWIGINTERN PyObject
*_wrap_WindowDestroyEvent_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29097 PyObject
*resultobj
= 0;
29098 wxWindowDestroyEvent
*arg1
= (wxWindowDestroyEvent
*) 0 ;
29099 wxWindow
*result
= 0 ;
29102 PyObject
*swig_obj
[1] ;
29104 if (!args
) SWIG_fail
;
29105 swig_obj
[0] = args
;
29106 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindowDestroyEvent
, 0 | 0 );
29107 if (!SWIG_IsOK(res1
)) {
29108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "WindowDestroyEvent_GetWindow" "', expected argument " "1"" of type '" "wxWindowDestroyEvent const *""'");
29110 arg1
= reinterpret_cast< wxWindowDestroyEvent
* >(argp1
);
29112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29113 result
= (wxWindow
*)((wxWindowDestroyEvent
const *)arg1
)->GetWindow();
29114 wxPyEndAllowThreads(__tstate
);
29115 if (PyErr_Occurred()) SWIG_fail
;
29118 resultobj
= wxPyMake_wxObject(result
, (bool)0);
29126 SWIGINTERN PyObject
*WindowDestroyEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29128 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29129 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDestroyEvent
, SWIG_NewClientData(obj
));
29130 return SWIG_Py_Void();
29133 SWIGINTERN PyObject
*WindowDestroyEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29134 return SWIG_Python_InitShadowInstance(args
);
29137 SWIGINTERN PyObject
*_wrap_new_ContextMenuEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29138 PyObject
*resultobj
= 0;
29139 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
29140 int arg2
= (int) 0 ;
29141 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
29142 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
29143 wxContextMenuEvent
*result
= 0 ;
29149 PyObject
* obj0
= 0 ;
29150 PyObject
* obj1
= 0 ;
29151 PyObject
* obj2
= 0 ;
29152 char * kwnames
[] = {
29153 (char *) "type",(char *) "winid",(char *) "pt", NULL
29156 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ContextMenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29158 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
29159 if (!SWIG_IsOK(ecode1
)) {
29160 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ContextMenuEvent" "', expected argument " "1"" of type '" "wxEventType""'");
29162 arg1
= static_cast< wxEventType
>(val1
);
29165 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29166 if (!SWIG_IsOK(ecode2
)) {
29167 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextMenuEvent" "', expected argument " "2"" of type '" "int""'");
29169 arg2
= static_cast< int >(val2
);
29174 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29179 result
= (wxContextMenuEvent
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
29180 wxPyEndAllowThreads(__tstate
);
29181 if (PyErr_Occurred()) SWIG_fail
;
29183 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextMenuEvent
, SWIG_POINTER_NEW
| 0 );
29190 SWIGINTERN PyObject
*_wrap_ContextMenuEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29191 PyObject
*resultobj
= 0;
29192 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
29193 wxPoint
*result
= 0 ;
29196 PyObject
*swig_obj
[1] ;
29198 if (!args
) SWIG_fail
;
29199 swig_obj
[0] = args
;
29200 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextMenuEvent
, 0 | 0 );
29201 if (!SWIG_IsOK(res1
)) {
29202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextMenuEvent_GetPosition" "', expected argument " "1"" of type '" "wxContextMenuEvent const *""'");
29204 arg1
= reinterpret_cast< wxContextMenuEvent
* >(argp1
);
29206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29208 wxPoint
const &_result_ref
= ((wxContextMenuEvent
const *)arg1
)->GetPosition();
29209 result
= (wxPoint
*) &_result_ref
;
29211 wxPyEndAllowThreads(__tstate
);
29212 if (PyErr_Occurred()) SWIG_fail
;
29214 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, 0 | 0 );
29221 SWIGINTERN PyObject
*_wrap_ContextMenuEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29222 PyObject
*resultobj
= 0;
29223 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
29224 wxPoint
*arg2
= 0 ;
29228 PyObject
* obj0
= 0 ;
29229 PyObject
* obj1
= 0 ;
29230 char * kwnames
[] = {
29231 (char *) "self",(char *) "pos", NULL
29234 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29235 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxContextMenuEvent
, 0 | 0 );
29236 if (!SWIG_IsOK(res1
)) {
29237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextMenuEvent_SetPosition" "', expected argument " "1"" of type '" "wxContextMenuEvent *""'");
29239 arg1
= reinterpret_cast< wxContextMenuEvent
* >(argp1
);
29242 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29246 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
29247 wxPyEndAllowThreads(__tstate
);
29248 if (PyErr_Occurred()) SWIG_fail
;
29250 resultobj
= SWIG_Py_Void();
29257 SWIGINTERN PyObject
*ContextMenuEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29259 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29260 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextMenuEvent
, SWIG_NewClientData(obj
));
29261 return SWIG_Py_Void();
29264 SWIGINTERN PyObject
*ContextMenuEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29265 return SWIG_Python_InitShadowInstance(args
);
29268 SWIGINTERN PyObject
*_wrap_new_IdleEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29269 PyObject
*resultobj
= 0;
29270 wxIdleEvent
*result
= 0 ;
29272 if (!SWIG_Python_UnpackTuple(args
,"new_IdleEvent",0,0,0)) SWIG_fail
;
29274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29275 result
= (wxIdleEvent
*)new wxIdleEvent();
29276 wxPyEndAllowThreads(__tstate
);
29277 if (PyErr_Occurred()) SWIG_fail
;
29279 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_NEW
| 0 );
29286 SWIGINTERN PyObject
*_wrap_IdleEvent_RequestMore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29287 PyObject
*resultobj
= 0;
29288 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
29289 bool arg2
= (bool) true ;
29294 PyObject
* obj0
= 0 ;
29295 PyObject
* obj1
= 0 ;
29296 char * kwnames
[] = {
29297 (char *) "self",(char *) "needMore", NULL
29300 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29301 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIdleEvent
, 0 | 0 );
29302 if (!SWIG_IsOK(res1
)) {
29303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IdleEvent_RequestMore" "', expected argument " "1"" of type '" "wxIdleEvent *""'");
29305 arg1
= reinterpret_cast< wxIdleEvent
* >(argp1
);
29307 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
29308 if (!SWIG_IsOK(ecode2
)) {
29309 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IdleEvent_RequestMore" "', expected argument " "2"" of type '" "bool""'");
29311 arg2
= static_cast< bool >(val2
);
29314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29315 (arg1
)->RequestMore(arg2
);
29316 wxPyEndAllowThreads(__tstate
);
29317 if (PyErr_Occurred()) SWIG_fail
;
29319 resultobj
= SWIG_Py_Void();
29326 SWIGINTERN PyObject
*_wrap_IdleEvent_MoreRequested(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29327 PyObject
*resultobj
= 0;
29328 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
29332 PyObject
*swig_obj
[1] ;
29334 if (!args
) SWIG_fail
;
29335 swig_obj
[0] = args
;
29336 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIdleEvent
, 0 | 0 );
29337 if (!SWIG_IsOK(res1
)) {
29338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IdleEvent_MoreRequested" "', expected argument " "1"" of type '" "wxIdleEvent const *""'");
29340 arg1
= reinterpret_cast< wxIdleEvent
* >(argp1
);
29342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29343 result
= (bool)((wxIdleEvent
const *)arg1
)->MoreRequested();
29344 wxPyEndAllowThreads(__tstate
);
29345 if (PyErr_Occurred()) SWIG_fail
;
29348 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29356 SWIGINTERN PyObject
*_wrap_IdleEvent_SetMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29357 PyObject
*resultobj
= 0;
29361 PyObject
* obj0
= 0 ;
29362 char * kwnames
[] = {
29363 (char *) "mode", NULL
29366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_SetMode",kwnames
,&obj0
)) SWIG_fail
;
29367 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
29368 if (!SWIG_IsOK(ecode1
)) {
29369 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "IdleEvent_SetMode" "', expected argument " "1"" of type '" "wxIdleMode""'");
29371 arg1
= static_cast< wxIdleMode
>(val1
);
29373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29374 wxIdleEvent::SetMode(arg1
);
29375 wxPyEndAllowThreads(__tstate
);
29376 if (PyErr_Occurred()) SWIG_fail
;
29378 resultobj
= SWIG_Py_Void();
29385 SWIGINTERN PyObject
*_wrap_IdleEvent_GetMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29386 PyObject
*resultobj
= 0;
29389 if (!SWIG_Python_UnpackTuple(args
,"IdleEvent_GetMode",0,0,0)) SWIG_fail
;
29391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29392 result
= (wxIdleMode
)wxIdleEvent::GetMode();
29393 wxPyEndAllowThreads(__tstate
);
29394 if (PyErr_Occurred()) SWIG_fail
;
29396 resultobj
= SWIG_From_int(static_cast< int >(result
));
29403 SWIGINTERN PyObject
*_wrap_IdleEvent_CanSend(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29404 PyObject
*resultobj
= 0;
29405 wxWindow
*arg1
= (wxWindow
*) 0 ;
29409 PyObject
* obj0
= 0 ;
29410 char * kwnames
[] = {
29411 (char *) "win", NULL
29414 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_CanSend",kwnames
,&obj0
)) SWIG_fail
;
29415 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29416 if (!SWIG_IsOK(res1
)) {
29417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IdleEvent_CanSend" "', expected argument " "1"" of type '" "wxWindow *""'");
29419 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
29421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29422 result
= (bool)wxIdleEvent::CanSend(arg1
);
29423 wxPyEndAllowThreads(__tstate
);
29424 if (PyErr_Occurred()) SWIG_fail
;
29427 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29435 SWIGINTERN PyObject
*IdleEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29437 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29438 SWIG_TypeNewClientData(SWIGTYPE_p_wxIdleEvent
, SWIG_NewClientData(obj
));
29439 return SWIG_Py_Void();
29442 SWIGINTERN PyObject
*IdleEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29443 return SWIG_Python_InitShadowInstance(args
);
29446 SWIGINTERN PyObject
*_wrap_new_ClipboardTextEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29447 PyObject
*resultobj
= 0;
29448 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
29449 int arg2
= (int) 0 ;
29450 wxClipboardTextEvent
*result
= 0 ;
29455 PyObject
* obj0
= 0 ;
29456 PyObject
* obj1
= 0 ;
29457 char * kwnames
[] = {
29458 (char *) "type",(char *) "winid", NULL
29461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ClipboardTextEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29463 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
29464 if (!SWIG_IsOK(ecode1
)) {
29465 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ClipboardTextEvent" "', expected argument " "1"" of type '" "wxEventType""'");
29467 arg1
= static_cast< wxEventType
>(val1
);
29470 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29471 if (!SWIG_IsOK(ecode2
)) {
29472 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ClipboardTextEvent" "', expected argument " "2"" of type '" "int""'");
29474 arg2
= static_cast< int >(val2
);
29477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29478 result
= (wxClipboardTextEvent
*)new wxClipboardTextEvent(arg1
,arg2
);
29479 wxPyEndAllowThreads(__tstate
);
29480 if (PyErr_Occurred()) SWIG_fail
;
29482 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClipboardTextEvent
, SWIG_POINTER_NEW
| 0 );
29489 SWIGINTERN PyObject
*ClipboardTextEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29491 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29492 SWIG_TypeNewClientData(SWIGTYPE_p_wxClipboardTextEvent
, SWIG_NewClientData(obj
));
29493 return SWIG_Py_Void();
29496 SWIGINTERN PyObject
*ClipboardTextEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29497 return SWIG_Python_InitShadowInstance(args
);
29500 SWIGINTERN PyObject
*_wrap_new_PyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29501 PyObject
*resultobj
= 0;
29502 int arg1
= (int) 0 ;
29503 wxEventType arg2
= (wxEventType
) wxEVT_NULL
;
29504 wxPyEvent
*result
= 0 ;
29509 PyObject
* obj0
= 0 ;
29510 PyObject
* obj1
= 0 ;
29511 char * kwnames
[] = {
29512 (char *) "winid",(char *) "eventType", NULL
29515 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29517 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
29518 if (!SWIG_IsOK(ecode1
)) {
29519 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyEvent" "', expected argument " "1"" of type '" "int""'");
29521 arg1
= static_cast< int >(val1
);
29524 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29525 if (!SWIG_IsOK(ecode2
)) {
29526 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyEvent" "', expected argument " "2"" of type '" "wxEventType""'");
29528 arg2
= static_cast< wxEventType
>(val2
);
29531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29532 result
= (wxPyEvent
*)new wxPyEvent(arg1
,arg2
);
29533 wxPyEndAllowThreads(__tstate
);
29534 if (PyErr_Occurred()) SWIG_fail
;
29536 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_NEW
| 0 );
29543 SWIGINTERN PyObject
*_wrap_delete_PyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29544 PyObject
*resultobj
= 0;
29545 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
29548 PyObject
*swig_obj
[1] ;
29550 if (!args
) SWIG_fail
;
29551 swig_obj
[0] = args
;
29552 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_DISOWN
| 0 );
29553 if (!SWIG_IsOK(res1
)) {
29554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PyEvent" "', expected argument " "1"" of type '" "wxPyEvent *""'");
29556 arg1
= reinterpret_cast< wxPyEvent
* >(argp1
);
29558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29561 wxPyEndAllowThreads(__tstate
);
29562 if (PyErr_Occurred()) SWIG_fail
;
29564 resultobj
= SWIG_Py_Void();
29571 SWIGINTERN PyObject
*_wrap_PyEvent__SetSelf(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29572 PyObject
*resultobj
= 0;
29573 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
29574 PyObject
*arg2
= (PyObject
*) 0 ;
29577 PyObject
* obj0
= 0 ;
29578 PyObject
* obj1
= 0 ;
29579 char * kwnames
[] = {
29580 (char *) "self",(char *) "self", NULL
29583 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEvent__SetSelf",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29584 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyEvent
, 0 | 0 );
29585 if (!SWIG_IsOK(res1
)) {
29586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyEvent__SetSelf" "', expected argument " "1"" of type '" "wxPyEvent *""'");
29588 arg1
= reinterpret_cast< wxPyEvent
* >(argp1
);
29591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29592 (arg1
)->SetSelf(arg2
);
29593 wxPyEndAllowThreads(__tstate
);
29594 if (PyErr_Occurred()) SWIG_fail
;
29596 resultobj
= SWIG_Py_Void();
29603 SWIGINTERN PyObject
*_wrap_PyEvent__GetSelf(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29604 PyObject
*resultobj
= 0;
29605 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
29606 PyObject
*result
= 0 ;
29609 PyObject
*swig_obj
[1] ;
29611 if (!args
) SWIG_fail
;
29612 swig_obj
[0] = args
;
29613 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyEvent
, 0 | 0 );
29614 if (!SWIG_IsOK(res1
)) {
29615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyEvent__GetSelf" "', expected argument " "1"" of type '" "wxPyEvent *""'");
29617 arg1
= reinterpret_cast< wxPyEvent
* >(argp1
);
29619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29620 result
= (PyObject
*)(arg1
)->GetSelf();
29621 wxPyEndAllowThreads(__tstate
);
29622 if (PyErr_Occurred()) SWIG_fail
;
29624 resultobj
= result
;
29631 SWIGINTERN PyObject
*PyEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29633 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29634 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyEvent
, SWIG_NewClientData(obj
));
29635 return SWIG_Py_Void();
29638 SWIGINTERN PyObject
*PyEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29639 return SWIG_Python_InitShadowInstance(args
);
29642 SWIGINTERN PyObject
*_wrap_new_PyCommandEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29643 PyObject
*resultobj
= 0;
29644 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
29645 int arg2
= (int) 0 ;
29646 wxPyCommandEvent
*result
= 0 ;
29651 PyObject
* obj0
= 0 ;
29652 PyObject
* obj1
= 0 ;
29653 char * kwnames
[] = {
29654 (char *) "eventType",(char *) "id", NULL
29657 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyCommandEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29659 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
29660 if (!SWIG_IsOK(ecode1
)) {
29661 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyCommandEvent" "', expected argument " "1"" of type '" "wxEventType""'");
29663 arg1
= static_cast< wxEventType
>(val1
);
29666 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29667 if (!SWIG_IsOK(ecode2
)) {
29668 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyCommandEvent" "', expected argument " "2"" of type '" "int""'");
29670 arg2
= static_cast< int >(val2
);
29673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29674 result
= (wxPyCommandEvent
*)new wxPyCommandEvent(arg1
,arg2
);
29675 wxPyEndAllowThreads(__tstate
);
29676 if (PyErr_Occurred()) SWIG_fail
;
29678 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_NEW
| 0 );
29685 SWIGINTERN PyObject
*_wrap_delete_PyCommandEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29686 PyObject
*resultobj
= 0;
29687 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
29690 PyObject
*swig_obj
[1] ;
29692 if (!args
) SWIG_fail
;
29693 swig_obj
[0] = args
;
29694 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_DISOWN
| 0 );
29695 if (!SWIG_IsOK(res1
)) {
29696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PyCommandEvent" "', expected argument " "1"" of type '" "wxPyCommandEvent *""'");
29698 arg1
= reinterpret_cast< wxPyCommandEvent
* >(argp1
);
29700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29703 wxPyEndAllowThreads(__tstate
);
29704 if (PyErr_Occurred()) SWIG_fail
;
29706 resultobj
= SWIG_Py_Void();
29713 SWIGINTERN PyObject
*_wrap_PyCommandEvent__SetSelf(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29714 PyObject
*resultobj
= 0;
29715 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
29716 PyObject
*arg2
= (PyObject
*) 0 ;
29719 PyObject
* obj0
= 0 ;
29720 PyObject
* obj1
= 0 ;
29721 char * kwnames
[] = {
29722 (char *) "self",(char *) "self", NULL
29725 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCommandEvent__SetSelf",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29726 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyCommandEvent
, 0 | 0 );
29727 if (!SWIG_IsOK(res1
)) {
29728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyCommandEvent__SetSelf" "', expected argument " "1"" of type '" "wxPyCommandEvent *""'");
29730 arg1
= reinterpret_cast< wxPyCommandEvent
* >(argp1
);
29733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29734 (arg1
)->SetSelf(arg2
);
29735 wxPyEndAllowThreads(__tstate
);
29736 if (PyErr_Occurred()) SWIG_fail
;
29738 resultobj
= SWIG_Py_Void();
29745 SWIGINTERN PyObject
*_wrap_PyCommandEvent__GetSelf(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29746 PyObject
*resultobj
= 0;
29747 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
29748 PyObject
*result
= 0 ;
29751 PyObject
*swig_obj
[1] ;
29753 if (!args
) SWIG_fail
;
29754 swig_obj
[0] = args
;
29755 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyCommandEvent
, 0 | 0 );
29756 if (!SWIG_IsOK(res1
)) {
29757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyCommandEvent__GetSelf" "', expected argument " "1"" of type '" "wxPyCommandEvent *""'");
29759 arg1
= reinterpret_cast< wxPyCommandEvent
* >(argp1
);
29761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29762 result
= (PyObject
*)(arg1
)->GetSelf();
29763 wxPyEndAllowThreads(__tstate
);
29764 if (PyErr_Occurred()) SWIG_fail
;
29766 resultobj
= result
;
29773 SWIGINTERN PyObject
*PyCommandEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29775 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29776 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyCommandEvent
, SWIG_NewClientData(obj
));
29777 return SWIG_Py_Void();
29780 SWIGINTERN PyObject
*PyCommandEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29781 return SWIG_Python_InitShadowInstance(args
);
29784 SWIGINTERN PyObject
*_wrap_new_DateEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29785 PyObject
*resultobj
= 0;
29786 wxWindow
*arg1
= (wxWindow
*) 0 ;
29787 wxDateTime
*arg2
= 0 ;
29789 wxDateEvent
*result
= 0 ;
29796 PyObject
* obj0
= 0 ;
29797 PyObject
* obj1
= 0 ;
29798 PyObject
* obj2
= 0 ;
29799 char * kwnames
[] = {
29800 (char *) "win",(char *) "dt",(char *) "type", NULL
29803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_DateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29804 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29805 if (!SWIG_IsOK(res1
)) {
29806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DateEvent" "', expected argument " "1"" of type '" "wxWindow *""'");
29808 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
29809 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
29810 if (!SWIG_IsOK(res2
)) {
29811 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DateEvent" "', expected argument " "2"" of type '" "wxDateTime const &""'");
29814 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DateEvent" "', expected argument " "2"" of type '" "wxDateTime const &""'");
29816 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
29817 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29818 if (!SWIG_IsOK(ecode3
)) {
29819 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DateEvent" "', expected argument " "3"" of type '" "wxEventType""'");
29821 arg3
= static_cast< wxEventType
>(val3
);
29823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29824 result
= (wxDateEvent
*)new wxDateEvent(arg1
,(wxDateTime
const &)*arg2
,arg3
);
29825 wxPyEndAllowThreads(__tstate
);
29826 if (PyErr_Occurred()) SWIG_fail
;
29828 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateEvent
, SWIG_POINTER_NEW
| 0 );
29835 SWIGINTERN PyObject
*_wrap_DateEvent_GetDate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29836 PyObject
*resultobj
= 0;
29837 wxDateEvent
*arg1
= (wxDateEvent
*) 0 ;
29838 wxDateTime
*result
= 0 ;
29841 PyObject
*swig_obj
[1] ;
29843 if (!args
) SWIG_fail
;
29844 swig_obj
[0] = args
;
29845 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateEvent
, 0 | 0 );
29846 if (!SWIG_IsOK(res1
)) {
29847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateEvent_GetDate" "', expected argument " "1"" of type '" "wxDateEvent const *""'");
29849 arg1
= reinterpret_cast< wxDateEvent
* >(argp1
);
29851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29853 wxDateTime
const &_result_ref
= ((wxDateEvent
const *)arg1
)->GetDate();
29854 result
= (wxDateTime
*) &_result_ref
;
29856 wxPyEndAllowThreads(__tstate
);
29857 if (PyErr_Occurred()) SWIG_fail
;
29859 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
29866 SWIGINTERN PyObject
*_wrap_DateEvent_SetDate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29867 PyObject
*resultobj
= 0;
29868 wxDateEvent
*arg1
= (wxDateEvent
*) 0 ;
29869 wxDateTime
*arg2
= 0 ;
29874 PyObject
* obj0
= 0 ;
29875 PyObject
* obj1
= 0 ;
29876 char * kwnames
[] = {
29877 (char *) "self",(char *) "date", NULL
29880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateEvent_SetDate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29881 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateEvent
, 0 | 0 );
29882 if (!SWIG_IsOK(res1
)) {
29883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateEvent_SetDate" "', expected argument " "1"" of type '" "wxDateEvent *""'");
29885 arg1
= reinterpret_cast< wxDateEvent
* >(argp1
);
29886 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
29887 if (!SWIG_IsOK(res2
)) {
29888 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateEvent_SetDate" "', expected argument " "2"" of type '" "wxDateTime const &""'");
29891 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateEvent_SetDate" "', expected argument " "2"" of type '" "wxDateTime const &""'");
29893 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
29895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29896 (arg1
)->SetDate((wxDateTime
const &)*arg2
);
29897 wxPyEndAllowThreads(__tstate
);
29898 if (PyErr_Occurred()) SWIG_fail
;
29900 resultobj
= SWIG_Py_Void();
29907 SWIGINTERN PyObject
*DateEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29909 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29910 SWIG_TypeNewClientData(SWIGTYPE_p_wxDateEvent
, SWIG_NewClientData(obj
));
29911 return SWIG_Py_Void();
29914 SWIGINTERN PyObject
*DateEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29915 return SWIG_Python_InitShadowInstance(args
);
29918 SWIGINTERN PyObject
*_wrap_new_EventBlocker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29919 PyObject
*resultobj
= 0;
29920 wxWindow
*arg1
= (wxWindow
*) 0 ;
29921 wxEventType arg2
= (wxEventType
) wxEVT_ANY
;
29922 wxEventBlocker
*result
= 0 ;
29927 PyObject
* obj0
= 0 ;
29928 PyObject
* obj1
= 0 ;
29929 char * kwnames
[] = {
29930 (char *) "win",(char *) "type", NULL
29933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_EventBlocker",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29935 if (!SWIG_IsOK(res1
)) {
29936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_EventBlocker" "', expected argument " "1"" of type '" "wxWindow *""'");
29938 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
29940 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29941 if (!SWIG_IsOK(ecode2
)) {
29942 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_EventBlocker" "', expected argument " "2"" of type '" "wxEventType""'");
29944 arg2
= static_cast< wxEventType
>(val2
);
29947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29948 result
= (wxEventBlocker
*)new wxEventBlocker(arg1
,arg2
);
29949 wxPyEndAllowThreads(__tstate
);
29950 if (PyErr_Occurred()) SWIG_fail
;
29952 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEventBlocker
, SWIG_POINTER_NEW
| 0 );
29959 SWIGINTERN PyObject
*_wrap_delete_EventBlocker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29960 PyObject
*resultobj
= 0;
29961 wxEventBlocker
*arg1
= (wxEventBlocker
*) 0 ;
29964 PyObject
*swig_obj
[1] ;
29966 if (!args
) SWIG_fail
;
29967 swig_obj
[0] = args
;
29968 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEventBlocker
, SWIG_POINTER_DISOWN
| 0 );
29969 if (!SWIG_IsOK(res1
)) {
29970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EventBlocker" "', expected argument " "1"" of type '" "wxEventBlocker *""'");
29972 arg1
= reinterpret_cast< wxEventBlocker
* >(argp1
);
29974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29977 wxPyEndAllowThreads(__tstate
);
29978 if (PyErr_Occurred()) SWIG_fail
;
29980 resultobj
= SWIG_Py_Void();
29987 SWIGINTERN PyObject
*_wrap_EventBlocker_Block(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29988 PyObject
*resultobj
= 0;
29989 wxEventBlocker
*arg1
= (wxEventBlocker
*) 0 ;
29995 PyObject
* obj0
= 0 ;
29996 PyObject
* obj1
= 0 ;
29997 char * kwnames
[] = {
29998 (char *) "self",(char *) "type", NULL
30001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EventBlocker_Block",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30002 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEventBlocker
, 0 | 0 );
30003 if (!SWIG_IsOK(res1
)) {
30004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EventBlocker_Block" "', expected argument " "1"" of type '" "wxEventBlocker *""'");
30006 arg1
= reinterpret_cast< wxEventBlocker
* >(argp1
);
30007 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30008 if (!SWIG_IsOK(ecode2
)) {
30009 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EventBlocker_Block" "', expected argument " "2"" of type '" "wxEventType""'");
30011 arg2
= static_cast< wxEventType
>(val2
);
30013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30014 (arg1
)->Block(arg2
);
30015 wxPyEndAllowThreads(__tstate
);
30016 if (PyErr_Occurred()) SWIG_fail
;
30018 resultobj
= SWIG_Py_Void();
30025 SWIGINTERN PyObject
*EventBlocker_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30027 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30028 SWIG_TypeNewClientData(SWIGTYPE_p_wxEventBlocker
, SWIG_NewClientData(obj
));
30029 return SWIG_Py_Void();
30032 SWIGINTERN PyObject
*EventBlocker_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30033 return SWIG_Python_InitShadowInstance(args
);
30036 SWIGINTERN PyObject
*_wrap_new_PyApp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30037 PyObject
*resultobj
= 0;
30038 wxPyApp
*result
= 0 ;
30040 if (!SWIG_Python_UnpackTuple(args
,"new_PyApp",0,0,0)) SWIG_fail
;
30042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30043 result
= (wxPyApp
*)new_wxPyApp();
30044 wxPyEndAllowThreads(__tstate
);
30045 if (PyErr_Occurred()) SWIG_fail
;
30047 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyApp
, SWIG_POINTER_NEW
| 0 );
30054 SWIGINTERN PyObject
*_wrap_delete_PyApp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30055 PyObject
*resultobj
= 0;
30056 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
30059 PyObject
*swig_obj
[1] ;
30061 if (!args
) SWIG_fail
;
30062 swig_obj
[0] = args
;
30063 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, SWIG_POINTER_DISOWN
| 0 );
30064 if (!SWIG_IsOK(res1
)) {
30065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PyApp" "', expected argument " "1"" of type '" "wxPyApp *""'");
30067 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
30069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30072 wxPyEndAllowThreads(__tstate
);
30073 if (PyErr_Occurred()) SWIG_fail
;
30075 resultobj
= SWIG_Py_Void();
30082 SWIGINTERN PyObject
*_wrap_PyApp__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30083 PyObject
*resultobj
= 0;
30084 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
30085 PyObject
*arg2
= (PyObject
*) 0 ;
30086 PyObject
*arg3
= (PyObject
*) 0 ;
30087 bool arg4
= (bool) false ;
30092 PyObject
* obj0
= 0 ;
30093 PyObject
* obj1
= 0 ;
30094 PyObject
* obj2
= 0 ;
30095 PyObject
* obj3
= 0 ;
30096 char * kwnames
[] = {
30097 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
30100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30101 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
30102 if (!SWIG_IsOK(res1
)) {
30103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyApp *""'");
30105 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
30109 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
30110 if (!SWIG_IsOK(ecode4
)) {
30111 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyApp__setCallbackInfo" "', expected argument " "4"" of type '" "bool""'");
30113 arg4
= static_cast< bool >(val4
);
30116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30117 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
30118 wxPyEndAllowThreads(__tstate
);
30119 if (PyErr_Occurred()) SWIG_fail
;
30121 resultobj
= SWIG_Py_Void();
30128 SWIGINTERN PyObject
*_wrap_PyApp_GetAppName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30129 PyObject
*resultobj
= 0;
30130 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
30134 PyObject
*swig_obj
[1] ;
30136 if (!args
) SWIG_fail
;
30137 swig_obj
[0] = args
;
30138 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
30139 if (!SWIG_IsOK(res1
)) {
30140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_GetAppName" "', expected argument " "1"" of type '" "wxPyApp const *""'");
30142 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
30144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30145 result
= ((wxPyApp
const *)arg1
)->GetAppName();
30146 wxPyEndAllowThreads(__tstate
);
30147 if (PyErr_Occurred()) SWIG_fail
;
30151 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30153 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30162 SWIGINTERN PyObject
*_wrap_PyApp_SetAppName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30163 PyObject
*resultobj
= 0;
30164 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
30165 wxString
*arg2
= 0 ;
30168 bool temp2
= false ;
30169 PyObject
* obj0
= 0 ;
30170 PyObject
* obj1
= 0 ;
30171 char * kwnames
[] = {
30172 (char *) "self",(char *) "name", NULL
30175 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAppName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30176 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
30177 if (!SWIG_IsOK(res1
)) {
30178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_SetAppName" "', expected argument " "1"" of type '" "wxPyApp *""'");
30180 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
30182 arg2
= wxString_in_helper(obj1
);
30183 if (arg2
== NULL
) SWIG_fail
;
30187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30188 (arg1
)->SetAppName((wxString
const &)*arg2
);
30189 wxPyEndAllowThreads(__tstate
);
30190 if (PyErr_Occurred()) SWIG_fail
;
30192 resultobj
= SWIG_Py_Void();
30207 SWIGINTERN PyObject
*_wrap_PyApp_GetClassName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30208 PyObject
*resultobj
= 0;
30209 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
30213 PyObject
*swig_obj
[1] ;
30215 if (!args
) SWIG_fail
;
30216 swig_obj
[0] = args
;
30217 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
30218 if (!SWIG_IsOK(res1
)) {
30219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_GetClassName" "', expected argument " "1"" of type '" "wxPyApp const *""'");
30221 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
30223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30224 result
= ((wxPyApp
const *)arg1
)->GetClassName();
30225 wxPyEndAllowThreads(__tstate
);
30226 if (PyErr_Occurred()) SWIG_fail
;
30230 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30232 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30241 SWIGINTERN PyObject
*_wrap_PyApp_SetClassName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30242 PyObject
*resultobj
= 0;
30243 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
30244 wxString
*arg2
= 0 ;
30247 bool temp2
= false ;
30248 PyObject
* obj0
= 0 ;
30249 PyObject
* obj1
= 0 ;
30250 char * kwnames
[] = {
30251 (char *) "self",(char *) "name", NULL
30254 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetClassName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30255 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
30256 if (!SWIG_IsOK(res1
)) {
30257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_SetClassName" "', expected argument " "1"" of type '" "wxPyApp *""'");
30259 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
30261 arg2
= wxString_in_helper(obj1
);
30262 if (arg2
== NULL
) SWIG_fail
;
30266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30267 (arg1
)->SetClassName((wxString
const &)*arg2
);
30268 wxPyEndAllowThreads(__tstate
);
30269 if (PyErr_Occurred()) SWIG_fail
;
30271 resultobj
= SWIG_Py_Void();
30286 SWIGINTERN PyObject
*_wrap_PyApp_GetVendorName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30287 PyObject
*resultobj
= 0;
30288 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
30289 wxString
*result
= 0 ;
30292 PyObject
*swig_obj
[1] ;
30294 if (!args
) SWIG_fail
;
30295 swig_obj
[0] = args
;
30296 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
30297 if (!SWIG_IsOK(res1
)) {
30298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_GetVendorName" "', expected argument " "1"" of type '" "wxPyApp const *""'");
30300 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
30302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30304 wxString
const &_result_ref
= ((wxPyApp
const *)arg1
)->GetVendorName();
30305 result
= (wxString
*) &_result_ref
;
30307 wxPyEndAllowThreads(__tstate
);
30308 if (PyErr_Occurred()) SWIG_fail
;
30312 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
30314 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
30323 SWIGINTERN PyObject
*_wrap_PyApp_SetVendorName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30324 PyObject
*resultobj
= 0;
30325 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
30326 wxString
*arg2
= 0 ;
30329 bool temp2
= false ;
30330 PyObject
* obj0
= 0 ;
30331 PyObject
* obj1
= 0 ;
30332 char * kwnames
[] = {
30333 (char *) "self",(char *) "name", NULL
30336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30337 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
30338 if (!SWIG_IsOK(res1
)) {
30339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_SetVendorName" "', expected argument " "1"" of type '" "wxPyApp *""'");
30341 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
30343 arg2
= wxString_in_helper(obj1
);
30344 if (arg2
== NULL
) SWIG_fail
;
30348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30349 (arg1
)->SetVendorName((wxString
const &)*arg2
);
30350 wxPyEndAllowThreads(__tstate
);
30351 if (PyErr_Occurred()) SWIG_fail
;
30353 resultobj
= SWIG_Py_Void();
30368 SWIGINTERN PyObject
*_wrap_PyApp_GetTraits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30369 PyObject
*resultobj
= 0;
30370 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
30371 wxAppTraits
*result
= 0 ;
30374 PyObject
*swig_obj
[1] ;
30376 if (!args
) SWIG_fail
;
30377 swig_obj
[0] = args
;
30378 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
30379 if (!SWIG_IsOK(res1
)) {
30380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_GetTraits" "', expected argument " "1"" of type '" "wxPyApp *""'");
30382 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
30384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30385 result
= (wxAppTraits
*)(arg1
)->GetTraits();
30386 wxPyEndAllowThreads(__tstate
);
30387 if (PyErr_Occurred()) SWIG_fail
;
30389 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAppTraits
, 0 | 0 );
30396 SWIGINTERN PyObject
*_wrap_PyApp_ProcessPendingEvents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30397 PyObject
*resultobj
= 0;
30398 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
30401 PyObject
*swig_obj
[1] ;
30403 if (!args
) SWIG_fail
;
30404 swig_obj
[0] = args
;
30405 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
30406 if (!SWIG_IsOK(res1
)) {
30407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_ProcessPendingEvents" "', expected argument " "1"" of type '" "wxPyApp *""'");
30409 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
30411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30412 (arg1
)->ProcessPendingEvents();
30413 wxPyEndAllowThreads(__tstate
);
30414 if (PyErr_Occurred()) SWIG_fail
;
30416 resultobj
= SWIG_Py_Void();
30423 SWIGINTERN PyObject
*_wrap_PyApp_Yield(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30424 PyObject
*resultobj
= 0;
30425 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
30426 bool arg2
= (bool) false ;
30432 PyObject
* obj0
= 0 ;
30433 PyObject
* obj1
= 0 ;
30434 char * kwnames
[] = {
30435 (char *) "self",(char *) "onlyIfNeeded", NULL
30438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyApp_Yield",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30439 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
30440 if (!SWIG_IsOK(res1
)) {
30441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_Yield" "', expected argument " "1"" of type '" "wxPyApp *""'");
30443 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
30445 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
30446 if (!SWIG_IsOK(ecode2
)) {
30447 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyApp_Yield" "', expected argument " "2"" of type '" "bool""'");
30449 arg2
= static_cast< bool >(val2
);
30452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30453 result
= (bool)(arg1
)->Yield(arg2
);
30454 wxPyEndAllowThreads(__tstate
);
30455 if (PyErr_Occurred()) SWIG_fail
;
30458 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30466 SWIGINTERN PyObject
*_wrap_PyApp_WakeUpIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30467 PyObject
*resultobj
= 0;
30468 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
30471 PyObject
*swig_obj
[1] ;
30473 if (!args
) SWIG_fail
;
30474 swig_obj
[0] = args
;
30475 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
30476 if (!SWIG_IsOK(res1
)) {
30477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_WakeUpIdle" "', expected argument " "1"" of type '" "wxPyApp *""'");
30479 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
30481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30482 (arg1
)->WakeUpIdle();
30483 wxPyEndAllowThreads(__tstate
);
30484 if (PyErr_Occurred()) SWIG_fail
;
30486 resultobj
= SWIG_Py_Void();
30493 SWIGINTERN PyObject
*_wrap_PyApp_IsMainLoopRunning(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30494 PyObject
*resultobj
= 0;
30497 if (!SWIG_Python_UnpackTuple(args
,"PyApp_IsMainLoopRunning",0,0,0)) SWIG_fail
;
30499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30500 result
= (bool)wxPyApp::IsMainLoopRunning();
30501 wxPyEndAllowThreads(__tstate
);
30502 if (PyErr_Occurred()) SWIG_fail
;
30505 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30513 SWIGINTERN PyObject
*_wrap_PyApp_MainLoop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30514 PyObject
*resultobj
= 0;
30515 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
30519 PyObject
*swig_obj
[1] ;
30521 if (!args
) SWIG_fail
;
30522 swig_obj
[0] = args
;
30523 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
30524 if (!SWIG_IsOK(res1
)) {
30525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_MainLoop" "', expected argument " "1"" of type '" "wxPyApp *""'");
30527 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
30529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30530 result
= (int)(arg1
)->MainLoop();
30531 wxPyEndAllowThreads(__tstate
);
30532 if (PyErr_Occurred()) SWIG_fail
;
30534 resultobj
= SWIG_From_int(static_cast< int >(result
));
30541 SWIGINTERN PyObject
*_wrap_PyApp_Exit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30542 PyObject
*resultobj
= 0;
30543 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
30546 PyObject
*swig_obj
[1] ;
30548 if (!args
) SWIG_fail
;
30549 swig_obj
[0] = args
;
30550 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
30551 if (!SWIG_IsOK(res1
)) {
30552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_Exit" "', expected argument " "1"" of type '" "wxPyApp *""'");
30554 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
30556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30558 wxPyEndAllowThreads(__tstate
);
30559 if (PyErr_Occurred()) SWIG_fail
;
30561 resultobj
= SWIG_Py_Void();
30568 SWIGINTERN PyObject
*_wrap_PyApp_GetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30569 PyObject
*resultobj
= 0;
30570 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
30571 wxLayoutDirection result
;
30574 PyObject
*swig_obj
[1] ;
30576 if (!args
) SWIG_fail
;
30577 swig_obj
[0] = args
;
30578 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
30579 if (!SWIG_IsOK(res1
)) {
30580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_GetLayoutDirection" "', expected argument " "1"" of type '" "wxPyApp const *""'");
30582 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
30584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30585 result
= (wxLayoutDirection
)((wxPyApp
const *)arg1
)->GetLayoutDirection();
30586 wxPyEndAllowThreads(__tstate
);
30587 if (PyErr_Occurred()) SWIG_fail
;
30589 resultobj
= SWIG_From_int(static_cast< int >(result
));
30596 SWIGINTERN PyObject
*_wrap_PyApp_ExitMainLoop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30597 PyObject
*resultobj
= 0;
30598 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
30601 PyObject
*swig_obj
[1] ;
30603 if (!args
) SWIG_fail
;
30604 swig_obj
[0] = args
;
30605 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
30606 if (!SWIG_IsOK(res1
)) {
30607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_ExitMainLoop" "', expected argument " "1"" of type '" "wxPyApp *""'");
30609 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
30611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30612 (arg1
)->ExitMainLoop();
30613 wxPyEndAllowThreads(__tstate
);
30614 if (PyErr_Occurred()) SWIG_fail
;
30616 resultobj
= SWIG_Py_Void();
30623 SWIGINTERN PyObject
*_wrap_PyApp_Pending(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30624 PyObject
*resultobj
= 0;
30625 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
30629 PyObject
*swig_obj
[1] ;
30631 if (!args
) SWIG_fail
;
30632 swig_obj
[0] = args
;
30633 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
30634 if (!SWIG_IsOK(res1
)) {
30635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_Pending" "', expected argument " "1"" of type '" "wxPyApp *""'");
30637 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
30639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30640 result
= (bool)(arg1
)->Pending();
30641 wxPyEndAllowThreads(__tstate
);
30642 if (PyErr_Occurred()) SWIG_fail
;
30645 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30653 SWIGINTERN PyObject
*_wrap_PyApp_Dispatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30654 PyObject
*resultobj
= 0;
30655 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
30659 PyObject
*swig_obj
[1] ;
30661 if (!args
) SWIG_fail
;
30662 swig_obj
[0] = args
;
30663 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
30664 if (!SWIG_IsOK(res1
)) {
30665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_Dispatch" "', expected argument " "1"" of type '" "wxPyApp *""'");
30667 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
30669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30670 result
= (bool)(arg1
)->Dispatch();
30671 wxPyEndAllowThreads(__tstate
);
30672 if (PyErr_Occurred()) SWIG_fail
;
30675 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30683 SWIGINTERN PyObject
*_wrap_PyApp_ProcessIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30684 PyObject
*resultobj
= 0;
30685 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
30689 PyObject
*swig_obj
[1] ;
30691 if (!args
) SWIG_fail
;
30692 swig_obj
[0] = args
;
30693 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
30694 if (!SWIG_IsOK(res1
)) {
30695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_ProcessIdle" "', expected argument " "1"" of type '" "wxPyApp *""'");
30697 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
30699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30700 result
= (bool)(arg1
)->ProcessIdle();
30701 wxPyEndAllowThreads(__tstate
);
30702 if (PyErr_Occurred()) SWIG_fail
;
30705 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30713 SWIGINTERN PyObject
*_wrap_PyApp_SendIdleEvents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30714 PyObject
*resultobj
= 0;
30715 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
30716 wxWindow
*arg2
= (wxWindow
*) 0 ;
30717 wxIdleEvent
*arg3
= 0 ;
30725 PyObject
* obj0
= 0 ;
30726 PyObject
* obj1
= 0 ;
30727 PyObject
* obj2
= 0 ;
30728 char * kwnames
[] = {
30729 (char *) "self",(char *) "win",(char *) "event", NULL
30732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30733 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
30734 if (!SWIG_IsOK(res1
)) {
30735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_SendIdleEvents" "', expected argument " "1"" of type '" "wxPyApp *""'");
30737 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
30738 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30739 if (!SWIG_IsOK(res2
)) {
30740 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyApp_SendIdleEvents" "', expected argument " "2"" of type '" "wxWindow *""'");
30742 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30743 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxIdleEvent
, 0 );
30744 if (!SWIG_IsOK(res3
)) {
30745 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyApp_SendIdleEvents" "', expected argument " "3"" of type '" "wxIdleEvent &""'");
30748 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PyApp_SendIdleEvents" "', expected argument " "3"" of type '" "wxIdleEvent &""'");
30750 arg3
= reinterpret_cast< wxIdleEvent
* >(argp3
);
30752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30753 result
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
);
30754 wxPyEndAllowThreads(__tstate
);
30755 if (PyErr_Occurred()) SWIG_fail
;
30758 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30766 SWIGINTERN PyObject
*_wrap_PyApp_IsActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30767 PyObject
*resultobj
= 0;
30768 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
30772 PyObject
*swig_obj
[1] ;
30774 if (!args
) SWIG_fail
;
30775 swig_obj
[0] = args
;
30776 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
30777 if (!SWIG_IsOK(res1
)) {
30778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_IsActive" "', expected argument " "1"" of type '" "wxPyApp const *""'");
30780 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
30782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30783 result
= (bool)((wxPyApp
const *)arg1
)->IsActive();
30784 wxPyEndAllowThreads(__tstate
);
30785 if (PyErr_Occurred()) SWIG_fail
;
30788 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30796 SWIGINTERN PyObject
*_wrap_PyApp_SetTopWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30797 PyObject
*resultobj
= 0;
30798 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
30799 wxWindow
*arg2
= (wxWindow
*) 0 ;
30804 PyObject
* obj0
= 0 ;
30805 PyObject
* obj1
= 0 ;
30806 char * kwnames
[] = {
30807 (char *) "self",(char *) "win", NULL
30810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30811 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
30812 if (!SWIG_IsOK(res1
)) {
30813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_SetTopWindow" "', expected argument " "1"" of type '" "wxPyApp *""'");
30815 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
30816 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30817 if (!SWIG_IsOK(res2
)) {
30818 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyApp_SetTopWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
30820 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30823 (arg1
)->SetTopWindow(arg2
);
30824 wxPyEndAllowThreads(__tstate
);
30825 if (PyErr_Occurred()) SWIG_fail
;
30827 resultobj
= SWIG_Py_Void();
30834 SWIGINTERN PyObject
*_wrap_PyApp_GetTopWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30835 PyObject
*resultobj
= 0;
30836 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
30837 wxWindow
*result
= 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_wxPyApp
, 0 | 0 );
30845 if (!SWIG_IsOK(res1
)) {
30846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_GetTopWindow" "', expected argument " "1"" of type '" "wxPyApp const *""'");
30848 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
30850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30851 result
= (wxWindow
*)((wxPyApp
const *)arg1
)->GetTopWindow();
30852 wxPyEndAllowThreads(__tstate
);
30853 if (PyErr_Occurred()) SWIG_fail
;
30856 resultobj
= wxPyMake_wxObject(result
, (bool)0);
30864 SWIGINTERN PyObject
*_wrap_PyApp_SetExitOnFrameDelete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30865 PyObject
*resultobj
= 0;
30866 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
30872 PyObject
* obj0
= 0 ;
30873 PyObject
* obj1
= 0 ;
30874 char * kwnames
[] = {
30875 (char *) "self",(char *) "flag", NULL
30878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
30880 if (!SWIG_IsOK(res1
)) {
30881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_SetExitOnFrameDelete" "', expected argument " "1"" of type '" "wxPyApp *""'");
30883 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
30884 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
30885 if (!SWIG_IsOK(ecode2
)) {
30886 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyApp_SetExitOnFrameDelete" "', expected argument " "2"" of type '" "bool""'");
30888 arg2
= static_cast< bool >(val2
);
30890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30891 (arg1
)->SetExitOnFrameDelete(arg2
);
30892 wxPyEndAllowThreads(__tstate
);
30893 if (PyErr_Occurred()) SWIG_fail
;
30895 resultobj
= SWIG_Py_Void();
30902 SWIGINTERN PyObject
*_wrap_PyApp_GetExitOnFrameDelete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30903 PyObject
*resultobj
= 0;
30904 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
30908 PyObject
*swig_obj
[1] ;
30910 if (!args
) SWIG_fail
;
30911 swig_obj
[0] = args
;
30912 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
30913 if (!SWIG_IsOK(res1
)) {
30914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_GetExitOnFrameDelete" "', expected argument " "1"" of type '" "wxPyApp const *""'");
30916 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
30918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30919 result
= (bool)((wxPyApp
const *)arg1
)->GetExitOnFrameDelete();
30920 wxPyEndAllowThreads(__tstate
);
30921 if (PyErr_Occurred()) SWIG_fail
;
30924 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30932 SWIGINTERN PyObject
*_wrap_PyApp_SetUseBestVisual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30933 PyObject
*resultobj
= 0;
30934 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
30936 bool arg3
= (bool) false ;
30943 PyObject
* obj0
= 0 ;
30944 PyObject
* obj1
= 0 ;
30945 PyObject
* obj2
= 0 ;
30946 char * kwnames
[] = {
30947 (char *) "self",(char *) "flag",(char *) "forceTrueColour", NULL
30950 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30951 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
30952 if (!SWIG_IsOK(res1
)) {
30953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_SetUseBestVisual" "', expected argument " "1"" of type '" "wxPyApp *""'");
30955 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
30956 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
30957 if (!SWIG_IsOK(ecode2
)) {
30958 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyApp_SetUseBestVisual" "', expected argument " "2"" of type '" "bool""'");
30960 arg2
= static_cast< bool >(val2
);
30962 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
30963 if (!SWIG_IsOK(ecode3
)) {
30964 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyApp_SetUseBestVisual" "', expected argument " "3"" of type '" "bool""'");
30966 arg3
= static_cast< bool >(val3
);
30969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30970 (arg1
)->SetUseBestVisual(arg2
,arg3
);
30971 wxPyEndAllowThreads(__tstate
);
30972 if (PyErr_Occurred()) SWIG_fail
;
30974 resultobj
= SWIG_Py_Void();
30981 SWIGINTERN PyObject
*_wrap_PyApp_GetUseBestVisual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30982 PyObject
*resultobj
= 0;
30983 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
30987 PyObject
*swig_obj
[1] ;
30989 if (!args
) SWIG_fail
;
30990 swig_obj
[0] = args
;
30991 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
30992 if (!SWIG_IsOK(res1
)) {
30993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_GetUseBestVisual" "', expected argument " "1"" of type '" "wxPyApp const *""'");
30995 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
30997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30998 result
= (bool)((wxPyApp
const *)arg1
)->GetUseBestVisual();
30999 wxPyEndAllowThreads(__tstate
);
31000 if (PyErr_Occurred()) SWIG_fail
;
31003 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31011 SWIGINTERN PyObject
*_wrap_PyApp_SetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31012 PyObject
*resultobj
= 0;
31013 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
31019 PyObject
* obj0
= 0 ;
31020 PyObject
* obj1
= 0 ;
31021 char * kwnames
[] = {
31022 (char *) "self",(char *) "mode", NULL
31025 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetPrintMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31026 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
31027 if (!SWIG_IsOK(res1
)) {
31028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_SetPrintMode" "', expected argument " "1"" of type '" "wxPyApp *""'");
31030 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
31031 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31032 if (!SWIG_IsOK(ecode2
)) {
31033 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyApp_SetPrintMode" "', expected argument " "2"" of type '" "int""'");
31035 arg2
= static_cast< int >(val2
);
31037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31038 (arg1
)->SetPrintMode(arg2
);
31039 wxPyEndAllowThreads(__tstate
);
31040 if (PyErr_Occurred()) SWIG_fail
;
31042 resultobj
= SWIG_Py_Void();
31049 SWIGINTERN PyObject
*_wrap_PyApp_GetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31050 PyObject
*resultobj
= 0;
31051 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
31055 PyObject
*swig_obj
[1] ;
31057 if (!args
) SWIG_fail
;
31058 swig_obj
[0] = args
;
31059 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
31060 if (!SWIG_IsOK(res1
)) {
31061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_GetPrintMode" "', expected argument " "1"" of type '" "wxPyApp const *""'");
31063 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
31065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31066 result
= (int)((wxPyApp
const *)arg1
)->GetPrintMode();
31067 wxPyEndAllowThreads(__tstate
);
31068 if (PyErr_Occurred()) SWIG_fail
;
31070 resultobj
= SWIG_From_int(static_cast< int >(result
));
31077 SWIGINTERN PyObject
*_wrap_PyApp_SetAssertMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31078 PyObject
*resultobj
= 0;
31079 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
31085 PyObject
* obj0
= 0 ;
31086 PyObject
* obj1
= 0 ;
31087 char * kwnames
[] = {
31088 (char *) "self",(char *) "mode", NULL
31091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAssertMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31092 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
31093 if (!SWIG_IsOK(res1
)) {
31094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_SetAssertMode" "', expected argument " "1"" of type '" "wxPyApp *""'");
31096 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
31097 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31098 if (!SWIG_IsOK(ecode2
)) {
31099 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyApp_SetAssertMode" "', expected argument " "2"" of type '" "int""'");
31101 arg2
= static_cast< int >(val2
);
31103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31104 (arg1
)->SetAssertMode(arg2
);
31105 wxPyEndAllowThreads(__tstate
);
31106 if (PyErr_Occurred()) SWIG_fail
;
31108 resultobj
= SWIG_Py_Void();
31115 SWIGINTERN PyObject
*_wrap_PyApp_GetAssertMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31116 PyObject
*resultobj
= 0;
31117 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
31121 PyObject
*swig_obj
[1] ;
31123 if (!args
) SWIG_fail
;
31124 swig_obj
[0] = args
;
31125 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
31126 if (!SWIG_IsOK(res1
)) {
31127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_GetAssertMode" "', expected argument " "1"" of type '" "wxPyApp *""'");
31129 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
31131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31132 result
= (int)(arg1
)->GetAssertMode();
31133 wxPyEndAllowThreads(__tstate
);
31134 if (PyErr_Occurred()) SWIG_fail
;
31136 resultobj
= SWIG_From_int(static_cast< int >(result
));
31143 SWIGINTERN PyObject
*_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31144 PyObject
*resultobj
= 0;
31147 if (!SWIG_Python_UnpackTuple(args
,"PyApp_GetMacSupportPCMenuShortcuts",0,0,0)) SWIG_fail
;
31149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31150 result
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
31151 wxPyEndAllowThreads(__tstate
);
31152 if (PyErr_Occurred()) SWIG_fail
;
31155 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31163 SWIGINTERN PyObject
*_wrap_PyApp_GetMacAboutMenuItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31164 PyObject
*resultobj
= 0;
31167 if (!SWIG_Python_UnpackTuple(args
,"PyApp_GetMacAboutMenuItemId",0,0,0)) SWIG_fail
;
31169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31170 result
= (long)wxPyApp::GetMacAboutMenuItemId();
31171 wxPyEndAllowThreads(__tstate
);
31172 if (PyErr_Occurred()) SWIG_fail
;
31174 resultobj
= SWIG_From_long(static_cast< long >(result
));
31181 SWIGINTERN PyObject
*_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31182 PyObject
*resultobj
= 0;
31185 if (!SWIG_Python_UnpackTuple(args
,"PyApp_GetMacPreferencesMenuItemId",0,0,0)) SWIG_fail
;
31187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31188 result
= (long)wxPyApp::GetMacPreferencesMenuItemId();
31189 wxPyEndAllowThreads(__tstate
);
31190 if (PyErr_Occurred()) SWIG_fail
;
31192 resultobj
= SWIG_From_long(static_cast< long >(result
));
31199 SWIGINTERN PyObject
*_wrap_PyApp_GetMacExitMenuItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31200 PyObject
*resultobj
= 0;
31203 if (!SWIG_Python_UnpackTuple(args
,"PyApp_GetMacExitMenuItemId",0,0,0)) SWIG_fail
;
31205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31206 result
= (long)wxPyApp::GetMacExitMenuItemId();
31207 wxPyEndAllowThreads(__tstate
);
31208 if (PyErr_Occurred()) SWIG_fail
;
31210 resultobj
= SWIG_From_long(static_cast< long >(result
));
31217 SWIGINTERN PyObject
*_wrap_PyApp_GetMacHelpMenuTitleName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31218 PyObject
*resultobj
= 0;
31221 if (!SWIG_Python_UnpackTuple(args
,"PyApp_GetMacHelpMenuTitleName",0,0,0)) SWIG_fail
;
31223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31224 result
= wxPyApp::GetMacHelpMenuTitleName();
31225 wxPyEndAllowThreads(__tstate
);
31226 if (PyErr_Occurred()) SWIG_fail
;
31230 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31232 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31241 SWIGINTERN PyObject
*_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31242 PyObject
*resultobj
= 0;
31246 PyObject
* obj0
= 0 ;
31247 char * kwnames
[] = {
31248 (char *) "val", NULL
31251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) SWIG_fail
;
31252 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
31253 if (!SWIG_IsOK(ecode1
)) {
31254 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PyApp_SetMacSupportPCMenuShortcuts" "', expected argument " "1"" of type '" "bool""'");
31256 arg1
= static_cast< bool >(val1
);
31258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31259 wxPyApp::SetMacSupportPCMenuShortcuts(arg1
);
31260 wxPyEndAllowThreads(__tstate
);
31261 if (PyErr_Occurred()) SWIG_fail
;
31263 resultobj
= SWIG_Py_Void();
31270 SWIGINTERN PyObject
*_wrap_PyApp_SetMacAboutMenuItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31271 PyObject
*resultobj
= 0;
31275 PyObject
* obj0
= 0 ;
31276 char * kwnames
[] = {
31277 (char *) "val", NULL
31280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames
,&obj0
)) SWIG_fail
;
31281 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
31282 if (!SWIG_IsOK(ecode1
)) {
31283 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PyApp_SetMacAboutMenuItemId" "', expected argument " "1"" of type '" "long""'");
31285 arg1
= static_cast< long >(val1
);
31287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31288 wxPyApp::SetMacAboutMenuItemId(arg1
);
31289 wxPyEndAllowThreads(__tstate
);
31290 if (PyErr_Occurred()) SWIG_fail
;
31292 resultobj
= SWIG_Py_Void();
31299 SWIGINTERN PyObject
*_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31300 PyObject
*resultobj
= 0;
31304 PyObject
* obj0
= 0 ;
31305 char * kwnames
[] = {
31306 (char *) "val", NULL
31309 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames
,&obj0
)) SWIG_fail
;
31310 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
31311 if (!SWIG_IsOK(ecode1
)) {
31312 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PyApp_SetMacPreferencesMenuItemId" "', expected argument " "1"" of type '" "long""'");
31314 arg1
= static_cast< long >(val1
);
31316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31317 wxPyApp::SetMacPreferencesMenuItemId(arg1
);
31318 wxPyEndAllowThreads(__tstate
);
31319 if (PyErr_Occurred()) SWIG_fail
;
31321 resultobj
= SWIG_Py_Void();
31328 SWIGINTERN PyObject
*_wrap_PyApp_SetMacExitMenuItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31329 PyObject
*resultobj
= 0;
31333 PyObject
* obj0
= 0 ;
31334 char * kwnames
[] = {
31335 (char *) "val", NULL
31338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames
,&obj0
)) SWIG_fail
;
31339 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
31340 if (!SWIG_IsOK(ecode1
)) {
31341 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PyApp_SetMacExitMenuItemId" "', expected argument " "1"" of type '" "long""'");
31343 arg1
= static_cast< long >(val1
);
31345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31346 wxPyApp::SetMacExitMenuItemId(arg1
);
31347 wxPyEndAllowThreads(__tstate
);
31348 if (PyErr_Occurred()) SWIG_fail
;
31350 resultobj
= SWIG_Py_Void();
31357 SWIGINTERN PyObject
*_wrap_PyApp_SetMacHelpMenuTitleName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31358 PyObject
*resultobj
= 0;
31359 wxString
*arg1
= 0 ;
31360 bool temp1
= false ;
31361 PyObject
* obj0
= 0 ;
31362 char * kwnames
[] = {
31363 (char *) "val", NULL
31366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) SWIG_fail
;
31368 arg1
= wxString_in_helper(obj0
);
31369 if (arg1
== NULL
) SWIG_fail
;
31373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31374 wxPyApp::SetMacHelpMenuTitleName((wxString
const &)*arg1
);
31375 wxPyEndAllowThreads(__tstate
);
31376 if (PyErr_Occurred()) SWIG_fail
;
31378 resultobj
= SWIG_Py_Void();
31393 SWIGINTERN PyObject
*_wrap_PyApp__BootstrapApp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31394 PyObject
*resultobj
= 0;
31395 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
31398 PyObject
*swig_obj
[1] ;
31400 if (!args
) SWIG_fail
;
31401 swig_obj
[0] = args
;
31402 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
31403 if (!SWIG_IsOK(res1
)) {
31404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp__BootstrapApp" "', expected argument " "1"" of type '" "wxPyApp *""'");
31406 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
31408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31409 (arg1
)->_BootstrapApp();
31410 wxPyEndAllowThreads(__tstate
);
31411 if (PyErr_Occurred()) SWIG_fail
;
31413 resultobj
= SWIG_Py_Void();
31420 SWIGINTERN PyObject
*_wrap_PyApp_GetComCtl32Version(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31421 PyObject
*resultobj
= 0;
31424 if (!SWIG_Python_UnpackTuple(args
,"PyApp_GetComCtl32Version",0,0,0)) SWIG_fail
;
31426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31427 result
= (int)wxPyApp::GetComCtl32Version();
31428 wxPyEndAllowThreads(__tstate
);
31429 if (PyErr_Occurred()) SWIG_fail
;
31431 resultobj
= SWIG_From_int(static_cast< int >(result
));
31438 SWIGINTERN PyObject
*_wrap_PyApp_IsDisplayAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31439 PyObject
*resultobj
= 0;
31442 if (!SWIG_Python_UnpackTuple(args
,"PyApp_IsDisplayAvailable",0,0,0)) SWIG_fail
;
31444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31445 result
= (bool)wxPyApp_IsDisplayAvailable();
31446 wxPyEndAllowThreads(__tstate
);
31447 if (PyErr_Occurred()) SWIG_fail
;
31450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31458 SWIGINTERN PyObject
*PyApp_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31460 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31461 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyApp
, SWIG_NewClientData(obj
));
31462 return SWIG_Py_Void();
31465 SWIGINTERN PyObject
*PyApp_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31466 return SWIG_Python_InitShadowInstance(args
);
31469 SWIGINTERN PyObject
*_wrap_Exit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31470 PyObject
*resultobj
= 0;
31472 if (!SWIG_Python_UnpackTuple(args
,"Exit",0,0,0)) SWIG_fail
;
31474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31476 wxPyEndAllowThreads(__tstate
);
31477 if (PyErr_Occurred()) SWIG_fail
;
31479 resultobj
= SWIG_Py_Void();
31486 SWIGINTERN PyObject
*_wrap_Yield(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31487 PyObject
*resultobj
= 0;
31490 if (!SWIG_Python_UnpackTuple(args
,"Yield",0,0,0)) SWIG_fail
;
31492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31493 result
= (bool)wxYield();
31494 wxPyEndAllowThreads(__tstate
);
31495 if (PyErr_Occurred()) SWIG_fail
;
31498 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31506 SWIGINTERN PyObject
*_wrap_YieldIfNeeded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31507 PyObject
*resultobj
= 0;
31510 if (!SWIG_Python_UnpackTuple(args
,"YieldIfNeeded",0,0,0)) SWIG_fail
;
31512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31513 result
= (bool)wxYieldIfNeeded();
31514 wxPyEndAllowThreads(__tstate
);
31515 if (PyErr_Occurred()) SWIG_fail
;
31518 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31526 SWIGINTERN PyObject
*_wrap_SafeYield(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31527 PyObject
*resultobj
= 0;
31528 wxWindow
*arg1
= (wxWindow
*) NULL
;
31529 bool arg2
= (bool) false ;
31535 PyObject
* obj0
= 0 ;
31536 PyObject
* obj1
= 0 ;
31537 char * kwnames
[] = {
31538 (char *) "win",(char *) "onlyIfNeeded", NULL
31541 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:SafeYield",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31543 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31544 if (!SWIG_IsOK(res1
)) {
31545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SafeYield" "', expected argument " "1"" of type '" "wxWindow *""'");
31547 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31550 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
31551 if (!SWIG_IsOK(ecode2
)) {
31552 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SafeYield" "', expected argument " "2"" of type '" "bool""'");
31554 arg2
= static_cast< bool >(val2
);
31557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31558 result
= (bool)wxSafeYield(arg1
,arg2
);
31559 wxPyEndAllowThreads(__tstate
);
31560 if (PyErr_Occurred()) SWIG_fail
;
31563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31571 SWIGINTERN PyObject
*_wrap_WakeUpIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31572 PyObject
*resultobj
= 0;
31574 if (!SWIG_Python_UnpackTuple(args
,"WakeUpIdle",0,0,0)) SWIG_fail
;
31576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31578 wxPyEndAllowThreads(__tstate
);
31579 if (PyErr_Occurred()) SWIG_fail
;
31581 resultobj
= SWIG_Py_Void();
31588 SWIGINTERN PyObject
*_wrap_PostEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31589 PyObject
*resultobj
= 0;
31590 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
31591 wxEvent
*arg2
= 0 ;
31596 PyObject
* obj0
= 0 ;
31597 PyObject
* obj1
= 0 ;
31598 char * kwnames
[] = {
31599 (char *) "dest",(char *) "event", NULL
31602 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31603 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
31604 if (!SWIG_IsOK(res1
)) {
31605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostEvent" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
31607 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
31608 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxEvent
, 0 );
31609 if (!SWIG_IsOK(res2
)) {
31610 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PostEvent" "', expected argument " "2"" of type '" "wxEvent &""'");
31613 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PostEvent" "', expected argument " "2"" of type '" "wxEvent &""'");
31615 arg2
= reinterpret_cast< wxEvent
* >(argp2
);
31617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31618 wxPostEvent(arg1
,*arg2
);
31619 wxPyEndAllowThreads(__tstate
);
31620 if (PyErr_Occurred()) SWIG_fail
;
31622 resultobj
= SWIG_Py_Void();
31629 SWIGINTERN PyObject
*_wrap_App_CleanUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31630 PyObject
*resultobj
= 0;
31632 if (!SWIG_Python_UnpackTuple(args
,"App_CleanUp",0,0,0)) SWIG_fail
;
31634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31636 wxPyEndAllowThreads(__tstate
);
31637 if (PyErr_Occurred()) SWIG_fail
;
31639 resultobj
= SWIG_Py_Void();
31646 SWIGINTERN PyObject
*_wrap_GetApp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31647 PyObject
*resultobj
= 0;
31648 wxPyApp
*result
= 0 ;
31650 if (!SWIG_Python_UnpackTuple(args
,"GetApp",0,0,0)) SWIG_fail
;
31652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31653 result
= (wxPyApp
*)wxPyGetApp();
31654 wxPyEndAllowThreads(__tstate
);
31655 if (PyErr_Occurred()) SWIG_fail
;
31658 resultobj
= wxPyMake_wxObject(result
, 0);
31666 SWIGINTERN PyObject
*_wrap_SetDefaultPyEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31667 PyObject
*resultobj
= 0;
31668 char *arg1
= (char *) 0 ;
31672 PyObject
* obj0
= 0 ;
31673 char * kwnames
[] = {
31674 (char *) "encoding", NULL
31677 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetDefaultPyEncoding",kwnames
,&obj0
)) SWIG_fail
;
31678 res1
= SWIG_AsCharPtrAndSize(obj0
, &buf1
, NULL
, &alloc1
);
31679 if (!SWIG_IsOK(res1
)) {
31680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SetDefaultPyEncoding" "', expected argument " "1"" of type '" "char const *""'");
31684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31685 wxSetDefaultPyEncoding((char const *)arg1
);
31686 wxPyEndAllowThreads(__tstate
);
31687 if (PyErr_Occurred()) SWIG_fail
;
31689 resultobj
= SWIG_Py_Void();
31690 if (alloc1
== SWIG_NEWOBJ
) delete[] buf1
;
31693 if (alloc1
== SWIG_NEWOBJ
) delete[] buf1
;
31698 SWIGINTERN PyObject
*_wrap_GetDefaultPyEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31699 PyObject
*resultobj
= 0;
31702 if (!SWIG_Python_UnpackTuple(args
,"GetDefaultPyEncoding",0,0,0)) SWIG_fail
;
31704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31705 result
= (char *)wxGetDefaultPyEncoding();
31706 wxPyEndAllowThreads(__tstate
);
31707 if (PyErr_Occurred()) SWIG_fail
;
31709 resultobj
= SWIG_FromCharPtr(result
);
31716 SWIGINTERN PyObject
*_wrap_new_EventLoop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31717 PyObject
*resultobj
= 0;
31718 wxEventLoop
*result
= 0 ;
31720 if (!SWIG_Python_UnpackTuple(args
,"new_EventLoop",0,0,0)) SWIG_fail
;
31722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31723 result
= (wxEventLoop
*)new wxEventLoop();
31724 wxPyEndAllowThreads(__tstate
);
31725 if (PyErr_Occurred()) SWIG_fail
;
31727 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_NEW
| 0 );
31734 SWIGINTERN PyObject
*_wrap_delete_EventLoop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31735 PyObject
*resultobj
= 0;
31736 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
31739 PyObject
*swig_obj
[1] ;
31741 if (!args
) SWIG_fail
;
31742 swig_obj
[0] = args
;
31743 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_DISOWN
| 0 );
31744 if (!SWIG_IsOK(res1
)) {
31745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EventLoop" "', expected argument " "1"" of type '" "wxEventLoop *""'");
31747 arg1
= reinterpret_cast< wxEventLoop
* >(argp1
);
31749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31752 wxPyEndAllowThreads(__tstate
);
31753 if (PyErr_Occurred()) SWIG_fail
;
31755 resultobj
= SWIG_Py_Void();
31762 SWIGINTERN PyObject
*_wrap_EventLoop_Run(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31763 PyObject
*resultobj
= 0;
31764 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
31768 PyObject
*swig_obj
[1] ;
31770 if (!args
) SWIG_fail
;
31771 swig_obj
[0] = args
;
31772 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEventLoop
, 0 | 0 );
31773 if (!SWIG_IsOK(res1
)) {
31774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EventLoop_Run" "', expected argument " "1"" of type '" "wxEventLoop *""'");
31776 arg1
= reinterpret_cast< wxEventLoop
* >(argp1
);
31778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31779 result
= (int)(arg1
)->Run();
31780 wxPyEndAllowThreads(__tstate
);
31781 if (PyErr_Occurred()) SWIG_fail
;
31783 resultobj
= SWIG_From_int(static_cast< int >(result
));
31790 SWIGINTERN PyObject
*_wrap_EventLoop_Exit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31791 PyObject
*resultobj
= 0;
31792 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
31793 int arg2
= (int) 0 ;
31798 PyObject
* obj0
= 0 ;
31799 PyObject
* obj1
= 0 ;
31800 char * kwnames
[] = {
31801 (char *) "self",(char *) "rc", NULL
31804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EventLoop_Exit",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31805 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEventLoop
, 0 | 0 );
31806 if (!SWIG_IsOK(res1
)) {
31807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EventLoop_Exit" "', expected argument " "1"" of type '" "wxEventLoop *""'");
31809 arg1
= reinterpret_cast< wxEventLoop
* >(argp1
);
31811 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31812 if (!SWIG_IsOK(ecode2
)) {
31813 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EventLoop_Exit" "', expected argument " "2"" of type '" "int""'");
31815 arg2
= static_cast< int >(val2
);
31818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31819 (arg1
)->Exit(arg2
);
31820 wxPyEndAllowThreads(__tstate
);
31821 if (PyErr_Occurred()) SWIG_fail
;
31823 resultobj
= SWIG_Py_Void();
31830 SWIGINTERN PyObject
*_wrap_EventLoop_Pending(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31831 PyObject
*resultobj
= 0;
31832 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
31836 PyObject
*swig_obj
[1] ;
31838 if (!args
) SWIG_fail
;
31839 swig_obj
[0] = args
;
31840 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEventLoop
, 0 | 0 );
31841 if (!SWIG_IsOK(res1
)) {
31842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EventLoop_Pending" "', expected argument " "1"" of type '" "wxEventLoop const *""'");
31844 arg1
= reinterpret_cast< wxEventLoop
* >(argp1
);
31846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31847 result
= (bool)((wxEventLoop
const *)arg1
)->Pending();
31848 wxPyEndAllowThreads(__tstate
);
31849 if (PyErr_Occurred()) SWIG_fail
;
31852 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31860 SWIGINTERN PyObject
*_wrap_EventLoop_Dispatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31861 PyObject
*resultobj
= 0;
31862 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
31866 PyObject
*swig_obj
[1] ;
31868 if (!args
) SWIG_fail
;
31869 swig_obj
[0] = args
;
31870 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEventLoop
, 0 | 0 );
31871 if (!SWIG_IsOK(res1
)) {
31872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EventLoop_Dispatch" "', expected argument " "1"" of type '" "wxEventLoop *""'");
31874 arg1
= reinterpret_cast< wxEventLoop
* >(argp1
);
31876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31877 result
= (bool)(arg1
)->Dispatch();
31878 wxPyEndAllowThreads(__tstate
);
31879 if (PyErr_Occurred()) SWIG_fail
;
31882 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31890 SWIGINTERN PyObject
*_wrap_EventLoop_IsRunning(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31891 PyObject
*resultobj
= 0;
31892 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
31896 PyObject
*swig_obj
[1] ;
31898 if (!args
) SWIG_fail
;
31899 swig_obj
[0] = args
;
31900 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEventLoop
, 0 | 0 );
31901 if (!SWIG_IsOK(res1
)) {
31902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EventLoop_IsRunning" "', expected argument " "1"" of type '" "wxEventLoop const *""'");
31904 arg1
= reinterpret_cast< wxEventLoop
* >(argp1
);
31906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31907 result
= (bool)((wxEventLoop
const *)arg1
)->IsRunning();
31908 wxPyEndAllowThreads(__tstate
);
31909 if (PyErr_Occurred()) SWIG_fail
;
31912 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31920 SWIGINTERN PyObject
*_wrap_EventLoop_GetActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31921 PyObject
*resultobj
= 0;
31922 wxEventLoop
*result
= 0 ;
31924 if (!SWIG_Python_UnpackTuple(args
,"EventLoop_GetActive",0,0,0)) SWIG_fail
;
31926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31927 result
= (wxEventLoop
*)wxEventLoop::GetActive();
31928 wxPyEndAllowThreads(__tstate
);
31929 if (PyErr_Occurred()) SWIG_fail
;
31931 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEventLoop
, 0 | 0 );
31938 SWIGINTERN PyObject
*_wrap_EventLoop_SetActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31939 PyObject
*resultobj
= 0;
31940 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
31943 PyObject
* obj0
= 0 ;
31944 char * kwnames
[] = {
31945 (char *) "loop", NULL
31948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_SetActive",kwnames
,&obj0
)) SWIG_fail
;
31949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEventLoop
, 0 | 0 );
31950 if (!SWIG_IsOK(res1
)) {
31951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EventLoop_SetActive" "', expected argument " "1"" of type '" "wxEventLoop *""'");
31953 arg1
= reinterpret_cast< wxEventLoop
* >(argp1
);
31955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31956 wxEventLoop::SetActive(arg1
);
31957 wxPyEndAllowThreads(__tstate
);
31958 if (PyErr_Occurred()) SWIG_fail
;
31960 resultobj
= SWIG_Py_Void();
31967 SWIGINTERN PyObject
*EventLoop_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31969 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31970 SWIG_TypeNewClientData(SWIGTYPE_p_wxEventLoop
, SWIG_NewClientData(obj
));
31971 return SWIG_Py_Void();
31974 SWIGINTERN PyObject
*EventLoop_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31975 return SWIG_Python_InitShadowInstance(args
);
31978 SWIGINTERN PyObject
*_wrap_new_EventLoopActivator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31979 PyObject
*resultobj
= 0;
31980 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
31981 wxEventLoopActivator
*result
= 0 ;
31984 PyObject
* obj0
= 0 ;
31985 char * kwnames
[] = {
31986 (char *) "evtLoop", NULL
31989 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_EventLoopActivator",kwnames
,&obj0
)) SWIG_fail
;
31990 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEventLoop
, 0 | 0 );
31991 if (!SWIG_IsOK(res1
)) {
31992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_EventLoopActivator" "', expected argument " "1"" of type '" "wxEventLoop *""'");
31994 arg1
= reinterpret_cast< wxEventLoop
* >(argp1
);
31996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31997 result
= (wxEventLoopActivator
*)new wxEventLoopActivator(arg1
);
31998 wxPyEndAllowThreads(__tstate
);
31999 if (PyErr_Occurred()) SWIG_fail
;
32001 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEventLoopActivator
, SWIG_POINTER_NEW
| 0 );
32008 SWIGINTERN PyObject
*_wrap_delete_EventLoopActivator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32009 PyObject
*resultobj
= 0;
32010 wxEventLoopActivator
*arg1
= (wxEventLoopActivator
*) 0 ;
32013 PyObject
*swig_obj
[1] ;
32015 if (!args
) SWIG_fail
;
32016 swig_obj
[0] = args
;
32017 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEventLoopActivator
, SWIG_POINTER_DISOWN
| 0 );
32018 if (!SWIG_IsOK(res1
)) {
32019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EventLoopActivator" "', expected argument " "1"" of type '" "wxEventLoopActivator *""'");
32021 arg1
= reinterpret_cast< wxEventLoopActivator
* >(argp1
);
32023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32026 wxPyEndAllowThreads(__tstate
);
32027 if (PyErr_Occurred()) SWIG_fail
;
32029 resultobj
= SWIG_Py_Void();
32036 SWIGINTERN PyObject
*EventLoopActivator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32038 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32039 SWIG_TypeNewClientData(SWIGTYPE_p_wxEventLoopActivator
, SWIG_NewClientData(obj
));
32040 return SWIG_Py_Void();
32043 SWIGINTERN PyObject
*EventLoopActivator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32044 return SWIG_Python_InitShadowInstance(args
);
32047 SWIGINTERN PyObject
*_wrap_new_AcceleratorEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32048 PyObject
*resultobj
= 0;
32049 int arg1
= (int) 0 ;
32050 int arg2
= (int) 0 ;
32051 int arg3
= (int) 0 ;
32052 wxAcceleratorEntry
*result
= 0 ;
32059 PyObject
* obj0
= 0 ;
32060 PyObject
* obj1
= 0 ;
32061 PyObject
* obj2
= 0 ;
32062 char * kwnames
[] = {
32063 (char *) "flags",(char *) "keyCode",(char *) "cmdID", NULL
32066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_AcceleratorEntry",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32068 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32069 if (!SWIG_IsOK(ecode1
)) {
32070 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_AcceleratorEntry" "', expected argument " "1"" of type '" "int""'");
32072 arg1
= static_cast< int >(val1
);
32075 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32076 if (!SWIG_IsOK(ecode2
)) {
32077 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_AcceleratorEntry" "', expected argument " "2"" of type '" "int""'");
32079 arg2
= static_cast< int >(val2
);
32082 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32083 if (!SWIG_IsOK(ecode3
)) {
32084 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_AcceleratorEntry" "', expected argument " "3"" of type '" "int""'");
32086 arg3
= static_cast< int >(val3
);
32089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32090 result
= (wxAcceleratorEntry
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
);
32091 wxPyEndAllowThreads(__tstate
);
32092 if (PyErr_Occurred()) SWIG_fail
;
32094 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_NEW
| 0 );
32101 SWIGINTERN PyObject
*_wrap_delete_AcceleratorEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32102 PyObject
*resultobj
= 0;
32103 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
32106 PyObject
*swig_obj
[1] ;
32108 if (!args
) SWIG_fail
;
32109 swig_obj
[0] = args
;
32110 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_DISOWN
| 0 );
32111 if (!SWIG_IsOK(res1
)) {
32112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AcceleratorEntry" "', expected argument " "1"" of type '" "wxAcceleratorEntry *""'");
32114 arg1
= reinterpret_cast< wxAcceleratorEntry
* >(argp1
);
32116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32119 wxPyEndAllowThreads(__tstate
);
32120 if (PyErr_Occurred()) SWIG_fail
;
32122 resultobj
= SWIG_Py_Void();
32129 SWIGINTERN PyObject
*_wrap_AcceleratorEntry_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32130 PyObject
*resultobj
= 0;
32131 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
32143 PyObject
* obj0
= 0 ;
32144 PyObject
* obj1
= 0 ;
32145 PyObject
* obj2
= 0 ;
32146 PyObject
* obj3
= 0 ;
32147 char * kwnames
[] = {
32148 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd", NULL
32151 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AcceleratorEntry_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32152 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAcceleratorEntry
, 0 | 0 );
32153 if (!SWIG_IsOK(res1
)) {
32154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AcceleratorEntry_Set" "', expected argument " "1"" of type '" "wxAcceleratorEntry *""'");
32156 arg1
= reinterpret_cast< wxAcceleratorEntry
* >(argp1
);
32157 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32158 if (!SWIG_IsOK(ecode2
)) {
32159 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "AcceleratorEntry_Set" "', expected argument " "2"" of type '" "int""'");
32161 arg2
= static_cast< int >(val2
);
32162 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32163 if (!SWIG_IsOK(ecode3
)) {
32164 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AcceleratorEntry_Set" "', expected argument " "3"" of type '" "int""'");
32166 arg3
= static_cast< int >(val3
);
32167 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32168 if (!SWIG_IsOK(ecode4
)) {
32169 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AcceleratorEntry_Set" "', expected argument " "4"" of type '" "int""'");
32171 arg4
= static_cast< int >(val4
);
32173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32174 (arg1
)->Set(arg2
,arg3
,arg4
);
32175 wxPyEndAllowThreads(__tstate
);
32176 if (PyErr_Occurred()) SWIG_fail
;
32178 resultobj
= SWIG_Py_Void();
32185 SWIGINTERN PyObject
*_wrap_AcceleratorEntry_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32186 PyObject
*resultobj
= 0;
32187 wxString
*arg1
= 0 ;
32188 wxAcceleratorEntry
*result
= 0 ;
32189 bool temp1
= false ;
32190 PyObject
* obj0
= 0 ;
32191 char * kwnames
[] = {
32192 (char *) "str", NULL
32195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_Create",kwnames
,&obj0
)) SWIG_fail
;
32197 arg1
= wxString_in_helper(obj0
);
32198 if (arg1
== NULL
) SWIG_fail
;
32202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32203 result
= (wxAcceleratorEntry
*)wxAcceleratorEntry::Create((wxString
const &)*arg1
);
32204 wxPyEndAllowThreads(__tstate
);
32205 if (PyErr_Occurred()) SWIG_fail
;
32207 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_OWN
| 0 );
32222 SWIGINTERN PyObject
*_wrap_AcceleratorEntry_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32223 PyObject
*resultobj
= 0;
32224 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
32228 PyObject
*swig_obj
[1] ;
32230 if (!args
) SWIG_fail
;
32231 swig_obj
[0] = args
;
32232 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAcceleratorEntry
, 0 | 0 );
32233 if (!SWIG_IsOK(res1
)) {
32234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AcceleratorEntry_GetFlags" "', expected argument " "1"" of type '" "wxAcceleratorEntry *""'");
32236 arg1
= reinterpret_cast< wxAcceleratorEntry
* >(argp1
);
32238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32239 result
= (int)(arg1
)->GetFlags();
32240 wxPyEndAllowThreads(__tstate
);
32241 if (PyErr_Occurred()) SWIG_fail
;
32243 resultobj
= SWIG_From_int(static_cast< int >(result
));
32250 SWIGINTERN PyObject
*_wrap_AcceleratorEntry_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32251 PyObject
*resultobj
= 0;
32252 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
32256 PyObject
*swig_obj
[1] ;
32258 if (!args
) SWIG_fail
;
32259 swig_obj
[0] = args
;
32260 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAcceleratorEntry
, 0 | 0 );
32261 if (!SWIG_IsOK(res1
)) {
32262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AcceleratorEntry_GetKeyCode" "', expected argument " "1"" of type '" "wxAcceleratorEntry *""'");
32264 arg1
= reinterpret_cast< wxAcceleratorEntry
* >(argp1
);
32266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32267 result
= (int)(arg1
)->GetKeyCode();
32268 wxPyEndAllowThreads(__tstate
);
32269 if (PyErr_Occurred()) SWIG_fail
;
32271 resultobj
= SWIG_From_int(static_cast< int >(result
));
32278 SWIGINTERN PyObject
*_wrap_AcceleratorEntry_GetCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32279 PyObject
*resultobj
= 0;
32280 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
32284 PyObject
*swig_obj
[1] ;
32286 if (!args
) SWIG_fail
;
32287 swig_obj
[0] = args
;
32288 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAcceleratorEntry
, 0 | 0 );
32289 if (!SWIG_IsOK(res1
)) {
32290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AcceleratorEntry_GetCommand" "', expected argument " "1"" of type '" "wxAcceleratorEntry *""'");
32292 arg1
= reinterpret_cast< wxAcceleratorEntry
* >(argp1
);
32294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32295 result
= (int)(arg1
)->GetCommand();
32296 wxPyEndAllowThreads(__tstate
);
32297 if (PyErr_Occurred()) SWIG_fail
;
32299 resultobj
= SWIG_From_int(static_cast< int >(result
));
32306 SWIGINTERN PyObject
*_wrap_AcceleratorEntry_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32307 PyObject
*resultobj
= 0;
32308 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
32312 PyObject
*swig_obj
[1] ;
32314 if (!args
) SWIG_fail
;
32315 swig_obj
[0] = args
;
32316 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAcceleratorEntry
, 0 | 0 );
32317 if (!SWIG_IsOK(res1
)) {
32318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AcceleratorEntry_IsOk" "', expected argument " "1"" of type '" "wxAcceleratorEntry const *""'");
32320 arg1
= reinterpret_cast< wxAcceleratorEntry
* >(argp1
);
32322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32323 result
= (bool)((wxAcceleratorEntry
const *)arg1
)->IsOk();
32324 wxPyEndAllowThreads(__tstate
);
32325 if (PyErr_Occurred()) SWIG_fail
;
32328 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32336 SWIGINTERN PyObject
*_wrap_AcceleratorEntry_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32337 PyObject
*resultobj
= 0;
32338 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
32342 PyObject
*swig_obj
[1] ;
32344 if (!args
) SWIG_fail
;
32345 swig_obj
[0] = args
;
32346 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAcceleratorEntry
, 0 | 0 );
32347 if (!SWIG_IsOK(res1
)) {
32348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AcceleratorEntry_ToString" "', expected argument " "1"" of type '" "wxAcceleratorEntry const *""'");
32350 arg1
= reinterpret_cast< wxAcceleratorEntry
* >(argp1
);
32352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32353 result
= ((wxAcceleratorEntry
const *)arg1
)->ToString();
32354 wxPyEndAllowThreads(__tstate
);
32355 if (PyErr_Occurred()) SWIG_fail
;
32359 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32361 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32370 SWIGINTERN PyObject
*_wrap_AcceleratorEntry_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32371 PyObject
*resultobj
= 0;
32372 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
32373 wxString
*arg2
= 0 ;
32377 bool temp2
= false ;
32378 PyObject
* obj0
= 0 ;
32379 PyObject
* obj1
= 0 ;
32380 char * kwnames
[] = {
32381 (char *) "self",(char *) "str", NULL
32384 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AcceleratorEntry_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32385 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAcceleratorEntry
, 0 | 0 );
32386 if (!SWIG_IsOK(res1
)) {
32387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AcceleratorEntry_FromString" "', expected argument " "1"" of type '" "wxAcceleratorEntry *""'");
32389 arg1
= reinterpret_cast< wxAcceleratorEntry
* >(argp1
);
32391 arg2
= wxString_in_helper(obj1
);
32392 if (arg2
== NULL
) SWIG_fail
;
32396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32397 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
32398 wxPyEndAllowThreads(__tstate
);
32399 if (PyErr_Occurred()) SWIG_fail
;
32402 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32418 SWIGINTERN PyObject
*AcceleratorEntry_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32420 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32421 SWIG_TypeNewClientData(SWIGTYPE_p_wxAcceleratorEntry
, SWIG_NewClientData(obj
));
32422 return SWIG_Py_Void();
32425 SWIGINTERN PyObject
*AcceleratorEntry_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32426 return SWIG_Python_InitShadowInstance(args
);
32429 SWIGINTERN PyObject
*_wrap_new_AcceleratorTable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32430 PyObject
*resultobj
= 0;
32432 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
32433 wxAcceleratorTable
*result
= 0 ;
32434 PyObject
* obj0
= 0 ;
32435 char * kwnames
[] = {
32439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AcceleratorTable",kwnames
,&obj0
)) SWIG_fail
;
32441 arg2
= wxAcceleratorEntry_LIST_helper(obj0
);
32442 if (arg2
) arg1
= PyList_Size(obj0
);
32446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32447 result
= (wxAcceleratorTable
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry
const *)arg2
);
32448 wxPyEndAllowThreads(__tstate
);
32449 if (PyErr_Occurred()) SWIG_fail
;
32451 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_NEW
| 0 );
32458 SWIGINTERN PyObject
*_wrap_delete_AcceleratorTable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32459 PyObject
*resultobj
= 0;
32460 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
32463 PyObject
*swig_obj
[1] ;
32465 if (!args
) SWIG_fail
;
32466 swig_obj
[0] = args
;
32467 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_DISOWN
| 0 );
32468 if (!SWIG_IsOK(res1
)) {
32469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AcceleratorTable" "', expected argument " "1"" of type '" "wxAcceleratorTable *""'");
32471 arg1
= reinterpret_cast< wxAcceleratorTable
* >(argp1
);
32473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32476 wxPyEndAllowThreads(__tstate
);
32477 if (PyErr_Occurred()) SWIG_fail
;
32479 resultobj
= SWIG_Py_Void();
32486 SWIGINTERN PyObject
*_wrap_AcceleratorTable_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32487 PyObject
*resultobj
= 0;
32488 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
32492 PyObject
*swig_obj
[1] ;
32494 if (!args
) SWIG_fail
;
32495 swig_obj
[0] = args
;
32496 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAcceleratorTable
, 0 | 0 );
32497 if (!SWIG_IsOK(res1
)) {
32498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AcceleratorTable_IsOk" "', expected argument " "1"" of type '" "wxAcceleratorTable const *""'");
32500 arg1
= reinterpret_cast< wxAcceleratorTable
* >(argp1
);
32502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32503 result
= (bool)((wxAcceleratorTable
const *)arg1
)->IsOk();
32504 wxPyEndAllowThreads(__tstate
);
32505 if (PyErr_Occurred()) SWIG_fail
;
32508 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32516 SWIGINTERN PyObject
*AcceleratorTable_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32518 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32519 SWIG_TypeNewClientData(SWIGTYPE_p_wxAcceleratorTable
, SWIG_NewClientData(obj
));
32520 return SWIG_Py_Void();
32523 SWIGINTERN PyObject
*AcceleratorTable_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32524 return SWIG_Python_InitShadowInstance(args
);
32527 SWIGINTERN
int NullAcceleratorTable_set(PyObject
*) {
32528 SWIG_Error(SWIG_AttributeError
,"Variable NullAcceleratorTable is read-only.");
32533 SWIGINTERN PyObject
*NullAcceleratorTable_get(void) {
32534 PyObject
*pyobj
= 0;
32536 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullAcceleratorTable
), SWIGTYPE_p_wxAcceleratorTable
, 0 );
32541 SWIGINTERN PyObject
*_wrap_GetAccelFromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32542 PyObject
*resultobj
= 0;
32543 wxString
*arg1
= 0 ;
32544 wxAcceleratorEntry
*result
= 0 ;
32545 bool temp1
= false ;
32546 PyObject
* obj0
= 0 ;
32547 char * kwnames
[] = {
32548 (char *) "label", NULL
32551 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetAccelFromString",kwnames
,&obj0
)) SWIG_fail
;
32553 arg1
= wxString_in_helper(obj0
);
32554 if (arg1
== NULL
) SWIG_fail
;
32558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32559 result
= (wxAcceleratorEntry
*)wxGetAccelFromString((wxString
const &)*arg1
);
32560 wxPyEndAllowThreads(__tstate
);
32561 if (PyErr_Occurred()) SWIG_fail
;
32563 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0 | 0 );
32578 SWIGINTERN
int PanelNameStr_set(PyObject
*) {
32579 SWIG_Error(SWIG_AttributeError
,"Variable PanelNameStr is read-only.");
32584 SWIGINTERN PyObject
*PanelNameStr_get(void) {
32585 PyObject
*pyobj
= 0;
32589 pyobj
= PyUnicode_FromWideChar((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
32591 pyobj
= PyString_FromStringAndSize((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
32598 SWIGINTERN PyObject
*_wrap_new_VisualAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32599 PyObject
*resultobj
= 0;
32600 wxVisualAttributes
*result
= 0 ;
32602 if (!SWIG_Python_UnpackTuple(args
,"new_VisualAttributes",0,0,0)) SWIG_fail
;
32604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32605 result
= (wxVisualAttributes
*)new_wxVisualAttributes();
32606 wxPyEndAllowThreads(__tstate
);
32607 if (PyErr_Occurred()) SWIG_fail
;
32609 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_NEW
| 0 );
32616 SWIGINTERN PyObject
*_wrap_delete_VisualAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32617 PyObject
*resultobj
= 0;
32618 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
32621 PyObject
*swig_obj
[1] ;
32623 if (!args
) SWIG_fail
;
32624 swig_obj
[0] = args
;
32625 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_DISOWN
| 0 );
32626 if (!SWIG_IsOK(res1
)) {
32627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_VisualAttributes" "', expected argument " "1"" of type '" "wxVisualAttributes *""'");
32629 arg1
= reinterpret_cast< wxVisualAttributes
* >(argp1
);
32631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32632 delete_wxVisualAttributes(arg1
);
32634 wxPyEndAllowThreads(__tstate
);
32635 if (PyErr_Occurred()) SWIG_fail
;
32637 resultobj
= SWIG_Py_Void();
32644 SWIGINTERN PyObject
*_wrap_VisualAttributes_font_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32645 PyObject
*resultobj
= 0;
32646 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
32647 wxFont
*arg2
= (wxFont
*) 0 ;
32652 PyObject
*swig_obj
[2] ;
32654 if (!SWIG_Python_UnpackTuple(args
,"VisualAttributes_font_set",2,2,swig_obj
)) SWIG_fail
;
32655 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVisualAttributes
, 0 | 0 );
32656 if (!SWIG_IsOK(res1
)) {
32657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VisualAttributes_font_set" "', expected argument " "1"" of type '" "wxVisualAttributes *""'");
32659 arg1
= reinterpret_cast< wxVisualAttributes
* >(argp1
);
32660 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
32661 if (!SWIG_IsOK(res2
)) {
32662 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VisualAttributes_font_set" "', expected argument " "2"" of type '" "wxFont *""'");
32664 arg2
= reinterpret_cast< wxFont
* >(argp2
);
32665 if (arg1
) (arg1
)->font
= *arg2
;
32667 resultobj
= SWIG_Py_Void();
32674 SWIGINTERN PyObject
*_wrap_VisualAttributes_font_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32675 PyObject
*resultobj
= 0;
32676 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
32677 wxFont
*result
= 0 ;
32680 PyObject
*swig_obj
[1] ;
32682 if (!args
) SWIG_fail
;
32683 swig_obj
[0] = args
;
32684 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVisualAttributes
, 0 | 0 );
32685 if (!SWIG_IsOK(res1
)) {
32686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VisualAttributes_font_get" "', expected argument " "1"" of type '" "wxVisualAttributes *""'");
32688 arg1
= reinterpret_cast< wxVisualAttributes
* >(argp1
);
32689 result
= (wxFont
*)& ((arg1
)->font
);
32690 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
32697 SWIGINTERN PyObject
*_wrap_VisualAttributes_colFg_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32698 PyObject
*resultobj
= 0;
32699 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
32700 wxColour
*arg2
= (wxColour
*) 0 ;
32705 PyObject
*swig_obj
[2] ;
32707 if (!SWIG_Python_UnpackTuple(args
,"VisualAttributes_colFg_set",2,2,swig_obj
)) SWIG_fail
;
32708 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVisualAttributes
, 0 | 0 );
32709 if (!SWIG_IsOK(res1
)) {
32710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VisualAttributes_colFg_set" "', expected argument " "1"" of type '" "wxVisualAttributes *""'");
32712 arg1
= reinterpret_cast< wxVisualAttributes
* >(argp1
);
32713 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxColour
, 0 | 0 );
32714 if (!SWIG_IsOK(res2
)) {
32715 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VisualAttributes_colFg_set" "', expected argument " "2"" of type '" "wxColour *""'");
32717 arg2
= reinterpret_cast< wxColour
* >(argp2
);
32718 if (arg1
) (arg1
)->colFg
= *arg2
;
32720 resultobj
= SWIG_Py_Void();
32727 SWIGINTERN PyObject
*_wrap_VisualAttributes_colFg_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32728 PyObject
*resultobj
= 0;
32729 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
32730 wxColour
*result
= 0 ;
32733 PyObject
*swig_obj
[1] ;
32735 if (!args
) SWIG_fail
;
32736 swig_obj
[0] = args
;
32737 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVisualAttributes
, 0 | 0 );
32738 if (!SWIG_IsOK(res1
)) {
32739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VisualAttributes_colFg_get" "', expected argument " "1"" of type '" "wxVisualAttributes *""'");
32741 arg1
= reinterpret_cast< wxVisualAttributes
* >(argp1
);
32742 result
= (wxColour
*)& ((arg1
)->colFg
);
32743 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
32750 SWIGINTERN PyObject
*_wrap_VisualAttributes_colBg_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32751 PyObject
*resultobj
= 0;
32752 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
32753 wxColour
*arg2
= (wxColour
*) 0 ;
32758 PyObject
*swig_obj
[2] ;
32760 if (!SWIG_Python_UnpackTuple(args
,"VisualAttributes_colBg_set",2,2,swig_obj
)) SWIG_fail
;
32761 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVisualAttributes
, 0 | 0 );
32762 if (!SWIG_IsOK(res1
)) {
32763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VisualAttributes_colBg_set" "', expected argument " "1"" of type '" "wxVisualAttributes *""'");
32765 arg1
= reinterpret_cast< wxVisualAttributes
* >(argp1
);
32766 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxColour
, 0 | 0 );
32767 if (!SWIG_IsOK(res2
)) {
32768 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VisualAttributes_colBg_set" "', expected argument " "2"" of type '" "wxColour *""'");
32770 arg2
= reinterpret_cast< wxColour
* >(argp2
);
32771 if (arg1
) (arg1
)->colBg
= *arg2
;
32773 resultobj
= SWIG_Py_Void();
32780 SWIGINTERN PyObject
*_wrap_VisualAttributes_colBg_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32781 PyObject
*resultobj
= 0;
32782 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
32783 wxColour
*result
= 0 ;
32786 PyObject
*swig_obj
[1] ;
32788 if (!args
) SWIG_fail
;
32789 swig_obj
[0] = args
;
32790 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVisualAttributes
, 0 | 0 );
32791 if (!SWIG_IsOK(res1
)) {
32792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VisualAttributes_colBg_get" "', expected argument " "1"" of type '" "wxVisualAttributes *""'");
32794 arg1
= reinterpret_cast< wxVisualAttributes
* >(argp1
);
32795 result
= (wxColour
*)& ((arg1
)->colBg
);
32796 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
32803 SWIGINTERN PyObject
*VisualAttributes_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32805 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32806 SWIG_TypeNewClientData(SWIGTYPE_p_wxVisualAttributes
, SWIG_NewClientData(obj
));
32807 return SWIG_Py_Void();
32810 SWIGINTERN PyObject
*VisualAttributes_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32811 return SWIG_Python_InitShadowInstance(args
);
32814 SWIGINTERN PyObject
*_wrap_new_Window(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32815 PyObject
*resultobj
= 0;
32816 wxWindow
*arg1
= (wxWindow
*) 0 ;
32817 int arg2
= (int) (int)-1 ;
32818 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
32819 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
32820 wxSize
const &arg4_defvalue
= wxDefaultSize
;
32821 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
32822 long arg5
= (long) 0 ;
32823 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
32824 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
32825 wxWindow
*result
= 0 ;
32834 bool temp6
= false ;
32835 PyObject
* obj0
= 0 ;
32836 PyObject
* obj1
= 0 ;
32837 PyObject
* obj2
= 0 ;
32838 PyObject
* obj3
= 0 ;
32839 PyObject
* obj4
= 0 ;
32840 PyObject
* obj5
= 0 ;
32841 char * kwnames
[] = {
32842 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
32845 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Window",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
32846 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32847 if (!SWIG_IsOK(res1
)) {
32848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Window" "', expected argument " "1"" of type '" "wxWindow *""'");
32850 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32852 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32853 if (!SWIG_IsOK(ecode2
)) {
32854 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Window" "', expected argument " "2"" of type '" "int""'");
32856 arg2
= static_cast< int >(val2
);
32861 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32867 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
32871 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
32872 if (!SWIG_IsOK(ecode5
)) {
32873 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Window" "', expected argument " "5"" of type '" "long""'");
32875 arg5
= static_cast< long >(val5
);
32879 arg6
= wxString_in_helper(obj5
);
32880 if (arg6
== NULL
) SWIG_fail
;
32885 if (!wxPyCheckForApp()) SWIG_fail
;
32886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32887 result
= (wxWindow
*)new wxWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
32888 wxPyEndAllowThreads(__tstate
);
32889 if (PyErr_Occurred()) SWIG_fail
;
32891 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindow
, SWIG_POINTER_NEW
| 0 );
32906 SWIGINTERN PyObject
*_wrap_new_PreWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32907 PyObject
*resultobj
= 0;
32908 wxWindow
*result
= 0 ;
32910 if (!SWIG_Python_UnpackTuple(args
,"new_PreWindow",0,0,0)) SWIG_fail
;
32912 if (!wxPyCheckForApp()) SWIG_fail
;
32913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32914 result
= (wxWindow
*)new wxWindow();
32915 wxPyEndAllowThreads(__tstate
);
32916 if (PyErr_Occurred()) SWIG_fail
;
32918 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindow
, SWIG_POINTER_OWN
| 0 );
32925 SWIGINTERN PyObject
*_wrap_Window_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32926 PyObject
*resultobj
= 0;
32927 wxWindow
*arg1
= (wxWindow
*) 0 ;
32928 wxWindow
*arg2
= (wxWindow
*) 0 ;
32929 int arg3
= (int) (int)-1 ;
32930 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
32931 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
32932 wxSize
const &arg5_defvalue
= wxDefaultSize
;
32933 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
32934 long arg6
= (long) 0 ;
32935 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
32936 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32948 bool temp7
= false ;
32949 PyObject
* obj0
= 0 ;
32950 PyObject
* obj1
= 0 ;
32951 PyObject
* obj2
= 0 ;
32952 PyObject
* obj3
= 0 ;
32953 PyObject
* obj4
= 0 ;
32954 PyObject
* obj5
= 0 ;
32955 PyObject
* obj6
= 0 ;
32956 char * kwnames
[] = {
32957 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
32960 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Window_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
32961 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32962 if (!SWIG_IsOK(res1
)) {
32963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Create" "', expected argument " "1"" of type '" "wxWindow *""'");
32965 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32966 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32967 if (!SWIG_IsOK(res2
)) {
32968 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
32970 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
32972 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32973 if (!SWIG_IsOK(ecode3
)) {
32974 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_Create" "', expected argument " "3"" of type '" "int""'");
32976 arg3
= static_cast< int >(val3
);
32981 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
32987 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
32991 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
32992 if (!SWIG_IsOK(ecode6
)) {
32993 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Window_Create" "', expected argument " "6"" of type '" "long""'");
32995 arg6
= static_cast< long >(val6
);
32999 arg7
= wxString_in_helper(obj6
);
33000 if (arg7
== NULL
) SWIG_fail
;
33005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33006 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
33007 wxPyEndAllowThreads(__tstate
);
33008 if (PyErr_Occurred()) SWIG_fail
;
33011 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33027 SWIGINTERN PyObject
*_wrap_Window_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33028 PyObject
*resultobj
= 0;
33029 wxWindow
*arg1
= (wxWindow
*) 0 ;
33030 bool arg2
= (bool) false ;
33036 PyObject
* obj0
= 0 ;
33037 PyObject
* obj1
= 0 ;
33038 char * kwnames
[] = {
33039 (char *) "self",(char *) "force", NULL
33042 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Close",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33043 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33044 if (!SWIG_IsOK(res1
)) {
33045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Close" "', expected argument " "1"" of type '" "wxWindow *""'");
33047 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33049 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
33050 if (!SWIG_IsOK(ecode2
)) {
33051 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_Close" "', expected argument " "2"" of type '" "bool""'");
33053 arg2
= static_cast< bool >(val2
);
33056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33057 result
= (bool)(arg1
)->Close(arg2
);
33058 wxPyEndAllowThreads(__tstate
);
33059 if (PyErr_Occurred()) SWIG_fail
;
33062 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33070 SWIGINTERN PyObject
*_wrap_Window_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33071 PyObject
*resultobj
= 0;
33072 wxWindow
*arg1
= (wxWindow
*) 0 ;
33076 PyObject
*swig_obj
[1] ;
33078 if (!args
) SWIG_fail
;
33079 swig_obj
[0] = args
;
33080 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33081 if (!SWIG_IsOK(res1
)) {
33082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Destroy" "', expected argument " "1"" of type '" "wxWindow *""'");
33084 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33087 result
= (bool)(arg1
)->Destroy();
33088 wxPyEndAllowThreads(__tstate
);
33089 if (PyErr_Occurred()) SWIG_fail
;
33092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33100 SWIGINTERN PyObject
*_wrap_Window_DestroyChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33101 PyObject
*resultobj
= 0;
33102 wxWindow
*arg1
= (wxWindow
*) 0 ;
33106 PyObject
*swig_obj
[1] ;
33108 if (!args
) SWIG_fail
;
33109 swig_obj
[0] = args
;
33110 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33111 if (!SWIG_IsOK(res1
)) {
33112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_DestroyChildren" "', expected argument " "1"" of type '" "wxWindow *""'");
33114 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33117 result
= (bool)(arg1
)->DestroyChildren();
33118 wxPyEndAllowThreads(__tstate
);
33119 if (PyErr_Occurred()) SWIG_fail
;
33122 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33130 SWIGINTERN PyObject
*_wrap_Window_IsBeingDeleted(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33131 PyObject
*resultobj
= 0;
33132 wxWindow
*arg1
= (wxWindow
*) 0 ;
33136 PyObject
*swig_obj
[1] ;
33138 if (!args
) SWIG_fail
;
33139 swig_obj
[0] = args
;
33140 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33141 if (!SWIG_IsOK(res1
)) {
33142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_IsBeingDeleted" "', expected argument " "1"" of type '" "wxWindow const *""'");
33144 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33147 result
= (bool)((wxWindow
const *)arg1
)->IsBeingDeleted();
33148 wxPyEndAllowThreads(__tstate
);
33149 if (PyErr_Occurred()) SWIG_fail
;
33152 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33160 SWIGINTERN PyObject
*_wrap_Window_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33161 PyObject
*resultobj
= 0;
33162 wxWindow
*arg1
= (wxWindow
*) 0 ;
33163 wxString
*arg2
= 0 ;
33166 bool temp2
= false ;
33167 PyObject
* obj0
= 0 ;
33168 PyObject
* obj1
= 0 ;
33169 char * kwnames
[] = {
33170 (char *) "self",(char *) "label", NULL
33173 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33174 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33175 if (!SWIG_IsOK(res1
)) {
33176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetLabel" "', expected argument " "1"" of type '" "wxWindow *""'");
33178 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33180 arg2
= wxString_in_helper(obj1
);
33181 if (arg2
== NULL
) SWIG_fail
;
33185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33186 (arg1
)->SetLabel((wxString
const &)*arg2
);
33187 wxPyEndAllowThreads(__tstate
);
33188 if (PyErr_Occurred()) SWIG_fail
;
33190 resultobj
= SWIG_Py_Void();
33205 SWIGINTERN PyObject
*_wrap_Window_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33206 PyObject
*resultobj
= 0;
33207 wxWindow
*arg1
= (wxWindow
*) 0 ;
33211 PyObject
*swig_obj
[1] ;
33213 if (!args
) SWIG_fail
;
33214 swig_obj
[0] = args
;
33215 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33216 if (!SWIG_IsOK(res1
)) {
33217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetLabel" "', expected argument " "1"" of type '" "wxWindow const *""'");
33219 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33222 result
= ((wxWindow
const *)arg1
)->GetLabel();
33223 wxPyEndAllowThreads(__tstate
);
33224 if (PyErr_Occurred()) SWIG_fail
;
33228 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33230 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33239 SWIGINTERN PyObject
*_wrap_Window_SetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33240 PyObject
*resultobj
= 0;
33241 wxWindow
*arg1
= (wxWindow
*) 0 ;
33242 wxString
*arg2
= 0 ;
33245 bool temp2
= false ;
33246 PyObject
* obj0
= 0 ;
33247 PyObject
* obj1
= 0 ;
33248 char * kwnames
[] = {
33249 (char *) "self",(char *) "name", NULL
33252 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33253 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33254 if (!SWIG_IsOK(res1
)) {
33255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetName" "', expected argument " "1"" of type '" "wxWindow *""'");
33257 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33259 arg2
= wxString_in_helper(obj1
);
33260 if (arg2
== NULL
) SWIG_fail
;
33264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33265 (arg1
)->SetName((wxString
const &)*arg2
);
33266 wxPyEndAllowThreads(__tstate
);
33267 if (PyErr_Occurred()) SWIG_fail
;
33269 resultobj
= SWIG_Py_Void();
33284 SWIGINTERN PyObject
*_wrap_Window_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33285 PyObject
*resultobj
= 0;
33286 wxWindow
*arg1
= (wxWindow
*) 0 ;
33290 PyObject
*swig_obj
[1] ;
33292 if (!args
) SWIG_fail
;
33293 swig_obj
[0] = args
;
33294 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33295 if (!SWIG_IsOK(res1
)) {
33296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetName" "', expected argument " "1"" of type '" "wxWindow const *""'");
33298 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33301 result
= ((wxWindow
const *)arg1
)->GetName();
33302 wxPyEndAllowThreads(__tstate
);
33303 if (PyErr_Occurred()) SWIG_fail
;
33307 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33309 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33318 SWIGINTERN PyObject
*_wrap_Window_SetWindowVariant(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33319 PyObject
*resultobj
= 0;
33320 wxWindow
*arg1
= (wxWindow
*) 0 ;
33321 wxWindowVariant arg2
;
33326 PyObject
* obj0
= 0 ;
33327 PyObject
* obj1
= 0 ;
33328 char * kwnames
[] = {
33329 (char *) "self",(char *) "variant", NULL
33332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowVariant",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33333 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33334 if (!SWIG_IsOK(res1
)) {
33335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetWindowVariant" "', expected argument " "1"" of type '" "wxWindow *""'");
33337 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33338 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33339 if (!SWIG_IsOK(ecode2
)) {
33340 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetWindowVariant" "', expected argument " "2"" of type '" "wxWindowVariant""'");
33342 arg2
= static_cast< wxWindowVariant
>(val2
);
33344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33345 (arg1
)->SetWindowVariant(arg2
);
33346 wxPyEndAllowThreads(__tstate
);
33347 if (PyErr_Occurred()) SWIG_fail
;
33349 resultobj
= SWIG_Py_Void();
33356 SWIGINTERN PyObject
*_wrap_Window_GetWindowVariant(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33357 PyObject
*resultobj
= 0;
33358 wxWindow
*arg1
= (wxWindow
*) 0 ;
33359 wxWindowVariant result
;
33362 PyObject
*swig_obj
[1] ;
33364 if (!args
) SWIG_fail
;
33365 swig_obj
[0] = args
;
33366 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33367 if (!SWIG_IsOK(res1
)) {
33368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetWindowVariant" "', expected argument " "1"" of type '" "wxWindow const *""'");
33370 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33373 result
= (wxWindowVariant
)((wxWindow
const *)arg1
)->GetWindowVariant();
33374 wxPyEndAllowThreads(__tstate
);
33375 if (PyErr_Occurred()) SWIG_fail
;
33377 resultobj
= SWIG_From_int(static_cast< int >(result
));
33384 SWIGINTERN PyObject
*_wrap_Window_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33385 PyObject
*resultobj
= 0;
33386 wxWindow
*arg1
= (wxWindow
*) 0 ;
33392 PyObject
* obj0
= 0 ;
33393 PyObject
* obj1
= 0 ;
33394 char * kwnames
[] = {
33395 (char *) "self",(char *) "winid", NULL
33398 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33399 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33400 if (!SWIG_IsOK(res1
)) {
33401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetId" "', expected argument " "1"" of type '" "wxWindow *""'");
33403 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33404 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33405 if (!SWIG_IsOK(ecode2
)) {
33406 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetId" "', expected argument " "2"" of type '" "int""'");
33408 arg2
= static_cast< int >(val2
);
33410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33411 (arg1
)->SetId(arg2
);
33412 wxPyEndAllowThreads(__tstate
);
33413 if (PyErr_Occurred()) SWIG_fail
;
33415 resultobj
= SWIG_Py_Void();
33422 SWIGINTERN PyObject
*_wrap_Window_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33423 PyObject
*resultobj
= 0;
33424 wxWindow
*arg1
= (wxWindow
*) 0 ;
33428 PyObject
*swig_obj
[1] ;
33430 if (!args
) SWIG_fail
;
33431 swig_obj
[0] = args
;
33432 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33433 if (!SWIG_IsOK(res1
)) {
33434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetId" "', expected argument " "1"" of type '" "wxWindow const *""'");
33436 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33439 result
= (int)((wxWindow
const *)arg1
)->GetId();
33440 wxPyEndAllowThreads(__tstate
);
33441 if (PyErr_Occurred()) SWIG_fail
;
33443 resultobj
= SWIG_From_int(static_cast< int >(result
));
33450 SWIGINTERN PyObject
*_wrap_Window_NewControlId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33451 PyObject
*resultobj
= 0;
33454 if (!SWIG_Python_UnpackTuple(args
,"Window_NewControlId",0,0,0)) SWIG_fail
;
33456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33457 result
= (int)wxWindow::NewControlId();
33458 wxPyEndAllowThreads(__tstate
);
33459 if (PyErr_Occurred()) SWIG_fail
;
33461 resultobj
= SWIG_From_int(static_cast< int >(result
));
33468 SWIGINTERN PyObject
*_wrap_Window_NextControlId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33469 PyObject
*resultobj
= 0;
33474 PyObject
* obj0
= 0 ;
33475 char * kwnames
[] = {
33476 (char *) "winid", NULL
33479 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_NextControlId",kwnames
,&obj0
)) SWIG_fail
;
33480 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
33481 if (!SWIG_IsOK(ecode1
)) {
33482 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Window_NextControlId" "', expected argument " "1"" of type '" "int""'");
33484 arg1
= static_cast< int >(val1
);
33486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33487 result
= (int)wxWindow::NextControlId(arg1
);
33488 wxPyEndAllowThreads(__tstate
);
33489 if (PyErr_Occurred()) SWIG_fail
;
33491 resultobj
= SWIG_From_int(static_cast< int >(result
));
33498 SWIGINTERN PyObject
*_wrap_Window_PrevControlId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33499 PyObject
*resultobj
= 0;
33504 PyObject
* obj0
= 0 ;
33505 char * kwnames
[] = {
33506 (char *) "winid", NULL
33509 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PrevControlId",kwnames
,&obj0
)) SWIG_fail
;
33510 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
33511 if (!SWIG_IsOK(ecode1
)) {
33512 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Window_PrevControlId" "', expected argument " "1"" of type '" "int""'");
33514 arg1
= static_cast< int >(val1
);
33516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33517 result
= (int)wxWindow::PrevControlId(arg1
);
33518 wxPyEndAllowThreads(__tstate
);
33519 if (PyErr_Occurred()) SWIG_fail
;
33521 resultobj
= SWIG_From_int(static_cast< int >(result
));
33528 SWIGINTERN PyObject
*_wrap_Window_GetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33529 PyObject
*resultobj
= 0;
33530 wxWindow
*arg1
= (wxWindow
*) 0 ;
33531 wxLayoutDirection result
;
33534 PyObject
*swig_obj
[1] ;
33536 if (!args
) SWIG_fail
;
33537 swig_obj
[0] = args
;
33538 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33539 if (!SWIG_IsOK(res1
)) {
33540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetLayoutDirection" "', expected argument " "1"" of type '" "wxWindow const *""'");
33542 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33545 result
= (wxLayoutDirection
)((wxWindow
const *)arg1
)->GetLayoutDirection();
33546 wxPyEndAllowThreads(__tstate
);
33547 if (PyErr_Occurred()) SWIG_fail
;
33549 resultobj
= SWIG_From_int(static_cast< int >(result
));
33556 SWIGINTERN PyObject
*_wrap_Window_SetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33557 PyObject
*resultobj
= 0;
33558 wxWindow
*arg1
= (wxWindow
*) 0 ;
33559 wxLayoutDirection arg2
;
33564 PyObject
* obj0
= 0 ;
33565 PyObject
* obj1
= 0 ;
33566 char * kwnames
[] = {
33567 (char *) "self",(char *) "dir", NULL
33570 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLayoutDirection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33571 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33572 if (!SWIG_IsOK(res1
)) {
33573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetLayoutDirection" "', expected argument " "1"" of type '" "wxWindow *""'");
33575 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33576 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33577 if (!SWIG_IsOK(ecode2
)) {
33578 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetLayoutDirection" "', expected argument " "2"" of type '" "wxLayoutDirection""'");
33580 arg2
= static_cast< wxLayoutDirection
>(val2
);
33582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33583 (arg1
)->SetLayoutDirection(arg2
);
33584 wxPyEndAllowThreads(__tstate
);
33585 if (PyErr_Occurred()) SWIG_fail
;
33587 resultobj
= SWIG_Py_Void();
33594 SWIGINTERN PyObject
*_wrap_Window_AdjustForLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33595 PyObject
*resultobj
= 0;
33596 wxWindow
*arg1
= (wxWindow
*) 0 ;
33609 PyObject
* obj0
= 0 ;
33610 PyObject
* obj1
= 0 ;
33611 PyObject
* obj2
= 0 ;
33612 PyObject
* obj3
= 0 ;
33613 char * kwnames
[] = {
33614 (char *) "self",(char *) "x",(char *) "width",(char *) "widthTotal", NULL
33617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_AdjustForLayoutDirection",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33618 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33619 if (!SWIG_IsOK(res1
)) {
33620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_AdjustForLayoutDirection" "', expected argument " "1"" of type '" "wxWindow const *""'");
33622 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33623 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33624 if (!SWIG_IsOK(ecode2
)) {
33625 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_AdjustForLayoutDirection" "', expected argument " "2"" of type '" "int""'");
33627 arg2
= static_cast< int >(val2
);
33628 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33629 if (!SWIG_IsOK(ecode3
)) {
33630 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_AdjustForLayoutDirection" "', expected argument " "3"" of type '" "int""'");
33632 arg3
= static_cast< int >(val3
);
33633 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33634 if (!SWIG_IsOK(ecode4
)) {
33635 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Window_AdjustForLayoutDirection" "', expected argument " "4"" of type '" "int""'");
33637 arg4
= static_cast< int >(val4
);
33639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33640 result
= (int)((wxWindow
const *)arg1
)->AdjustForLayoutDirection(arg2
,arg3
,arg4
);
33641 wxPyEndAllowThreads(__tstate
);
33642 if (PyErr_Occurred()) SWIG_fail
;
33644 resultobj
= SWIG_From_int(static_cast< int >(result
));
33651 SWIGINTERN PyObject
*_wrap_Window_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33652 PyObject
*resultobj
= 0;
33653 wxWindow
*arg1
= (wxWindow
*) 0 ;
33658 PyObject
* obj0
= 0 ;
33659 PyObject
* obj1
= 0 ;
33660 char * kwnames
[] = {
33661 (char *) "self",(char *) "size", NULL
33664 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33665 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33666 if (!SWIG_IsOK(res1
)) {
33667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetSize" "', expected argument " "1"" of type '" "wxWindow *""'");
33669 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33672 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
33675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33676 (arg1
)->SetSize((wxSize
const &)*arg2
);
33677 wxPyEndAllowThreads(__tstate
);
33678 if (PyErr_Occurred()) SWIG_fail
;
33680 resultobj
= SWIG_Py_Void();
33687 SWIGINTERN PyObject
*_wrap_Window_SetDimensions(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33688 PyObject
*resultobj
= 0;
33689 wxWindow
*arg1
= (wxWindow
*) 0 ;
33694 int arg6
= (int) wxSIZE_AUTO
;
33707 PyObject
* obj0
= 0 ;
33708 PyObject
* obj1
= 0 ;
33709 PyObject
* obj2
= 0 ;
33710 PyObject
* obj3
= 0 ;
33711 PyObject
* obj4
= 0 ;
33712 PyObject
* obj5
= 0 ;
33713 char * kwnames
[] = {
33714 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
33717 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetDimensions",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
33718 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33719 if (!SWIG_IsOK(res1
)) {
33720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetDimensions" "', expected argument " "1"" of type '" "wxWindow *""'");
33722 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33723 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33724 if (!SWIG_IsOK(ecode2
)) {
33725 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetDimensions" "', expected argument " "2"" of type '" "int""'");
33727 arg2
= static_cast< int >(val2
);
33728 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33729 if (!SWIG_IsOK(ecode3
)) {
33730 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_SetDimensions" "', expected argument " "3"" of type '" "int""'");
33732 arg3
= static_cast< int >(val3
);
33733 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33734 if (!SWIG_IsOK(ecode4
)) {
33735 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Window_SetDimensions" "', expected argument " "4"" of type '" "int""'");
33737 arg4
= static_cast< int >(val4
);
33738 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33739 if (!SWIG_IsOK(ecode5
)) {
33740 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Window_SetDimensions" "', expected argument " "5"" of type '" "int""'");
33742 arg5
= static_cast< int >(val5
);
33744 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
33745 if (!SWIG_IsOK(ecode6
)) {
33746 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Window_SetDimensions" "', expected argument " "6"" of type '" "int""'");
33748 arg6
= static_cast< int >(val6
);
33751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33752 (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
33753 wxPyEndAllowThreads(__tstate
);
33754 if (PyErr_Occurred()) SWIG_fail
;
33756 resultobj
= SWIG_Py_Void();
33763 SWIGINTERN PyObject
*_wrap_Window_SetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33764 PyObject
*resultobj
= 0;
33765 wxWindow
*arg1
= (wxWindow
*) 0 ;
33767 int arg3
= (int) wxSIZE_AUTO
;
33773 PyObject
* obj0
= 0 ;
33774 PyObject
* obj1
= 0 ;
33775 PyObject
* obj2
= 0 ;
33776 char * kwnames
[] = {
33777 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
33780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33781 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33782 if (!SWIG_IsOK(res1
)) {
33783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetRect" "', expected argument " "1"" of type '" "wxWindow *""'");
33785 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33788 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
33791 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33792 if (!SWIG_IsOK(ecode3
)) {
33793 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_SetRect" "', expected argument " "3"" of type '" "int""'");
33795 arg3
= static_cast< int >(val3
);
33798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33799 (arg1
)->SetSize((wxRect
const &)*arg2
,arg3
);
33800 wxPyEndAllowThreads(__tstate
);
33801 if (PyErr_Occurred()) SWIG_fail
;
33803 resultobj
= SWIG_Py_Void();
33810 SWIGINTERN PyObject
*_wrap_Window_SetSizeWH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33811 PyObject
*resultobj
= 0;
33812 wxWindow
*arg1
= (wxWindow
*) 0 ;
33821 PyObject
* obj0
= 0 ;
33822 PyObject
* obj1
= 0 ;
33823 PyObject
* obj2
= 0 ;
33824 char * kwnames
[] = {
33825 (char *) "self",(char *) "width",(char *) "height", NULL
33828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33830 if (!SWIG_IsOK(res1
)) {
33831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetSizeWH" "', expected argument " "1"" of type '" "wxWindow *""'");
33833 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33834 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33835 if (!SWIG_IsOK(ecode2
)) {
33836 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetSizeWH" "', expected argument " "2"" of type '" "int""'");
33838 arg2
= static_cast< int >(val2
);
33839 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33840 if (!SWIG_IsOK(ecode3
)) {
33841 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_SetSizeWH" "', expected argument " "3"" of type '" "int""'");
33843 arg3
= static_cast< int >(val3
);
33845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33846 (arg1
)->SetSize(arg2
,arg3
);
33847 wxPyEndAllowThreads(__tstate
);
33848 if (PyErr_Occurred()) SWIG_fail
;
33850 resultobj
= SWIG_Py_Void();
33857 SWIGINTERN PyObject
*_wrap_Window_Move(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33858 PyObject
*resultobj
= 0;
33859 wxWindow
*arg1
= (wxWindow
*) 0 ;
33860 wxPoint
*arg2
= 0 ;
33861 int arg3
= (int) wxSIZE_USE_EXISTING
;
33867 PyObject
* obj0
= 0 ;
33868 PyObject
* obj1
= 0 ;
33869 PyObject
* obj2
= 0 ;
33870 char * kwnames
[] = {
33871 (char *) "self",(char *) "pt",(char *) "flags", NULL
33874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_Move",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33876 if (!SWIG_IsOK(res1
)) {
33877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Move" "', expected argument " "1"" of type '" "wxWindow *""'");
33879 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33882 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33885 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33886 if (!SWIG_IsOK(ecode3
)) {
33887 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_Move" "', expected argument " "3"" of type '" "int""'");
33889 arg3
= static_cast< int >(val3
);
33892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33893 (arg1
)->Move((wxPoint
const &)*arg2
,arg3
);
33894 wxPyEndAllowThreads(__tstate
);
33895 if (PyErr_Occurred()) SWIG_fail
;
33897 resultobj
= SWIG_Py_Void();
33904 SWIGINTERN PyObject
*_wrap_Window_MoveXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33905 PyObject
*resultobj
= 0;
33906 wxWindow
*arg1
= (wxWindow
*) 0 ;
33909 int arg4
= (int) wxSIZE_USE_EXISTING
;
33918 PyObject
* obj0
= 0 ;
33919 PyObject
* obj1
= 0 ;
33920 PyObject
* obj2
= 0 ;
33921 PyObject
* obj3
= 0 ;
33922 char * kwnames
[] = {
33923 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
33926 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33927 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33928 if (!SWIG_IsOK(res1
)) {
33929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_MoveXY" "', expected argument " "1"" of type '" "wxWindow *""'");
33931 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33932 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33933 if (!SWIG_IsOK(ecode2
)) {
33934 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_MoveXY" "', expected argument " "2"" of type '" "int""'");
33936 arg2
= static_cast< int >(val2
);
33937 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33938 if (!SWIG_IsOK(ecode3
)) {
33939 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_MoveXY" "', expected argument " "3"" of type '" "int""'");
33941 arg3
= static_cast< int >(val3
);
33943 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33944 if (!SWIG_IsOK(ecode4
)) {
33945 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Window_MoveXY" "', expected argument " "4"" of type '" "int""'");
33947 arg4
= static_cast< int >(val4
);
33950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33951 (arg1
)->Move(arg2
,arg3
,arg4
);
33952 wxPyEndAllowThreads(__tstate
);
33953 if (PyErr_Occurred()) SWIG_fail
;
33955 resultobj
= SWIG_Py_Void();
33962 SWIGINTERN PyObject
*_wrap_Window_SetInitialSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33963 PyObject
*resultobj
= 0;
33964 wxWindow
*arg1
= (wxWindow
*) 0 ;
33965 wxSize
const &arg2_defvalue
= wxDefaultSize
;
33966 wxSize
*arg2
= (wxSize
*) &arg2_defvalue
;
33970 PyObject
* obj0
= 0 ;
33971 PyObject
* obj1
= 0 ;
33972 char * kwnames
[] = {
33973 (char *) "self",(char *) "size", NULL
33976 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_SetInitialSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33977 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33978 if (!SWIG_IsOK(res1
)) {
33979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetInitialSize" "', expected argument " "1"" of type '" "wxWindow *""'");
33981 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33985 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
33989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33990 (arg1
)->SetInitialSize((wxSize
const &)*arg2
);
33991 wxPyEndAllowThreads(__tstate
);
33992 if (PyErr_Occurred()) SWIG_fail
;
33994 resultobj
= SWIG_Py_Void();
34001 SWIGINTERN PyObject
*_wrap_Window_Raise(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34002 PyObject
*resultobj
= 0;
34003 wxWindow
*arg1
= (wxWindow
*) 0 ;
34006 PyObject
*swig_obj
[1] ;
34008 if (!args
) SWIG_fail
;
34009 swig_obj
[0] = args
;
34010 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34011 if (!SWIG_IsOK(res1
)) {
34012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Raise" "', expected argument " "1"" of type '" "wxWindow *""'");
34014 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34018 wxPyEndAllowThreads(__tstate
);
34019 if (PyErr_Occurred()) SWIG_fail
;
34021 resultobj
= SWIG_Py_Void();
34028 SWIGINTERN PyObject
*_wrap_Window_Lower(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34029 PyObject
*resultobj
= 0;
34030 wxWindow
*arg1
= (wxWindow
*) 0 ;
34033 PyObject
*swig_obj
[1] ;
34035 if (!args
) SWIG_fail
;
34036 swig_obj
[0] = args
;
34037 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34038 if (!SWIG_IsOK(res1
)) {
34039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Lower" "', expected argument " "1"" of type '" "wxWindow *""'");
34041 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34045 wxPyEndAllowThreads(__tstate
);
34046 if (PyErr_Occurred()) SWIG_fail
;
34048 resultobj
= SWIG_Py_Void();
34055 SWIGINTERN PyObject
*_wrap_Window_SetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34056 PyObject
*resultobj
= 0;
34057 wxWindow
*arg1
= (wxWindow
*) 0 ;
34062 PyObject
* obj0
= 0 ;
34063 PyObject
* obj1
= 0 ;
34064 char * kwnames
[] = {
34065 (char *) "self",(char *) "size", NULL
34068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34069 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34070 if (!SWIG_IsOK(res1
)) {
34071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetClientSize" "', expected argument " "1"" of type '" "wxWindow *""'");
34073 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34076 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
34079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34080 (arg1
)->SetClientSize((wxSize
const &)*arg2
);
34081 wxPyEndAllowThreads(__tstate
);
34082 if (PyErr_Occurred()) SWIG_fail
;
34084 resultobj
= SWIG_Py_Void();
34091 SWIGINTERN PyObject
*_wrap_Window_SetClientSizeWH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34092 PyObject
*resultobj
= 0;
34093 wxWindow
*arg1
= (wxWindow
*) 0 ;
34102 PyObject
* obj0
= 0 ;
34103 PyObject
* obj1
= 0 ;
34104 PyObject
* obj2
= 0 ;
34105 char * kwnames
[] = {
34106 (char *) "self",(char *) "width",(char *) "height", NULL
34109 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetClientSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34110 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34111 if (!SWIG_IsOK(res1
)) {
34112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetClientSizeWH" "', expected argument " "1"" of type '" "wxWindow *""'");
34114 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34115 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34116 if (!SWIG_IsOK(ecode2
)) {
34117 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetClientSizeWH" "', expected argument " "2"" of type '" "int""'");
34119 arg2
= static_cast< int >(val2
);
34120 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34121 if (!SWIG_IsOK(ecode3
)) {
34122 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_SetClientSizeWH" "', expected argument " "3"" of type '" "int""'");
34124 arg3
= static_cast< int >(val3
);
34126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34127 (arg1
)->SetClientSize(arg2
,arg3
);
34128 wxPyEndAllowThreads(__tstate
);
34129 if (PyErr_Occurred()) SWIG_fail
;
34131 resultobj
= SWIG_Py_Void();
34138 SWIGINTERN PyObject
*_wrap_Window_SetClientRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34139 PyObject
*resultobj
= 0;
34140 wxWindow
*arg1
= (wxWindow
*) 0 ;
34145 PyObject
* obj0
= 0 ;
34146 PyObject
* obj1
= 0 ;
34147 char * kwnames
[] = {
34148 (char *) "self",(char *) "rect", NULL
34151 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34152 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34153 if (!SWIG_IsOK(res1
)) {
34154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetClientRect" "', expected argument " "1"" of type '" "wxWindow *""'");
34156 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34159 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
34162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34163 (arg1
)->SetClientSize((wxRect
const &)*arg2
);
34164 wxPyEndAllowThreads(__tstate
);
34165 if (PyErr_Occurred()) SWIG_fail
;
34167 resultobj
= SWIG_Py_Void();
34174 SWIGINTERN PyObject
*_wrap_Window_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34175 PyObject
*resultobj
= 0;
34176 wxWindow
*arg1
= (wxWindow
*) 0 ;
34180 PyObject
*swig_obj
[1] ;
34182 if (!args
) SWIG_fail
;
34183 swig_obj
[0] = args
;
34184 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34185 if (!SWIG_IsOK(res1
)) {
34186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetPosition" "', expected argument " "1"" of type '" "wxWindow const *""'");
34188 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34191 result
= ((wxWindow
const *)arg1
)->GetPosition();
34192 wxPyEndAllowThreads(__tstate
);
34193 if (PyErr_Occurred()) SWIG_fail
;
34195 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
34202 SWIGINTERN PyObject
*_wrap_Window_GetPositionTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34203 PyObject
*resultobj
= 0;
34204 wxWindow
*arg1
= (wxWindow
*) 0 ;
34205 int *arg2
= (int *) 0 ;
34206 int *arg3
= (int *) 0 ;
34210 int res2
= SWIG_TMPOBJ
;
34212 int res3
= SWIG_TMPOBJ
;
34213 PyObject
*swig_obj
[1] ;
34217 if (!args
) SWIG_fail
;
34218 swig_obj
[0] = args
;
34219 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34220 if (!SWIG_IsOK(res1
)) {
34221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetPositionTuple" "', expected argument " "1"" of type '" "wxWindow const *""'");
34223 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34226 ((wxWindow
const *)arg1
)->GetPosition(arg2
,arg3
);
34227 wxPyEndAllowThreads(__tstate
);
34228 if (PyErr_Occurred()) SWIG_fail
;
34230 resultobj
= SWIG_Py_Void();
34231 if (SWIG_IsTmpObj(res2
)) {
34232 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
34234 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
34235 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
34237 if (SWIG_IsTmpObj(res3
)) {
34238 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
34240 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
34241 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
34249 SWIGINTERN PyObject
*_wrap_Window_GetScreenPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34250 PyObject
*resultobj
= 0;
34251 wxWindow
*arg1
= (wxWindow
*) 0 ;
34255 PyObject
*swig_obj
[1] ;
34257 if (!args
) SWIG_fail
;
34258 swig_obj
[0] = args
;
34259 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34260 if (!SWIG_IsOK(res1
)) {
34261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetScreenPosition" "', expected argument " "1"" of type '" "wxWindow const *""'");
34263 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34266 result
= ((wxWindow
const *)arg1
)->GetScreenPosition();
34267 wxPyEndAllowThreads(__tstate
);
34268 if (PyErr_Occurred()) SWIG_fail
;
34270 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
34277 SWIGINTERN PyObject
*_wrap_Window_GetScreenPositionTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34278 PyObject
*resultobj
= 0;
34279 wxWindow
*arg1
= (wxWindow
*) 0 ;
34280 int *arg2
= (int *) 0 ;
34281 int *arg3
= (int *) 0 ;
34285 int res2
= SWIG_TMPOBJ
;
34287 int res3
= SWIG_TMPOBJ
;
34288 PyObject
*swig_obj
[1] ;
34292 if (!args
) SWIG_fail
;
34293 swig_obj
[0] = args
;
34294 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34295 if (!SWIG_IsOK(res1
)) {
34296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetScreenPositionTuple" "', expected argument " "1"" of type '" "wxWindow const *""'");
34298 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34301 ((wxWindow
const *)arg1
)->GetScreenPosition(arg2
,arg3
);
34302 wxPyEndAllowThreads(__tstate
);
34303 if (PyErr_Occurred()) SWIG_fail
;
34305 resultobj
= SWIG_Py_Void();
34306 if (SWIG_IsTmpObj(res2
)) {
34307 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
34309 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
34310 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
34312 if (SWIG_IsTmpObj(res3
)) {
34313 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
34315 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
34316 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
34324 SWIGINTERN PyObject
*_wrap_Window_GetScreenRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34325 PyObject
*resultobj
= 0;
34326 wxWindow
*arg1
= (wxWindow
*) 0 ;
34330 PyObject
*swig_obj
[1] ;
34332 if (!args
) SWIG_fail
;
34333 swig_obj
[0] = args
;
34334 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34335 if (!SWIG_IsOK(res1
)) {
34336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetScreenRect" "', expected argument " "1"" of type '" "wxWindow const *""'");
34338 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34341 result
= ((wxWindow
const *)arg1
)->GetScreenRect();
34342 wxPyEndAllowThreads(__tstate
);
34343 if (PyErr_Occurred()) SWIG_fail
;
34345 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
34352 SWIGINTERN PyObject
*_wrap_Window_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34353 PyObject
*resultobj
= 0;
34354 wxWindow
*arg1
= (wxWindow
*) 0 ;
34358 PyObject
*swig_obj
[1] ;
34360 if (!args
) SWIG_fail
;
34361 swig_obj
[0] = args
;
34362 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34363 if (!SWIG_IsOK(res1
)) {
34364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetSize" "', expected argument " "1"" of type '" "wxWindow const *""'");
34366 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34369 result
= ((wxWindow
const *)arg1
)->GetSize();
34370 wxPyEndAllowThreads(__tstate
);
34371 if (PyErr_Occurred()) SWIG_fail
;
34373 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
34380 SWIGINTERN PyObject
*_wrap_Window_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34381 PyObject
*resultobj
= 0;
34382 wxWindow
*arg1
= (wxWindow
*) 0 ;
34383 int *arg2
= (int *) 0 ;
34384 int *arg3
= (int *) 0 ;
34388 int res2
= SWIG_TMPOBJ
;
34390 int res3
= SWIG_TMPOBJ
;
34391 PyObject
*swig_obj
[1] ;
34395 if (!args
) SWIG_fail
;
34396 swig_obj
[0] = args
;
34397 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34398 if (!SWIG_IsOK(res1
)) {
34399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetSizeTuple" "', expected argument " "1"" of type '" "wxWindow const *""'");
34401 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34404 ((wxWindow
const *)arg1
)->GetSize(arg2
,arg3
);
34405 wxPyEndAllowThreads(__tstate
);
34406 if (PyErr_Occurred()) SWIG_fail
;
34408 resultobj
= SWIG_Py_Void();
34409 if (SWIG_IsTmpObj(res2
)) {
34410 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
34412 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
34413 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
34415 if (SWIG_IsTmpObj(res3
)) {
34416 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
34418 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
34419 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
34427 SWIGINTERN PyObject
*_wrap_Window_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34428 PyObject
*resultobj
= 0;
34429 wxWindow
*arg1
= (wxWindow
*) 0 ;
34433 PyObject
*swig_obj
[1] ;
34435 if (!args
) SWIG_fail
;
34436 swig_obj
[0] = args
;
34437 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34438 if (!SWIG_IsOK(res1
)) {
34439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetRect" "', expected argument " "1"" of type '" "wxWindow const *""'");
34441 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34444 result
= ((wxWindow
const *)arg1
)->GetRect();
34445 wxPyEndAllowThreads(__tstate
);
34446 if (PyErr_Occurred()) SWIG_fail
;
34448 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
34455 SWIGINTERN PyObject
*_wrap_Window_GetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34456 PyObject
*resultobj
= 0;
34457 wxWindow
*arg1
= (wxWindow
*) 0 ;
34461 PyObject
*swig_obj
[1] ;
34463 if (!args
) SWIG_fail
;
34464 swig_obj
[0] = args
;
34465 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34466 if (!SWIG_IsOK(res1
)) {
34467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetClientSize" "', expected argument " "1"" of type '" "wxWindow const *""'");
34469 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34472 result
= ((wxWindow
const *)arg1
)->GetClientSize();
34473 wxPyEndAllowThreads(__tstate
);
34474 if (PyErr_Occurred()) SWIG_fail
;
34476 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
34483 SWIGINTERN PyObject
*_wrap_Window_GetClientSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34484 PyObject
*resultobj
= 0;
34485 wxWindow
*arg1
= (wxWindow
*) 0 ;
34486 int *arg2
= (int *) 0 ;
34487 int *arg3
= (int *) 0 ;
34491 int res2
= SWIG_TMPOBJ
;
34493 int res3
= SWIG_TMPOBJ
;
34494 PyObject
*swig_obj
[1] ;
34498 if (!args
) SWIG_fail
;
34499 swig_obj
[0] = args
;
34500 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34501 if (!SWIG_IsOK(res1
)) {
34502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetClientSizeTuple" "', expected argument " "1"" of type '" "wxWindow const *""'");
34504 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34507 ((wxWindow
const *)arg1
)->GetClientSize(arg2
,arg3
);
34508 wxPyEndAllowThreads(__tstate
);
34509 if (PyErr_Occurred()) SWIG_fail
;
34511 resultobj
= SWIG_Py_Void();
34512 if (SWIG_IsTmpObj(res2
)) {
34513 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
34515 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
34516 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
34518 if (SWIG_IsTmpObj(res3
)) {
34519 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
34521 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
34522 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
34530 SWIGINTERN PyObject
*_wrap_Window_GetClientAreaOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34531 PyObject
*resultobj
= 0;
34532 wxWindow
*arg1
= (wxWindow
*) 0 ;
34536 PyObject
*swig_obj
[1] ;
34538 if (!args
) SWIG_fail
;
34539 swig_obj
[0] = args
;
34540 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34541 if (!SWIG_IsOK(res1
)) {
34542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetClientAreaOrigin" "', expected argument " "1"" of type '" "wxWindow const *""'");
34544 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34547 result
= ((wxWindow
const *)arg1
)->GetClientAreaOrigin();
34548 wxPyEndAllowThreads(__tstate
);
34549 if (PyErr_Occurred()) SWIG_fail
;
34551 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
34558 SWIGINTERN PyObject
*_wrap_Window_GetClientRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34559 PyObject
*resultobj
= 0;
34560 wxWindow
*arg1
= (wxWindow
*) 0 ;
34564 PyObject
*swig_obj
[1] ;
34566 if (!args
) SWIG_fail
;
34567 swig_obj
[0] = args
;
34568 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34569 if (!SWIG_IsOK(res1
)) {
34570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetClientRect" "', expected argument " "1"" of type '" "wxWindow const *""'");
34572 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34575 result
= ((wxWindow
const *)arg1
)->GetClientRect();
34576 wxPyEndAllowThreads(__tstate
);
34577 if (PyErr_Occurred()) SWIG_fail
;
34579 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
34586 SWIGINTERN PyObject
*_wrap_Window_GetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34587 PyObject
*resultobj
= 0;
34588 wxWindow
*arg1
= (wxWindow
*) 0 ;
34592 PyObject
*swig_obj
[1] ;
34594 if (!args
) SWIG_fail
;
34595 swig_obj
[0] = args
;
34596 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34597 if (!SWIG_IsOK(res1
)) {
34598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetBestSize" "', expected argument " "1"" of type '" "wxWindow const *""'");
34600 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34603 result
= ((wxWindow
const *)arg1
)->GetBestSize();
34604 wxPyEndAllowThreads(__tstate
);
34605 if (PyErr_Occurred()) SWIG_fail
;
34607 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
34614 SWIGINTERN PyObject
*_wrap_Window_GetBestSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34615 PyObject
*resultobj
= 0;
34616 wxWindow
*arg1
= (wxWindow
*) 0 ;
34617 int *arg2
= (int *) 0 ;
34618 int *arg3
= (int *) 0 ;
34622 int res2
= SWIG_TMPOBJ
;
34624 int res3
= SWIG_TMPOBJ
;
34625 PyObject
*swig_obj
[1] ;
34629 if (!args
) SWIG_fail
;
34630 swig_obj
[0] = args
;
34631 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34632 if (!SWIG_IsOK(res1
)) {
34633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetBestSizeTuple" "', expected argument " "1"" of type '" "wxWindow const *""'");
34635 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34638 ((wxWindow
const *)arg1
)->GetBestSize(arg2
,arg3
);
34639 wxPyEndAllowThreads(__tstate
);
34640 if (PyErr_Occurred()) SWIG_fail
;
34642 resultobj
= SWIG_Py_Void();
34643 if (SWIG_IsTmpObj(res2
)) {
34644 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
34646 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
34647 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
34649 if (SWIG_IsTmpObj(res3
)) {
34650 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
34652 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
34653 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
34661 SWIGINTERN PyObject
*_wrap_Window_InvalidateBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34662 PyObject
*resultobj
= 0;
34663 wxWindow
*arg1
= (wxWindow
*) 0 ;
34666 PyObject
*swig_obj
[1] ;
34668 if (!args
) SWIG_fail
;
34669 swig_obj
[0] = args
;
34670 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34671 if (!SWIG_IsOK(res1
)) {
34672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_InvalidateBestSize" "', expected argument " "1"" of type '" "wxWindow *""'");
34674 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34677 (arg1
)->InvalidateBestSize();
34678 wxPyEndAllowThreads(__tstate
);
34679 if (PyErr_Occurred()) SWIG_fail
;
34681 resultobj
= SWIG_Py_Void();
34688 SWIGINTERN PyObject
*_wrap_Window_CacheBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34689 PyObject
*resultobj
= 0;
34690 wxWindow
*arg1
= (wxWindow
*) 0 ;
34695 PyObject
* obj0
= 0 ;
34696 PyObject
* obj1
= 0 ;
34697 char * kwnames
[] = {
34698 (char *) "self",(char *) "size", NULL
34701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_CacheBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34702 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34703 if (!SWIG_IsOK(res1
)) {
34704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_CacheBestSize" "', expected argument " "1"" of type '" "wxWindow const *""'");
34706 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34709 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
34712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34713 ((wxWindow
const *)arg1
)->CacheBestSize((wxSize
const &)*arg2
);
34714 wxPyEndAllowThreads(__tstate
);
34715 if (PyErr_Occurred()) SWIG_fail
;
34717 resultobj
= SWIG_Py_Void();
34724 SWIGINTERN PyObject
*_wrap_Window_GetEffectiveMinSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34725 PyObject
*resultobj
= 0;
34726 wxWindow
*arg1
= (wxWindow
*) 0 ;
34730 PyObject
*swig_obj
[1] ;
34732 if (!args
) SWIG_fail
;
34733 swig_obj
[0] = args
;
34734 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34735 if (!SWIG_IsOK(res1
)) {
34736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetEffectiveMinSize" "', expected argument " "1"" of type '" "wxWindow const *""'");
34738 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34741 result
= ((wxWindow
const *)arg1
)->GetEffectiveMinSize();
34742 wxPyEndAllowThreads(__tstate
);
34743 if (PyErr_Occurred()) SWIG_fail
;
34745 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
34752 SWIGINTERN PyObject
*_wrap_Window_Center(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34753 PyObject
*resultobj
= 0;
34754 wxWindow
*arg1
= (wxWindow
*) 0 ;
34755 int arg2
= (int) wxBOTH
;
34760 PyObject
* obj0
= 0 ;
34761 PyObject
* obj1
= 0 ;
34762 char * kwnames
[] = {
34763 (char *) "self",(char *) "direction", NULL
34766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Center",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34767 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34768 if (!SWIG_IsOK(res1
)) {
34769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Center" "', expected argument " "1"" of type '" "wxWindow *""'");
34771 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34773 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34774 if (!SWIG_IsOK(ecode2
)) {
34775 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_Center" "', expected argument " "2"" of type '" "int""'");
34777 arg2
= static_cast< int >(val2
);
34780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34781 (arg1
)->Center(arg2
);
34782 wxPyEndAllowThreads(__tstate
);
34783 if (PyErr_Occurred()) SWIG_fail
;
34785 resultobj
= SWIG_Py_Void();
34792 SWIGINTERN PyObject
*_wrap_Window_CenterOnParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34793 PyObject
*resultobj
= 0;
34794 wxWindow
*arg1
= (wxWindow
*) 0 ;
34795 int arg2
= (int) wxBOTH
;
34800 PyObject
* obj0
= 0 ;
34801 PyObject
* obj1
= 0 ;
34802 char * kwnames
[] = {
34803 (char *) "self",(char *) "dir", NULL
34806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34807 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34808 if (!SWIG_IsOK(res1
)) {
34809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_CenterOnParent" "', expected argument " "1"" of type '" "wxWindow *""'");
34811 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34813 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34814 if (!SWIG_IsOK(ecode2
)) {
34815 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_CenterOnParent" "', expected argument " "2"" of type '" "int""'");
34817 arg2
= static_cast< int >(val2
);
34820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34821 (arg1
)->CenterOnParent(arg2
);
34822 wxPyEndAllowThreads(__tstate
);
34823 if (PyErr_Occurred()) SWIG_fail
;
34825 resultobj
= SWIG_Py_Void();
34832 SWIGINTERN PyObject
*_wrap_Window_Fit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34833 PyObject
*resultobj
= 0;
34834 wxWindow
*arg1
= (wxWindow
*) 0 ;
34837 PyObject
*swig_obj
[1] ;
34839 if (!args
) SWIG_fail
;
34840 swig_obj
[0] = args
;
34841 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34842 if (!SWIG_IsOK(res1
)) {
34843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Fit" "', expected argument " "1"" of type '" "wxWindow *""'");
34845 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34849 wxPyEndAllowThreads(__tstate
);
34850 if (PyErr_Occurred()) SWIG_fail
;
34852 resultobj
= SWIG_Py_Void();
34859 SWIGINTERN PyObject
*_wrap_Window_FitInside(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34860 PyObject
*resultobj
= 0;
34861 wxWindow
*arg1
= (wxWindow
*) 0 ;
34864 PyObject
*swig_obj
[1] ;
34866 if (!args
) SWIG_fail
;
34867 swig_obj
[0] = args
;
34868 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34869 if (!SWIG_IsOK(res1
)) {
34870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_FitInside" "', expected argument " "1"" of type '" "wxWindow *""'");
34872 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34875 (arg1
)->FitInside();
34876 wxPyEndAllowThreads(__tstate
);
34877 if (PyErr_Occurred()) SWIG_fail
;
34879 resultobj
= SWIG_Py_Void();
34886 SWIGINTERN PyObject
*_wrap_Window_SetSizeHints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34887 PyObject
*resultobj
= 0;
34888 wxWindow
*arg1
= (wxWindow
*) 0 ;
34891 int arg4
= (int) -1 ;
34892 int arg5
= (int) -1 ;
34893 int arg6
= (int) -1 ;
34894 int arg7
= (int) -1 ;
34909 PyObject
* obj0
= 0 ;
34910 PyObject
* obj1
= 0 ;
34911 PyObject
* obj2
= 0 ;
34912 PyObject
* obj3
= 0 ;
34913 PyObject
* obj4
= 0 ;
34914 PyObject
* obj5
= 0 ;
34915 PyObject
* obj6
= 0 ;
34916 char * kwnames
[] = {
34917 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL
34920 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Window_SetSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
34921 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34922 if (!SWIG_IsOK(res1
)) {
34923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetSizeHints" "', expected argument " "1"" of type '" "wxWindow *""'");
34925 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34926 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34927 if (!SWIG_IsOK(ecode2
)) {
34928 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetSizeHints" "', expected argument " "2"" of type '" "int""'");
34930 arg2
= static_cast< int >(val2
);
34931 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34932 if (!SWIG_IsOK(ecode3
)) {
34933 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_SetSizeHints" "', expected argument " "3"" of type '" "int""'");
34935 arg3
= static_cast< int >(val3
);
34937 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34938 if (!SWIG_IsOK(ecode4
)) {
34939 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Window_SetSizeHints" "', expected argument " "4"" of type '" "int""'");
34941 arg4
= static_cast< int >(val4
);
34944 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34945 if (!SWIG_IsOK(ecode5
)) {
34946 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Window_SetSizeHints" "', expected argument " "5"" of type '" "int""'");
34948 arg5
= static_cast< int >(val5
);
34951 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
34952 if (!SWIG_IsOK(ecode6
)) {
34953 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Window_SetSizeHints" "', expected argument " "6"" of type '" "int""'");
34955 arg6
= static_cast< int >(val6
);
34958 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
34959 if (!SWIG_IsOK(ecode7
)) {
34960 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Window_SetSizeHints" "', expected argument " "7"" of type '" "int""'");
34962 arg7
= static_cast< int >(val7
);
34965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34966 (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
34967 wxPyEndAllowThreads(__tstate
);
34968 if (PyErr_Occurred()) SWIG_fail
;
34970 resultobj
= SWIG_Py_Void();
34977 SWIGINTERN PyObject
*_wrap_Window_SetSizeHintsSz(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34978 PyObject
*resultobj
= 0;
34979 wxWindow
*arg1
= (wxWindow
*) 0 ;
34981 wxSize
const &arg3_defvalue
= wxDefaultSize
;
34982 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
34983 wxSize
const &arg4_defvalue
= wxDefaultSize
;
34984 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
34990 PyObject
* obj0
= 0 ;
34991 PyObject
* obj1
= 0 ;
34992 PyObject
* obj2
= 0 ;
34993 PyObject
* obj3
= 0 ;
34994 char * kwnames
[] = {
34995 (char *) "self",(char *) "minSize",(char *) "maxSize",(char *) "incSize", NULL
34998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_SetSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34999 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35000 if (!SWIG_IsOK(res1
)) {
35001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetSizeHintsSz" "', expected argument " "1"" of type '" "wxWindow *""'");
35003 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35006 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
35011 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
35017 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
35021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35022 (arg1
)->SetSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
,(wxSize
const &)*arg4
);
35023 wxPyEndAllowThreads(__tstate
);
35024 if (PyErr_Occurred()) SWIG_fail
;
35026 resultobj
= SWIG_Py_Void();
35033 SWIGINTERN PyObject
*_wrap_Window_SetVirtualSizeHints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35034 PyObject
*resultobj
= 0;
35035 wxWindow
*arg1
= (wxWindow
*) 0 ;
35038 int arg4
= (int) -1 ;
35039 int arg5
= (int) -1 ;
35050 PyObject
* obj0
= 0 ;
35051 PyObject
* obj1
= 0 ;
35052 PyObject
* obj2
= 0 ;
35053 PyObject
* obj3
= 0 ;
35054 PyObject
* obj4
= 0 ;
35055 char * kwnames
[] = {
35056 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL
35059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35060 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35061 if (!SWIG_IsOK(res1
)) {
35062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetVirtualSizeHints" "', expected argument " "1"" of type '" "wxWindow *""'");
35064 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35065 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35066 if (!SWIG_IsOK(ecode2
)) {
35067 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetVirtualSizeHints" "', expected argument " "2"" of type '" "int""'");
35069 arg2
= static_cast< int >(val2
);
35070 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35071 if (!SWIG_IsOK(ecode3
)) {
35072 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_SetVirtualSizeHints" "', expected argument " "3"" of type '" "int""'");
35074 arg3
= static_cast< int >(val3
);
35076 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35077 if (!SWIG_IsOK(ecode4
)) {
35078 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Window_SetVirtualSizeHints" "', expected argument " "4"" of type '" "int""'");
35080 arg4
= static_cast< int >(val4
);
35083 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35084 if (!SWIG_IsOK(ecode5
)) {
35085 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Window_SetVirtualSizeHints" "', expected argument " "5"" of type '" "int""'");
35087 arg5
= static_cast< int >(val5
);
35090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35091 (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
);
35092 wxPyEndAllowThreads(__tstate
);
35093 if (PyErr_Occurred()) SWIG_fail
;
35095 resultobj
= SWIG_Py_Void();
35102 SWIGINTERN PyObject
*_wrap_Window_SetVirtualSizeHintsSz(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35103 PyObject
*resultobj
= 0;
35104 wxWindow
*arg1
= (wxWindow
*) 0 ;
35106 wxSize
const &arg3_defvalue
= wxDefaultSize
;
35107 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
35112 PyObject
* obj0
= 0 ;
35113 PyObject
* obj1
= 0 ;
35114 PyObject
* obj2
= 0 ;
35115 char * kwnames
[] = {
35116 (char *) "self",(char *) "minSize",(char *) "maxSize", NULL
35119 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetVirtualSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35120 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35121 if (!SWIG_IsOK(res1
)) {
35122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetVirtualSizeHintsSz" "', expected argument " "1"" of type '" "wxWindow *""'");
35124 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35127 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
35132 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
35136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35137 (arg1
)->SetVirtualSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
);
35138 wxPyEndAllowThreads(__tstate
);
35139 if (PyErr_Occurred()) SWIG_fail
;
35141 resultobj
= SWIG_Py_Void();
35148 SWIGINTERN PyObject
*_wrap_Window_GetMaxSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35149 PyObject
*resultobj
= 0;
35150 wxWindow
*arg1
= (wxWindow
*) 0 ;
35154 PyObject
*swig_obj
[1] ;
35156 if (!args
) SWIG_fail
;
35157 swig_obj
[0] = args
;
35158 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35159 if (!SWIG_IsOK(res1
)) {
35160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetMaxSize" "', expected argument " "1"" of type '" "wxWindow const *""'");
35162 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35165 result
= ((wxWindow
const *)arg1
)->GetMaxSize();
35166 wxPyEndAllowThreads(__tstate
);
35167 if (PyErr_Occurred()) SWIG_fail
;
35169 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
35176 SWIGINTERN PyObject
*_wrap_Window_GetMinSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35177 PyObject
*resultobj
= 0;
35178 wxWindow
*arg1
= (wxWindow
*) 0 ;
35182 PyObject
*swig_obj
[1] ;
35184 if (!args
) SWIG_fail
;
35185 swig_obj
[0] = args
;
35186 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35187 if (!SWIG_IsOK(res1
)) {
35188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetMinSize" "', expected argument " "1"" of type '" "wxWindow const *""'");
35190 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35193 result
= ((wxWindow
const *)arg1
)->GetMinSize();
35194 wxPyEndAllowThreads(__tstate
);
35195 if (PyErr_Occurred()) SWIG_fail
;
35197 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
35204 SWIGINTERN PyObject
*_wrap_Window_SetMinSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35205 PyObject
*resultobj
= 0;
35206 wxWindow
*arg1
= (wxWindow
*) 0 ;
35211 PyObject
* obj0
= 0 ;
35212 PyObject
* obj1
= 0 ;
35213 char * kwnames
[] = {
35214 (char *) "self",(char *) "minSize", NULL
35217 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMinSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35218 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35219 if (!SWIG_IsOK(res1
)) {
35220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetMinSize" "', expected argument " "1"" of type '" "wxWindow *""'");
35222 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35225 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
35228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35229 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
35230 wxPyEndAllowThreads(__tstate
);
35231 if (PyErr_Occurred()) SWIG_fail
;
35233 resultobj
= SWIG_Py_Void();
35240 SWIGINTERN PyObject
*_wrap_Window_SetMaxSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35241 PyObject
*resultobj
= 0;
35242 wxWindow
*arg1
= (wxWindow
*) 0 ;
35247 PyObject
* obj0
= 0 ;
35248 PyObject
* obj1
= 0 ;
35249 char * kwnames
[] = {
35250 (char *) "self",(char *) "maxSize", NULL
35253 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMaxSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35254 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35255 if (!SWIG_IsOK(res1
)) {
35256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetMaxSize" "', expected argument " "1"" of type '" "wxWindow *""'");
35258 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35261 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
35264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35265 (arg1
)->SetMaxSize((wxSize
const &)*arg2
);
35266 wxPyEndAllowThreads(__tstate
);
35267 if (PyErr_Occurred()) SWIG_fail
;
35269 resultobj
= SWIG_Py_Void();
35276 SWIGINTERN PyObject
*_wrap_Window_GetMinWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35277 PyObject
*resultobj
= 0;
35278 wxWindow
*arg1
= (wxWindow
*) 0 ;
35282 PyObject
*swig_obj
[1] ;
35284 if (!args
) SWIG_fail
;
35285 swig_obj
[0] = args
;
35286 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35287 if (!SWIG_IsOK(res1
)) {
35288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetMinWidth" "', expected argument " "1"" of type '" "wxWindow const *""'");
35290 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35293 result
= (int)((wxWindow
const *)arg1
)->GetMinWidth();
35294 wxPyEndAllowThreads(__tstate
);
35295 if (PyErr_Occurred()) SWIG_fail
;
35297 resultobj
= SWIG_From_int(static_cast< int >(result
));
35304 SWIGINTERN PyObject
*_wrap_Window_GetMinHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35305 PyObject
*resultobj
= 0;
35306 wxWindow
*arg1
= (wxWindow
*) 0 ;
35310 PyObject
*swig_obj
[1] ;
35312 if (!args
) SWIG_fail
;
35313 swig_obj
[0] = args
;
35314 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35315 if (!SWIG_IsOK(res1
)) {
35316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetMinHeight" "', expected argument " "1"" of type '" "wxWindow const *""'");
35318 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35321 result
= (int)((wxWindow
const *)arg1
)->GetMinHeight();
35322 wxPyEndAllowThreads(__tstate
);
35323 if (PyErr_Occurred()) SWIG_fail
;
35325 resultobj
= SWIG_From_int(static_cast< int >(result
));
35332 SWIGINTERN PyObject
*_wrap_Window_GetMaxWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35333 PyObject
*resultobj
= 0;
35334 wxWindow
*arg1
= (wxWindow
*) 0 ;
35338 PyObject
*swig_obj
[1] ;
35340 if (!args
) SWIG_fail
;
35341 swig_obj
[0] = args
;
35342 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35343 if (!SWIG_IsOK(res1
)) {
35344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetMaxWidth" "', expected argument " "1"" of type '" "wxWindow const *""'");
35346 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35349 result
= (int)((wxWindow
const *)arg1
)->GetMaxWidth();
35350 wxPyEndAllowThreads(__tstate
);
35351 if (PyErr_Occurred()) SWIG_fail
;
35353 resultobj
= SWIG_From_int(static_cast< int >(result
));
35360 SWIGINTERN PyObject
*_wrap_Window_GetMaxHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35361 PyObject
*resultobj
= 0;
35362 wxWindow
*arg1
= (wxWindow
*) 0 ;
35366 PyObject
*swig_obj
[1] ;
35368 if (!args
) SWIG_fail
;
35369 swig_obj
[0] = args
;
35370 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35371 if (!SWIG_IsOK(res1
)) {
35372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetMaxHeight" "', expected argument " "1"" of type '" "wxWindow const *""'");
35374 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35377 result
= (int)((wxWindow
const *)arg1
)->GetMaxHeight();
35378 wxPyEndAllowThreads(__tstate
);
35379 if (PyErr_Occurred()) SWIG_fail
;
35381 resultobj
= SWIG_From_int(static_cast< int >(result
));
35388 SWIGINTERN PyObject
*_wrap_Window_SetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35389 PyObject
*resultobj
= 0;
35390 wxWindow
*arg1
= (wxWindow
*) 0 ;
35395 PyObject
* obj0
= 0 ;
35396 PyObject
* obj1
= 0 ;
35397 char * kwnames
[] = {
35398 (char *) "self",(char *) "size", NULL
35401 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetVirtualSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35402 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35403 if (!SWIG_IsOK(res1
)) {
35404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetVirtualSize" "', expected argument " "1"" of type '" "wxWindow *""'");
35406 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35409 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
35412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35413 (arg1
)->SetVirtualSize((wxSize
const &)*arg2
);
35414 wxPyEndAllowThreads(__tstate
);
35415 if (PyErr_Occurred()) SWIG_fail
;
35417 resultobj
= SWIG_Py_Void();
35424 SWIGINTERN PyObject
*_wrap_Window_SetVirtualSizeWH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35425 PyObject
*resultobj
= 0;
35426 wxWindow
*arg1
= (wxWindow
*) 0 ;
35435 PyObject
* obj0
= 0 ;
35436 PyObject
* obj1
= 0 ;
35437 PyObject
* obj2
= 0 ;
35438 char * kwnames
[] = {
35439 (char *) "self",(char *) "w",(char *) "h", NULL
35442 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetVirtualSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35443 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35444 if (!SWIG_IsOK(res1
)) {
35445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetVirtualSizeWH" "', expected argument " "1"" of type '" "wxWindow *""'");
35447 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35448 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35449 if (!SWIG_IsOK(ecode2
)) {
35450 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetVirtualSizeWH" "', expected argument " "2"" of type '" "int""'");
35452 arg2
= static_cast< int >(val2
);
35453 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35454 if (!SWIG_IsOK(ecode3
)) {
35455 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_SetVirtualSizeWH" "', expected argument " "3"" of type '" "int""'");
35457 arg3
= static_cast< int >(val3
);
35459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35460 (arg1
)->SetVirtualSize(arg2
,arg3
);
35461 wxPyEndAllowThreads(__tstate
);
35462 if (PyErr_Occurred()) SWIG_fail
;
35464 resultobj
= SWIG_Py_Void();
35471 SWIGINTERN PyObject
*_wrap_Window_GetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35472 PyObject
*resultobj
= 0;
35473 wxWindow
*arg1
= (wxWindow
*) 0 ;
35477 PyObject
*swig_obj
[1] ;
35479 if (!args
) SWIG_fail
;
35480 swig_obj
[0] = args
;
35481 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35482 if (!SWIG_IsOK(res1
)) {
35483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetVirtualSize" "', expected argument " "1"" of type '" "wxWindow const *""'");
35485 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35488 result
= ((wxWindow
const *)arg1
)->GetVirtualSize();
35489 wxPyEndAllowThreads(__tstate
);
35490 if (PyErr_Occurred()) SWIG_fail
;
35492 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
35499 SWIGINTERN PyObject
*_wrap_Window_GetVirtualSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35500 PyObject
*resultobj
= 0;
35501 wxWindow
*arg1
= (wxWindow
*) 0 ;
35502 int *arg2
= (int *) 0 ;
35503 int *arg3
= (int *) 0 ;
35507 int res2
= SWIG_TMPOBJ
;
35509 int res3
= SWIG_TMPOBJ
;
35510 PyObject
*swig_obj
[1] ;
35514 if (!args
) SWIG_fail
;
35515 swig_obj
[0] = args
;
35516 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35517 if (!SWIG_IsOK(res1
)) {
35518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetVirtualSizeTuple" "', expected argument " "1"" of type '" "wxWindow const *""'");
35520 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35523 ((wxWindow
const *)arg1
)->GetVirtualSize(arg2
,arg3
);
35524 wxPyEndAllowThreads(__tstate
);
35525 if (PyErr_Occurred()) SWIG_fail
;
35527 resultobj
= SWIG_Py_Void();
35528 if (SWIG_IsTmpObj(res2
)) {
35529 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
35531 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
35532 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
35534 if (SWIG_IsTmpObj(res3
)) {
35535 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
35537 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
35538 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
35546 SWIGINTERN PyObject
*_wrap_Window_GetWindowBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35547 PyObject
*resultobj
= 0;
35548 wxWindow
*arg1
= (wxWindow
*) 0 ;
35552 PyObject
*swig_obj
[1] ;
35554 if (!args
) SWIG_fail
;
35555 swig_obj
[0] = args
;
35556 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35557 if (!SWIG_IsOK(res1
)) {
35558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetWindowBorderSize" "', expected argument " "1"" of type '" "wxWindow const *""'");
35560 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35563 result
= ((wxWindow
const *)arg1
)->GetWindowBorderSize();
35564 wxPyEndAllowThreads(__tstate
);
35565 if (PyErr_Occurred()) SWIG_fail
;
35567 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
35574 SWIGINTERN PyObject
*_wrap_Window_GetBestVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35575 PyObject
*resultobj
= 0;
35576 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_GetBestVirtualSize" "', expected argument " "1"" of type '" "wxWindow const *""'");
35588 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35591 result
= ((wxWindow
const *)arg1
)->GetBestVirtualSize();
35592 wxPyEndAllowThreads(__tstate
);
35593 if (PyErr_Occurred()) SWIG_fail
;
35595 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
35602 SWIGINTERN PyObject
*_wrap_Window_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35603 PyObject
*resultobj
= 0;
35604 wxWindow
*arg1
= (wxWindow
*) 0 ;
35605 bool arg2
= (bool) true ;
35611 PyObject
* obj0
= 0 ;
35612 PyObject
* obj1
= 0 ;
35613 char * kwnames
[] = {
35614 (char *) "self",(char *) "show", NULL
35617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Show",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35618 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35619 if (!SWIG_IsOK(res1
)) {
35620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Show" "', expected argument " "1"" of type '" "wxWindow *""'");
35622 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35624 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
35625 if (!SWIG_IsOK(ecode2
)) {
35626 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_Show" "', expected argument " "2"" of type '" "bool""'");
35628 arg2
= static_cast< bool >(val2
);
35631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35632 result
= (bool)(arg1
)->Show(arg2
);
35633 wxPyEndAllowThreads(__tstate
);
35634 if (PyErr_Occurred()) SWIG_fail
;
35637 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35645 SWIGINTERN PyObject
*_wrap_Window_Hide(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35646 PyObject
*resultobj
= 0;
35647 wxWindow
*arg1
= (wxWindow
*) 0 ;
35651 PyObject
*swig_obj
[1] ;
35653 if (!args
) SWIG_fail
;
35654 swig_obj
[0] = args
;
35655 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35656 if (!SWIG_IsOK(res1
)) {
35657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Hide" "', expected argument " "1"" of type '" "wxWindow *""'");
35659 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35662 result
= (bool)(arg1
)->Hide();
35663 wxPyEndAllowThreads(__tstate
);
35664 if (PyErr_Occurred()) SWIG_fail
;
35667 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35675 SWIGINTERN PyObject
*_wrap_Window_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35676 PyObject
*resultobj
= 0;
35677 wxWindow
*arg1
= (wxWindow
*) 0 ;
35678 bool arg2
= (bool) true ;
35684 PyObject
* obj0
= 0 ;
35685 PyObject
* obj1
= 0 ;
35686 char * kwnames
[] = {
35687 (char *) "self",(char *) "enable", NULL
35690 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Enable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35691 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35692 if (!SWIG_IsOK(res1
)) {
35693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Enable" "', expected argument " "1"" of type '" "wxWindow *""'");
35695 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35697 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
35698 if (!SWIG_IsOK(ecode2
)) {
35699 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_Enable" "', expected argument " "2"" of type '" "bool""'");
35701 arg2
= static_cast< bool >(val2
);
35704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35705 result
= (bool)(arg1
)->Enable(arg2
);
35706 wxPyEndAllowThreads(__tstate
);
35707 if (PyErr_Occurred()) SWIG_fail
;
35710 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35718 SWIGINTERN PyObject
*_wrap_Window_Disable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35719 PyObject
*resultobj
= 0;
35720 wxWindow
*arg1
= (wxWindow
*) 0 ;
35724 PyObject
*swig_obj
[1] ;
35726 if (!args
) SWIG_fail
;
35727 swig_obj
[0] = args
;
35728 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35729 if (!SWIG_IsOK(res1
)) {
35730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Disable" "', expected argument " "1"" of type '" "wxWindow *""'");
35732 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35735 result
= (bool)(arg1
)->Disable();
35736 wxPyEndAllowThreads(__tstate
);
35737 if (PyErr_Occurred()) SWIG_fail
;
35740 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35748 SWIGINTERN PyObject
*_wrap_Window_IsShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35749 PyObject
*resultobj
= 0;
35750 wxWindow
*arg1
= (wxWindow
*) 0 ;
35754 PyObject
*swig_obj
[1] ;
35756 if (!args
) SWIG_fail
;
35757 swig_obj
[0] = args
;
35758 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35759 if (!SWIG_IsOK(res1
)) {
35760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_IsShown" "', expected argument " "1"" of type '" "wxWindow const *""'");
35762 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35765 result
= (bool)((wxWindow
const *)arg1
)->IsShown();
35766 wxPyEndAllowThreads(__tstate
);
35767 if (PyErr_Occurred()) SWIG_fail
;
35770 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35778 SWIGINTERN PyObject
*_wrap_Window_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35779 PyObject
*resultobj
= 0;
35780 wxWindow
*arg1
= (wxWindow
*) 0 ;
35784 PyObject
*swig_obj
[1] ;
35786 if (!args
) SWIG_fail
;
35787 swig_obj
[0] = args
;
35788 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35789 if (!SWIG_IsOK(res1
)) {
35790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_IsEnabled" "', expected argument " "1"" of type '" "wxWindow const *""'");
35792 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35795 result
= (bool)((wxWindow
const *)arg1
)->IsEnabled();
35796 wxPyEndAllowThreads(__tstate
);
35797 if (PyErr_Occurred()) SWIG_fail
;
35800 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35808 SWIGINTERN PyObject
*_wrap_Window_IsShownOnScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35809 PyObject
*resultobj
= 0;
35810 wxWindow
*arg1
= (wxWindow
*) 0 ;
35814 PyObject
*swig_obj
[1] ;
35816 if (!args
) SWIG_fail
;
35817 swig_obj
[0] = args
;
35818 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35819 if (!SWIG_IsOK(res1
)) {
35820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_IsShownOnScreen" "', expected argument " "1"" of type '" "wxWindow const *""'");
35822 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35825 result
= (bool)((wxWindow
const *)arg1
)->IsShownOnScreen();
35826 wxPyEndAllowThreads(__tstate
);
35827 if (PyErr_Occurred()) SWIG_fail
;
35830 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35838 SWIGINTERN PyObject
*_wrap_Window_SetWindowStyleFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35839 PyObject
*resultobj
= 0;
35840 wxWindow
*arg1
= (wxWindow
*) 0 ;
35846 PyObject
* obj0
= 0 ;
35847 PyObject
* obj1
= 0 ;
35848 char * kwnames
[] = {
35849 (char *) "self",(char *) "style", NULL
35852 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35853 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35854 if (!SWIG_IsOK(res1
)) {
35855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetWindowStyleFlag" "', expected argument " "1"" of type '" "wxWindow *""'");
35857 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35858 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
35859 if (!SWIG_IsOK(ecode2
)) {
35860 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetWindowStyleFlag" "', expected argument " "2"" of type '" "long""'");
35862 arg2
= static_cast< long >(val2
);
35864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35865 (arg1
)->SetWindowStyleFlag(arg2
);
35866 wxPyEndAllowThreads(__tstate
);
35867 if (PyErr_Occurred()) SWIG_fail
;
35869 resultobj
= SWIG_Py_Void();
35876 SWIGINTERN PyObject
*_wrap_Window_GetWindowStyleFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35877 PyObject
*resultobj
= 0;
35878 wxWindow
*arg1
= (wxWindow
*) 0 ;
35882 PyObject
*swig_obj
[1] ;
35884 if (!args
) SWIG_fail
;
35885 swig_obj
[0] = args
;
35886 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35887 if (!SWIG_IsOK(res1
)) {
35888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetWindowStyleFlag" "', expected argument " "1"" of type '" "wxWindow const *""'");
35890 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35893 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyleFlag();
35894 wxPyEndAllowThreads(__tstate
);
35895 if (PyErr_Occurred()) SWIG_fail
;
35897 resultobj
= SWIG_From_long(static_cast< long >(result
));
35904 SWIGINTERN PyObject
*_wrap_Window_HasFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35905 PyObject
*resultobj
= 0;
35906 wxWindow
*arg1
= (wxWindow
*) 0 ;
35913 PyObject
* obj0
= 0 ;
35914 PyObject
* obj1
= 0 ;
35915 char * kwnames
[] = {
35916 (char *) "self",(char *) "flag", NULL
35919 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasFlag",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35920 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35921 if (!SWIG_IsOK(res1
)) {
35922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_HasFlag" "', expected argument " "1"" of type '" "wxWindow const *""'");
35924 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35925 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35926 if (!SWIG_IsOK(ecode2
)) {
35927 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_HasFlag" "', expected argument " "2"" of type '" "int""'");
35929 arg2
= static_cast< int >(val2
);
35931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35932 result
= (bool)((wxWindow
const *)arg1
)->HasFlag(arg2
);
35933 wxPyEndAllowThreads(__tstate
);
35934 if (PyErr_Occurred()) SWIG_fail
;
35937 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35945 SWIGINTERN PyObject
*_wrap_Window_IsRetained(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35946 PyObject
*resultobj
= 0;
35947 wxWindow
*arg1
= (wxWindow
*) 0 ;
35951 PyObject
*swig_obj
[1] ;
35953 if (!args
) SWIG_fail
;
35954 swig_obj
[0] = args
;
35955 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35956 if (!SWIG_IsOK(res1
)) {
35957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_IsRetained" "', expected argument " "1"" of type '" "wxWindow const *""'");
35959 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35962 result
= (bool)((wxWindow
const *)arg1
)->IsRetained();
35963 wxPyEndAllowThreads(__tstate
);
35964 if (PyErr_Occurred()) SWIG_fail
;
35967 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35975 SWIGINTERN PyObject
*_wrap_Window_ToggleWindowStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35976 PyObject
*resultobj
= 0;
35977 wxWindow
*arg1
= (wxWindow
*) 0 ;
35984 PyObject
* obj0
= 0 ;
35985 PyObject
* obj1
= 0 ;
35986 char * kwnames
[] = {
35987 (char *) "self",(char *) "flag", NULL
35990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ToggleWindowStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35991 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35992 if (!SWIG_IsOK(res1
)) {
35993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ToggleWindowStyle" "', expected argument " "1"" of type '" "wxWindow *""'");
35995 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35996 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35997 if (!SWIG_IsOK(ecode2
)) {
35998 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_ToggleWindowStyle" "', expected argument " "2"" of type '" "int""'");
36000 arg2
= static_cast< int >(val2
);
36002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36003 result
= (bool)(arg1
)->ToggleWindowStyle(arg2
);
36004 wxPyEndAllowThreads(__tstate
);
36005 if (PyErr_Occurred()) SWIG_fail
;
36008 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36016 SWIGINTERN PyObject
*_wrap_Window_SetExtraStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36017 PyObject
*resultobj
= 0;
36018 wxWindow
*arg1
= (wxWindow
*) 0 ;
36024 PyObject
* obj0
= 0 ;
36025 PyObject
* obj1
= 0 ;
36026 char * kwnames
[] = {
36027 (char *) "self",(char *) "exStyle", NULL
36030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetExtraStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36031 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36032 if (!SWIG_IsOK(res1
)) {
36033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetExtraStyle" "', expected argument " "1"" of type '" "wxWindow *""'");
36035 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36036 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
36037 if (!SWIG_IsOK(ecode2
)) {
36038 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetExtraStyle" "', expected argument " "2"" of type '" "long""'");
36040 arg2
= static_cast< long >(val2
);
36042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36043 (arg1
)->SetExtraStyle(arg2
);
36044 wxPyEndAllowThreads(__tstate
);
36045 if (PyErr_Occurred()) SWIG_fail
;
36047 resultobj
= SWIG_Py_Void();
36054 SWIGINTERN PyObject
*_wrap_Window_GetExtraStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36055 PyObject
*resultobj
= 0;
36056 wxWindow
*arg1
= (wxWindow
*) 0 ;
36060 PyObject
*swig_obj
[1] ;
36062 if (!args
) SWIG_fail
;
36063 swig_obj
[0] = args
;
36064 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36065 if (!SWIG_IsOK(res1
)) {
36066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetExtraStyle" "', expected argument " "1"" of type '" "wxWindow const *""'");
36068 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36071 result
= (long)((wxWindow
const *)arg1
)->GetExtraStyle();
36072 wxPyEndAllowThreads(__tstate
);
36073 if (PyErr_Occurred()) SWIG_fail
;
36075 resultobj
= SWIG_From_long(static_cast< long >(result
));
36082 SWIGINTERN PyObject
*_wrap_Window_MakeModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36083 PyObject
*resultobj
= 0;
36084 wxWindow
*arg1
= (wxWindow
*) 0 ;
36085 bool arg2
= (bool) true ;
36090 PyObject
* obj0
= 0 ;
36091 PyObject
* obj1
= 0 ;
36092 char * kwnames
[] = {
36093 (char *) "self",(char *) "modal", NULL
36096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_MakeModal",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36098 if (!SWIG_IsOK(res1
)) {
36099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_MakeModal" "', expected argument " "1"" of type '" "wxWindow *""'");
36101 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36103 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
36104 if (!SWIG_IsOK(ecode2
)) {
36105 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_MakeModal" "', expected argument " "2"" of type '" "bool""'");
36107 arg2
= static_cast< bool >(val2
);
36110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36111 (arg1
)->MakeModal(arg2
);
36112 wxPyEndAllowThreads(__tstate
);
36113 if (PyErr_Occurred()) SWIG_fail
;
36115 resultobj
= SWIG_Py_Void();
36122 SWIGINTERN PyObject
*_wrap_Window_SetThemeEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36123 PyObject
*resultobj
= 0;
36124 wxWindow
*arg1
= (wxWindow
*) 0 ;
36130 PyObject
* obj0
= 0 ;
36131 PyObject
* obj1
= 0 ;
36132 char * kwnames
[] = {
36133 (char *) "self",(char *) "enableTheme", NULL
36136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetThemeEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36137 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36138 if (!SWIG_IsOK(res1
)) {
36139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetThemeEnabled" "', expected argument " "1"" of type '" "wxWindow *""'");
36141 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36142 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
36143 if (!SWIG_IsOK(ecode2
)) {
36144 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetThemeEnabled" "', expected argument " "2"" of type '" "bool""'");
36146 arg2
= static_cast< bool >(val2
);
36148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36149 (arg1
)->SetThemeEnabled(arg2
);
36150 wxPyEndAllowThreads(__tstate
);
36151 if (PyErr_Occurred()) SWIG_fail
;
36153 resultobj
= SWIG_Py_Void();
36160 SWIGINTERN PyObject
*_wrap_Window_GetThemeEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36161 PyObject
*resultobj
= 0;
36162 wxWindow
*arg1
= (wxWindow
*) 0 ;
36166 PyObject
*swig_obj
[1] ;
36168 if (!args
) SWIG_fail
;
36169 swig_obj
[0] = args
;
36170 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36171 if (!SWIG_IsOK(res1
)) {
36172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetThemeEnabled" "', expected argument " "1"" of type '" "wxWindow const *""'");
36174 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36177 result
= (bool)((wxWindow
const *)arg1
)->GetThemeEnabled();
36178 wxPyEndAllowThreads(__tstate
);
36179 if (PyErr_Occurred()) SWIG_fail
;
36182 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36190 SWIGINTERN PyObject
*_wrap_Window_SetFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36191 PyObject
*resultobj
= 0;
36192 wxWindow
*arg1
= (wxWindow
*) 0 ;
36195 PyObject
*swig_obj
[1] ;
36197 if (!args
) SWIG_fail
;
36198 swig_obj
[0] = args
;
36199 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36200 if (!SWIG_IsOK(res1
)) {
36201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetFocus" "', expected argument " "1"" of type '" "wxWindow *""'");
36203 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36206 (arg1
)->SetFocus();
36207 wxPyEndAllowThreads(__tstate
);
36208 if (PyErr_Occurred()) SWIG_fail
;
36210 resultobj
= SWIG_Py_Void();
36217 SWIGINTERN PyObject
*_wrap_Window_SetFocusFromKbd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36218 PyObject
*resultobj
= 0;
36219 wxWindow
*arg1
= (wxWindow
*) 0 ;
36222 PyObject
*swig_obj
[1] ;
36224 if (!args
) SWIG_fail
;
36225 swig_obj
[0] = args
;
36226 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36227 if (!SWIG_IsOK(res1
)) {
36228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetFocusFromKbd" "', expected argument " "1"" of type '" "wxWindow *""'");
36230 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36233 (arg1
)->SetFocusFromKbd();
36234 wxPyEndAllowThreads(__tstate
);
36235 if (PyErr_Occurred()) SWIG_fail
;
36237 resultobj
= SWIG_Py_Void();
36244 SWIGINTERN PyObject
*_wrap_Window_FindFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36245 PyObject
*resultobj
= 0;
36246 wxWindow
*result
= 0 ;
36248 if (!SWIG_Python_UnpackTuple(args
,"Window_FindFocus",0,0,0)) SWIG_fail
;
36250 if (!wxPyCheckForApp()) SWIG_fail
;
36251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36252 result
= (wxWindow
*)wxWindow::FindFocus();
36253 wxPyEndAllowThreads(__tstate
);
36254 if (PyErr_Occurred()) SWIG_fail
;
36257 resultobj
= wxPyMake_wxObject(result
, 0);
36265 SWIGINTERN PyObject
*_wrap_Window_AcceptsFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36266 PyObject
*resultobj
= 0;
36267 wxWindow
*arg1
= (wxWindow
*) 0 ;
36271 PyObject
*swig_obj
[1] ;
36273 if (!args
) SWIG_fail
;
36274 swig_obj
[0] = args
;
36275 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36276 if (!SWIG_IsOK(res1
)) {
36277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_AcceptsFocus" "', expected argument " "1"" of type '" "wxWindow const *""'");
36279 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36282 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocus();
36283 wxPyEndAllowThreads(__tstate
);
36284 if (PyErr_Occurred()) SWIG_fail
;
36287 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36295 SWIGINTERN PyObject
*_wrap_Window_AcceptsFocusFromKeyboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36296 PyObject
*resultobj
= 0;
36297 wxWindow
*arg1
= (wxWindow
*) 0 ;
36301 PyObject
*swig_obj
[1] ;
36303 if (!args
) SWIG_fail
;
36304 swig_obj
[0] = args
;
36305 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36306 if (!SWIG_IsOK(res1
)) {
36307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_AcceptsFocusFromKeyboard" "', expected argument " "1"" of type '" "wxWindow const *""'");
36309 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36312 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
36313 wxPyEndAllowThreads(__tstate
);
36314 if (PyErr_Occurred()) SWIG_fail
;
36317 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36325 SWIGINTERN PyObject
*_wrap_Window_Navigate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36326 PyObject
*resultobj
= 0;
36327 wxWindow
*arg1
= (wxWindow
*) 0 ;
36328 int arg2
= (int) wxNavigationKeyEvent::IsForward
;
36334 PyObject
* obj0
= 0 ;
36335 PyObject
* obj1
= 0 ;
36336 char * kwnames
[] = {
36337 (char *) "self",(char *) "flags", NULL
36340 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Navigate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36341 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36342 if (!SWIG_IsOK(res1
)) {
36343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Navigate" "', expected argument " "1"" of type '" "wxWindow *""'");
36345 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36347 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36348 if (!SWIG_IsOK(ecode2
)) {
36349 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_Navigate" "', expected argument " "2"" of type '" "int""'");
36351 arg2
= static_cast< int >(val2
);
36354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36355 result
= (bool)(arg1
)->Navigate(arg2
);
36356 wxPyEndAllowThreads(__tstate
);
36357 if (PyErr_Occurred()) SWIG_fail
;
36360 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36368 SWIGINTERN PyObject
*_wrap_Window_MoveAfterInTabOrder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36369 PyObject
*resultobj
= 0;
36370 wxWindow
*arg1
= (wxWindow
*) 0 ;
36371 wxWindow
*arg2
= (wxWindow
*) 0 ;
36376 PyObject
* obj0
= 0 ;
36377 PyObject
* obj1
= 0 ;
36378 char * kwnames
[] = {
36379 (char *) "self",(char *) "win", NULL
36382 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveAfterInTabOrder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36383 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36384 if (!SWIG_IsOK(res1
)) {
36385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_MoveAfterInTabOrder" "', expected argument " "1"" of type '" "wxWindow *""'");
36387 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36388 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36389 if (!SWIG_IsOK(res2
)) {
36390 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_MoveAfterInTabOrder" "', expected argument " "2"" of type '" "wxWindow *""'");
36392 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
36394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36395 (arg1
)->MoveAfterInTabOrder(arg2
);
36396 wxPyEndAllowThreads(__tstate
);
36397 if (PyErr_Occurred()) SWIG_fail
;
36399 resultobj
= SWIG_Py_Void();
36406 SWIGINTERN PyObject
*_wrap_Window_MoveBeforeInTabOrder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36407 PyObject
*resultobj
= 0;
36408 wxWindow
*arg1
= (wxWindow
*) 0 ;
36409 wxWindow
*arg2
= (wxWindow
*) 0 ;
36414 PyObject
* obj0
= 0 ;
36415 PyObject
* obj1
= 0 ;
36416 char * kwnames
[] = {
36417 (char *) "self",(char *) "win", NULL
36420 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveBeforeInTabOrder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36421 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36422 if (!SWIG_IsOK(res1
)) {
36423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_MoveBeforeInTabOrder" "', expected argument " "1"" of type '" "wxWindow *""'");
36425 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36426 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36427 if (!SWIG_IsOK(res2
)) {
36428 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_MoveBeforeInTabOrder" "', expected argument " "2"" of type '" "wxWindow *""'");
36430 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
36432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36433 (arg1
)->MoveBeforeInTabOrder(arg2
);
36434 wxPyEndAllowThreads(__tstate
);
36435 if (PyErr_Occurred()) SWIG_fail
;
36437 resultobj
= SWIG_Py_Void();
36444 SWIGINTERN PyObject
*_wrap_Window_GetChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36445 PyObject
*resultobj
= 0;
36446 wxWindow
*arg1
= (wxWindow
*) 0 ;
36447 PyObject
*result
= 0 ;
36450 PyObject
*swig_obj
[1] ;
36452 if (!args
) SWIG_fail
;
36453 swig_obj
[0] = args
;
36454 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36455 if (!SWIG_IsOK(res1
)) {
36456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetChildren" "', expected argument " "1"" of type '" "wxWindow *""'");
36458 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36461 result
= (PyObject
*)wxWindow_GetChildren(arg1
);
36462 wxPyEndAllowThreads(__tstate
);
36463 if (PyErr_Occurred()) SWIG_fail
;
36465 resultobj
= result
;
36472 SWIGINTERN PyObject
*_wrap_Window_GetParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36473 PyObject
*resultobj
= 0;
36474 wxWindow
*arg1
= (wxWindow
*) 0 ;
36475 wxWindow
*result
= 0 ;
36478 PyObject
*swig_obj
[1] ;
36480 if (!args
) SWIG_fail
;
36481 swig_obj
[0] = args
;
36482 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36483 if (!SWIG_IsOK(res1
)) {
36484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetParent" "', expected argument " "1"" of type '" "wxWindow const *""'");
36486 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36489 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetParent();
36490 wxPyEndAllowThreads(__tstate
);
36491 if (PyErr_Occurred()) SWIG_fail
;
36494 resultobj
= wxPyMake_wxObject(result
, 0);
36502 SWIGINTERN PyObject
*_wrap_Window_GetGrandParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36503 PyObject
*resultobj
= 0;
36504 wxWindow
*arg1
= (wxWindow
*) 0 ;
36505 wxWindow
*result
= 0 ;
36508 PyObject
*swig_obj
[1] ;
36510 if (!args
) SWIG_fail
;
36511 swig_obj
[0] = args
;
36512 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36513 if (!SWIG_IsOK(res1
)) {
36514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetGrandParent" "', expected argument " "1"" of type '" "wxWindow const *""'");
36516 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36519 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetGrandParent();
36520 wxPyEndAllowThreads(__tstate
);
36521 if (PyErr_Occurred()) SWIG_fail
;
36524 resultobj
= wxPyMake_wxObject(result
, 0);
36532 SWIGINTERN PyObject
*_wrap_Window_IsTopLevel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36533 PyObject
*resultobj
= 0;
36534 wxWindow
*arg1
= (wxWindow
*) 0 ;
36538 PyObject
*swig_obj
[1] ;
36540 if (!args
) SWIG_fail
;
36541 swig_obj
[0] = args
;
36542 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36543 if (!SWIG_IsOK(res1
)) {
36544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_IsTopLevel" "', expected argument " "1"" of type '" "wxWindow const *""'");
36546 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36549 result
= (bool)((wxWindow
const *)arg1
)->IsTopLevel();
36550 wxPyEndAllowThreads(__tstate
);
36551 if (PyErr_Occurred()) SWIG_fail
;
36554 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36562 SWIGINTERN PyObject
*_wrap_Window_Reparent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36563 PyObject
*resultobj
= 0;
36564 wxWindow
*arg1
= (wxWindow
*) 0 ;
36565 wxWindow
*arg2
= (wxWindow
*) 0 ;
36571 PyObject
* obj0
= 0 ;
36572 PyObject
* obj1
= 0 ;
36573 char * kwnames
[] = {
36574 (char *) "self",(char *) "newParent", NULL
36577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_Reparent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36578 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36579 if (!SWIG_IsOK(res1
)) {
36580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Reparent" "', expected argument " "1"" of type '" "wxWindow *""'");
36582 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36583 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36584 if (!SWIG_IsOK(res2
)) {
36585 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_Reparent" "', expected argument " "2"" of type '" "wxWindow *""'");
36587 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
36589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36590 result
= (bool)(arg1
)->Reparent(arg2
);
36591 wxPyEndAllowThreads(__tstate
);
36592 if (PyErr_Occurred()) SWIG_fail
;
36595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36603 SWIGINTERN PyObject
*_wrap_Window_AddChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36604 PyObject
*resultobj
= 0;
36605 wxWindow
*arg1
= (wxWindow
*) 0 ;
36606 wxWindow
*arg2
= (wxWindow
*) 0 ;
36611 PyObject
* obj0
= 0 ;
36612 PyObject
* obj1
= 0 ;
36613 char * kwnames
[] = {
36614 (char *) "self",(char *) "child", NULL
36617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AddChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36618 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36619 if (!SWIG_IsOK(res1
)) {
36620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_AddChild" "', expected argument " "1"" of type '" "wxWindow *""'");
36622 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36623 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36624 if (!SWIG_IsOK(res2
)) {
36625 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_AddChild" "', expected argument " "2"" of type '" "wxWindow *""'");
36627 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
36629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36630 (arg1
)->AddChild(arg2
);
36631 wxPyEndAllowThreads(__tstate
);
36632 if (PyErr_Occurred()) SWIG_fail
;
36634 resultobj
= SWIG_Py_Void();
36641 SWIGINTERN PyObject
*_wrap_Window_RemoveChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36642 PyObject
*resultobj
= 0;
36643 wxWindow
*arg1
= (wxWindow
*) 0 ;
36644 wxWindow
*arg2
= (wxWindow
*) 0 ;
36649 PyObject
* obj0
= 0 ;
36650 PyObject
* obj1
= 0 ;
36651 char * kwnames
[] = {
36652 (char *) "self",(char *) "child", NULL
36655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36656 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36657 if (!SWIG_IsOK(res1
)) {
36658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_RemoveChild" "', expected argument " "1"" of type '" "wxWindow *""'");
36660 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36661 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36662 if (!SWIG_IsOK(res2
)) {
36663 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_RemoveChild" "', expected argument " "2"" of type '" "wxWindow *""'");
36665 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
36667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36668 (arg1
)->RemoveChild(arg2
);
36669 wxPyEndAllowThreads(__tstate
);
36670 if (PyErr_Occurred()) SWIG_fail
;
36672 resultobj
= SWIG_Py_Void();
36679 SWIGINTERN PyObject
*_wrap_Window_SetDoubleBuffered(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36680 PyObject
*resultobj
= 0;
36681 wxWindow
*arg1
= (wxWindow
*) 0 ;
36687 PyObject
* obj0
= 0 ;
36688 PyObject
* obj1
= 0 ;
36689 char * kwnames
[] = {
36690 (char *) "self",(char *) "on", NULL
36693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDoubleBuffered",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36694 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36695 if (!SWIG_IsOK(res1
)) {
36696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetDoubleBuffered" "', expected argument " "1"" of type '" "wxWindow *""'");
36698 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36699 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
36700 if (!SWIG_IsOK(ecode2
)) {
36701 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetDoubleBuffered" "', expected argument " "2"" of type '" "bool""'");
36703 arg2
= static_cast< bool >(val2
);
36705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36706 wxWindow_SetDoubleBuffered(arg1
,arg2
);
36707 wxPyEndAllowThreads(__tstate
);
36708 if (PyErr_Occurred()) SWIG_fail
;
36710 resultobj
= SWIG_Py_Void();
36717 SWIGINTERN PyObject
*_wrap_Window_FindWindowById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36718 PyObject
*resultobj
= 0;
36719 wxWindow
*arg1
= (wxWindow
*) 0 ;
36721 wxWindow
*result
= 0 ;
36726 PyObject
* obj0
= 0 ;
36727 PyObject
* obj1
= 0 ;
36728 char * kwnames
[] = {
36729 (char *) "self",(char *) "winid", NULL
36732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowById",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36733 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36734 if (!SWIG_IsOK(res1
)) {
36735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_FindWindowById" "', expected argument " "1"" of type '" "wxWindow *""'");
36737 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36738 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
36739 if (!SWIG_IsOK(ecode2
)) {
36740 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_FindWindowById" "', expected argument " "2"" of type '" "long""'");
36742 arg2
= static_cast< long >(val2
);
36744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36745 result
= (wxWindow
*)(arg1
)->FindWindow(arg2
);
36746 wxPyEndAllowThreads(__tstate
);
36747 if (PyErr_Occurred()) SWIG_fail
;
36750 resultobj
= wxPyMake_wxObject(result
, 0);
36758 SWIGINTERN PyObject
*_wrap_Window_FindWindowByName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36759 PyObject
*resultobj
= 0;
36760 wxWindow
*arg1
= (wxWindow
*) 0 ;
36761 wxString
*arg2
= 0 ;
36762 wxWindow
*result
= 0 ;
36765 bool temp2
= false ;
36766 PyObject
* obj0
= 0 ;
36767 PyObject
* obj1
= 0 ;
36768 char * kwnames
[] = {
36769 (char *) "self",(char *) "name", NULL
36772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowByName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36773 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36774 if (!SWIG_IsOK(res1
)) {
36775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_FindWindowByName" "', expected argument " "1"" of type '" "wxWindow *""'");
36777 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36779 arg2
= wxString_in_helper(obj1
);
36780 if (arg2
== NULL
) SWIG_fail
;
36784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36785 result
= (wxWindow
*)(arg1
)->FindWindow((wxString
const &)*arg2
);
36786 wxPyEndAllowThreads(__tstate
);
36787 if (PyErr_Occurred()) SWIG_fail
;
36790 resultobj
= wxPyMake_wxObject(result
, 0);
36806 SWIGINTERN PyObject
*_wrap_Window_GetEventHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36807 PyObject
*resultobj
= 0;
36808 wxWindow
*arg1
= (wxWindow
*) 0 ;
36809 wxEvtHandler
*result
= 0 ;
36812 PyObject
*swig_obj
[1] ;
36814 if (!args
) SWIG_fail
;
36815 swig_obj
[0] = args
;
36816 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36817 if (!SWIG_IsOK(res1
)) {
36818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetEventHandler" "', expected argument " "1"" of type '" "wxWindow const *""'");
36820 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36823 result
= (wxEvtHandler
*)((wxWindow
const *)arg1
)->GetEventHandler();
36824 wxPyEndAllowThreads(__tstate
);
36825 if (PyErr_Occurred()) SWIG_fail
;
36828 resultobj
= wxPyMake_wxObject(result
, 0);
36836 SWIGINTERN PyObject
*_wrap_Window_SetEventHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36837 PyObject
*resultobj
= 0;
36838 wxWindow
*arg1
= (wxWindow
*) 0 ;
36839 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
36844 PyObject
* obj0
= 0 ;
36845 PyObject
* obj1
= 0 ;
36846 char * kwnames
[] = {
36847 (char *) "self",(char *) "handler", NULL
36850 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetEventHandler",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36851 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36852 if (!SWIG_IsOK(res1
)) {
36853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetEventHandler" "', expected argument " "1"" of type '" "wxWindow *""'");
36855 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36856 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
36857 if (!SWIG_IsOK(res2
)) {
36858 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetEventHandler" "', expected argument " "2"" of type '" "wxEvtHandler *""'");
36860 arg2
= reinterpret_cast< wxEvtHandler
* >(argp2
);
36862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36863 (arg1
)->SetEventHandler(arg2
);
36864 wxPyEndAllowThreads(__tstate
);
36865 if (PyErr_Occurred()) SWIG_fail
;
36867 resultobj
= SWIG_Py_Void();
36874 SWIGINTERN PyObject
*_wrap_Window_PushEventHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36875 PyObject
*resultobj
= 0;
36876 wxWindow
*arg1
= (wxWindow
*) 0 ;
36877 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
36882 PyObject
* obj0
= 0 ;
36883 PyObject
* obj1
= 0 ;
36884 char * kwnames
[] = {
36885 (char *) "self",(char *) "handler", NULL
36888 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PushEventHandler",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36889 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36890 if (!SWIG_IsOK(res1
)) {
36891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_PushEventHandler" "', expected argument " "1"" of type '" "wxWindow *""'");
36893 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36894 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
36895 if (!SWIG_IsOK(res2
)) {
36896 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_PushEventHandler" "', expected argument " "2"" of type '" "wxEvtHandler *""'");
36898 arg2
= reinterpret_cast< wxEvtHandler
* >(argp2
);
36900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36901 (arg1
)->PushEventHandler(arg2
);
36902 wxPyEndAllowThreads(__tstate
);
36903 if (PyErr_Occurred()) SWIG_fail
;
36905 resultobj
= SWIG_Py_Void();
36912 SWIGINTERN PyObject
*_wrap_Window_PopEventHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36913 PyObject
*resultobj
= 0;
36914 wxWindow
*arg1
= (wxWindow
*) 0 ;
36915 bool arg2
= (bool) false ;
36916 wxEvtHandler
*result
= 0 ;
36921 PyObject
* obj0
= 0 ;
36922 PyObject
* obj1
= 0 ;
36923 char * kwnames
[] = {
36924 (char *) "self",(char *) "deleteHandler", NULL
36927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_PopEventHandler",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36928 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36929 if (!SWIG_IsOK(res1
)) {
36930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_PopEventHandler" "', expected argument " "1"" of type '" "wxWindow *""'");
36932 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36934 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
36935 if (!SWIG_IsOK(ecode2
)) {
36936 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_PopEventHandler" "', expected argument " "2"" of type '" "bool""'");
36938 arg2
= static_cast< bool >(val2
);
36941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36942 result
= (wxEvtHandler
*)(arg1
)->PopEventHandler(arg2
);
36943 wxPyEndAllowThreads(__tstate
);
36944 if (PyErr_Occurred()) SWIG_fail
;
36947 resultobj
= wxPyMake_wxObject(result
, 0);
36955 SWIGINTERN PyObject
*_wrap_Window_RemoveEventHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36956 PyObject
*resultobj
= 0;
36957 wxWindow
*arg1
= (wxWindow
*) 0 ;
36958 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
36964 PyObject
* obj0
= 0 ;
36965 PyObject
* obj1
= 0 ;
36966 char * kwnames
[] = {
36967 (char *) "self",(char *) "handler", NULL
36970 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveEventHandler",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36971 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36972 if (!SWIG_IsOK(res1
)) {
36973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_RemoveEventHandler" "', expected argument " "1"" of type '" "wxWindow *""'");
36975 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36976 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
36977 if (!SWIG_IsOK(res2
)) {
36978 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_RemoveEventHandler" "', expected argument " "2"" of type '" "wxEvtHandler *""'");
36980 arg2
= reinterpret_cast< wxEvtHandler
* >(argp2
);
36982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36983 result
= (bool)(arg1
)->RemoveEventHandler(arg2
);
36984 wxPyEndAllowThreads(__tstate
);
36985 if (PyErr_Occurred()) SWIG_fail
;
36988 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36996 SWIGINTERN PyObject
*_wrap_Window_SetValidator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36997 PyObject
*resultobj
= 0;
36998 wxWindow
*arg1
= (wxWindow
*) 0 ;
36999 wxValidator
*arg2
= 0 ;
37004 PyObject
* obj0
= 0 ;
37005 PyObject
* obj1
= 0 ;
37006 char * kwnames
[] = {
37007 (char *) "self",(char *) "validator", NULL
37010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetValidator",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_SetValidator" "', expected argument " "1"" of type '" "wxWindow *""'");
37015 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37016 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxValidator
, 0 | 0);
37017 if (!SWIG_IsOK(res2
)) {
37018 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetValidator" "', expected argument " "2"" of type '" "wxValidator const &""'");
37021 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Window_SetValidator" "', expected argument " "2"" of type '" "wxValidator const &""'");
37023 arg2
= reinterpret_cast< wxValidator
* >(argp2
);
37025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37026 (arg1
)->SetValidator((wxValidator
const &)*arg2
);
37027 wxPyEndAllowThreads(__tstate
);
37028 if (PyErr_Occurred()) SWIG_fail
;
37030 resultobj
= SWIG_Py_Void();
37037 SWIGINTERN PyObject
*_wrap_Window_GetValidator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37038 PyObject
*resultobj
= 0;
37039 wxWindow
*arg1
= (wxWindow
*) 0 ;
37040 wxValidator
*result
= 0 ;
37043 PyObject
*swig_obj
[1] ;
37045 if (!args
) SWIG_fail
;
37046 swig_obj
[0] = args
;
37047 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37048 if (!SWIG_IsOK(res1
)) {
37049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetValidator" "', expected argument " "1"" of type '" "wxWindow *""'");
37051 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37054 result
= (wxValidator
*)(arg1
)->GetValidator();
37055 wxPyEndAllowThreads(__tstate
);
37056 if (PyErr_Occurred()) SWIG_fail
;
37059 resultobj
= wxPyMake_wxObject(result
, (bool)0);
37067 SWIGINTERN PyObject
*_wrap_Window_Validate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37068 PyObject
*resultobj
= 0;
37069 wxWindow
*arg1
= (wxWindow
*) 0 ;
37073 PyObject
*swig_obj
[1] ;
37075 if (!args
) SWIG_fail
;
37076 swig_obj
[0] = args
;
37077 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37078 if (!SWIG_IsOK(res1
)) {
37079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Validate" "', expected argument " "1"" of type '" "wxWindow *""'");
37081 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37084 result
= (bool)(arg1
)->Validate();
37085 wxPyEndAllowThreads(__tstate
);
37086 if (PyErr_Occurred()) SWIG_fail
;
37089 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37097 SWIGINTERN PyObject
*_wrap_Window_TransferDataToWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37098 PyObject
*resultobj
= 0;
37099 wxWindow
*arg1
= (wxWindow
*) 0 ;
37103 PyObject
*swig_obj
[1] ;
37105 if (!args
) SWIG_fail
;
37106 swig_obj
[0] = args
;
37107 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37108 if (!SWIG_IsOK(res1
)) {
37109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_TransferDataToWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
37111 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37114 result
= (bool)(arg1
)->TransferDataToWindow();
37115 wxPyEndAllowThreads(__tstate
);
37116 if (PyErr_Occurred()) SWIG_fail
;
37119 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37127 SWIGINTERN PyObject
*_wrap_Window_TransferDataFromWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37128 PyObject
*resultobj
= 0;
37129 wxWindow
*arg1
= (wxWindow
*) 0 ;
37133 PyObject
*swig_obj
[1] ;
37135 if (!args
) SWIG_fail
;
37136 swig_obj
[0] = args
;
37137 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37138 if (!SWIG_IsOK(res1
)) {
37139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_TransferDataFromWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
37141 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37144 result
= (bool)(arg1
)->TransferDataFromWindow();
37145 wxPyEndAllowThreads(__tstate
);
37146 if (PyErr_Occurred()) SWIG_fail
;
37149 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37157 SWIGINTERN PyObject
*_wrap_Window_InitDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37158 PyObject
*resultobj
= 0;
37159 wxWindow
*arg1
= (wxWindow
*) 0 ;
37162 PyObject
*swig_obj
[1] ;
37164 if (!args
) SWIG_fail
;
37165 swig_obj
[0] = args
;
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_InitDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
37170 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37173 (arg1
)->InitDialog();
37174 wxPyEndAllowThreads(__tstate
);
37175 if (PyErr_Occurred()) SWIG_fail
;
37177 resultobj
= SWIG_Py_Void();
37184 SWIGINTERN PyObject
*_wrap_Window_SetAcceleratorTable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37185 PyObject
*resultobj
= 0;
37186 wxWindow
*arg1
= (wxWindow
*) 0 ;
37187 wxAcceleratorTable
*arg2
= 0 ;
37192 PyObject
* obj0
= 0 ;
37193 PyObject
* obj1
= 0 ;
37194 char * kwnames
[] = {
37195 (char *) "self",(char *) "accel", NULL
37198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37199 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37200 if (!SWIG_IsOK(res1
)) {
37201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetAcceleratorTable" "', expected argument " "1"" of type '" "wxWindow *""'");
37203 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37204 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAcceleratorTable
, 0 | 0);
37205 if (!SWIG_IsOK(res2
)) {
37206 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetAcceleratorTable" "', expected argument " "2"" of type '" "wxAcceleratorTable const &""'");
37209 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Window_SetAcceleratorTable" "', expected argument " "2"" of type '" "wxAcceleratorTable const &""'");
37211 arg2
= reinterpret_cast< wxAcceleratorTable
* >(argp2
);
37213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37214 (arg1
)->SetAcceleratorTable((wxAcceleratorTable
const &)*arg2
);
37215 wxPyEndAllowThreads(__tstate
);
37216 if (PyErr_Occurred()) SWIG_fail
;
37218 resultobj
= SWIG_Py_Void();
37225 SWIGINTERN PyObject
*_wrap_Window_GetAcceleratorTable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37226 PyObject
*resultobj
= 0;
37227 wxWindow
*arg1
= (wxWindow
*) 0 ;
37228 wxAcceleratorTable
*result
= 0 ;
37231 PyObject
*swig_obj
[1] ;
37233 if (!args
) SWIG_fail
;
37234 swig_obj
[0] = args
;
37235 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37236 if (!SWIG_IsOK(res1
)) {
37237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetAcceleratorTable" "', expected argument " "1"" of type '" "wxWindow *""'");
37239 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37242 result
= (wxAcceleratorTable
*)(arg1
)->GetAcceleratorTable();
37243 wxPyEndAllowThreads(__tstate
);
37244 if (PyErr_Occurred()) SWIG_fail
;
37246 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAcceleratorTable
, 0 | 0 );
37253 SWIGINTERN PyObject
*_wrap_Window_RegisterHotKey(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37254 PyObject
*resultobj
= 0;
37255 wxWindow
*arg1
= (wxWindow
*) 0 ;
37268 PyObject
* obj0
= 0 ;
37269 PyObject
* obj1
= 0 ;
37270 PyObject
* obj2
= 0 ;
37271 PyObject
* obj3
= 0 ;
37272 char * kwnames
[] = {
37273 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
37276 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_RegisterHotKey",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37277 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37278 if (!SWIG_IsOK(res1
)) {
37279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_RegisterHotKey" "', expected argument " "1"" of type '" "wxWindow *""'");
37281 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37282 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37283 if (!SWIG_IsOK(ecode2
)) {
37284 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_RegisterHotKey" "', expected argument " "2"" of type '" "int""'");
37286 arg2
= static_cast< int >(val2
);
37287 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37288 if (!SWIG_IsOK(ecode3
)) {
37289 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_RegisterHotKey" "', expected argument " "3"" of type '" "int""'");
37291 arg3
= static_cast< int >(val3
);
37292 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37293 if (!SWIG_IsOK(ecode4
)) {
37294 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Window_RegisterHotKey" "', expected argument " "4"" of type '" "int""'");
37296 arg4
= static_cast< int >(val4
);
37298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37299 result
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
);
37300 wxPyEndAllowThreads(__tstate
);
37301 if (PyErr_Occurred()) SWIG_fail
;
37304 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37312 SWIGINTERN PyObject
*_wrap_Window_UnregisterHotKey(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37313 PyObject
*resultobj
= 0;
37314 wxWindow
*arg1
= (wxWindow
*) 0 ;
37321 PyObject
* obj0
= 0 ;
37322 PyObject
* obj1
= 0 ;
37323 char * kwnames
[] = {
37324 (char *) "self",(char *) "hotkeyId", NULL
37327 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_UnregisterHotKey",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37328 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37329 if (!SWIG_IsOK(res1
)) {
37330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_UnregisterHotKey" "', expected argument " "1"" of type '" "wxWindow *""'");
37332 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37333 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37334 if (!SWIG_IsOK(ecode2
)) {
37335 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_UnregisterHotKey" "', expected argument " "2"" of type '" "int""'");
37337 arg2
= static_cast< int >(val2
);
37339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37340 result
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
);
37341 wxPyEndAllowThreads(__tstate
);
37342 if (PyErr_Occurred()) SWIG_fail
;
37345 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37353 SWIGINTERN PyObject
*_wrap_Window_ConvertDialogPointToPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37354 PyObject
*resultobj
= 0;
37355 wxWindow
*arg1
= (wxWindow
*) 0 ;
37356 wxPoint
*arg2
= 0 ;
37361 PyObject
* obj0
= 0 ;
37362 PyObject
* obj1
= 0 ;
37363 char * kwnames
[] = {
37364 (char *) "self",(char *) "pt", NULL
37367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37368 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37369 if (!SWIG_IsOK(res1
)) {
37370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ConvertDialogPointToPixels" "', expected argument " "1"" of type '" "wxWindow *""'");
37372 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37375 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37379 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
37380 wxPyEndAllowThreads(__tstate
);
37381 if (PyErr_Occurred()) SWIG_fail
;
37383 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
37390 SWIGINTERN PyObject
*_wrap_Window_ConvertDialogSizeToPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37391 PyObject
*resultobj
= 0;
37392 wxWindow
*arg1
= (wxWindow
*) 0 ;
37398 PyObject
* obj0
= 0 ;
37399 PyObject
* obj1
= 0 ;
37400 char * kwnames
[] = {
37401 (char *) "self",(char *) "sz", NULL
37404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37405 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37406 if (!SWIG_IsOK(res1
)) {
37407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ConvertDialogSizeToPixels" "', expected argument " "1"" of type '" "wxWindow *""'");
37409 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37412 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
37415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37416 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
37417 wxPyEndAllowThreads(__tstate
);
37418 if (PyErr_Occurred()) SWIG_fail
;
37420 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
37427 SWIGINTERN PyObject
*_wrap_Window_DLG_PNT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37428 PyObject
*resultobj
= 0;
37429 wxWindow
*arg1
= (wxWindow
*) 0 ;
37430 wxPoint
*arg2
= 0 ;
37435 PyObject
* obj0
= 0 ;
37436 PyObject
* obj1
= 0 ;
37437 char * kwnames
[] = {
37438 (char *) "self",(char *) "pt", NULL
37441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_PNT",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37442 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37443 if (!SWIG_IsOK(res1
)) {
37444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_DLG_PNT" "', expected argument " "1"" of type '" "wxWindow *""'");
37446 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37449 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37453 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
37454 wxPyEndAllowThreads(__tstate
);
37455 if (PyErr_Occurred()) SWIG_fail
;
37457 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
37464 SWIGINTERN PyObject
*_wrap_Window_DLG_SZE(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37465 PyObject
*resultobj
= 0;
37466 wxWindow
*arg1
= (wxWindow
*) 0 ;
37472 PyObject
* obj0
= 0 ;
37473 PyObject
* obj1
= 0 ;
37474 char * kwnames
[] = {
37475 (char *) "self",(char *) "sz", NULL
37478 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_SZE",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37479 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37480 if (!SWIG_IsOK(res1
)) {
37481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_DLG_SZE" "', expected argument " "1"" of type '" "wxWindow *""'");
37483 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37486 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
37489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37490 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
37491 wxPyEndAllowThreads(__tstate
);
37492 if (PyErr_Occurred()) SWIG_fail
;
37494 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
37501 SWIGINTERN PyObject
*_wrap_Window_ConvertPixelPointToDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37502 PyObject
*resultobj
= 0;
37503 wxWindow
*arg1
= (wxWindow
*) 0 ;
37504 wxPoint
*arg2
= 0 ;
37509 PyObject
* obj0
= 0 ;
37510 PyObject
* obj1
= 0 ;
37511 char * kwnames
[] = {
37512 (char *) "self",(char *) "pt", NULL
37515 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37516 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37517 if (!SWIG_IsOK(res1
)) {
37518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ConvertPixelPointToDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
37520 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37523 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37527 result
= (arg1
)->ConvertPixelsToDialog((wxPoint
const &)*arg2
);
37528 wxPyEndAllowThreads(__tstate
);
37529 if (PyErr_Occurred()) SWIG_fail
;
37531 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
37538 SWIGINTERN PyObject
*_wrap_Window_ConvertPixelSizeToDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37539 PyObject
*resultobj
= 0;
37540 wxWindow
*arg1
= (wxWindow
*) 0 ;
37546 PyObject
* obj0
= 0 ;
37547 PyObject
* obj1
= 0 ;
37548 char * kwnames
[] = {
37549 (char *) "self",(char *) "sz", NULL
37552 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37553 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37554 if (!SWIG_IsOK(res1
)) {
37555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ConvertPixelSizeToDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
37557 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37560 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
37563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37564 result
= (arg1
)->ConvertPixelsToDialog((wxSize
const &)*arg2
);
37565 wxPyEndAllowThreads(__tstate
);
37566 if (PyErr_Occurred()) SWIG_fail
;
37568 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
37575 SWIGINTERN PyObject
*_wrap_Window_WarpPointer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37576 PyObject
*resultobj
= 0;
37577 wxWindow
*arg1
= (wxWindow
*) 0 ;
37586 PyObject
* obj0
= 0 ;
37587 PyObject
* obj1
= 0 ;
37588 PyObject
* obj2
= 0 ;
37589 char * kwnames
[] = {
37590 (char *) "self",(char *) "x",(char *) "y", NULL
37593 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_WarpPointer",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37594 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37595 if (!SWIG_IsOK(res1
)) {
37596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_WarpPointer" "', expected argument " "1"" of type '" "wxWindow *""'");
37598 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37599 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37600 if (!SWIG_IsOK(ecode2
)) {
37601 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_WarpPointer" "', expected argument " "2"" of type '" "int""'");
37603 arg2
= static_cast< int >(val2
);
37604 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37605 if (!SWIG_IsOK(ecode3
)) {
37606 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_WarpPointer" "', expected argument " "3"" of type '" "int""'");
37608 arg3
= static_cast< int >(val3
);
37610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37611 (arg1
)->WarpPointer(arg2
,arg3
);
37612 wxPyEndAllowThreads(__tstate
);
37613 if (PyErr_Occurred()) SWIG_fail
;
37615 resultobj
= SWIG_Py_Void();
37622 SWIGINTERN PyObject
*_wrap_Window_CaptureMouse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37623 PyObject
*resultobj
= 0;
37624 wxWindow
*arg1
= (wxWindow
*) 0 ;
37627 PyObject
*swig_obj
[1] ;
37629 if (!args
) SWIG_fail
;
37630 swig_obj
[0] = args
;
37631 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37632 if (!SWIG_IsOK(res1
)) {
37633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_CaptureMouse" "', expected argument " "1"" of type '" "wxWindow *""'");
37635 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37638 (arg1
)->CaptureMouse();
37639 wxPyEndAllowThreads(__tstate
);
37640 if (PyErr_Occurred()) SWIG_fail
;
37642 resultobj
= SWIG_Py_Void();
37649 SWIGINTERN PyObject
*_wrap_Window_ReleaseMouse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37650 PyObject
*resultobj
= 0;
37651 wxWindow
*arg1
= (wxWindow
*) 0 ;
37654 PyObject
*swig_obj
[1] ;
37656 if (!args
) SWIG_fail
;
37657 swig_obj
[0] = args
;
37658 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37659 if (!SWIG_IsOK(res1
)) {
37660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ReleaseMouse" "', expected argument " "1"" of type '" "wxWindow *""'");
37662 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37665 (arg1
)->ReleaseMouse();
37666 wxPyEndAllowThreads(__tstate
);
37667 if (PyErr_Occurred()) SWIG_fail
;
37669 resultobj
= SWIG_Py_Void();
37676 SWIGINTERN PyObject
*_wrap_Window_GetCapture(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37677 PyObject
*resultobj
= 0;
37678 wxWindow
*result
= 0 ;
37680 if (!SWIG_Python_UnpackTuple(args
,"Window_GetCapture",0,0,0)) SWIG_fail
;
37682 if (!wxPyCheckForApp()) SWIG_fail
;
37683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37684 result
= (wxWindow
*)wxWindow::GetCapture();
37685 wxPyEndAllowThreads(__tstate
);
37686 if (PyErr_Occurred()) SWIG_fail
;
37689 resultobj
= wxPyMake_wxObject(result
, 0);
37697 SWIGINTERN PyObject
*_wrap_Window_HasCapture(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37698 PyObject
*resultobj
= 0;
37699 wxWindow
*arg1
= (wxWindow
*) 0 ;
37703 PyObject
*swig_obj
[1] ;
37705 if (!args
) SWIG_fail
;
37706 swig_obj
[0] = args
;
37707 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37708 if (!SWIG_IsOK(res1
)) {
37709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_HasCapture" "', expected argument " "1"" of type '" "wxWindow const *""'");
37711 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37714 result
= (bool)((wxWindow
const *)arg1
)->HasCapture();
37715 wxPyEndAllowThreads(__tstate
);
37716 if (PyErr_Occurred()) SWIG_fail
;
37719 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37727 SWIGINTERN PyObject
*_wrap_Window_Refresh(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37728 PyObject
*resultobj
= 0;
37729 wxWindow
*arg1
= (wxWindow
*) 0 ;
37730 bool arg2
= (bool) true ;
37731 wxRect
*arg3
= (wxRect
*) NULL
;
37738 PyObject
* obj0
= 0 ;
37739 PyObject
* obj1
= 0 ;
37740 PyObject
* obj2
= 0 ;
37741 char * kwnames
[] = {
37742 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
37745 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Window_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37746 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37747 if (!SWIG_IsOK(res1
)) {
37748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Refresh" "', expected argument " "1"" of type '" "wxWindow *""'");
37750 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37752 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
37753 if (!SWIG_IsOK(ecode2
)) {
37754 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_Refresh" "', expected argument " "2"" of type '" "bool""'");
37756 arg2
= static_cast< bool >(val2
);
37759 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxRect
, 0 | 0 );
37760 if (!SWIG_IsOK(res3
)) {
37761 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Window_Refresh" "', expected argument " "3"" of type '" "wxRect const *""'");
37763 arg3
= reinterpret_cast< wxRect
* >(argp3
);
37766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37767 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
37768 wxPyEndAllowThreads(__tstate
);
37769 if (PyErr_Occurred()) SWIG_fail
;
37771 resultobj
= SWIG_Py_Void();
37778 SWIGINTERN PyObject
*_wrap_Window_RefreshRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37779 PyObject
*resultobj
= 0;
37780 wxWindow
*arg1
= (wxWindow
*) 0 ;
37782 bool arg3
= (bool) true ;
37788 PyObject
* obj0
= 0 ;
37789 PyObject
* obj1
= 0 ;
37790 PyObject
* obj2
= 0 ;
37791 char * kwnames
[] = {
37792 (char *) "self",(char *) "rect",(char *) "eraseBackground", NULL
37795 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_RefreshRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37796 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37797 if (!SWIG_IsOK(res1
)) {
37798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_RefreshRect" "', expected argument " "1"" of type '" "wxWindow *""'");
37800 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37803 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
37806 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
37807 if (!SWIG_IsOK(ecode3
)) {
37808 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_RefreshRect" "', expected argument " "3"" of type '" "bool""'");
37810 arg3
= static_cast< bool >(val3
);
37813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37814 (arg1
)->RefreshRect((wxRect
const &)*arg2
,arg3
);
37815 wxPyEndAllowThreads(__tstate
);
37816 if (PyErr_Occurred()) SWIG_fail
;
37818 resultobj
= SWIG_Py_Void();
37825 SWIGINTERN PyObject
*_wrap_Window_Update(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37826 PyObject
*resultobj
= 0;
37827 wxWindow
*arg1
= (wxWindow
*) 0 ;
37830 PyObject
*swig_obj
[1] ;
37832 if (!args
) SWIG_fail
;
37833 swig_obj
[0] = args
;
37834 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37835 if (!SWIG_IsOK(res1
)) {
37836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Update" "', expected argument " "1"" of type '" "wxWindow *""'");
37838 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37842 wxPyEndAllowThreads(__tstate
);
37843 if (PyErr_Occurred()) SWIG_fail
;
37845 resultobj
= SWIG_Py_Void();
37852 SWIGINTERN PyObject
*_wrap_Window_ClearBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37853 PyObject
*resultobj
= 0;
37854 wxWindow
*arg1
= (wxWindow
*) 0 ;
37857 PyObject
*swig_obj
[1] ;
37859 if (!args
) SWIG_fail
;
37860 swig_obj
[0] = args
;
37861 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37862 if (!SWIG_IsOK(res1
)) {
37863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ClearBackground" "', expected argument " "1"" of type '" "wxWindow *""'");
37865 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37868 (arg1
)->ClearBackground();
37869 wxPyEndAllowThreads(__tstate
);
37870 if (PyErr_Occurred()) SWIG_fail
;
37872 resultobj
= SWIG_Py_Void();
37879 SWIGINTERN PyObject
*_wrap_Window_Freeze(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37880 PyObject
*resultobj
= 0;
37881 wxWindow
*arg1
= (wxWindow
*) 0 ;
37884 PyObject
*swig_obj
[1] ;
37886 if (!args
) SWIG_fail
;
37887 swig_obj
[0] = args
;
37888 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37889 if (!SWIG_IsOK(res1
)) {
37890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Freeze" "', expected argument " "1"" of type '" "wxWindow *""'");
37892 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37896 wxPyEndAllowThreads(__tstate
);
37897 if (PyErr_Occurred()) SWIG_fail
;
37899 resultobj
= SWIG_Py_Void();
37906 SWIGINTERN PyObject
*_wrap_Window_IsFrozen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37907 PyObject
*resultobj
= 0;
37908 wxWindow
*arg1
= (wxWindow
*) 0 ;
37912 PyObject
*swig_obj
[1] ;
37914 if (!args
) SWIG_fail
;
37915 swig_obj
[0] = args
;
37916 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37917 if (!SWIG_IsOK(res1
)) {
37918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_IsFrozen" "', expected argument " "1"" of type '" "wxWindow const *""'");
37920 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37923 result
= (bool)((wxWindow
const *)arg1
)->IsFrozen();
37924 wxPyEndAllowThreads(__tstate
);
37925 if (PyErr_Occurred()) SWIG_fail
;
37928 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37936 SWIGINTERN PyObject
*_wrap_Window_Thaw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37937 PyObject
*resultobj
= 0;
37938 wxWindow
*arg1
= (wxWindow
*) 0 ;
37941 PyObject
*swig_obj
[1] ;
37943 if (!args
) SWIG_fail
;
37944 swig_obj
[0] = args
;
37945 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37946 if (!SWIG_IsOK(res1
)) {
37947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Thaw" "', expected argument " "1"" of type '" "wxWindow *""'");
37949 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37953 wxPyEndAllowThreads(__tstate
);
37954 if (PyErr_Occurred()) SWIG_fail
;
37956 resultobj
= SWIG_Py_Void();
37963 SWIGINTERN PyObject
*_wrap_Window_PrepareDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37964 PyObject
*resultobj
= 0;
37965 wxWindow
*arg1
= (wxWindow
*) 0 ;
37971 PyObject
* obj0
= 0 ;
37972 PyObject
* obj1
= 0 ;
37973 char * kwnames
[] = {
37974 (char *) "self",(char *) "dc", NULL
37977 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37978 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37979 if (!SWIG_IsOK(res1
)) {
37980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_PrepareDC" "', expected argument " "1"" of type '" "wxWindow *""'");
37982 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37983 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
37984 if (!SWIG_IsOK(res2
)) {
37985 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_PrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
37988 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Window_PrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
37990 arg2
= reinterpret_cast< wxDC
* >(argp2
);
37992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37993 (arg1
)->PrepareDC(*arg2
);
37994 wxPyEndAllowThreads(__tstate
);
37995 if (PyErr_Occurred()) SWIG_fail
;
37997 resultobj
= SWIG_Py_Void();
38004 SWIGINTERN PyObject
*_wrap_Window_IsDoubleBuffered(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38005 PyObject
*resultobj
= 0;
38006 wxWindow
*arg1
= (wxWindow
*) 0 ;
38010 PyObject
*swig_obj
[1] ;
38012 if (!args
) SWIG_fail
;
38013 swig_obj
[0] = args
;
38014 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38015 if (!SWIG_IsOK(res1
)) {
38016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_IsDoubleBuffered" "', expected argument " "1"" of type '" "wxWindow const *""'");
38018 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38021 result
= (bool)((wxWindow
const *)arg1
)->IsDoubleBuffered();
38022 wxPyEndAllowThreads(__tstate
);
38023 if (PyErr_Occurred()) SWIG_fail
;
38026 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38034 SWIGINTERN PyObject
*_wrap_Window_GetUpdateRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38035 PyObject
*resultobj
= 0;
38036 wxWindow
*arg1
= (wxWindow
*) 0 ;
38037 wxRegion
*result
= 0 ;
38040 PyObject
*swig_obj
[1] ;
38042 if (!args
) SWIG_fail
;
38043 swig_obj
[0] = args
;
38044 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38045 if (!SWIG_IsOK(res1
)) {
38046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetUpdateRegion" "', expected argument " "1"" of type '" "wxWindow *""'");
38048 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38052 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
38053 result
= (wxRegion
*) &_result_ref
;
38055 wxPyEndAllowThreads(__tstate
);
38056 if (PyErr_Occurred()) SWIG_fail
;
38058 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, 0 | 0 );
38065 SWIGINTERN PyObject
*_wrap_Window_GetUpdateClientRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38066 PyObject
*resultobj
= 0;
38067 wxWindow
*arg1
= (wxWindow
*) 0 ;
38071 PyObject
*swig_obj
[1] ;
38073 if (!args
) SWIG_fail
;
38074 swig_obj
[0] = args
;
38075 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38076 if (!SWIG_IsOK(res1
)) {
38077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetUpdateClientRect" "', expected argument " "1"" of type '" "wxWindow const *""'");
38079 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38082 result
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
38083 wxPyEndAllowThreads(__tstate
);
38084 if (PyErr_Occurred()) SWIG_fail
;
38086 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
38093 SWIGINTERN PyObject
*_wrap_Window_IsExposed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38094 PyObject
*resultobj
= 0;
38095 wxWindow
*arg1
= (wxWindow
*) 0 ;
38098 int arg4
= (int) 1 ;
38099 int arg5
= (int) 1 ;
38111 PyObject
* obj0
= 0 ;
38112 PyObject
* obj1
= 0 ;
38113 PyObject
* obj2
= 0 ;
38114 PyObject
* obj3
= 0 ;
38115 PyObject
* obj4
= 0 ;
38116 char * kwnames
[] = {
38117 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
38120 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_IsExposed",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38121 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38122 if (!SWIG_IsOK(res1
)) {
38123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_IsExposed" "', expected argument " "1"" of type '" "wxWindow const *""'");
38125 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38126 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38127 if (!SWIG_IsOK(ecode2
)) {
38128 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_IsExposed" "', expected argument " "2"" of type '" "int""'");
38130 arg2
= static_cast< int >(val2
);
38131 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38132 if (!SWIG_IsOK(ecode3
)) {
38133 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_IsExposed" "', expected argument " "3"" of type '" "int""'");
38135 arg3
= static_cast< int >(val3
);
38137 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38138 if (!SWIG_IsOK(ecode4
)) {
38139 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Window_IsExposed" "', expected argument " "4"" of type '" "int""'");
38141 arg4
= static_cast< int >(val4
);
38144 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38145 if (!SWIG_IsOK(ecode5
)) {
38146 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Window_IsExposed" "', expected argument " "5"" of type '" "int""'");
38148 arg5
= static_cast< int >(val5
);
38151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38152 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
38153 wxPyEndAllowThreads(__tstate
);
38154 if (PyErr_Occurred()) SWIG_fail
;
38157 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38165 SWIGINTERN PyObject
*_wrap_Window_IsExposedPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38166 PyObject
*resultobj
= 0;
38167 wxWindow
*arg1
= (wxWindow
*) 0 ;
38168 wxPoint
*arg2
= 0 ;
38173 PyObject
* obj0
= 0 ;
38174 PyObject
* obj1
= 0 ;
38175 char * kwnames
[] = {
38176 (char *) "self",(char *) "pt", NULL
38179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38180 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38181 if (!SWIG_IsOK(res1
)) {
38182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_IsExposedPoint" "', expected argument " "1"" of type '" "wxWindow const *""'");
38184 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38187 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
38190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38191 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
38192 wxPyEndAllowThreads(__tstate
);
38193 if (PyErr_Occurred()) SWIG_fail
;
38196 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38204 SWIGINTERN PyObject
*_wrap_Window_IsExposedRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38205 PyObject
*resultobj
= 0;
38206 wxWindow
*arg1
= (wxWindow
*) 0 ;
38212 PyObject
* obj0
= 0 ;
38213 PyObject
* obj1
= 0 ;
38214 char * kwnames
[] = {
38215 (char *) "self",(char *) "rect", NULL
38218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38219 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38220 if (!SWIG_IsOK(res1
)) {
38221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_IsExposedRect" "', expected argument " "1"" of type '" "wxWindow const *""'");
38223 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38226 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
38229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38230 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
38231 wxPyEndAllowThreads(__tstate
);
38232 if (PyErr_Occurred()) SWIG_fail
;
38235 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38243 SWIGINTERN PyObject
*_wrap_Window_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38244 PyObject
*resultobj
= 0;
38245 wxWindow
*arg1
= (wxWindow
*) 0 ;
38246 SwigValueWrapper
<wxVisualAttributes
> result
;
38249 PyObject
*swig_obj
[1] ;
38251 if (!args
) SWIG_fail
;
38252 swig_obj
[0] = args
;
38253 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38254 if (!SWIG_IsOK(res1
)) {
38255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxWindow const *""'");
38257 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38260 result
= ((wxWindow
const *)arg1
)->GetDefaultAttributes();
38261 wxPyEndAllowThreads(__tstate
);
38262 if (PyErr_Occurred()) SWIG_fail
;
38264 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
38271 SWIGINTERN PyObject
*_wrap_Window_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38272 PyObject
*resultobj
= 0;
38273 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
38274 SwigValueWrapper
<wxVisualAttributes
> result
;
38277 PyObject
* obj0
= 0 ;
38278 char * kwnames
[] = {
38279 (char *) "variant", NULL
38282 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Window_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
38284 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
38285 if (!SWIG_IsOK(ecode1
)) {
38286 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Window_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
38288 arg1
= static_cast< wxWindowVariant
>(val1
);
38291 if (!wxPyCheckForApp()) SWIG_fail
;
38292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38293 result
= wxWindow::GetClassDefaultAttributes(arg1
);
38294 wxPyEndAllowThreads(__tstate
);
38295 if (PyErr_Occurred()) SWIG_fail
;
38297 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
38304 SWIGINTERN PyObject
*_wrap_Window_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38305 PyObject
*resultobj
= 0;
38306 wxWindow
*arg1
= (wxWindow
*) 0 ;
38307 wxColour
*arg2
= 0 ;
38312 PyObject
* obj0
= 0 ;
38313 PyObject
* obj1
= 0 ;
38314 char * kwnames
[] = {
38315 (char *) "self",(char *) "colour", NULL
38318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38319 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38320 if (!SWIG_IsOK(res1
)) {
38321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetBackgroundColour" "', expected argument " "1"" of type '" "wxWindow *""'");
38323 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38326 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
38329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38330 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
38331 wxPyEndAllowThreads(__tstate
);
38332 if (PyErr_Occurred()) SWIG_fail
;
38335 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38343 SWIGINTERN PyObject
*_wrap_Window_SetOwnBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38344 PyObject
*resultobj
= 0;
38345 wxWindow
*arg1
= (wxWindow
*) 0 ;
38346 wxColour
*arg2
= 0 ;
38350 PyObject
* obj0
= 0 ;
38351 PyObject
* obj1
= 0 ;
38352 char * kwnames
[] = {
38353 (char *) "self",(char *) "colour", NULL
38356 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38357 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38358 if (!SWIG_IsOK(res1
)) {
38359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetOwnBackgroundColour" "', expected argument " "1"" of type '" "wxWindow *""'");
38361 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38364 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
38367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38368 (arg1
)->SetOwnBackgroundColour((wxColour
const &)*arg2
);
38369 wxPyEndAllowThreads(__tstate
);
38370 if (PyErr_Occurred()) SWIG_fail
;
38372 resultobj
= SWIG_Py_Void();
38379 SWIGINTERN PyObject
*_wrap_Window_SetForegroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38380 PyObject
*resultobj
= 0;
38381 wxWindow
*arg1
= (wxWindow
*) 0 ;
38382 wxColour
*arg2
= 0 ;
38387 PyObject
* obj0
= 0 ;
38388 PyObject
* obj1
= 0 ;
38389 char * kwnames
[] = {
38390 (char *) "self",(char *) "colour", NULL
38393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetForegroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38394 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38395 if (!SWIG_IsOK(res1
)) {
38396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetForegroundColour" "', expected argument " "1"" of type '" "wxWindow *""'");
38398 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38401 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
38404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38405 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
38406 wxPyEndAllowThreads(__tstate
);
38407 if (PyErr_Occurred()) SWIG_fail
;
38410 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38418 SWIGINTERN PyObject
*_wrap_Window_SetOwnForegroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38419 PyObject
*resultobj
= 0;
38420 wxWindow
*arg1
= (wxWindow
*) 0 ;
38421 wxColour
*arg2
= 0 ;
38425 PyObject
* obj0
= 0 ;
38426 PyObject
* obj1
= 0 ;
38427 char * kwnames
[] = {
38428 (char *) "self",(char *) "colour", NULL
38431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnForegroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38432 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38433 if (!SWIG_IsOK(res1
)) {
38434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetOwnForegroundColour" "', expected argument " "1"" of type '" "wxWindow *""'");
38436 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38439 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
38442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38443 (arg1
)->SetOwnForegroundColour((wxColour
const &)*arg2
);
38444 wxPyEndAllowThreads(__tstate
);
38445 if (PyErr_Occurred()) SWIG_fail
;
38447 resultobj
= SWIG_Py_Void();
38454 SWIGINTERN PyObject
*_wrap_Window_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38455 PyObject
*resultobj
= 0;
38456 wxWindow
*arg1
= (wxWindow
*) 0 ;
38460 PyObject
*swig_obj
[1] ;
38462 if (!args
) SWIG_fail
;
38463 swig_obj
[0] = args
;
38464 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38465 if (!SWIG_IsOK(res1
)) {
38466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetBackgroundColour" "', expected argument " "1"" of type '" "wxWindow const *""'");
38468 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38471 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
38472 wxPyEndAllowThreads(__tstate
);
38473 if (PyErr_Occurred()) SWIG_fail
;
38475 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
38482 SWIGINTERN PyObject
*_wrap_Window_GetForegroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38483 PyObject
*resultobj
= 0;
38484 wxWindow
*arg1
= (wxWindow
*) 0 ;
38488 PyObject
*swig_obj
[1] ;
38490 if (!args
) SWIG_fail
;
38491 swig_obj
[0] = args
;
38492 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38493 if (!SWIG_IsOK(res1
)) {
38494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetForegroundColour" "', expected argument " "1"" of type '" "wxWindow const *""'");
38496 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38499 result
= ((wxWindow
const *)arg1
)->GetForegroundColour();
38500 wxPyEndAllowThreads(__tstate
);
38501 if (PyErr_Occurred()) SWIG_fail
;
38503 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
38510 SWIGINTERN PyObject
*_wrap_Window_InheritsBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38511 PyObject
*resultobj
= 0;
38512 wxWindow
*arg1
= (wxWindow
*) 0 ;
38516 PyObject
*swig_obj
[1] ;
38518 if (!args
) SWIG_fail
;
38519 swig_obj
[0] = args
;
38520 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38521 if (!SWIG_IsOK(res1
)) {
38522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_InheritsBackgroundColour" "', expected argument " "1"" of type '" "wxWindow const *""'");
38524 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38527 result
= (bool)((wxWindow
const *)arg1
)->InheritsBackgroundColour();
38528 wxPyEndAllowThreads(__tstate
);
38529 if (PyErr_Occurred()) SWIG_fail
;
38532 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38540 SWIGINTERN PyObject
*_wrap_Window_UseBgCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38541 PyObject
*resultobj
= 0;
38542 wxWindow
*arg1
= (wxWindow
*) 0 ;
38546 PyObject
*swig_obj
[1] ;
38548 if (!args
) SWIG_fail
;
38549 swig_obj
[0] = args
;
38550 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38551 if (!SWIG_IsOK(res1
)) {
38552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_UseBgCol" "', expected argument " "1"" of type '" "wxWindow const *""'");
38554 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38557 result
= (bool)((wxWindow
const *)arg1
)->UseBgCol();
38558 wxPyEndAllowThreads(__tstate
);
38559 if (PyErr_Occurred()) SWIG_fail
;
38562 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38570 SWIGINTERN PyObject
*_wrap_Window_SetBackgroundStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38571 PyObject
*resultobj
= 0;
38572 wxWindow
*arg1
= (wxWindow
*) 0 ;
38573 wxBackgroundStyle arg2
;
38579 PyObject
* obj0
= 0 ;
38580 PyObject
* obj1
= 0 ;
38581 char * kwnames
[] = {
38582 (char *) "self",(char *) "style", NULL
38585 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38586 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38587 if (!SWIG_IsOK(res1
)) {
38588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetBackgroundStyle" "', expected argument " "1"" of type '" "wxWindow *""'");
38590 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38591 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38592 if (!SWIG_IsOK(ecode2
)) {
38593 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetBackgroundStyle" "', expected argument " "2"" of type '" "wxBackgroundStyle""'");
38595 arg2
= static_cast< wxBackgroundStyle
>(val2
);
38597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38598 result
= (bool)(arg1
)->SetBackgroundStyle(arg2
);
38599 wxPyEndAllowThreads(__tstate
);
38600 if (PyErr_Occurred()) SWIG_fail
;
38603 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38611 SWIGINTERN PyObject
*_wrap_Window_GetBackgroundStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38612 PyObject
*resultobj
= 0;
38613 wxWindow
*arg1
= (wxWindow
*) 0 ;
38614 wxBackgroundStyle result
;
38617 PyObject
*swig_obj
[1] ;
38619 if (!args
) SWIG_fail
;
38620 swig_obj
[0] = args
;
38621 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38622 if (!SWIG_IsOK(res1
)) {
38623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetBackgroundStyle" "', expected argument " "1"" of type '" "wxWindow const *""'");
38625 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38628 result
= (wxBackgroundStyle
)((wxWindow
const *)arg1
)->GetBackgroundStyle();
38629 wxPyEndAllowThreads(__tstate
);
38630 if (PyErr_Occurred()) SWIG_fail
;
38632 resultobj
= SWIG_From_int(static_cast< int >(result
));
38639 SWIGINTERN PyObject
*_wrap_Window_HasTransparentBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38640 PyObject
*resultobj
= 0;
38641 wxWindow
*arg1
= (wxWindow
*) 0 ;
38645 PyObject
*swig_obj
[1] ;
38647 if (!args
) SWIG_fail
;
38648 swig_obj
[0] = args
;
38649 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38650 if (!SWIG_IsOK(res1
)) {
38651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_HasTransparentBackground" "', expected argument " "1"" of type '" "wxWindow *""'");
38653 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38656 result
= (bool)(arg1
)->HasTransparentBackground();
38657 wxPyEndAllowThreads(__tstate
);
38658 if (PyErr_Occurred()) SWIG_fail
;
38661 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38669 SWIGINTERN PyObject
*_wrap_Window_SetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38670 PyObject
*resultobj
= 0;
38671 wxWindow
*arg1
= (wxWindow
*) 0 ;
38672 wxCursor
*arg2
= 0 ;
38678 PyObject
* obj0
= 0 ;
38679 PyObject
* obj1
= 0 ;
38680 char * kwnames
[] = {
38681 (char *) "self",(char *) "cursor", NULL
38684 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38685 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38686 if (!SWIG_IsOK(res1
)) {
38687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetCursor" "', expected argument " "1"" of type '" "wxWindow *""'");
38689 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38690 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
38691 if (!SWIG_IsOK(res2
)) {
38692 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetCursor" "', expected argument " "2"" of type '" "wxCursor const &""'");
38695 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Window_SetCursor" "', expected argument " "2"" of type '" "wxCursor const &""'");
38697 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
38699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38700 result
= (bool)(arg1
)->SetCursor((wxCursor
const &)*arg2
);
38701 wxPyEndAllowThreads(__tstate
);
38702 if (PyErr_Occurred()) SWIG_fail
;
38705 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38713 SWIGINTERN PyObject
*_wrap_Window_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38714 PyObject
*resultobj
= 0;
38715 wxWindow
*arg1
= (wxWindow
*) 0 ;
38719 PyObject
*swig_obj
[1] ;
38721 if (!args
) SWIG_fail
;
38722 swig_obj
[0] = args
;
38723 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38724 if (!SWIG_IsOK(res1
)) {
38725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetCursor" "', expected argument " "1"" of type '" "wxWindow *""'");
38727 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38730 result
= (arg1
)->GetCursor();
38731 wxPyEndAllowThreads(__tstate
);
38732 if (PyErr_Occurred()) SWIG_fail
;
38734 resultobj
= SWIG_NewPointerObj((new wxCursor(static_cast< const wxCursor
& >(result
))), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
38741 SWIGINTERN PyObject
*_wrap_Window_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38742 PyObject
*resultobj
= 0;
38743 wxWindow
*arg1
= (wxWindow
*) 0 ;
38750 PyObject
* obj0
= 0 ;
38751 PyObject
* obj1
= 0 ;
38752 char * kwnames
[] = {
38753 (char *) "self",(char *) "font", NULL
38756 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38757 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38758 if (!SWIG_IsOK(res1
)) {
38759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetFont" "', expected argument " "1"" of type '" "wxWindow *""'");
38761 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38762 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
38763 if (!SWIG_IsOK(res2
)) {
38764 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
38767 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Window_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
38769 arg2
= reinterpret_cast< wxFont
* >(argp2
);
38771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38772 result
= (bool)(arg1
)->SetFont((wxFont
const &)*arg2
);
38773 wxPyEndAllowThreads(__tstate
);
38774 if (PyErr_Occurred()) SWIG_fail
;
38777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38785 SWIGINTERN PyObject
*_wrap_Window_SetOwnFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38786 PyObject
*resultobj
= 0;
38787 wxWindow
*arg1
= (wxWindow
*) 0 ;
38793 PyObject
* obj0
= 0 ;
38794 PyObject
* obj1
= 0 ;
38795 char * kwnames
[] = {
38796 (char *) "self",(char *) "font", NULL
38799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38800 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38801 if (!SWIG_IsOK(res1
)) {
38802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetOwnFont" "', expected argument " "1"" of type '" "wxWindow *""'");
38804 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38805 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
38806 if (!SWIG_IsOK(res2
)) {
38807 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetOwnFont" "', expected argument " "2"" of type '" "wxFont const &""'");
38810 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Window_SetOwnFont" "', expected argument " "2"" of type '" "wxFont const &""'");
38812 arg2
= reinterpret_cast< wxFont
* >(argp2
);
38814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38815 (arg1
)->SetOwnFont((wxFont
const &)*arg2
);
38816 wxPyEndAllowThreads(__tstate
);
38817 if (PyErr_Occurred()) SWIG_fail
;
38819 resultobj
= SWIG_Py_Void();
38826 SWIGINTERN PyObject
*_wrap_Window_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38827 PyObject
*resultobj
= 0;
38828 wxWindow
*arg1
= (wxWindow
*) 0 ;
38832 PyObject
*swig_obj
[1] ;
38834 if (!args
) SWIG_fail
;
38835 swig_obj
[0] = args
;
38836 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38837 if (!SWIG_IsOK(res1
)) {
38838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetFont" "', expected argument " "1"" of type '" "wxWindow *""'");
38840 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38843 result
= (arg1
)->GetFont();
38844 wxPyEndAllowThreads(__tstate
);
38845 if (PyErr_Occurred()) SWIG_fail
;
38847 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
38854 SWIGINTERN PyObject
*_wrap_Window_SetCaret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38855 PyObject
*resultobj
= 0;
38856 wxWindow
*arg1
= (wxWindow
*) 0 ;
38857 wxCaret
*arg2
= (wxCaret
*) 0 ;
38861 PyObject
* obj0
= 0 ;
38862 PyObject
* obj1
= 0 ;
38863 char * kwnames
[] = {
38864 (char *) "self",(char *) "caret", NULL
38867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38868 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38869 if (!SWIG_IsOK(res1
)) {
38870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetCaret" "', expected argument " "1"" of type '" "wxWindow *""'");
38872 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38873 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxCaret
, SWIG_POINTER_DISOWN
| 0 );
38874 if (!SWIG_IsOK(res2
)) {
38875 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetCaret" "', expected argument " "2"" of type '" "wxCaret *""'");
38878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38879 (arg1
)->SetCaret(arg2
);
38880 wxPyEndAllowThreads(__tstate
);
38881 if (PyErr_Occurred()) SWIG_fail
;
38883 resultobj
= SWIG_Py_Void();
38890 SWIGINTERN PyObject
*_wrap_Window_GetCaret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38891 PyObject
*resultobj
= 0;
38892 wxWindow
*arg1
= (wxWindow
*) 0 ;
38893 wxCaret
*result
= 0 ;
38896 PyObject
*swig_obj
[1] ;
38898 if (!args
) SWIG_fail
;
38899 swig_obj
[0] = args
;
38900 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38901 if (!SWIG_IsOK(res1
)) {
38902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetCaret" "', expected argument " "1"" of type '" "wxWindow const *""'");
38904 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38907 result
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
38908 wxPyEndAllowThreads(__tstate
);
38909 if (PyErr_Occurred()) SWIG_fail
;
38911 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCaret
, 0 | 0 );
38918 SWIGINTERN PyObject
*_wrap_Window_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38919 PyObject
*resultobj
= 0;
38920 wxWindow
*arg1
= (wxWindow
*) 0 ;
38924 PyObject
*swig_obj
[1] ;
38926 if (!args
) SWIG_fail
;
38927 swig_obj
[0] = args
;
38928 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38929 if (!SWIG_IsOK(res1
)) {
38930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetCharHeight" "', expected argument " "1"" of type '" "wxWindow const *""'");
38932 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38935 result
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
38936 wxPyEndAllowThreads(__tstate
);
38937 if (PyErr_Occurred()) SWIG_fail
;
38939 resultobj
= SWIG_From_int(static_cast< int >(result
));
38946 SWIGINTERN PyObject
*_wrap_Window_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38947 PyObject
*resultobj
= 0;
38948 wxWindow
*arg1
= (wxWindow
*) 0 ;
38952 PyObject
*swig_obj
[1] ;
38954 if (!args
) SWIG_fail
;
38955 swig_obj
[0] = args
;
38956 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38957 if (!SWIG_IsOK(res1
)) {
38958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetCharWidth" "', expected argument " "1"" of type '" "wxWindow const *""'");
38960 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38963 result
= (int)((wxWindow
const *)arg1
)->GetCharWidth();
38964 wxPyEndAllowThreads(__tstate
);
38965 if (PyErr_Occurred()) SWIG_fail
;
38967 resultobj
= SWIG_From_int(static_cast< int >(result
));
38974 SWIGINTERN PyObject
*_wrap_Window_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38975 PyObject
*resultobj
= 0;
38976 wxWindow
*arg1
= (wxWindow
*) 0 ;
38977 wxString
*arg2
= 0 ;
38978 int *arg3
= (int *) 0 ;
38979 int *arg4
= (int *) 0 ;
38982 bool temp2
= false ;
38984 int res3
= SWIG_TMPOBJ
;
38986 int res4
= SWIG_TMPOBJ
;
38987 PyObject
* obj0
= 0 ;
38988 PyObject
* obj1
= 0 ;
38989 char * kwnames
[] = {
38990 (char *) "self",(char *) "string", NULL
38995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38996 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38997 if (!SWIG_IsOK(res1
)) {
38998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetTextExtent" "', expected argument " "1"" of type '" "wxWindow *""'");
39000 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39002 arg2
= wxString_in_helper(obj1
);
39003 if (arg2
== NULL
) SWIG_fail
;
39007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39008 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
39009 wxPyEndAllowThreads(__tstate
);
39010 if (PyErr_Occurred()) SWIG_fail
;
39012 resultobj
= SWIG_Py_Void();
39013 if (SWIG_IsTmpObj(res3
)) {
39014 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39016 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39017 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39019 if (SWIG_IsTmpObj(res4
)) {
39020 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
39022 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39023 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
39039 SWIGINTERN PyObject
*_wrap_Window_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39040 PyObject
*resultobj
= 0;
39041 wxWindow
*arg1
= (wxWindow
*) 0 ;
39042 wxString
*arg2
= 0 ;
39043 int *arg3
= (int *) 0 ;
39044 int *arg4
= (int *) 0 ;
39045 int *arg5
= (int *) 0 ;
39046 int *arg6
= (int *) 0 ;
39047 wxFont
*arg7
= (wxFont
*) NULL
;
39050 bool temp2
= false ;
39052 int res3
= SWIG_TMPOBJ
;
39054 int res4
= SWIG_TMPOBJ
;
39056 int res5
= SWIG_TMPOBJ
;
39058 int res6
= SWIG_TMPOBJ
;
39061 PyObject
* obj0
= 0 ;
39062 PyObject
* obj1
= 0 ;
39063 PyObject
* obj2
= 0 ;
39064 char * kwnames
[] = {
39065 (char *) "self",(char *) "string",(char *) "font", NULL
39072 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39073 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39074 if (!SWIG_IsOK(res1
)) {
39075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetFullTextExtent" "', expected argument " "1"" of type '" "wxWindow *""'");
39077 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39079 arg2
= wxString_in_helper(obj1
);
39080 if (arg2
== NULL
) SWIG_fail
;
39084 res7
= SWIG_ConvertPtr(obj2
, &argp7
,SWIGTYPE_p_wxFont
, 0 | 0 );
39085 if (!SWIG_IsOK(res7
)) {
39086 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "Window_GetFullTextExtent" "', expected argument " "7"" of type '" "wxFont const *""'");
39088 arg7
= reinterpret_cast< wxFont
* >(argp7
);
39091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39092 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
39093 wxPyEndAllowThreads(__tstate
);
39094 if (PyErr_Occurred()) SWIG_fail
;
39096 resultobj
= SWIG_Py_Void();
39097 if (SWIG_IsTmpObj(res3
)) {
39098 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39100 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39101 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39103 if (SWIG_IsTmpObj(res4
)) {
39104 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
39106 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39107 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
39109 if (SWIG_IsTmpObj(res5
)) {
39110 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
39112 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39113 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
39115 if (SWIG_IsTmpObj(res6
)) {
39116 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg6
)));
39118 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39119 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, new_flags
));
39135 SWIGINTERN PyObject
*_wrap_Window_ClientToScreenXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39136 PyObject
*resultobj
= 0;
39137 wxWindow
*arg1
= (wxWindow
*) 0 ;
39138 int *arg2
= (int *) 0 ;
39139 int *arg3
= (int *) 0 ;
39146 PyObject
* obj0
= 0 ;
39147 PyObject
* obj1
= 0 ;
39148 PyObject
* obj2
= 0 ;
39149 char * kwnames
[] = {
39150 (char *) "self",(char *) "x",(char *) "y", NULL
39153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39154 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39155 if (!SWIG_IsOK(res1
)) {
39156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ClientToScreenXY" "', expected argument " "1"" of type '" "wxWindow const *""'");
39158 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39159 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_int
,0))))) {
39161 int ecode
= SWIG_AsVal_int(obj1
, &val
);
39162 if (!SWIG_IsOK(ecode
)) {
39163 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "Window_ClientToScreenXY" "', expected argument " "2"" of type '" "int""'");
39165 temp2
= static_cast< int >(val
);
39167 res2
= SWIG_AddTmpMask(ecode
);
39169 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_int
,0))))) {
39171 int ecode
= SWIG_AsVal_int(obj2
, &val
);
39172 if (!SWIG_IsOK(ecode
)) {
39173 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "Window_ClientToScreenXY" "', expected argument " "3"" of type '" "int""'");
39175 temp3
= static_cast< int >(val
);
39177 res3
= SWIG_AddTmpMask(ecode
);
39180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39181 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
39182 wxPyEndAllowThreads(__tstate
);
39183 if (PyErr_Occurred()) SWIG_fail
;
39185 resultobj
= SWIG_Py_Void();
39186 if (SWIG_IsTmpObj(res2
)) {
39187 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
39189 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39190 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
39192 if (SWIG_IsTmpObj(res3
)) {
39193 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39195 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39196 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39204 SWIGINTERN PyObject
*_wrap_Window_ScreenToClientXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39205 PyObject
*resultobj
= 0;
39206 wxWindow
*arg1
= (wxWindow
*) 0 ;
39207 int *arg2
= (int *) 0 ;
39208 int *arg3
= (int *) 0 ;
39215 PyObject
* obj0
= 0 ;
39216 PyObject
* obj1
= 0 ;
39217 PyObject
* obj2
= 0 ;
39218 char * kwnames
[] = {
39219 (char *) "self",(char *) "x",(char *) "y", NULL
39222 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39223 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39224 if (!SWIG_IsOK(res1
)) {
39225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ScreenToClientXY" "', expected argument " "1"" of type '" "wxWindow const *""'");
39227 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39228 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_int
,0))))) {
39230 int ecode
= SWIG_AsVal_int(obj1
, &val
);
39231 if (!SWIG_IsOK(ecode
)) {
39232 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "Window_ScreenToClientXY" "', expected argument " "2"" of type '" "int""'");
39234 temp2
= static_cast< int >(val
);
39236 res2
= SWIG_AddTmpMask(ecode
);
39238 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_int
,0))))) {
39240 int ecode
= SWIG_AsVal_int(obj2
, &val
);
39241 if (!SWIG_IsOK(ecode
)) {
39242 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "Window_ScreenToClientXY" "', expected argument " "3"" of type '" "int""'");
39244 temp3
= static_cast< int >(val
);
39246 res3
= SWIG_AddTmpMask(ecode
);
39249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39250 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
39251 wxPyEndAllowThreads(__tstate
);
39252 if (PyErr_Occurred()) SWIG_fail
;
39254 resultobj
= SWIG_Py_Void();
39255 if (SWIG_IsTmpObj(res2
)) {
39256 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
39258 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39259 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
39261 if (SWIG_IsTmpObj(res3
)) {
39262 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39264 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39265 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39273 SWIGINTERN PyObject
*_wrap_Window_ClientToScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39274 PyObject
*resultobj
= 0;
39275 wxWindow
*arg1
= (wxWindow
*) 0 ;
39276 wxPoint
*arg2
= 0 ;
39281 PyObject
* obj0
= 0 ;
39282 PyObject
* obj1
= 0 ;
39283 char * kwnames
[] = {
39284 (char *) "self",(char *) "pt", NULL
39287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39288 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39289 if (!SWIG_IsOK(res1
)) {
39290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ClientToScreen" "', expected argument " "1"" of type '" "wxWindow const *""'");
39292 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39295 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
39298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39299 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
39300 wxPyEndAllowThreads(__tstate
);
39301 if (PyErr_Occurred()) SWIG_fail
;
39303 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
39310 SWIGINTERN PyObject
*_wrap_Window_ScreenToClient(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39311 PyObject
*resultobj
= 0;
39312 wxWindow
*arg1
= (wxWindow
*) 0 ;
39313 wxPoint
*arg2
= 0 ;
39318 PyObject
* obj0
= 0 ;
39319 PyObject
* obj1
= 0 ;
39320 char * kwnames
[] = {
39321 (char *) "self",(char *) "pt", NULL
39324 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39325 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39326 if (!SWIG_IsOK(res1
)) {
39327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ScreenToClient" "', expected argument " "1"" of type '" "wxWindow const *""'");
39329 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39332 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
39335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39336 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
39337 wxPyEndAllowThreads(__tstate
);
39338 if (PyErr_Occurred()) SWIG_fail
;
39340 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
39347 SWIGINTERN PyObject
*_wrap_Window_HitTestXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39348 PyObject
*resultobj
= 0;
39349 wxWindow
*arg1
= (wxWindow
*) 0 ;
39359 PyObject
* obj0
= 0 ;
39360 PyObject
* obj1
= 0 ;
39361 PyObject
* obj2
= 0 ;
39362 char * kwnames
[] = {
39363 (char *) "self",(char *) "x",(char *) "y", NULL
39366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39367 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39368 if (!SWIG_IsOK(res1
)) {
39369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_HitTestXY" "', expected argument " "1"" of type '" "wxWindow const *""'");
39371 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39372 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39373 if (!SWIG_IsOK(ecode2
)) {
39374 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_HitTestXY" "', expected argument " "2"" of type '" "int""'");
39376 arg2
= static_cast< int >(val2
);
39377 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39378 if (!SWIG_IsOK(ecode3
)) {
39379 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_HitTestXY" "', expected argument " "3"" of type '" "int""'");
39381 arg3
= static_cast< int >(val3
);
39383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39384 result
= (wxHitTest
)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
39385 wxPyEndAllowThreads(__tstate
);
39386 if (PyErr_Occurred()) SWIG_fail
;
39388 resultobj
= SWIG_From_int(static_cast< int >(result
));
39395 SWIGINTERN PyObject
*_wrap_Window_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39396 PyObject
*resultobj
= 0;
39397 wxWindow
*arg1
= (wxWindow
*) 0 ;
39398 wxPoint
*arg2
= 0 ;
39403 PyObject
* obj0
= 0 ;
39404 PyObject
* obj1
= 0 ;
39405 char * kwnames
[] = {
39406 (char *) "self",(char *) "pt", NULL
39409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39410 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39411 if (!SWIG_IsOK(res1
)) {
39412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_HitTest" "', expected argument " "1"" of type '" "wxWindow const *""'");
39414 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39417 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
39420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39421 result
= (wxHitTest
)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
39422 wxPyEndAllowThreads(__tstate
);
39423 if (PyErr_Occurred()) SWIG_fail
;
39425 resultobj
= SWIG_From_int(static_cast< int >(result
));
39432 SWIGINTERN PyObject
*_wrap_Window_GetBorder__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
39433 PyObject
*resultobj
= 0;
39434 wxWindow
*arg1
= (wxWindow
*) 0 ;
39442 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
39443 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39444 if (!SWIG_IsOK(res1
)) {
39445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetBorder" "', expected argument " "1"" of type '" "wxWindow const *""'");
39447 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39448 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
39449 if (!SWIG_IsOK(ecode2
)) {
39450 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_GetBorder" "', expected argument " "2"" of type '" "long""'");
39452 arg2
= static_cast< long >(val2
);
39454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39455 result
= (wxBorder
)((wxWindow
const *)arg1
)->GetBorder(arg2
);
39456 wxPyEndAllowThreads(__tstate
);
39457 if (PyErr_Occurred()) SWIG_fail
;
39459 resultobj
= SWIG_From_int(static_cast< int >(result
));
39466 SWIGINTERN PyObject
*_wrap_Window_GetBorder__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
39467 PyObject
*resultobj
= 0;
39468 wxWindow
*arg1
= (wxWindow
*) 0 ;
39473 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
39474 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39475 if (!SWIG_IsOK(res1
)) {
39476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetBorder" "', expected argument " "1"" of type '" "wxWindow const *""'");
39478 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39481 result
= (wxBorder
)((wxWindow
const *)arg1
)->GetBorder();
39482 wxPyEndAllowThreads(__tstate
);
39483 if (PyErr_Occurred()) SWIG_fail
;
39485 resultobj
= SWIG_From_int(static_cast< int >(result
));
39492 SWIGINTERN PyObject
*_wrap_Window_GetBorder(PyObject
*self
, PyObject
*args
) {
39496 if (!(argc
= SWIG_Python_UnpackTuple(args
,"Window_GetBorder",0,2,argv
))) SWIG_fail
;
39499 return _wrap_Window_GetBorder__SWIG_1(self
, argc
, argv
);
39502 return _wrap_Window_GetBorder__SWIG_0(self
, argc
, argv
);
39506 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'Window_GetBorder'");
39511 SWIGINTERN PyObject
*_wrap_Window_UpdateWindowUI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39512 PyObject
*resultobj
= 0;
39513 wxWindow
*arg1
= (wxWindow
*) 0 ;
39514 long arg2
= (long) wxUPDATE_UI_NONE
;
39519 PyObject
* obj0
= 0 ;
39520 PyObject
* obj1
= 0 ;
39521 char * kwnames
[] = {
39522 (char *) "self",(char *) "flags", NULL
39525 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_UpdateWindowUI",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39526 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39527 if (!SWIG_IsOK(res1
)) {
39528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_UpdateWindowUI" "', expected argument " "1"" of type '" "wxWindow *""'");
39530 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39532 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
39533 if (!SWIG_IsOK(ecode2
)) {
39534 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_UpdateWindowUI" "', expected argument " "2"" of type '" "long""'");
39536 arg2
= static_cast< long >(val2
);
39539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39540 (arg1
)->UpdateWindowUI(arg2
);
39541 wxPyEndAllowThreads(__tstate
);
39542 if (PyErr_Occurred()) SWIG_fail
;
39544 resultobj
= SWIG_Py_Void();
39551 SWIGINTERN PyObject
*_wrap_Window_PopupMenuXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39552 PyObject
*resultobj
= 0;
39553 wxWindow
*arg1
= (wxWindow
*) 0 ;
39554 wxMenu
*arg2
= (wxMenu
*) 0 ;
39555 int arg3
= (int) -1 ;
39556 int arg4
= (int) -1 ;
39566 PyObject
* obj0
= 0 ;
39567 PyObject
* obj1
= 0 ;
39568 PyObject
* obj2
= 0 ;
39569 PyObject
* obj3
= 0 ;
39570 char * kwnames
[] = {
39571 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
39574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
39575 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39576 if (!SWIG_IsOK(res1
)) {
39577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_PopupMenuXY" "', expected argument " "1"" of type '" "wxWindow *""'");
39579 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39580 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39581 if (!SWIG_IsOK(res2
)) {
39582 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_PopupMenuXY" "', expected argument " "2"" of type '" "wxMenu *""'");
39584 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
39586 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39587 if (!SWIG_IsOK(ecode3
)) {
39588 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_PopupMenuXY" "', expected argument " "3"" of type '" "int""'");
39590 arg3
= static_cast< int >(val3
);
39593 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
39594 if (!SWIG_IsOK(ecode4
)) {
39595 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Window_PopupMenuXY" "', expected argument " "4"" of type '" "int""'");
39597 arg4
= static_cast< int >(val4
);
39600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39601 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
39602 wxPyEndAllowThreads(__tstate
);
39603 if (PyErr_Occurred()) SWIG_fail
;
39606 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39614 SWIGINTERN PyObject
*_wrap_Window_PopupMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39615 PyObject
*resultobj
= 0;
39616 wxWindow
*arg1
= (wxWindow
*) 0 ;
39617 wxMenu
*arg2
= (wxMenu
*) 0 ;
39618 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
39619 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
39626 PyObject
* obj0
= 0 ;
39627 PyObject
* obj1
= 0 ;
39628 PyObject
* obj2
= 0 ;
39629 char * kwnames
[] = {
39630 (char *) "self",(char *) "menu",(char *) "pos", NULL
39633 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39634 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39635 if (!SWIG_IsOK(res1
)) {
39636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_PopupMenu" "', expected argument " "1"" of type '" "wxWindow *""'");
39638 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39639 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39640 if (!SWIG_IsOK(res2
)) {
39641 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
39643 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
39647 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
39651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39652 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
39653 wxPyEndAllowThreads(__tstate
);
39654 if (PyErr_Occurred()) SWIG_fail
;
39657 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39665 SWIGINTERN PyObject
*_wrap_Window_HasMultiplePages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39666 PyObject
*resultobj
= 0;
39667 wxWindow
*arg1
= (wxWindow
*) 0 ;
39671 PyObject
*swig_obj
[1] ;
39673 if (!args
) SWIG_fail
;
39674 swig_obj
[0] = args
;
39675 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39676 if (!SWIG_IsOK(res1
)) {
39677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_HasMultiplePages" "', expected argument " "1"" of type '" "wxWindow const *""'");
39679 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39682 result
= (bool)((wxWindow
const *)arg1
)->HasMultiplePages();
39683 wxPyEndAllowThreads(__tstate
);
39684 if (PyErr_Occurred()) SWIG_fail
;
39687 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39695 SWIGINTERN PyObject
*_wrap_Window_GetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39696 PyObject
*resultobj
= 0;
39697 wxWindow
*arg1
= (wxWindow
*) 0 ;
39701 PyObject
*swig_obj
[1] ;
39703 if (!args
) SWIG_fail
;
39704 swig_obj
[0] = args
;
39705 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39706 if (!SWIG_IsOK(res1
)) {
39707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetHandle" "', expected argument " "1"" of type '" "wxWindow *""'");
39709 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39712 result
= (long)wxWindow_GetHandle(arg1
);
39713 wxPyEndAllowThreads(__tstate
);
39714 if (PyErr_Occurred()) SWIG_fail
;
39716 resultobj
= SWIG_From_long(static_cast< long >(result
));
39723 SWIGINTERN PyObject
*_wrap_Window_AssociateHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39724 PyObject
*resultobj
= 0;
39725 wxWindow
*arg1
= (wxWindow
*) 0 ;
39731 PyObject
* obj0
= 0 ;
39732 PyObject
* obj1
= 0 ;
39733 char * kwnames
[] = {
39734 (char *) "self",(char *) "handle", NULL
39737 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AssociateHandle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39738 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39739 if (!SWIG_IsOK(res1
)) {
39740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_AssociateHandle" "', expected argument " "1"" of type '" "wxWindow *""'");
39742 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39743 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
39744 if (!SWIG_IsOK(ecode2
)) {
39745 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_AssociateHandle" "', expected argument " "2"" of type '" "long""'");
39747 arg2
= static_cast< long >(val2
);
39749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39750 wxWindow_AssociateHandle(arg1
,arg2
);
39751 wxPyEndAllowThreads(__tstate
);
39752 if (PyErr_Occurred()) SWIG_fail
;
39754 resultobj
= SWIG_Py_Void();
39761 SWIGINTERN PyObject
*_wrap_Window_DissociateHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39762 PyObject
*resultobj
= 0;
39763 wxWindow
*arg1
= (wxWindow
*) 0 ;
39766 PyObject
*swig_obj
[1] ;
39768 if (!args
) SWIG_fail
;
39769 swig_obj
[0] = args
;
39770 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39771 if (!SWIG_IsOK(res1
)) {
39772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_DissociateHandle" "', expected argument " "1"" of type '" "wxWindow *""'");
39774 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39777 (arg1
)->DissociateHandle();
39778 wxPyEndAllowThreads(__tstate
);
39779 if (PyErr_Occurred()) SWIG_fail
;
39781 resultobj
= SWIG_Py_Void();
39788 SWIGINTERN PyObject
*_wrap_Window_OnPaint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39789 PyObject
*resultobj
= 0;
39790 wxWindow
*arg1
= (wxWindow
*) 0 ;
39791 wxPaintEvent
*arg2
= 0 ;
39796 PyObject
* obj0
= 0 ;
39797 PyObject
* obj1
= 0 ;
39798 char * kwnames
[] = {
39799 (char *) "self",(char *) "event", NULL
39802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_OnPaint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39803 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39804 if (!SWIG_IsOK(res1
)) {
39805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_OnPaint" "', expected argument " "1"" of type '" "wxWindow *""'");
39807 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39808 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPaintEvent
, 0 );
39809 if (!SWIG_IsOK(res2
)) {
39810 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_OnPaint" "', expected argument " "2"" of type '" "wxPaintEvent &""'");
39813 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Window_OnPaint" "', expected argument " "2"" of type '" "wxPaintEvent &""'");
39815 arg2
= reinterpret_cast< wxPaintEvent
* >(argp2
);
39817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39818 (arg1
)->OnPaint(*arg2
);
39819 wxPyEndAllowThreads(__tstate
);
39820 if (PyErr_Occurred()) SWIG_fail
;
39822 resultobj
= SWIG_Py_Void();
39829 SWIGINTERN PyObject
*_wrap_Window_HasScrollbar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39830 PyObject
*resultobj
= 0;
39831 wxWindow
*arg1
= (wxWindow
*) 0 ;
39838 PyObject
* obj0
= 0 ;
39839 PyObject
* obj1
= 0 ;
39840 char * kwnames
[] = {
39841 (char *) "self",(char *) "orient", NULL
39844 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasScrollbar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39845 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39846 if (!SWIG_IsOK(res1
)) {
39847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_HasScrollbar" "', expected argument " "1"" of type '" "wxWindow const *""'");
39849 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39850 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39851 if (!SWIG_IsOK(ecode2
)) {
39852 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_HasScrollbar" "', expected argument " "2"" of type '" "int""'");
39854 arg2
= static_cast< int >(val2
);
39856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39857 result
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
39858 wxPyEndAllowThreads(__tstate
);
39859 if (PyErr_Occurred()) SWIG_fail
;
39862 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39870 SWIGINTERN PyObject
*_wrap_Window_SetScrollbar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39871 PyObject
*resultobj
= 0;
39872 wxWindow
*arg1
= (wxWindow
*) 0 ;
39877 bool arg6
= (bool) true ;
39890 PyObject
* obj0
= 0 ;
39891 PyObject
* obj1
= 0 ;
39892 PyObject
* obj2
= 0 ;
39893 PyObject
* obj3
= 0 ;
39894 PyObject
* obj4
= 0 ;
39895 PyObject
* obj5
= 0 ;
39896 char * kwnames
[] = {
39897 (char *) "self",(char *) "orientation",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "refresh", NULL
39900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
39901 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39902 if (!SWIG_IsOK(res1
)) {
39903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetScrollbar" "', expected argument " "1"" of type '" "wxWindow *""'");
39905 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39906 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39907 if (!SWIG_IsOK(ecode2
)) {
39908 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetScrollbar" "', expected argument " "2"" of type '" "int""'");
39910 arg2
= static_cast< int >(val2
);
39911 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39912 if (!SWIG_IsOK(ecode3
)) {
39913 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_SetScrollbar" "', expected argument " "3"" of type '" "int""'");
39915 arg3
= static_cast< int >(val3
);
39916 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
39917 if (!SWIG_IsOK(ecode4
)) {
39918 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Window_SetScrollbar" "', expected argument " "4"" of type '" "int""'");
39920 arg4
= static_cast< int >(val4
);
39921 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
39922 if (!SWIG_IsOK(ecode5
)) {
39923 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Window_SetScrollbar" "', expected argument " "5"" of type '" "int""'");
39925 arg5
= static_cast< int >(val5
);
39927 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
39928 if (!SWIG_IsOK(ecode6
)) {
39929 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Window_SetScrollbar" "', expected argument " "6"" of type '" "bool""'");
39931 arg6
= static_cast< bool >(val6
);
39934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39935 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
39936 wxPyEndAllowThreads(__tstate
);
39937 if (PyErr_Occurred()) SWIG_fail
;
39939 resultobj
= SWIG_Py_Void();
39946 SWIGINTERN PyObject
*_wrap_Window_SetScrollPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39947 PyObject
*resultobj
= 0;
39948 wxWindow
*arg1
= (wxWindow
*) 0 ;
39951 bool arg4
= (bool) true ;
39960 PyObject
* obj0
= 0 ;
39961 PyObject
* obj1
= 0 ;
39962 PyObject
* obj2
= 0 ;
39963 PyObject
* obj3
= 0 ;
39964 char * kwnames
[] = {
39965 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
39968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_SetScrollPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
39969 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39970 if (!SWIG_IsOK(res1
)) {
39971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetScrollPos" "', expected argument " "1"" of type '" "wxWindow *""'");
39973 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39974 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39975 if (!SWIG_IsOK(ecode2
)) {
39976 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetScrollPos" "', expected argument " "2"" of type '" "int""'");
39978 arg2
= static_cast< int >(val2
);
39979 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39980 if (!SWIG_IsOK(ecode3
)) {
39981 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_SetScrollPos" "', expected argument " "3"" of type '" "int""'");
39983 arg3
= static_cast< int >(val3
);
39985 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
39986 if (!SWIG_IsOK(ecode4
)) {
39987 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Window_SetScrollPos" "', expected argument " "4"" of type '" "bool""'");
39989 arg4
= static_cast< bool >(val4
);
39992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39993 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
39994 wxPyEndAllowThreads(__tstate
);
39995 if (PyErr_Occurred()) SWIG_fail
;
39997 resultobj
= SWIG_Py_Void();
40004 SWIGINTERN PyObject
*_wrap_Window_GetScrollPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40005 PyObject
*resultobj
= 0;
40006 wxWindow
*arg1
= (wxWindow
*) 0 ;
40013 PyObject
* obj0
= 0 ;
40014 PyObject
* obj1
= 0 ;
40015 char * kwnames
[] = {
40016 (char *) "self",(char *) "orientation", NULL
40019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40020 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40021 if (!SWIG_IsOK(res1
)) {
40022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetScrollPos" "', expected argument " "1"" of type '" "wxWindow const *""'");
40024 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40025 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40026 if (!SWIG_IsOK(ecode2
)) {
40027 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_GetScrollPos" "', expected argument " "2"" of type '" "int""'");
40029 arg2
= static_cast< int >(val2
);
40031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40032 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
40033 wxPyEndAllowThreads(__tstate
);
40034 if (PyErr_Occurred()) SWIG_fail
;
40036 resultobj
= SWIG_From_int(static_cast< int >(result
));
40043 SWIGINTERN PyObject
*_wrap_Window_GetScrollThumb(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40044 PyObject
*resultobj
= 0;
40045 wxWindow
*arg1
= (wxWindow
*) 0 ;
40052 PyObject
* obj0
= 0 ;
40053 PyObject
* obj1
= 0 ;
40054 char * kwnames
[] = {
40055 (char *) "self",(char *) "orientation", NULL
40058 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollThumb",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40059 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40060 if (!SWIG_IsOK(res1
)) {
40061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetScrollThumb" "', expected argument " "1"" of type '" "wxWindow const *""'");
40063 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40064 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40065 if (!SWIG_IsOK(ecode2
)) {
40066 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_GetScrollThumb" "', expected argument " "2"" of type '" "int""'");
40068 arg2
= static_cast< int >(val2
);
40070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40071 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
40072 wxPyEndAllowThreads(__tstate
);
40073 if (PyErr_Occurred()) SWIG_fail
;
40075 resultobj
= SWIG_From_int(static_cast< int >(result
));
40082 SWIGINTERN PyObject
*_wrap_Window_GetScrollRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40083 PyObject
*resultobj
= 0;
40084 wxWindow
*arg1
= (wxWindow
*) 0 ;
40091 PyObject
* obj0
= 0 ;
40092 PyObject
* obj1
= 0 ;
40093 char * kwnames
[] = {
40094 (char *) "self",(char *) "orientation", NULL
40097 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollRange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40098 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40099 if (!SWIG_IsOK(res1
)) {
40100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetScrollRange" "', expected argument " "1"" of type '" "wxWindow const *""'");
40102 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40103 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40104 if (!SWIG_IsOK(ecode2
)) {
40105 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_GetScrollRange" "', expected argument " "2"" of type '" "int""'");
40107 arg2
= static_cast< int >(val2
);
40109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40110 result
= (int)((wxWindow
const *)arg1
)->GetScrollRange(arg2
);
40111 wxPyEndAllowThreads(__tstate
);
40112 if (PyErr_Occurred()) SWIG_fail
;
40114 resultobj
= SWIG_From_int(static_cast< int >(result
));
40121 SWIGINTERN PyObject
*_wrap_Window_ScrollWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40122 PyObject
*resultobj
= 0;
40123 wxWindow
*arg1
= (wxWindow
*) 0 ;
40126 wxRect
*arg4
= (wxRect
*) NULL
;
40135 PyObject
* obj0
= 0 ;
40136 PyObject
* obj1
= 0 ;
40137 PyObject
* obj2
= 0 ;
40138 PyObject
* obj3
= 0 ;
40139 char * kwnames
[] = {
40140 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
40143 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_ScrollWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
40144 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40145 if (!SWIG_IsOK(res1
)) {
40146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ScrollWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
40148 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40149 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40150 if (!SWIG_IsOK(ecode2
)) {
40151 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_ScrollWindow" "', expected argument " "2"" of type '" "int""'");
40153 arg2
= static_cast< int >(val2
);
40154 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
40155 if (!SWIG_IsOK(ecode3
)) {
40156 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_ScrollWindow" "', expected argument " "3"" of type '" "int""'");
40158 arg3
= static_cast< int >(val3
);
40160 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxRect
, 0 | 0 );
40161 if (!SWIG_IsOK(res4
)) {
40162 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Window_ScrollWindow" "', expected argument " "4"" of type '" "wxRect const *""'");
40164 arg4
= reinterpret_cast< wxRect
* >(argp4
);
40167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40168 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
40169 wxPyEndAllowThreads(__tstate
);
40170 if (PyErr_Occurred()) SWIG_fail
;
40172 resultobj
= SWIG_Py_Void();
40179 SWIGINTERN PyObject
*_wrap_Window_ScrollLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40180 PyObject
*resultobj
= 0;
40181 wxWindow
*arg1
= (wxWindow
*) 0 ;
40188 PyObject
* obj0
= 0 ;
40189 PyObject
* obj1
= 0 ;
40190 char * kwnames
[] = {
40191 (char *) "self",(char *) "lines", NULL
40194 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollLines",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40195 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40196 if (!SWIG_IsOK(res1
)) {
40197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ScrollLines" "', expected argument " "1"" of type '" "wxWindow *""'");
40199 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40200 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40201 if (!SWIG_IsOK(ecode2
)) {
40202 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_ScrollLines" "', expected argument " "2"" of type '" "int""'");
40204 arg2
= static_cast< int >(val2
);
40206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40207 result
= (bool)(arg1
)->ScrollLines(arg2
);
40208 wxPyEndAllowThreads(__tstate
);
40209 if (PyErr_Occurred()) SWIG_fail
;
40212 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40220 SWIGINTERN PyObject
*_wrap_Window_ScrollPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40221 PyObject
*resultobj
= 0;
40222 wxWindow
*arg1
= (wxWindow
*) 0 ;
40229 PyObject
* obj0
= 0 ;
40230 PyObject
* obj1
= 0 ;
40231 char * kwnames
[] = {
40232 (char *) "self",(char *) "pages", NULL
40235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollPages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40236 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40237 if (!SWIG_IsOK(res1
)) {
40238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ScrollPages" "', expected argument " "1"" of type '" "wxWindow *""'");
40240 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40241 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40242 if (!SWIG_IsOK(ecode2
)) {
40243 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_ScrollPages" "', expected argument " "2"" of type '" "int""'");
40245 arg2
= static_cast< int >(val2
);
40247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40248 result
= (bool)(arg1
)->ScrollPages(arg2
);
40249 wxPyEndAllowThreads(__tstate
);
40250 if (PyErr_Occurred()) SWIG_fail
;
40253 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40261 SWIGINTERN PyObject
*_wrap_Window_LineUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40262 PyObject
*resultobj
= 0;
40263 wxWindow
*arg1
= (wxWindow
*) 0 ;
40267 PyObject
*swig_obj
[1] ;
40269 if (!args
) SWIG_fail
;
40270 swig_obj
[0] = args
;
40271 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40272 if (!SWIG_IsOK(res1
)) {
40273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_LineUp" "', expected argument " "1"" of type '" "wxWindow *""'");
40275 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40278 result
= (bool)(arg1
)->LineUp();
40279 wxPyEndAllowThreads(__tstate
);
40280 if (PyErr_Occurred()) SWIG_fail
;
40283 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40291 SWIGINTERN PyObject
*_wrap_Window_LineDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40292 PyObject
*resultobj
= 0;
40293 wxWindow
*arg1
= (wxWindow
*) 0 ;
40297 PyObject
*swig_obj
[1] ;
40299 if (!args
) SWIG_fail
;
40300 swig_obj
[0] = args
;
40301 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40302 if (!SWIG_IsOK(res1
)) {
40303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_LineDown" "', expected argument " "1"" of type '" "wxWindow *""'");
40305 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40308 result
= (bool)(arg1
)->LineDown();
40309 wxPyEndAllowThreads(__tstate
);
40310 if (PyErr_Occurred()) SWIG_fail
;
40313 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40321 SWIGINTERN PyObject
*_wrap_Window_PageUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40322 PyObject
*resultobj
= 0;
40323 wxWindow
*arg1
= (wxWindow
*) 0 ;
40327 PyObject
*swig_obj
[1] ;
40329 if (!args
) SWIG_fail
;
40330 swig_obj
[0] = args
;
40331 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40332 if (!SWIG_IsOK(res1
)) {
40333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_PageUp" "', expected argument " "1"" of type '" "wxWindow *""'");
40335 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40338 result
= (bool)(arg1
)->PageUp();
40339 wxPyEndAllowThreads(__tstate
);
40340 if (PyErr_Occurred()) SWIG_fail
;
40343 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40351 SWIGINTERN PyObject
*_wrap_Window_PageDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40352 PyObject
*resultobj
= 0;
40353 wxWindow
*arg1
= (wxWindow
*) 0 ;
40357 PyObject
*swig_obj
[1] ;
40359 if (!args
) SWIG_fail
;
40360 swig_obj
[0] = args
;
40361 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40362 if (!SWIG_IsOK(res1
)) {
40363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_PageDown" "', expected argument " "1"" of type '" "wxWindow *""'");
40365 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40368 result
= (bool)(arg1
)->PageDown();
40369 wxPyEndAllowThreads(__tstate
);
40370 if (PyErr_Occurred()) SWIG_fail
;
40373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40381 SWIGINTERN PyObject
*_wrap_Window_SetHelpText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40382 PyObject
*resultobj
= 0;
40383 wxWindow
*arg1
= (wxWindow
*) 0 ;
40384 wxString
*arg2
= 0 ;
40387 bool temp2
= false ;
40388 PyObject
* obj0
= 0 ;
40389 PyObject
* obj1
= 0 ;
40390 char * kwnames
[] = {
40391 (char *) "self",(char *) "text", NULL
40394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40395 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40396 if (!SWIG_IsOK(res1
)) {
40397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetHelpText" "', expected argument " "1"" of type '" "wxWindow *""'");
40399 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40401 arg2
= wxString_in_helper(obj1
);
40402 if (arg2
== NULL
) SWIG_fail
;
40406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40407 (arg1
)->SetHelpText((wxString
const &)*arg2
);
40408 wxPyEndAllowThreads(__tstate
);
40409 if (PyErr_Occurred()) SWIG_fail
;
40411 resultobj
= SWIG_Py_Void();
40426 SWIGINTERN PyObject
*_wrap_Window_SetHelpTextForId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40427 PyObject
*resultobj
= 0;
40428 wxWindow
*arg1
= (wxWindow
*) 0 ;
40429 wxString
*arg2
= 0 ;
40432 bool temp2
= false ;
40433 PyObject
* obj0
= 0 ;
40434 PyObject
* obj1
= 0 ;
40435 char * kwnames
[] = {
40436 (char *) "self",(char *) "text", NULL
40439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40440 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40441 if (!SWIG_IsOK(res1
)) {
40442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetHelpTextForId" "', expected argument " "1"" of type '" "wxWindow *""'");
40444 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40446 arg2
= wxString_in_helper(obj1
);
40447 if (arg2
== NULL
) SWIG_fail
;
40451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40452 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
40453 wxPyEndAllowThreads(__tstate
);
40454 if (PyErr_Occurred()) SWIG_fail
;
40456 resultobj
= SWIG_Py_Void();
40471 SWIGINTERN PyObject
*_wrap_Window_GetHelpTextAtPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40472 PyObject
*resultobj
= 0;
40473 wxWindow
*arg1
= (wxWindow
*) 0 ;
40474 wxPoint
*arg2
= 0 ;
40475 wxHelpEvent::Origin arg3
;
40482 PyObject
* obj0
= 0 ;
40483 PyObject
* obj1
= 0 ;
40484 PyObject
* obj2
= 0 ;
40485 char * kwnames
[] = {
40486 (char *) "self",(char *) "pt",(char *) "origin", NULL
40489 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_GetHelpTextAtPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40490 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40491 if (!SWIG_IsOK(res1
)) {
40492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetHelpTextAtPoint" "', expected argument " "1"" of type '" "wxWindow const *""'");
40494 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40497 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40500 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxHelpEvent__Origin
, 0 | 0);
40501 if (!SWIG_IsOK(res3
)) {
40502 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Window_GetHelpTextAtPoint" "', expected argument " "3"" of type '" "wxHelpEvent::Origin""'");
40505 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Window_GetHelpTextAtPoint" "', expected argument " "3"" of type '" "wxHelpEvent::Origin""'");
40507 wxHelpEvent::Origin
* temp
= reinterpret_cast< wxHelpEvent::Origin
* >(argp3
);
40509 if (SWIG_IsNewObj(res3
)) delete temp
;
40513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40514 result
= ((wxWindow
const *)arg1
)->GetHelpTextAtPoint((wxPoint
const &)*arg2
,arg3
);
40515 wxPyEndAllowThreads(__tstate
);
40516 if (PyErr_Occurred()) SWIG_fail
;
40520 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
40522 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
40531 SWIGINTERN PyObject
*_wrap_Window_GetHelpText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40532 PyObject
*resultobj
= 0;
40533 wxWindow
*arg1
= (wxWindow
*) 0 ;
40537 PyObject
*swig_obj
[1] ;
40539 if (!args
) SWIG_fail
;
40540 swig_obj
[0] = args
;
40541 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40542 if (!SWIG_IsOK(res1
)) {
40543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetHelpText" "', expected argument " "1"" of type '" "wxWindow const *""'");
40545 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40548 result
= ((wxWindow
const *)arg1
)->GetHelpText();
40549 wxPyEndAllowThreads(__tstate
);
40550 if (PyErr_Occurred()) SWIG_fail
;
40554 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
40556 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
40565 SWIGINTERN PyObject
*_wrap_Window_SetToolTipString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40566 PyObject
*resultobj
= 0;
40567 wxWindow
*arg1
= (wxWindow
*) 0 ;
40568 wxString
*arg2
= 0 ;
40571 bool temp2
= false ;
40572 PyObject
* obj0
= 0 ;
40573 PyObject
* obj1
= 0 ;
40574 char * kwnames
[] = {
40575 (char *) "self",(char *) "tip", NULL
40578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40579 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40580 if (!SWIG_IsOK(res1
)) {
40581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetToolTipString" "', expected argument " "1"" of type '" "wxWindow *""'");
40583 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40585 arg2
= wxString_in_helper(obj1
);
40586 if (arg2
== NULL
) SWIG_fail
;
40590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40591 (arg1
)->SetToolTip((wxString
const &)*arg2
);
40592 wxPyEndAllowThreads(__tstate
);
40593 if (PyErr_Occurred()) SWIG_fail
;
40595 resultobj
= SWIG_Py_Void();
40610 SWIGINTERN PyObject
*_wrap_Window_SetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40611 PyObject
*resultobj
= 0;
40612 wxWindow
*arg1
= (wxWindow
*) 0 ;
40613 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
40617 PyObject
* obj0
= 0 ;
40618 PyObject
* obj1
= 0 ;
40619 char * kwnames
[] = {
40620 (char *) "self",(char *) "tip", NULL
40623 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40624 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40625 if (!SWIG_IsOK(res1
)) {
40626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetToolTip" "', expected argument " "1"" of type '" "wxWindow *""'");
40628 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40629 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxToolTip
, SWIG_POINTER_DISOWN
| 0 );
40630 if (!SWIG_IsOK(res2
)) {
40631 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetToolTip" "', expected argument " "2"" of type '" "wxToolTip *""'");
40634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40635 (arg1
)->SetToolTip(arg2
);
40636 wxPyEndAllowThreads(__tstate
);
40637 if (PyErr_Occurred()) SWIG_fail
;
40639 resultobj
= SWIG_Py_Void();
40646 SWIGINTERN PyObject
*_wrap_Window_GetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40647 PyObject
*resultobj
= 0;
40648 wxWindow
*arg1
= (wxWindow
*) 0 ;
40649 wxToolTip
*result
= 0 ;
40652 PyObject
*swig_obj
[1] ;
40654 if (!args
) SWIG_fail
;
40655 swig_obj
[0] = args
;
40656 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40657 if (!SWIG_IsOK(res1
)) {
40658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetToolTip" "', expected argument " "1"" of type '" "wxWindow const *""'");
40660 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40663 result
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
40664 wxPyEndAllowThreads(__tstate
);
40665 if (PyErr_Occurred()) SWIG_fail
;
40668 resultobj
= wxPyMake_wxObject(result
, (bool)0);
40676 SWIGINTERN PyObject
*_wrap_Window_SetDropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40677 PyObject
*resultobj
= 0;
40678 wxWindow
*arg1
= (wxWindow
*) 0 ;
40679 wxPyDropTarget
*arg2
= (wxPyDropTarget
*) 0 ;
40683 PyObject
* obj0
= 0 ;
40684 PyObject
* obj1
= 0 ;
40685 char * kwnames
[] = {
40686 (char *) "self",(char *) "dropTarget", NULL
40689 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40690 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40691 if (!SWIG_IsOK(res1
)) {
40692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetDropTarget" "', expected argument " "1"" of type '" "wxWindow *""'");
40694 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40695 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_DISOWN
| 0 );
40696 if (!SWIG_IsOK(res2
)) {
40697 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetDropTarget" "', expected argument " "2"" of type '" "wxPyDropTarget *""'");
40700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40701 (arg1
)->SetDropTarget(arg2
);
40702 wxPyEndAllowThreads(__tstate
);
40703 if (PyErr_Occurred()) SWIG_fail
;
40705 resultobj
= SWIG_Py_Void();
40712 SWIGINTERN PyObject
*_wrap_Window_GetDropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40713 PyObject
*resultobj
= 0;
40714 wxWindow
*arg1
= (wxWindow
*) 0 ;
40715 wxPyDropTarget
*result
= 0 ;
40718 PyObject
*swig_obj
[1] ;
40720 if (!args
) SWIG_fail
;
40721 swig_obj
[0] = args
;
40722 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40723 if (!SWIG_IsOK(res1
)) {
40724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetDropTarget" "', expected argument " "1"" of type '" "wxWindow const *""'");
40726 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40729 result
= (wxPyDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
40730 wxPyEndAllowThreads(__tstate
);
40731 if (PyErr_Occurred()) SWIG_fail
;
40733 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
40740 SWIGINTERN PyObject
*_wrap_Window_DragAcceptFiles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40741 PyObject
*resultobj
= 0;
40742 wxWindow
*arg1
= (wxWindow
*) 0 ;
40748 PyObject
* obj0
= 0 ;
40749 PyObject
* obj1
= 0 ;
40750 char * kwnames
[] = {
40751 (char *) "self",(char *) "accept", NULL
40754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DragAcceptFiles",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40755 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40756 if (!SWIG_IsOK(res1
)) {
40757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_DragAcceptFiles" "', expected argument " "1"" of type '" "wxWindow *""'");
40759 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40760 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
40761 if (!SWIG_IsOK(ecode2
)) {
40762 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_DragAcceptFiles" "', expected argument " "2"" of type '" "bool""'");
40764 arg2
= static_cast< bool >(val2
);
40766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40767 (arg1
)->DragAcceptFiles(arg2
);
40768 wxPyEndAllowThreads(__tstate
);
40769 if (PyErr_Occurred()) SWIG_fail
;
40771 resultobj
= SWIG_Py_Void();
40778 SWIGINTERN PyObject
*_wrap_Window_SetConstraints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40779 PyObject
*resultobj
= 0;
40780 wxWindow
*arg1
= (wxWindow
*) 0 ;
40781 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
40785 PyObject
* obj0
= 0 ;
40786 PyObject
* obj1
= 0 ;
40787 char * kwnames
[] = {
40788 (char *) "self",(char *) "constraints", NULL
40791 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40792 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40793 if (!SWIG_IsOK(res1
)) {
40794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetConstraints" "', expected argument " "1"" of type '" "wxWindow *""'");
40796 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40797 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_DISOWN
| 0 );
40798 if (!SWIG_IsOK(res2
)) {
40799 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetConstraints" "', expected argument " "2"" of type '" "wxLayoutConstraints *""'");
40802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40803 (arg1
)->SetConstraints(arg2
);
40804 wxPyEndAllowThreads(__tstate
);
40805 if (PyErr_Occurred()) SWIG_fail
;
40807 resultobj
= SWIG_Py_Void();
40814 SWIGINTERN PyObject
*_wrap_Window_GetConstraints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40815 PyObject
*resultobj
= 0;
40816 wxWindow
*arg1
= (wxWindow
*) 0 ;
40817 wxLayoutConstraints
*result
= 0 ;
40820 PyObject
*swig_obj
[1] ;
40822 if (!args
) SWIG_fail
;
40823 swig_obj
[0] = args
;
40824 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40825 if (!SWIG_IsOK(res1
)) {
40826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetConstraints" "', expected argument " "1"" of type '" "wxWindow const *""'");
40828 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40831 result
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
40832 wxPyEndAllowThreads(__tstate
);
40833 if (PyErr_Occurred()) SWIG_fail
;
40835 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
40842 SWIGINTERN PyObject
*_wrap_Window_SetAutoLayout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40843 PyObject
*resultobj
= 0;
40844 wxWindow
*arg1
= (wxWindow
*) 0 ;
40850 PyObject
* obj0
= 0 ;
40851 PyObject
* obj1
= 0 ;
40852 char * kwnames
[] = {
40853 (char *) "self",(char *) "autoLayout", NULL
40856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40857 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40858 if (!SWIG_IsOK(res1
)) {
40859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetAutoLayout" "', expected argument " "1"" of type '" "wxWindow *""'");
40861 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40862 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
40863 if (!SWIG_IsOK(ecode2
)) {
40864 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetAutoLayout" "', expected argument " "2"" of type '" "bool""'");
40866 arg2
= static_cast< bool >(val2
);
40868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40869 (arg1
)->SetAutoLayout(arg2
);
40870 wxPyEndAllowThreads(__tstate
);
40871 if (PyErr_Occurred()) SWIG_fail
;
40873 resultobj
= SWIG_Py_Void();
40880 SWIGINTERN PyObject
*_wrap_Window_GetAutoLayout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40881 PyObject
*resultobj
= 0;
40882 wxWindow
*arg1
= (wxWindow
*) 0 ;
40886 PyObject
*swig_obj
[1] ;
40888 if (!args
) SWIG_fail
;
40889 swig_obj
[0] = args
;
40890 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40891 if (!SWIG_IsOK(res1
)) {
40892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetAutoLayout" "', expected argument " "1"" of type '" "wxWindow const *""'");
40894 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40897 result
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
40898 wxPyEndAllowThreads(__tstate
);
40899 if (PyErr_Occurred()) SWIG_fail
;
40902 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40910 SWIGINTERN PyObject
*_wrap_Window_Layout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40911 PyObject
*resultobj
= 0;
40912 wxWindow
*arg1
= (wxWindow
*) 0 ;
40916 PyObject
*swig_obj
[1] ;
40918 if (!args
) SWIG_fail
;
40919 swig_obj
[0] = args
;
40920 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40921 if (!SWIG_IsOK(res1
)) {
40922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Layout" "', expected argument " "1"" of type '" "wxWindow *""'");
40924 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40927 result
= (bool)(arg1
)->Layout();
40928 wxPyEndAllowThreads(__tstate
);
40929 if (PyErr_Occurred()) SWIG_fail
;
40932 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40940 SWIGINTERN PyObject
*_wrap_Window_SetSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40941 PyObject
*resultobj
= 0;
40942 wxWindow
*arg1
= (wxWindow
*) 0 ;
40943 wxSizer
*arg2
= (wxSizer
*) 0 ;
40944 bool arg3
= (bool) true ;
40950 PyObject
* obj0
= 0 ;
40951 PyObject
* obj1
= 0 ;
40952 PyObject
* obj2
= 0 ;
40953 char * kwnames
[] = {
40954 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
40957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40958 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40959 if (!SWIG_IsOK(res1
)) {
40960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetSizer" "', expected argument " "1"" of type '" "wxWindow *""'");
40962 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40963 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxSizer
, SWIG_POINTER_DISOWN
| 0 );
40964 if (!SWIG_IsOK(res2
)) {
40965 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetSizer" "', expected argument " "2"" of type '" "wxSizer *""'");
40968 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
40969 if (!SWIG_IsOK(ecode3
)) {
40970 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_SetSizer" "', expected argument " "3"" of type '" "bool""'");
40972 arg3
= static_cast< bool >(val3
);
40975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40976 (arg1
)->SetSizer(arg2
,arg3
);
40977 wxPyEndAllowThreads(__tstate
);
40978 if (PyErr_Occurred()) SWIG_fail
;
40980 resultobj
= SWIG_Py_Void();
40987 SWIGINTERN PyObject
*_wrap_Window_SetSizerAndFit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40988 PyObject
*resultobj
= 0;
40989 wxWindow
*arg1
= (wxWindow
*) 0 ;
40990 wxSizer
*arg2
= (wxSizer
*) 0 ;
40991 bool arg3
= (bool) true ;
40997 PyObject
* obj0
= 0 ;
40998 PyObject
* obj1
= 0 ;
40999 PyObject
* obj2
= 0 ;
41000 char * kwnames
[] = {
41001 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
41004 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41005 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41006 if (!SWIG_IsOK(res1
)) {
41007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetSizerAndFit" "', expected argument " "1"" of type '" "wxWindow *""'");
41009 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
41010 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxSizer
, SWIG_POINTER_DISOWN
| 0 );
41011 if (!SWIG_IsOK(res2
)) {
41012 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetSizerAndFit" "', expected argument " "2"" of type '" "wxSizer *""'");
41015 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
41016 if (!SWIG_IsOK(ecode3
)) {
41017 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_SetSizerAndFit" "', expected argument " "3"" of type '" "bool""'");
41019 arg3
= static_cast< bool >(val3
);
41022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41023 (arg1
)->SetSizerAndFit(arg2
,arg3
);
41024 wxPyEndAllowThreads(__tstate
);
41025 if (PyErr_Occurred()) SWIG_fail
;
41027 resultobj
= SWIG_Py_Void();
41034 SWIGINTERN PyObject
*_wrap_Window_GetSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41035 PyObject
*resultobj
= 0;
41036 wxWindow
*arg1
= (wxWindow
*) 0 ;
41037 wxSizer
*result
= 0 ;
41040 PyObject
*swig_obj
[1] ;
41042 if (!args
) SWIG_fail
;
41043 swig_obj
[0] = args
;
41044 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41045 if (!SWIG_IsOK(res1
)) {
41046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetSizer" "', expected argument " "1"" of type '" "wxWindow const *""'");
41048 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
41050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41051 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
41052 wxPyEndAllowThreads(__tstate
);
41053 if (PyErr_Occurred()) SWIG_fail
;
41056 resultobj
= wxPyMake_wxObject(result
, (bool)0);
41064 SWIGINTERN PyObject
*_wrap_Window_SetContainingSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41065 PyObject
*resultobj
= 0;
41066 wxWindow
*arg1
= (wxWindow
*) 0 ;
41067 wxSizer
*arg2
= (wxSizer
*) 0 ;
41072 PyObject
* obj0
= 0 ;
41073 PyObject
* obj1
= 0 ;
41074 char * kwnames
[] = {
41075 (char *) "self",(char *) "sizer", NULL
41078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41079 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41080 if (!SWIG_IsOK(res1
)) {
41081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetContainingSizer" "', expected argument " "1"" of type '" "wxWindow *""'");
41083 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
41084 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxSizer
, 0 | 0 );
41085 if (!SWIG_IsOK(res2
)) {
41086 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetContainingSizer" "', expected argument " "2"" of type '" "wxSizer *""'");
41088 arg2
= reinterpret_cast< wxSizer
* >(argp2
);
41090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41091 (arg1
)->SetContainingSizer(arg2
);
41092 wxPyEndAllowThreads(__tstate
);
41093 if (PyErr_Occurred()) SWIG_fail
;
41095 resultobj
= SWIG_Py_Void();
41102 SWIGINTERN PyObject
*_wrap_Window_GetContainingSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41103 PyObject
*resultobj
= 0;
41104 wxWindow
*arg1
= (wxWindow
*) 0 ;
41105 wxSizer
*result
= 0 ;
41108 PyObject
*swig_obj
[1] ;
41110 if (!args
) SWIG_fail
;
41111 swig_obj
[0] = args
;
41112 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41113 if (!SWIG_IsOK(res1
)) {
41114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetContainingSizer" "', expected argument " "1"" of type '" "wxWindow const *""'");
41116 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
41118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41119 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetContainingSizer();
41120 wxPyEndAllowThreads(__tstate
);
41121 if (PyErr_Occurred()) SWIG_fail
;
41124 resultobj
= wxPyMake_wxObject(result
, (bool)0);
41132 SWIGINTERN PyObject
*_wrap_Window_InheritAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41133 PyObject
*resultobj
= 0;
41134 wxWindow
*arg1
= (wxWindow
*) 0 ;
41137 PyObject
*swig_obj
[1] ;
41139 if (!args
) SWIG_fail
;
41140 swig_obj
[0] = args
;
41141 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41142 if (!SWIG_IsOK(res1
)) {
41143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_InheritAttributes" "', expected argument " "1"" of type '" "wxWindow *""'");
41145 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
41147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41148 (arg1
)->InheritAttributes();
41149 wxPyEndAllowThreads(__tstate
);
41150 if (PyErr_Occurred()) SWIG_fail
;
41152 resultobj
= SWIG_Py_Void();
41159 SWIGINTERN PyObject
*_wrap_Window_ShouldInheritColours(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41160 PyObject
*resultobj
= 0;
41161 wxWindow
*arg1
= (wxWindow
*) 0 ;
41165 PyObject
*swig_obj
[1] ;
41167 if (!args
) SWIG_fail
;
41168 swig_obj
[0] = args
;
41169 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41170 if (!SWIG_IsOK(res1
)) {
41171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ShouldInheritColours" "', expected argument " "1"" of type '" "wxWindow const *""'");
41173 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
41175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41176 result
= (bool)((wxWindow
const *)arg1
)->ShouldInheritColours();
41177 wxPyEndAllowThreads(__tstate
);
41178 if (PyErr_Occurred()) SWIG_fail
;
41181 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41189 SWIGINTERN PyObject
*_wrap_Window_CanSetTransparent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41190 PyObject
*resultobj
= 0;
41191 wxWindow
*arg1
= (wxWindow
*) 0 ;
41195 PyObject
*swig_obj
[1] ;
41197 if (!args
) SWIG_fail
;
41198 swig_obj
[0] = args
;
41199 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41200 if (!SWIG_IsOK(res1
)) {
41201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_CanSetTransparent" "', expected argument " "1"" of type '" "wxWindow *""'");
41203 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
41205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41206 result
= (bool)(arg1
)->CanSetTransparent();
41207 wxPyEndAllowThreads(__tstate
);
41208 if (PyErr_Occurred()) SWIG_fail
;
41211 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41219 SWIGINTERN PyObject
*_wrap_Window_SetTransparent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41220 PyObject
*resultobj
= 0;
41221 wxWindow
*arg1
= (wxWindow
*) 0 ;
41226 unsigned char val2
;
41228 PyObject
* obj0
= 0 ;
41229 PyObject
* obj1
= 0 ;
41230 char * kwnames
[] = {
41231 (char *) "self",(char *) "alpha", NULL
41234 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTransparent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41235 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41236 if (!SWIG_IsOK(res1
)) {
41237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetTransparent" "', expected argument " "1"" of type '" "wxWindow *""'");
41239 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
41240 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
41241 if (!SWIG_IsOK(ecode2
)) {
41242 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetTransparent" "', expected argument " "2"" of type '" "byte""'");
41244 arg2
= static_cast< byte
>(val2
);
41246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41247 result
= (bool)(arg1
)->SetTransparent(arg2
);
41248 wxPyEndAllowThreads(__tstate
);
41249 if (PyErr_Occurred()) SWIG_fail
;
41252 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41260 SWIGINTERN PyObject
*Window_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41262 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
41263 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindow
, SWIG_NewClientData(obj
));
41264 return SWIG_Py_Void();
41267 SWIGINTERN PyObject
*Window_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41268 return SWIG_Python_InitShadowInstance(args
);
41271 SWIGINTERN PyObject
*_wrap_FindWindowById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41272 PyObject
*resultobj
= 0;
41274 wxWindow
*arg2
= (wxWindow
*) NULL
;
41275 wxWindow
*result
= 0 ;
41280 PyObject
* obj0
= 0 ;
41281 PyObject
* obj1
= 0 ;
41282 char * kwnames
[] = {
41283 (char *) "id",(char *) "parent", NULL
41286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowById",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41287 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
41288 if (!SWIG_IsOK(ecode1
)) {
41289 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FindWindowById" "', expected argument " "1"" of type '" "long""'");
41291 arg1
= static_cast< long >(val1
);
41293 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41294 if (!SWIG_IsOK(res2
)) {
41295 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindWindowById" "', expected argument " "2"" of type '" "wxWindow const *""'");
41297 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
41300 if (!wxPyCheckForApp()) SWIG_fail
;
41301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41302 result
= (wxWindow
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
41303 wxPyEndAllowThreads(__tstate
);
41304 if (PyErr_Occurred()) SWIG_fail
;
41307 resultobj
= wxPyMake_wxObject(result
, 0);
41315 SWIGINTERN PyObject
*_wrap_FindWindowByName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41316 PyObject
*resultobj
= 0;
41317 wxString
*arg1
= 0 ;
41318 wxWindow
*arg2
= (wxWindow
*) NULL
;
41319 wxWindow
*result
= 0 ;
41320 bool temp1
= false ;
41323 PyObject
* obj0
= 0 ;
41324 PyObject
* obj1
= 0 ;
41325 char * kwnames
[] = {
41326 (char *) "name",(char *) "parent", NULL
41329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41331 arg1
= wxString_in_helper(obj0
);
41332 if (arg1
== NULL
) SWIG_fail
;
41336 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41337 if (!SWIG_IsOK(res2
)) {
41338 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindWindowByName" "', expected argument " "2"" of type '" "wxWindow const *""'");
41340 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
41343 if (!wxPyCheckForApp()) SWIG_fail
;
41344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41345 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
41346 wxPyEndAllowThreads(__tstate
);
41347 if (PyErr_Occurred()) SWIG_fail
;
41350 resultobj
= wxPyMake_wxObject(result
, 0);
41366 SWIGINTERN PyObject
*_wrap_FindWindowByLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41367 PyObject
*resultobj
= 0;
41368 wxString
*arg1
= 0 ;
41369 wxWindow
*arg2
= (wxWindow
*) NULL
;
41370 wxWindow
*result
= 0 ;
41371 bool temp1
= false ;
41374 PyObject
* obj0
= 0 ;
41375 PyObject
* obj1
= 0 ;
41376 char * kwnames
[] = {
41377 (char *) "label",(char *) "parent", NULL
41380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41382 arg1
= wxString_in_helper(obj0
);
41383 if (arg1
== NULL
) SWIG_fail
;
41387 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41388 if (!SWIG_IsOK(res2
)) {
41389 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindWindowByLabel" "', expected argument " "2"" of type '" "wxWindow const *""'");
41391 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
41394 if (!wxPyCheckForApp()) SWIG_fail
;
41395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41396 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
41397 wxPyEndAllowThreads(__tstate
);
41398 if (PyErr_Occurred()) SWIG_fail
;
41401 resultobj
= wxPyMake_wxObject(result
, 0);
41417 SWIGINTERN PyObject
*_wrap_Window_FromHWND(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41418 PyObject
*resultobj
= 0;
41419 wxWindow
*arg1
= (wxWindow
*) 0 ;
41420 unsigned long arg2
;
41421 wxWindow
*result
= 0 ;
41424 unsigned long val2
;
41426 PyObject
* obj0
= 0 ;
41427 PyObject
* obj1
= 0 ;
41428 char * kwnames
[] = {
41429 (char *) "parent",(char *) "_hWnd", NULL
41432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FromHWND",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41433 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41434 if (!SWIG_IsOK(res1
)) {
41435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_FromHWND" "', expected argument " "1"" of type '" "wxWindow *""'");
41437 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
41438 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
41439 if (!SWIG_IsOK(ecode2
)) {
41440 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_FromHWND" "', expected argument " "2"" of type '" "unsigned long""'");
41442 arg2
= static_cast< unsigned long >(val2
);
41444 if (!wxPyCheckForApp()) SWIG_fail
;
41445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41446 result
= (wxWindow
*)wxWindow_FromHWND(arg1
,arg2
);
41447 wxPyEndAllowThreads(__tstate
);
41448 if (PyErr_Occurred()) SWIG_fail
;
41451 resultobj
= wxPyMake_wxObject(result
, 0);
41459 SWIGINTERN PyObject
*_wrap_GetTopLevelWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41460 PyObject
*resultobj
= 0;
41461 PyObject
*result
= 0 ;
41463 if (!SWIG_Python_UnpackTuple(args
,"GetTopLevelWindows",0,0,0)) SWIG_fail
;
41465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41466 result
= (PyObject
*)GetTopLevelWindows();
41467 wxPyEndAllowThreads(__tstate
);
41468 if (PyErr_Occurred()) SWIG_fail
;
41470 resultobj
= result
;
41477 SWIGINTERN PyObject
*_wrap_new_Validator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41478 PyObject
*resultobj
= 0;
41479 wxValidator
*result
= 0 ;
41481 if (!SWIG_Python_UnpackTuple(args
,"new_Validator",0,0,0)) SWIG_fail
;
41483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41484 result
= (wxValidator
*)new wxValidator();
41485 wxPyEndAllowThreads(__tstate
);
41486 if (PyErr_Occurred()) SWIG_fail
;
41488 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxValidator
, SWIG_POINTER_NEW
| 0 );
41495 SWIGINTERN PyObject
*_wrap_Validator_Clone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41496 PyObject
*resultobj
= 0;
41497 wxValidator
*arg1
= (wxValidator
*) 0 ;
41498 wxValidator
*result
= 0 ;
41501 PyObject
*swig_obj
[1] ;
41503 if (!args
) SWIG_fail
;
41504 swig_obj
[0] = args
;
41505 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxValidator
, 0 | 0 );
41506 if (!SWIG_IsOK(res1
)) {
41507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Validator_Clone" "', expected argument " "1"" of type '" "wxValidator *""'");
41509 arg1
= reinterpret_cast< wxValidator
* >(argp1
);
41511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41512 result
= (wxValidator
*)(arg1
)->Clone();
41513 wxPyEndAllowThreads(__tstate
);
41514 if (PyErr_Occurred()) SWIG_fail
;
41517 resultobj
= wxPyMake_wxObject(result
, 0);
41525 SWIGINTERN PyObject
*_wrap_Validator_Validate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41526 PyObject
*resultobj
= 0;
41527 wxValidator
*arg1
= (wxValidator
*) 0 ;
41528 wxWindow
*arg2
= (wxWindow
*) 0 ;
41534 PyObject
* obj0
= 0 ;
41535 PyObject
* obj1
= 0 ;
41536 char * kwnames
[] = {
41537 (char *) "self",(char *) "parent", NULL
41540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41541 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxValidator
, 0 | 0 );
41542 if (!SWIG_IsOK(res1
)) {
41543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Validator_Validate" "', expected argument " "1"" of type '" "wxValidator *""'");
41545 arg1
= reinterpret_cast< wxValidator
* >(argp1
);
41546 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41547 if (!SWIG_IsOK(res2
)) {
41548 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Validator_Validate" "', expected argument " "2"" of type '" "wxWindow *""'");
41550 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
41552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41553 result
= (bool)(arg1
)->Validate(arg2
);
41554 wxPyEndAllowThreads(__tstate
);
41555 if (PyErr_Occurred()) SWIG_fail
;
41558 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41566 SWIGINTERN PyObject
*_wrap_Validator_TransferToWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41567 PyObject
*resultobj
= 0;
41568 wxValidator
*arg1
= (wxValidator
*) 0 ;
41572 PyObject
*swig_obj
[1] ;
41574 if (!args
) SWIG_fail
;
41575 swig_obj
[0] = args
;
41576 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxValidator
, 0 | 0 );
41577 if (!SWIG_IsOK(res1
)) {
41578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Validator_TransferToWindow" "', expected argument " "1"" of type '" "wxValidator *""'");
41580 arg1
= reinterpret_cast< wxValidator
* >(argp1
);
41582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41583 result
= (bool)(arg1
)->TransferToWindow();
41584 wxPyEndAllowThreads(__tstate
);
41585 if (PyErr_Occurred()) SWIG_fail
;
41588 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41596 SWIGINTERN PyObject
*_wrap_Validator_TransferFromWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41597 PyObject
*resultobj
= 0;
41598 wxValidator
*arg1
= (wxValidator
*) 0 ;
41602 PyObject
*swig_obj
[1] ;
41604 if (!args
) SWIG_fail
;
41605 swig_obj
[0] = args
;
41606 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxValidator
, 0 | 0 );
41607 if (!SWIG_IsOK(res1
)) {
41608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Validator_TransferFromWindow" "', expected argument " "1"" of type '" "wxValidator *""'");
41610 arg1
= reinterpret_cast< wxValidator
* >(argp1
);
41612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41613 result
= (bool)(arg1
)->TransferFromWindow();
41614 wxPyEndAllowThreads(__tstate
);
41615 if (PyErr_Occurred()) SWIG_fail
;
41618 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41626 SWIGINTERN PyObject
*_wrap_Validator_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41627 PyObject
*resultobj
= 0;
41628 wxValidator
*arg1
= (wxValidator
*) 0 ;
41629 wxWindow
*result
= 0 ;
41632 PyObject
*swig_obj
[1] ;
41634 if (!args
) SWIG_fail
;
41635 swig_obj
[0] = args
;
41636 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxValidator
, 0 | 0 );
41637 if (!SWIG_IsOK(res1
)) {
41638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Validator_GetWindow" "', expected argument " "1"" of type '" "wxValidator *""'");
41640 arg1
= reinterpret_cast< wxValidator
* >(argp1
);
41642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41643 result
= (wxWindow
*)(arg1
)->GetWindow();
41644 wxPyEndAllowThreads(__tstate
);
41645 if (PyErr_Occurred()) SWIG_fail
;
41648 resultobj
= wxPyMake_wxObject(result
, 0);
41656 SWIGINTERN PyObject
*_wrap_Validator_SetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41657 PyObject
*resultobj
= 0;
41658 wxValidator
*arg1
= (wxValidator
*) 0 ;
41659 wxWindow
*arg2
= (wxWindow
*) 0 ;
41664 PyObject
* obj0
= 0 ;
41665 PyObject
* obj1
= 0 ;
41666 char * kwnames
[] = {
41667 (char *) "self",(char *) "window", NULL
41670 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41671 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxValidator
, 0 | 0 );
41672 if (!SWIG_IsOK(res1
)) {
41673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Validator_SetWindow" "', expected argument " "1"" of type '" "wxValidator *""'");
41675 arg1
= reinterpret_cast< wxValidator
* >(argp1
);
41676 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41677 if (!SWIG_IsOK(res2
)) {
41678 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Validator_SetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
41680 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
41682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41683 (arg1
)->SetWindow(arg2
);
41684 wxPyEndAllowThreads(__tstate
);
41685 if (PyErr_Occurred()) SWIG_fail
;
41687 resultobj
= SWIG_Py_Void();
41694 SWIGINTERN PyObject
*_wrap_Validator_IsSilent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41695 PyObject
*resultobj
= 0;
41698 if (!SWIG_Python_UnpackTuple(args
,"Validator_IsSilent",0,0,0)) SWIG_fail
;
41700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41701 result
= (bool)wxValidator::IsSilent();
41702 wxPyEndAllowThreads(__tstate
);
41703 if (PyErr_Occurred()) SWIG_fail
;
41706 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41714 SWIGINTERN PyObject
*_wrap_Validator_SetBellOnError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41715 PyObject
*resultobj
= 0;
41716 int arg1
= (int) true ;
41719 PyObject
* obj0
= 0 ;
41720 char * kwnames
[] = {
41721 (char *) "doIt", NULL
41724 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Validator_SetBellOnError",kwnames
,&obj0
)) SWIG_fail
;
41726 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
41727 if (!SWIG_IsOK(ecode1
)) {
41728 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Validator_SetBellOnError" "', expected argument " "1"" of type '" "int""'");
41730 arg1
= static_cast< int >(val1
);
41733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41734 wxValidator::SetBellOnError(arg1
);
41735 wxPyEndAllowThreads(__tstate
);
41736 if (PyErr_Occurred()) SWIG_fail
;
41738 resultobj
= SWIG_Py_Void();
41745 SWIGINTERN PyObject
*Validator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41747 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
41748 SWIG_TypeNewClientData(SWIGTYPE_p_wxValidator
, SWIG_NewClientData(obj
));
41749 return SWIG_Py_Void();
41752 SWIGINTERN PyObject
*Validator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41753 return SWIG_Python_InitShadowInstance(args
);
41756 SWIGINTERN PyObject
*_wrap_new_PyValidator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41757 PyObject
*resultobj
= 0;
41758 wxPyValidator
*result
= 0 ;
41760 if (!SWIG_Python_UnpackTuple(args
,"new_PyValidator",0,0,0)) SWIG_fail
;
41762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41763 result
= (wxPyValidator
*)new wxPyValidator();
41764 wxPyEndAllowThreads(__tstate
);
41765 if (PyErr_Occurred()) SWIG_fail
;
41767 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyValidator
, SWIG_POINTER_NEW
| 0 );
41774 SWIGINTERN PyObject
*_wrap_PyValidator__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41775 PyObject
*resultobj
= 0;
41776 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
41777 PyObject
*arg2
= (PyObject
*) 0 ;
41778 PyObject
*arg3
= (PyObject
*) 0 ;
41779 int arg4
= (int) 1 ;
41784 PyObject
* obj0
= 0 ;
41785 PyObject
* obj1
= 0 ;
41786 PyObject
* obj2
= 0 ;
41787 PyObject
* obj3
= 0 ;
41788 char * kwnames
[] = {
41789 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
41792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
41793 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyValidator
, 0 | 0 );
41794 if (!SWIG_IsOK(res1
)) {
41795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyValidator__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyValidator *""'");
41797 arg1
= reinterpret_cast< wxPyValidator
* >(argp1
);
41801 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
41802 if (!SWIG_IsOK(ecode4
)) {
41803 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyValidator__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
41805 arg4
= static_cast< int >(val4
);
41808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41809 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
41810 wxPyEndAllowThreads(__tstate
);
41811 if (PyErr_Occurred()) SWIG_fail
;
41813 resultobj
= SWIG_Py_Void();
41820 SWIGINTERN PyObject
*PyValidator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41822 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
41823 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyValidator
, SWIG_NewClientData(obj
));
41824 return SWIG_Py_Void();
41827 SWIGINTERN PyObject
*PyValidator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41828 return SWIG_Python_InitShadowInstance(args
);
41831 SWIGINTERN
int DefaultValidator_set(PyObject
*) {
41832 SWIG_Error(SWIG_AttributeError
,"Variable DefaultValidator is read-only.");
41837 SWIGINTERN PyObject
*DefaultValidator_get(void) {
41838 PyObject
*pyobj
= 0;
41840 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxDefaultValidator
), SWIGTYPE_p_wxValidator
, 0 );
41845 SWIGINTERN PyObject
*_wrap_new_Menu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41846 PyObject
*resultobj
= 0;
41847 wxString
const &arg1_defvalue
= wxPyEmptyString
;
41848 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
41849 long arg2
= (long) 0 ;
41850 wxMenu
*result
= 0 ;
41851 bool temp1
= false ;
41854 PyObject
* obj0
= 0 ;
41855 PyObject
* obj1
= 0 ;
41856 char * kwnames
[] = {
41857 (char *) "title",(char *) "style", NULL
41860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Menu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41863 arg1
= wxString_in_helper(obj0
);
41864 if (arg1
== NULL
) SWIG_fail
;
41869 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
41870 if (!SWIG_IsOK(ecode2
)) {
41871 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Menu" "', expected argument " "2"" of type '" "long""'");
41873 arg2
= static_cast< long >(val2
);
41876 if (!wxPyCheckForApp()) SWIG_fail
;
41877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41878 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
41879 wxPyEndAllowThreads(__tstate
);
41880 if (PyErr_Occurred()) SWIG_fail
;
41882 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMenu
, SWIG_POINTER_NEW
| 0 );
41897 SWIGINTERN PyObject
*_wrap_Menu_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41898 PyObject
*resultobj
= 0;
41899 wxMenu
*arg1
= (wxMenu
*) 0 ;
41901 wxString
const &arg3_defvalue
= wxPyEmptyString
;
41902 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
41903 wxString
const &arg4_defvalue
= wxPyEmptyString
;
41904 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
41905 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
41906 wxMenuItem
*result
= 0 ;
41911 bool temp3
= false ;
41912 bool temp4
= false ;
41915 PyObject
* obj0
= 0 ;
41916 PyObject
* obj1
= 0 ;
41917 PyObject
* obj2
= 0 ;
41918 PyObject
* obj3
= 0 ;
41919 PyObject
* obj4
= 0 ;
41920 char * kwnames
[] = {
41921 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
41924 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:Menu_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
41925 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
41926 if (!SWIG_IsOK(res1
)) {
41927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_Append" "', expected argument " "1"" of type '" "wxMenu *""'");
41929 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
41930 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41931 if (!SWIG_IsOK(ecode2
)) {
41932 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_Append" "', expected argument " "2"" of type '" "int""'");
41934 arg2
= static_cast< int >(val2
);
41937 arg3
= wxString_in_helper(obj2
);
41938 if (arg3
== NULL
) SWIG_fail
;
41944 arg4
= wxString_in_helper(obj3
);
41945 if (arg4
== NULL
) SWIG_fail
;
41950 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
41951 if (!SWIG_IsOK(ecode5
)) {
41952 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Menu_Append" "', expected argument " "5"" of type '" "wxItemKind""'");
41954 arg5
= static_cast< wxItemKind
>(val5
);
41957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41958 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
41959 wxPyEndAllowThreads(__tstate
);
41960 if (PyErr_Occurred()) SWIG_fail
;
41963 resultobj
= wxPyMake_wxObject(result
, (bool)0);
41987 SWIGINTERN PyObject
*_wrap_Menu_AppendSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41988 PyObject
*resultobj
= 0;
41989 wxMenu
*arg1
= (wxMenu
*) 0 ;
41990 wxMenuItem
*result
= 0 ;
41993 PyObject
*swig_obj
[1] ;
41995 if (!args
) SWIG_fail
;
41996 swig_obj
[0] = args
;
41997 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
41998 if (!SWIG_IsOK(res1
)) {
41999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_AppendSeparator" "', expected argument " "1"" of type '" "wxMenu *""'");
42001 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
42003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42004 result
= (wxMenuItem
*)(arg1
)->AppendSeparator();
42005 wxPyEndAllowThreads(__tstate
);
42006 if (PyErr_Occurred()) SWIG_fail
;
42009 resultobj
= wxPyMake_wxObject(result
, (bool)0);
42017 SWIGINTERN PyObject
*_wrap_Menu_AppendCheckItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42018 PyObject
*resultobj
= 0;
42019 wxMenu
*arg1
= (wxMenu
*) 0 ;
42021 wxString
*arg3
= 0 ;
42022 wxString
const &arg4_defvalue
= wxPyEmptyString
;
42023 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
42024 wxMenuItem
*result
= 0 ;
42029 bool temp3
= false ;
42030 bool temp4
= false ;
42031 PyObject
* obj0
= 0 ;
42032 PyObject
* obj1
= 0 ;
42033 PyObject
* obj2
= 0 ;
42034 PyObject
* obj3
= 0 ;
42035 char * kwnames
[] = {
42036 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
42039 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
42040 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
42041 if (!SWIG_IsOK(res1
)) {
42042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_AppendCheckItem" "', expected argument " "1"" of type '" "wxMenu *""'");
42044 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
42045 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42046 if (!SWIG_IsOK(ecode2
)) {
42047 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_AppendCheckItem" "', expected argument " "2"" of type '" "int""'");
42049 arg2
= static_cast< int >(val2
);
42051 arg3
= wxString_in_helper(obj2
);
42052 if (arg3
== NULL
) SWIG_fail
;
42057 arg4
= wxString_in_helper(obj3
);
42058 if (arg4
== NULL
) SWIG_fail
;
42063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42064 result
= (wxMenuItem
*)(arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
42065 wxPyEndAllowThreads(__tstate
);
42066 if (PyErr_Occurred()) SWIG_fail
;
42069 resultobj
= wxPyMake_wxObject(result
, (bool)0);
42093 SWIGINTERN PyObject
*_wrap_Menu_AppendRadioItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42094 PyObject
*resultobj
= 0;
42095 wxMenu
*arg1
= (wxMenu
*) 0 ;
42097 wxString
*arg3
= 0 ;
42098 wxString
const &arg4_defvalue
= wxPyEmptyString
;
42099 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
42100 wxMenuItem
*result
= 0 ;
42105 bool temp3
= false ;
42106 bool temp4
= false ;
42107 PyObject
* obj0
= 0 ;
42108 PyObject
* obj1
= 0 ;
42109 PyObject
* obj2
= 0 ;
42110 PyObject
* obj3
= 0 ;
42111 char * kwnames
[] = {
42112 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
42115 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
42116 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
42117 if (!SWIG_IsOK(res1
)) {
42118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_AppendRadioItem" "', expected argument " "1"" of type '" "wxMenu *""'");
42120 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
42121 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42122 if (!SWIG_IsOK(ecode2
)) {
42123 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_AppendRadioItem" "', expected argument " "2"" of type '" "int""'");
42125 arg2
= static_cast< int >(val2
);
42127 arg3
= wxString_in_helper(obj2
);
42128 if (arg3
== NULL
) SWIG_fail
;
42133 arg4
= wxString_in_helper(obj3
);
42134 if (arg4
== NULL
) SWIG_fail
;
42139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42140 result
= (wxMenuItem
*)(arg1
)->AppendRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
42141 wxPyEndAllowThreads(__tstate
);
42142 if (PyErr_Occurred()) SWIG_fail
;
42145 resultobj
= wxPyMake_wxObject(result
, (bool)0);
42169 SWIGINTERN PyObject
*_wrap_Menu_AppendMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42170 PyObject
*resultobj
= 0;
42171 wxMenu
*arg1
= (wxMenu
*) 0 ;
42173 wxString
*arg3
= 0 ;
42174 wxMenu
*arg4
= (wxMenu
*) 0 ;
42175 wxString
const &arg5_defvalue
= wxPyEmptyString
;
42176 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
42177 wxMenuItem
*result
= 0 ;
42182 bool temp3
= false ;
42185 bool temp5
= false ;
42186 PyObject
* obj0
= 0 ;
42187 PyObject
* obj1
= 0 ;
42188 PyObject
* obj2
= 0 ;
42189 PyObject
* obj3
= 0 ;
42190 PyObject
* obj4
= 0 ;
42191 char * kwnames
[] = {
42192 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
42195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_AppendMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
42196 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
42197 if (!SWIG_IsOK(res1
)) {
42198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_AppendMenu" "', expected argument " "1"" of type '" "wxMenu *""'");
42200 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
42201 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42202 if (!SWIG_IsOK(ecode2
)) {
42203 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_AppendMenu" "', expected argument " "2"" of type '" "int""'");
42205 arg2
= static_cast< int >(val2
);
42207 arg3
= wxString_in_helper(obj2
);
42208 if (arg3
== NULL
) SWIG_fail
;
42211 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxMenu
, 0 | 0 );
42212 if (!SWIG_IsOK(res4
)) {
42213 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Menu_AppendMenu" "', expected argument " "4"" of type '" "wxMenu *""'");
42215 arg4
= reinterpret_cast< wxMenu
* >(argp4
);
42218 arg5
= wxString_in_helper(obj4
);
42219 if (arg5
== NULL
) SWIG_fail
;
42224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42225 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
42226 wxPyEndAllowThreads(__tstate
);
42227 if (PyErr_Occurred()) SWIG_fail
;
42230 resultobj
= wxPyMake_wxObject(result
, (bool)0);
42254 SWIGINTERN PyObject
*_wrap_Menu_AppendSubMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42255 PyObject
*resultobj
= 0;
42256 wxMenu
*arg1
= (wxMenu
*) 0 ;
42257 wxMenu
*arg2
= (wxMenu
*) 0 ;
42258 wxString
*arg3
= 0 ;
42259 wxString
const &arg4_defvalue
= wxPyEmptyString
;
42260 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
42261 wxMenuItem
*result
= 0 ;
42266 bool temp3
= false ;
42267 bool temp4
= false ;
42268 PyObject
* obj0
= 0 ;
42269 PyObject
* obj1
= 0 ;
42270 PyObject
* obj2
= 0 ;
42271 PyObject
* obj3
= 0 ;
42272 char * kwnames
[] = {
42273 (char *) "self",(char *) "submenu",(char *) "text",(char *) "help", NULL
42276 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendSubMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
42277 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
42278 if (!SWIG_IsOK(res1
)) {
42279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_AppendSubMenu" "', expected argument " "1"" of type '" "wxMenu *""'");
42281 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
42282 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
42283 if (!SWIG_IsOK(res2
)) {
42284 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Menu_AppendSubMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
42286 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
42288 arg3
= wxString_in_helper(obj2
);
42289 if (arg3
== NULL
) SWIG_fail
;
42294 arg4
= wxString_in_helper(obj3
);
42295 if (arg4
== NULL
) SWIG_fail
;
42300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42301 result
= (wxMenuItem
*)(arg1
)->AppendSubMenu(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
42302 wxPyEndAllowThreads(__tstate
);
42303 if (PyErr_Occurred()) SWIG_fail
;
42306 resultobj
= wxPyMake_wxObject(result
, (bool)0);
42330 SWIGINTERN PyObject
*_wrap_Menu_AppendItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42331 PyObject
*resultobj
= 0;
42332 wxMenu
*arg1
= (wxMenu
*) 0 ;
42333 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
42334 wxMenuItem
*result
= 0 ;
42338 PyObject
* obj0
= 0 ;
42339 PyObject
* obj1
= 0 ;
42340 char * kwnames
[] = {
42341 (char *) "self",(char *) "item", NULL
42344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42345 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
42346 if (!SWIG_IsOK(res1
)) {
42347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_AppendItem" "', expected argument " "1"" of type '" "wxMenu *""'");
42349 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
42350 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_DISOWN
| 0 );
42351 if (!SWIG_IsOK(res2
)) {
42352 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Menu_AppendItem" "', expected argument " "2"" of type '" "wxMenuItem *""'");
42355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42356 result
= (wxMenuItem
*)(arg1
)->Append(arg2
);
42357 wxPyEndAllowThreads(__tstate
);
42358 if (PyErr_Occurred()) SWIG_fail
;
42361 resultobj
= wxPyMake_wxObject(result
, (bool)0);
42369 SWIGINTERN PyObject
*_wrap_Menu_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42370 PyObject
*resultobj
= 0;
42371 wxMenu
*arg1
= (wxMenu
*) 0 ;
42373 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
42374 wxMenuItem
*result
= 0 ;
42380 PyObject
* obj0
= 0 ;
42381 PyObject
* obj1
= 0 ;
42382 PyObject
* obj2
= 0 ;
42383 char * kwnames
[] = {
42384 (char *) "self",(char *) "pos",(char *) "item", NULL
42387 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
42388 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
42389 if (!SWIG_IsOK(res1
)) {
42390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_InsertItem" "', expected argument " "1"" of type '" "wxMenu *""'");
42392 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
42393 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
42394 if (!SWIG_IsOK(ecode2
)) {
42395 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_InsertItem" "', expected argument " "2"" of type '" "size_t""'");
42397 arg2
= static_cast< size_t >(val2
);
42398 res3
= SWIG_ConvertPtr(obj2
, SWIG_as_voidptrptr(&arg3
), SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_DISOWN
| 0 );
42399 if (!SWIG_IsOK(res3
)) {
42400 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Menu_InsertItem" "', expected argument " "3"" of type '" "wxMenuItem *""'");
42403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42404 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
);
42405 wxPyEndAllowThreads(__tstate
);
42406 if (PyErr_Occurred()) SWIG_fail
;
42409 resultobj
= wxPyMake_wxObject(result
, (bool)0);
42417 SWIGINTERN PyObject
*_wrap_Menu_PrependItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42418 PyObject
*resultobj
= 0;
42419 wxMenu
*arg1
= (wxMenu
*) 0 ;
42420 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
42421 wxMenuItem
*result
= 0 ;
42425 PyObject
* obj0
= 0 ;
42426 PyObject
* obj1
= 0 ;
42427 char * kwnames
[] = {
42428 (char *) "self",(char *) "item", NULL
42431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42432 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
42433 if (!SWIG_IsOK(res1
)) {
42434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_PrependItem" "', expected argument " "1"" of type '" "wxMenu *""'");
42436 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
42437 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_DISOWN
| 0 );
42438 if (!SWIG_IsOK(res2
)) {
42439 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Menu_PrependItem" "', expected argument " "2"" of type '" "wxMenuItem *""'");
42442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42443 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
);
42444 wxPyEndAllowThreads(__tstate
);
42445 if (PyErr_Occurred()) SWIG_fail
;
42448 resultobj
= wxPyMake_wxObject(result
, (bool)0);
42456 SWIGINTERN PyObject
*_wrap_Menu_Break(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42457 PyObject
*resultobj
= 0;
42458 wxMenu
*arg1
= (wxMenu
*) 0 ;
42461 PyObject
*swig_obj
[1] ;
42463 if (!args
) SWIG_fail
;
42464 swig_obj
[0] = args
;
42465 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
42466 if (!SWIG_IsOK(res1
)) {
42467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_Break" "', expected argument " "1"" of type '" "wxMenu *""'");
42469 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
42471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42473 wxPyEndAllowThreads(__tstate
);
42474 if (PyErr_Occurred()) SWIG_fail
;
42476 resultobj
= SWIG_Py_Void();
42483 SWIGINTERN PyObject
*_wrap_Menu_Insert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42484 PyObject
*resultobj
= 0;
42485 wxMenu
*arg1
= (wxMenu
*) 0 ;
42488 wxString
const &arg4_defvalue
= wxPyEmptyString
;
42489 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
42490 wxString
const &arg5_defvalue
= wxPyEmptyString
;
42491 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
42492 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
42493 wxMenuItem
*result
= 0 ;
42500 bool temp4
= false ;
42501 bool temp5
= false ;
42504 PyObject
* obj0
= 0 ;
42505 PyObject
* obj1
= 0 ;
42506 PyObject
* obj2
= 0 ;
42507 PyObject
* obj3
= 0 ;
42508 PyObject
* obj4
= 0 ;
42509 PyObject
* obj5
= 0 ;
42510 char * kwnames
[] = {
42511 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
42514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:Menu_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
42515 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
42516 if (!SWIG_IsOK(res1
)) {
42517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_Insert" "', expected argument " "1"" of type '" "wxMenu *""'");
42519 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
42520 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
42521 if (!SWIG_IsOK(ecode2
)) {
42522 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_Insert" "', expected argument " "2"" of type '" "size_t""'");
42524 arg2
= static_cast< size_t >(val2
);
42525 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
42526 if (!SWIG_IsOK(ecode3
)) {
42527 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Menu_Insert" "', expected argument " "3"" of type '" "int""'");
42529 arg3
= static_cast< int >(val3
);
42532 arg4
= wxString_in_helper(obj3
);
42533 if (arg4
== NULL
) SWIG_fail
;
42539 arg5
= wxString_in_helper(obj4
);
42540 if (arg5
== NULL
) SWIG_fail
;
42545 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
42546 if (!SWIG_IsOK(ecode6
)) {
42547 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Menu_Insert" "', expected argument " "6"" of type '" "wxItemKind""'");
42549 arg6
= static_cast< wxItemKind
>(val6
);
42552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42553 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
);
42554 wxPyEndAllowThreads(__tstate
);
42555 if (PyErr_Occurred()) SWIG_fail
;
42558 resultobj
= wxPyMake_wxObject(result
, (bool)0);
42582 SWIGINTERN PyObject
*_wrap_Menu_InsertSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42583 PyObject
*resultobj
= 0;
42584 wxMenu
*arg1
= (wxMenu
*) 0 ;
42586 wxMenuItem
*result
= 0 ;
42591 PyObject
* obj0
= 0 ;
42592 PyObject
* obj1
= 0 ;
42593 char * kwnames
[] = {
42594 (char *) "self",(char *) "pos", NULL
42597 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42598 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
42599 if (!SWIG_IsOK(res1
)) {
42600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_InsertSeparator" "', expected argument " "1"" of type '" "wxMenu *""'");
42602 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
42603 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
42604 if (!SWIG_IsOK(ecode2
)) {
42605 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_InsertSeparator" "', expected argument " "2"" of type '" "size_t""'");
42607 arg2
= static_cast< size_t >(val2
);
42609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42610 result
= (wxMenuItem
*)(arg1
)->InsertSeparator(arg2
);
42611 wxPyEndAllowThreads(__tstate
);
42612 if (PyErr_Occurred()) SWIG_fail
;
42615 resultobj
= wxPyMake_wxObject(result
, (bool)0);
42623 SWIGINTERN PyObject
*_wrap_Menu_InsertCheckItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42624 PyObject
*resultobj
= 0;
42625 wxMenu
*arg1
= (wxMenu
*) 0 ;
42628 wxString
*arg4
= 0 ;
42629 wxString
const &arg5_defvalue
= wxPyEmptyString
;
42630 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
42631 wxMenuItem
*result
= 0 ;
42638 bool temp4
= false ;
42639 bool temp5
= false ;
42640 PyObject
* obj0
= 0 ;
42641 PyObject
* obj1
= 0 ;
42642 PyObject
* obj2
= 0 ;
42643 PyObject
* obj3
= 0 ;
42644 PyObject
* obj4
= 0 ;
42645 char * kwnames
[] = {
42646 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
42649 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
42650 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
42651 if (!SWIG_IsOK(res1
)) {
42652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_InsertCheckItem" "', expected argument " "1"" of type '" "wxMenu *""'");
42654 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
42655 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
42656 if (!SWIG_IsOK(ecode2
)) {
42657 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_InsertCheckItem" "', expected argument " "2"" of type '" "size_t""'");
42659 arg2
= static_cast< size_t >(val2
);
42660 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
42661 if (!SWIG_IsOK(ecode3
)) {
42662 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Menu_InsertCheckItem" "', expected argument " "3"" of type '" "int""'");
42664 arg3
= static_cast< int >(val3
);
42666 arg4
= wxString_in_helper(obj3
);
42667 if (arg4
== NULL
) SWIG_fail
;
42672 arg5
= wxString_in_helper(obj4
);
42673 if (arg5
== NULL
) SWIG_fail
;
42678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42679 result
= (wxMenuItem
*)(arg1
)->InsertCheckItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
42680 wxPyEndAllowThreads(__tstate
);
42681 if (PyErr_Occurred()) SWIG_fail
;
42684 resultobj
= wxPyMake_wxObject(result
, (bool)0);
42708 SWIGINTERN PyObject
*_wrap_Menu_InsertRadioItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42709 PyObject
*resultobj
= 0;
42710 wxMenu
*arg1
= (wxMenu
*) 0 ;
42713 wxString
*arg4
= 0 ;
42714 wxString
const &arg5_defvalue
= wxPyEmptyString
;
42715 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
42716 wxMenuItem
*result
= 0 ;
42723 bool temp4
= false ;
42724 bool temp5
= false ;
42725 PyObject
* obj0
= 0 ;
42726 PyObject
* obj1
= 0 ;
42727 PyObject
* obj2
= 0 ;
42728 PyObject
* obj3
= 0 ;
42729 PyObject
* obj4
= 0 ;
42730 char * kwnames
[] = {
42731 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
42734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
42735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
42736 if (!SWIG_IsOK(res1
)) {
42737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_InsertRadioItem" "', expected argument " "1"" of type '" "wxMenu *""'");
42739 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
42740 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
42741 if (!SWIG_IsOK(ecode2
)) {
42742 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_InsertRadioItem" "', expected argument " "2"" of type '" "size_t""'");
42744 arg2
= static_cast< size_t >(val2
);
42745 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
42746 if (!SWIG_IsOK(ecode3
)) {
42747 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Menu_InsertRadioItem" "', expected argument " "3"" of type '" "int""'");
42749 arg3
= static_cast< int >(val3
);
42751 arg4
= wxString_in_helper(obj3
);
42752 if (arg4
== NULL
) SWIG_fail
;
42757 arg5
= wxString_in_helper(obj4
);
42758 if (arg5
== NULL
) SWIG_fail
;
42763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42764 result
= (wxMenuItem
*)(arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
42765 wxPyEndAllowThreads(__tstate
);
42766 if (PyErr_Occurred()) SWIG_fail
;
42769 resultobj
= wxPyMake_wxObject(result
, (bool)0);
42793 SWIGINTERN PyObject
*_wrap_Menu_InsertMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42794 PyObject
*resultobj
= 0;
42795 wxMenu
*arg1
= (wxMenu
*) 0 ;
42798 wxString
*arg4
= 0 ;
42799 wxMenu
*arg5
= (wxMenu
*) 0 ;
42800 wxString
const &arg6_defvalue
= wxPyEmptyString
;
42801 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
42802 wxMenuItem
*result
= 0 ;
42809 bool temp4
= false ;
42812 bool temp6
= false ;
42813 PyObject
* obj0
= 0 ;
42814 PyObject
* obj1
= 0 ;
42815 PyObject
* obj2
= 0 ;
42816 PyObject
* obj3
= 0 ;
42817 PyObject
* obj4
= 0 ;
42818 PyObject
* obj5
= 0 ;
42819 char * kwnames
[] = {
42820 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
42823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
42824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
42825 if (!SWIG_IsOK(res1
)) {
42826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_InsertMenu" "', expected argument " "1"" of type '" "wxMenu *""'");
42828 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
42829 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
42830 if (!SWIG_IsOK(ecode2
)) {
42831 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_InsertMenu" "', expected argument " "2"" of type '" "size_t""'");
42833 arg2
= static_cast< size_t >(val2
);
42834 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
42835 if (!SWIG_IsOK(ecode3
)) {
42836 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Menu_InsertMenu" "', expected argument " "3"" of type '" "int""'");
42838 arg3
= static_cast< int >(val3
);
42840 arg4
= wxString_in_helper(obj3
);
42841 if (arg4
== NULL
) SWIG_fail
;
42844 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxMenu
, 0 | 0 );
42845 if (!SWIG_IsOK(res5
)) {
42846 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "Menu_InsertMenu" "', expected argument " "5"" of type '" "wxMenu *""'");
42848 arg5
= reinterpret_cast< wxMenu
* >(argp5
);
42851 arg6
= wxString_in_helper(obj5
);
42852 if (arg6
== NULL
) SWIG_fail
;
42857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42858 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
42859 wxPyEndAllowThreads(__tstate
);
42860 if (PyErr_Occurred()) SWIG_fail
;
42863 resultobj
= wxPyMake_wxObject(result
, (bool)0);
42887 SWIGINTERN PyObject
*_wrap_Menu_Prepend(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42888 PyObject
*resultobj
= 0;
42889 wxMenu
*arg1
= (wxMenu
*) 0 ;
42891 wxString
const &arg3_defvalue
= wxPyEmptyString
;
42892 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
42893 wxString
const &arg4_defvalue
= wxPyEmptyString
;
42894 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
42895 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
42896 wxMenuItem
*result
= 0 ;
42901 bool temp3
= false ;
42902 bool temp4
= false ;
42905 PyObject
* obj0
= 0 ;
42906 PyObject
* obj1
= 0 ;
42907 PyObject
* obj2
= 0 ;
42908 PyObject
* obj3
= 0 ;
42909 PyObject
* obj4
= 0 ;
42910 char * kwnames
[] = {
42911 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
42914 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:Menu_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
42915 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
42916 if (!SWIG_IsOK(res1
)) {
42917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_Prepend" "', expected argument " "1"" of type '" "wxMenu *""'");
42919 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
42920 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42921 if (!SWIG_IsOK(ecode2
)) {
42922 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_Prepend" "', expected argument " "2"" of type '" "int""'");
42924 arg2
= static_cast< int >(val2
);
42927 arg3
= wxString_in_helper(obj2
);
42928 if (arg3
== NULL
) SWIG_fail
;
42934 arg4
= wxString_in_helper(obj3
);
42935 if (arg4
== NULL
) SWIG_fail
;
42940 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
42941 if (!SWIG_IsOK(ecode5
)) {
42942 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Menu_Prepend" "', expected argument " "5"" of type '" "wxItemKind""'");
42944 arg5
= static_cast< wxItemKind
>(val5
);
42947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42948 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
42949 wxPyEndAllowThreads(__tstate
);
42950 if (PyErr_Occurred()) SWIG_fail
;
42953 resultobj
= wxPyMake_wxObject(result
, (bool)0);
42977 SWIGINTERN PyObject
*_wrap_Menu_PrependSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42978 PyObject
*resultobj
= 0;
42979 wxMenu
*arg1
= (wxMenu
*) 0 ;
42980 wxMenuItem
*result
= 0 ;
42983 PyObject
*swig_obj
[1] ;
42985 if (!args
) SWIG_fail
;
42986 swig_obj
[0] = args
;
42987 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
42988 if (!SWIG_IsOK(res1
)) {
42989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_PrependSeparator" "', expected argument " "1"" of type '" "wxMenu *""'");
42991 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
42993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42994 result
= (wxMenuItem
*)(arg1
)->PrependSeparator();
42995 wxPyEndAllowThreads(__tstate
);
42996 if (PyErr_Occurred()) SWIG_fail
;
42999 resultobj
= wxPyMake_wxObject(result
, (bool)0);
43007 SWIGINTERN PyObject
*_wrap_Menu_PrependCheckItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43008 PyObject
*resultobj
= 0;
43009 wxMenu
*arg1
= (wxMenu
*) 0 ;
43011 wxString
*arg3
= 0 ;
43012 wxString
const &arg4_defvalue
= wxPyEmptyString
;
43013 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
43014 wxMenuItem
*result
= 0 ;
43019 bool temp3
= false ;
43020 bool temp4
= false ;
43021 PyObject
* obj0
= 0 ;
43022 PyObject
* obj1
= 0 ;
43023 PyObject
* obj2
= 0 ;
43024 PyObject
* obj3
= 0 ;
43025 char * kwnames
[] = {
43026 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
43029 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
43030 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
43031 if (!SWIG_IsOK(res1
)) {
43032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_PrependCheckItem" "', expected argument " "1"" of type '" "wxMenu *""'");
43034 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
43035 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43036 if (!SWIG_IsOK(ecode2
)) {
43037 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_PrependCheckItem" "', expected argument " "2"" of type '" "int""'");
43039 arg2
= static_cast< int >(val2
);
43041 arg3
= wxString_in_helper(obj2
);
43042 if (arg3
== NULL
) SWIG_fail
;
43047 arg4
= wxString_in_helper(obj3
);
43048 if (arg4
== NULL
) SWIG_fail
;
43053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43054 result
= (wxMenuItem
*)(arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
43055 wxPyEndAllowThreads(__tstate
);
43056 if (PyErr_Occurred()) SWIG_fail
;
43059 resultobj
= wxPyMake_wxObject(result
, (bool)0);
43083 SWIGINTERN PyObject
*_wrap_Menu_PrependRadioItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43084 PyObject
*resultobj
= 0;
43085 wxMenu
*arg1
= (wxMenu
*) 0 ;
43087 wxString
*arg3
= 0 ;
43088 wxString
const &arg4_defvalue
= wxPyEmptyString
;
43089 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
43090 wxMenuItem
*result
= 0 ;
43095 bool temp3
= false ;
43096 bool temp4
= false ;
43097 PyObject
* obj0
= 0 ;
43098 PyObject
* obj1
= 0 ;
43099 PyObject
* obj2
= 0 ;
43100 PyObject
* obj3
= 0 ;
43101 char * kwnames
[] = {
43102 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
43105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
43106 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
43107 if (!SWIG_IsOK(res1
)) {
43108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_PrependRadioItem" "', expected argument " "1"" of type '" "wxMenu *""'");
43110 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
43111 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43112 if (!SWIG_IsOK(ecode2
)) {
43113 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_PrependRadioItem" "', expected argument " "2"" of type '" "int""'");
43115 arg2
= static_cast< int >(val2
);
43117 arg3
= wxString_in_helper(obj2
);
43118 if (arg3
== NULL
) SWIG_fail
;
43123 arg4
= wxString_in_helper(obj3
);
43124 if (arg4
== NULL
) SWIG_fail
;
43129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43130 result
= (wxMenuItem
*)(arg1
)->PrependRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
43131 wxPyEndAllowThreads(__tstate
);
43132 if (PyErr_Occurred()) SWIG_fail
;
43135 resultobj
= wxPyMake_wxObject(result
, (bool)0);
43159 SWIGINTERN PyObject
*_wrap_Menu_PrependMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43160 PyObject
*resultobj
= 0;
43161 wxMenu
*arg1
= (wxMenu
*) 0 ;
43163 wxString
*arg3
= 0 ;
43164 wxMenu
*arg4
= (wxMenu
*) 0 ;
43165 wxString
const &arg5_defvalue
= wxPyEmptyString
;
43166 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
43167 wxMenuItem
*result
= 0 ;
43172 bool temp3
= false ;
43175 bool temp5
= false ;
43176 PyObject
* obj0
= 0 ;
43177 PyObject
* obj1
= 0 ;
43178 PyObject
* obj2
= 0 ;
43179 PyObject
* obj3
= 0 ;
43180 PyObject
* obj4
= 0 ;
43181 char * kwnames
[] = {
43182 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
43185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_PrependMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
43186 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
43187 if (!SWIG_IsOK(res1
)) {
43188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_PrependMenu" "', expected argument " "1"" of type '" "wxMenu *""'");
43190 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
43191 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43192 if (!SWIG_IsOK(ecode2
)) {
43193 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_PrependMenu" "', expected argument " "2"" of type '" "int""'");
43195 arg2
= static_cast< int >(val2
);
43197 arg3
= wxString_in_helper(obj2
);
43198 if (arg3
== NULL
) SWIG_fail
;
43201 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxMenu
, 0 | 0 );
43202 if (!SWIG_IsOK(res4
)) {
43203 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Menu_PrependMenu" "', expected argument " "4"" of type '" "wxMenu *""'");
43205 arg4
= reinterpret_cast< wxMenu
* >(argp4
);
43208 arg5
= wxString_in_helper(obj4
);
43209 if (arg5
== NULL
) SWIG_fail
;
43214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43215 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
43216 wxPyEndAllowThreads(__tstate
);
43217 if (PyErr_Occurred()) SWIG_fail
;
43220 resultobj
= wxPyMake_wxObject(result
, (bool)0);
43244 SWIGINTERN PyObject
*_wrap_Menu_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43245 PyObject
*resultobj
= 0;
43246 wxMenu
*arg1
= (wxMenu
*) 0 ;
43248 wxMenuItem
*result
= 0 ;
43253 PyObject
* obj0
= 0 ;
43254 PyObject
* obj1
= 0 ;
43255 char * kwnames
[] = {
43256 (char *) "self",(char *) "id", NULL
43259 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43260 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
43261 if (!SWIG_IsOK(res1
)) {
43262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_Remove" "', expected argument " "1"" of type '" "wxMenu *""'");
43264 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
43265 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43266 if (!SWIG_IsOK(ecode2
)) {
43267 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_Remove" "', expected argument " "2"" of type '" "int""'");
43269 arg2
= static_cast< int >(val2
);
43271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43272 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
43273 wxPyEndAllowThreads(__tstate
);
43274 if (PyErr_Occurred()) SWIG_fail
;
43277 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
43285 SWIGINTERN PyObject
*_wrap_Menu_RemoveItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43286 PyObject
*resultobj
= 0;
43287 wxMenu
*arg1
= (wxMenu
*) 0 ;
43288 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
43289 wxMenuItem
*result
= 0 ;
43294 PyObject
* obj0
= 0 ;
43295 PyObject
* obj1
= 0 ;
43296 char * kwnames
[] = {
43297 (char *) "self",(char *) "item", NULL
43300 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43301 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
43302 if (!SWIG_IsOK(res1
)) {
43303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_RemoveItem" "', expected argument " "1"" of type '" "wxMenu *""'");
43305 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
43306 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
43307 if (!SWIG_IsOK(res2
)) {
43308 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Menu_RemoveItem" "', expected argument " "2"" of type '" "wxMenuItem *""'");
43310 arg2
= reinterpret_cast< wxMenuItem
* >(argp2
);
43312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43313 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
43314 wxPyEndAllowThreads(__tstate
);
43315 if (PyErr_Occurred()) SWIG_fail
;
43318 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
43326 SWIGINTERN PyObject
*_wrap_Menu_Delete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43327 PyObject
*resultobj
= 0;
43328 wxMenu
*arg1
= (wxMenu
*) 0 ;
43335 PyObject
* obj0
= 0 ;
43336 PyObject
* obj1
= 0 ;
43337 char * kwnames
[] = {
43338 (char *) "self",(char *) "id", NULL
43341 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Delete",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43342 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
43343 if (!SWIG_IsOK(res1
)) {
43344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_Delete" "', expected argument " "1"" of type '" "wxMenu *""'");
43346 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
43347 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43348 if (!SWIG_IsOK(ecode2
)) {
43349 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_Delete" "', expected argument " "2"" of type '" "int""'");
43351 arg2
= static_cast< int >(val2
);
43353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43354 result
= (bool)(arg1
)->Delete(arg2
);
43355 wxPyEndAllowThreads(__tstate
);
43356 if (PyErr_Occurred()) SWIG_fail
;
43359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43367 SWIGINTERN PyObject
*_wrap_Menu_DeleteItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43368 PyObject
*resultobj
= 0;
43369 wxMenu
*arg1
= (wxMenu
*) 0 ;
43370 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
43376 PyObject
* obj0
= 0 ;
43377 PyObject
* obj1
= 0 ;
43378 char * kwnames
[] = {
43379 (char *) "self",(char *) "item", NULL
43382 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DeleteItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43383 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
43384 if (!SWIG_IsOK(res1
)) {
43385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_DeleteItem" "', expected argument " "1"" of type '" "wxMenu *""'");
43387 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
43388 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
43389 if (!SWIG_IsOK(res2
)) {
43390 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Menu_DeleteItem" "', expected argument " "2"" of type '" "wxMenuItem *""'");
43392 arg2
= reinterpret_cast< wxMenuItem
* >(argp2
);
43394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43395 result
= (bool)(arg1
)->Delete(arg2
);
43396 wxPyEndAllowThreads(__tstate
);
43397 if (PyErr_Occurred()) SWIG_fail
;
43400 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43408 SWIGINTERN PyObject
*_wrap_Menu_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43409 PyObject
*resultobj
= 0;
43410 wxMenu
*arg1
= (wxMenu
*) 0 ;
43413 PyObject
*swig_obj
[1] ;
43415 if (!args
) SWIG_fail
;
43416 swig_obj
[0] = args
;
43417 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
43418 if (!SWIG_IsOK(res1
)) {
43419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_Destroy" "', expected argument " "1"" of type '" "wxMenu *""'");
43421 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
43423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43424 wxMenu_Destroy(arg1
);
43425 wxPyEndAllowThreads(__tstate
);
43426 if (PyErr_Occurred()) SWIG_fail
;
43428 resultobj
= SWIG_Py_Void();
43435 SWIGINTERN PyObject
*_wrap_Menu_DestroyId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43436 PyObject
*resultobj
= 0;
43437 wxMenu
*arg1
= (wxMenu
*) 0 ;
43444 PyObject
* obj0
= 0 ;
43445 PyObject
* obj1
= 0 ;
43446 char * kwnames
[] = {
43447 (char *) "self",(char *) "id", NULL
43450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43451 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
43452 if (!SWIG_IsOK(res1
)) {
43453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_DestroyId" "', expected argument " "1"" of type '" "wxMenu *""'");
43455 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
43456 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43457 if (!SWIG_IsOK(ecode2
)) {
43458 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_DestroyId" "', expected argument " "2"" of type '" "int""'");
43460 arg2
= static_cast< int >(val2
);
43462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43463 result
= (bool)(arg1
)->Destroy(arg2
);
43464 wxPyEndAllowThreads(__tstate
);
43465 if (PyErr_Occurred()) SWIG_fail
;
43468 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43476 SWIGINTERN PyObject
*_wrap_Menu_DestroyItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43477 PyObject
*resultobj
= 0;
43478 wxMenu
*arg1
= (wxMenu
*) 0 ;
43479 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
43485 PyObject
* obj0
= 0 ;
43486 PyObject
* obj1
= 0 ;
43487 char * kwnames
[] = {
43488 (char *) "self",(char *) "item", NULL
43491 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43492 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
43493 if (!SWIG_IsOK(res1
)) {
43494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_DestroyItem" "', expected argument " "1"" of type '" "wxMenu *""'");
43496 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
43497 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
43498 if (!SWIG_IsOK(res2
)) {
43499 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Menu_DestroyItem" "', expected argument " "2"" of type '" "wxMenuItem *""'");
43501 arg2
= reinterpret_cast< wxMenuItem
* >(argp2
);
43503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43504 result
= (bool)(arg1
)->Destroy(arg2
);
43505 wxPyEndAllowThreads(__tstate
);
43506 if (PyErr_Occurred()) SWIG_fail
;
43509 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43517 SWIGINTERN PyObject
*_wrap_Menu_GetMenuItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43518 PyObject
*resultobj
= 0;
43519 wxMenu
*arg1
= (wxMenu
*) 0 ;
43523 PyObject
*swig_obj
[1] ;
43525 if (!args
) SWIG_fail
;
43526 swig_obj
[0] = args
;
43527 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
43528 if (!SWIG_IsOK(res1
)) {
43529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_GetMenuItemCount" "', expected argument " "1"" of type '" "wxMenu const *""'");
43531 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
43533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43534 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
43535 wxPyEndAllowThreads(__tstate
);
43536 if (PyErr_Occurred()) SWIG_fail
;
43538 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
43545 SWIGINTERN PyObject
*_wrap_Menu_GetMenuItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43546 PyObject
*resultobj
= 0;
43547 wxMenu
*arg1
= (wxMenu
*) 0 ;
43548 PyObject
*result
= 0 ;
43551 PyObject
*swig_obj
[1] ;
43553 if (!args
) SWIG_fail
;
43554 swig_obj
[0] = args
;
43555 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
43556 if (!SWIG_IsOK(res1
)) {
43557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_GetMenuItems" "', expected argument " "1"" of type '" "wxMenu *""'");
43559 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
43561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43562 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
43563 wxPyEndAllowThreads(__tstate
);
43564 if (PyErr_Occurred()) SWIG_fail
;
43566 resultobj
= result
;
43573 SWIGINTERN PyObject
*_wrap_Menu_FindItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43574 PyObject
*resultobj
= 0;
43575 wxMenu
*arg1
= (wxMenu
*) 0 ;
43576 wxString
*arg2
= 0 ;
43580 bool temp2
= false ;
43581 PyObject
* obj0
= 0 ;
43582 PyObject
* obj1
= 0 ;
43583 char * kwnames
[] = {
43584 (char *) "self",(char *) "item", NULL
43587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
43589 if (!SWIG_IsOK(res1
)) {
43590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_FindItem" "', expected argument " "1"" of type '" "wxMenu const *""'");
43592 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
43594 arg2
= wxString_in_helper(obj1
);
43595 if (arg2
== NULL
) SWIG_fail
;
43599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43600 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
43601 wxPyEndAllowThreads(__tstate
);
43602 if (PyErr_Occurred()) SWIG_fail
;
43604 resultobj
= SWIG_From_int(static_cast< int >(result
));
43619 SWIGINTERN PyObject
*_wrap_Menu_FindItemById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43620 PyObject
*resultobj
= 0;
43621 wxMenu
*arg1
= (wxMenu
*) 0 ;
43623 wxMenuItem
*result
= 0 ;
43628 PyObject
* obj0
= 0 ;
43629 PyObject
* obj1
= 0 ;
43630 char * kwnames
[] = {
43631 (char *) "self",(char *) "id", NULL
43634 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemById",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43635 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
43636 if (!SWIG_IsOK(res1
)) {
43637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_FindItemById" "', expected argument " "1"" of type '" "wxMenu const *""'");
43639 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
43640 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43641 if (!SWIG_IsOK(ecode2
)) {
43642 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_FindItemById" "', expected argument " "2"" of type '" "int""'");
43644 arg2
= static_cast< int >(val2
);
43646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43647 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
43648 wxPyEndAllowThreads(__tstate
);
43649 if (PyErr_Occurred()) SWIG_fail
;
43652 resultobj
= wxPyMake_wxObject(result
, (bool)0);
43660 SWIGINTERN PyObject
*_wrap_Menu_FindItemByPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43661 PyObject
*resultobj
= 0;
43662 wxMenu
*arg1
= (wxMenu
*) 0 ;
43664 wxMenuItem
*result
= 0 ;
43669 PyObject
* obj0
= 0 ;
43670 PyObject
* obj1
= 0 ;
43671 char * kwnames
[] = {
43672 (char *) "self",(char *) "position", NULL
43675 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43676 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
43677 if (!SWIG_IsOK(res1
)) {
43678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_FindItemByPosition" "', expected argument " "1"" of type '" "wxMenu const *""'");
43680 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
43681 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
43682 if (!SWIG_IsOK(ecode2
)) {
43683 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_FindItemByPosition" "', expected argument " "2"" of type '" "size_t""'");
43685 arg2
= static_cast< size_t >(val2
);
43687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43688 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
43689 wxPyEndAllowThreads(__tstate
);
43690 if (PyErr_Occurred()) SWIG_fail
;
43693 resultobj
= wxPyMake_wxObject(result
, (bool)0);
43701 SWIGINTERN PyObject
*_wrap_Menu_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43702 PyObject
*resultobj
= 0;
43703 wxMenu
*arg1
= (wxMenu
*) 0 ;
43712 PyObject
* obj0
= 0 ;
43713 PyObject
* obj1
= 0 ;
43714 PyObject
* obj2
= 0 ;
43715 char * kwnames
[] = {
43716 (char *) "self",(char *) "id",(char *) "enable", NULL
43719 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
43720 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
43721 if (!SWIG_IsOK(res1
)) {
43722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_Enable" "', expected argument " "1"" of type '" "wxMenu *""'");
43724 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
43725 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43726 if (!SWIG_IsOK(ecode2
)) {
43727 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_Enable" "', expected argument " "2"" of type '" "int""'");
43729 arg2
= static_cast< int >(val2
);
43730 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
43731 if (!SWIG_IsOK(ecode3
)) {
43732 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Menu_Enable" "', expected argument " "3"" of type '" "bool""'");
43734 arg3
= static_cast< bool >(val3
);
43736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43737 (arg1
)->Enable(arg2
,arg3
);
43738 wxPyEndAllowThreads(__tstate
);
43739 if (PyErr_Occurred()) SWIG_fail
;
43741 resultobj
= SWIG_Py_Void();
43748 SWIGINTERN PyObject
*_wrap_Menu_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43749 PyObject
*resultobj
= 0;
43750 wxMenu
*arg1
= (wxMenu
*) 0 ;
43757 PyObject
* obj0
= 0 ;
43758 PyObject
* obj1
= 0 ;
43759 char * kwnames
[] = {
43760 (char *) "self",(char *) "id", NULL
43763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43764 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
43765 if (!SWIG_IsOK(res1
)) {
43766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_IsEnabled" "', expected argument " "1"" of type '" "wxMenu const *""'");
43768 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
43769 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43770 if (!SWIG_IsOK(ecode2
)) {
43771 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_IsEnabled" "', expected argument " "2"" of type '" "int""'");
43773 arg2
= static_cast< int >(val2
);
43775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43776 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
43777 wxPyEndAllowThreads(__tstate
);
43778 if (PyErr_Occurred()) SWIG_fail
;
43781 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43789 SWIGINTERN PyObject
*_wrap_Menu_Check(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43790 PyObject
*resultobj
= 0;
43791 wxMenu
*arg1
= (wxMenu
*) 0 ;
43800 PyObject
* obj0
= 0 ;
43801 PyObject
* obj1
= 0 ;
43802 PyObject
* obj2
= 0 ;
43803 char * kwnames
[] = {
43804 (char *) "self",(char *) "id",(char *) "check", NULL
43807 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Check",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
43808 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
43809 if (!SWIG_IsOK(res1
)) {
43810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_Check" "', expected argument " "1"" of type '" "wxMenu *""'");
43812 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
43813 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43814 if (!SWIG_IsOK(ecode2
)) {
43815 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_Check" "', expected argument " "2"" of type '" "int""'");
43817 arg2
= static_cast< int >(val2
);
43818 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
43819 if (!SWIG_IsOK(ecode3
)) {
43820 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Menu_Check" "', expected argument " "3"" of type '" "bool""'");
43822 arg3
= static_cast< bool >(val3
);
43824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43825 (arg1
)->Check(arg2
,arg3
);
43826 wxPyEndAllowThreads(__tstate
);
43827 if (PyErr_Occurred()) SWIG_fail
;
43829 resultobj
= SWIG_Py_Void();
43836 SWIGINTERN PyObject
*_wrap_Menu_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43837 PyObject
*resultobj
= 0;
43838 wxMenu
*arg1
= (wxMenu
*) 0 ;
43845 PyObject
* obj0
= 0 ;
43846 PyObject
* obj1
= 0 ;
43847 char * kwnames
[] = {
43848 (char *) "self",(char *) "id", NULL
43851 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsChecked",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43852 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
43853 if (!SWIG_IsOK(res1
)) {
43854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_IsChecked" "', expected argument " "1"" of type '" "wxMenu const *""'");
43856 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
43857 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43858 if (!SWIG_IsOK(ecode2
)) {
43859 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_IsChecked" "', expected argument " "2"" of type '" "int""'");
43861 arg2
= static_cast< int >(val2
);
43863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43864 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
43865 wxPyEndAllowThreads(__tstate
);
43866 if (PyErr_Occurred()) SWIG_fail
;
43869 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43877 SWIGINTERN PyObject
*_wrap_Menu_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43878 PyObject
*resultobj
= 0;
43879 wxMenu
*arg1
= (wxMenu
*) 0 ;
43881 wxString
*arg3
= 0 ;
43886 bool temp3
= false ;
43887 PyObject
* obj0
= 0 ;
43888 PyObject
* obj1
= 0 ;
43889 PyObject
* obj2
= 0 ;
43890 char * kwnames
[] = {
43891 (char *) "self",(char *) "id",(char *) "label", NULL
43894 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
43895 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
43896 if (!SWIG_IsOK(res1
)) {
43897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_SetLabel" "', expected argument " "1"" of type '" "wxMenu *""'");
43899 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
43900 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43901 if (!SWIG_IsOK(ecode2
)) {
43902 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_SetLabel" "', expected argument " "2"" of type '" "int""'");
43904 arg2
= static_cast< int >(val2
);
43906 arg3
= wxString_in_helper(obj2
);
43907 if (arg3
== NULL
) SWIG_fail
;
43911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43912 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
43913 wxPyEndAllowThreads(__tstate
);
43914 if (PyErr_Occurred()) SWIG_fail
;
43916 resultobj
= SWIG_Py_Void();
43931 SWIGINTERN PyObject
*_wrap_Menu_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43932 PyObject
*resultobj
= 0;
43933 wxMenu
*arg1
= (wxMenu
*) 0 ;
43940 PyObject
* obj0
= 0 ;
43941 PyObject
* obj1
= 0 ;
43942 char * kwnames
[] = {
43943 (char *) "self",(char *) "id", NULL
43946 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43947 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
43948 if (!SWIG_IsOK(res1
)) {
43949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_GetLabel" "', expected argument " "1"" of type '" "wxMenu const *""'");
43951 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
43952 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43953 if (!SWIG_IsOK(ecode2
)) {
43954 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_GetLabel" "', expected argument " "2"" of type '" "int""'");
43956 arg2
= static_cast< int >(val2
);
43958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43959 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
43960 wxPyEndAllowThreads(__tstate
);
43961 if (PyErr_Occurred()) SWIG_fail
;
43965 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
43967 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
43976 SWIGINTERN PyObject
*_wrap_Menu_SetHelpString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43977 PyObject
*resultobj
= 0;
43978 wxMenu
*arg1
= (wxMenu
*) 0 ;
43980 wxString
*arg3
= 0 ;
43985 bool temp3
= false ;
43986 PyObject
* obj0
= 0 ;
43987 PyObject
* obj1
= 0 ;
43988 PyObject
* obj2
= 0 ;
43989 char * kwnames
[] = {
43990 (char *) "self",(char *) "id",(char *) "helpString", NULL
43993 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
43994 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
43995 if (!SWIG_IsOK(res1
)) {
43996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_SetHelpString" "', expected argument " "1"" of type '" "wxMenu *""'");
43998 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
43999 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44000 if (!SWIG_IsOK(ecode2
)) {
44001 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_SetHelpString" "', expected argument " "2"" of type '" "int""'");
44003 arg2
= static_cast< int >(val2
);
44005 arg3
= wxString_in_helper(obj2
);
44006 if (arg3
== NULL
) SWIG_fail
;
44010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44011 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
44012 wxPyEndAllowThreads(__tstate
);
44013 if (PyErr_Occurred()) SWIG_fail
;
44015 resultobj
= SWIG_Py_Void();
44030 SWIGINTERN PyObject
*_wrap_Menu_GetHelpString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44031 PyObject
*resultobj
= 0;
44032 wxMenu
*arg1
= (wxMenu
*) 0 ;
44039 PyObject
* obj0
= 0 ;
44040 PyObject
* obj1
= 0 ;
44041 char * kwnames
[] = {
44042 (char *) "self",(char *) "id", NULL
44045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetHelpString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44046 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
44047 if (!SWIG_IsOK(res1
)) {
44048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_GetHelpString" "', expected argument " "1"" of type '" "wxMenu const *""'");
44050 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
44051 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44052 if (!SWIG_IsOK(ecode2
)) {
44053 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_GetHelpString" "', expected argument " "2"" of type '" "int""'");
44055 arg2
= static_cast< int >(val2
);
44057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44058 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
44059 wxPyEndAllowThreads(__tstate
);
44060 if (PyErr_Occurred()) SWIG_fail
;
44064 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44066 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44075 SWIGINTERN PyObject
*_wrap_Menu_SetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44076 PyObject
*resultobj
= 0;
44077 wxMenu
*arg1
= (wxMenu
*) 0 ;
44078 wxString
*arg2
= 0 ;
44081 bool temp2
= false ;
44082 PyObject
* obj0
= 0 ;
44083 PyObject
* obj1
= 0 ;
44084 char * kwnames
[] = {
44085 (char *) "self",(char *) "title", NULL
44088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44089 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
44090 if (!SWIG_IsOK(res1
)) {
44091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_SetTitle" "', expected argument " "1"" of type '" "wxMenu *""'");
44093 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
44095 arg2
= wxString_in_helper(obj1
);
44096 if (arg2
== NULL
) SWIG_fail
;
44100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44101 (arg1
)->SetTitle((wxString
const &)*arg2
);
44102 wxPyEndAllowThreads(__tstate
);
44103 if (PyErr_Occurred()) SWIG_fail
;
44105 resultobj
= SWIG_Py_Void();
44120 SWIGINTERN PyObject
*_wrap_Menu_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44121 PyObject
*resultobj
= 0;
44122 wxMenu
*arg1
= (wxMenu
*) 0 ;
44126 PyObject
*swig_obj
[1] ;
44128 if (!args
) SWIG_fail
;
44129 swig_obj
[0] = args
;
44130 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
44131 if (!SWIG_IsOK(res1
)) {
44132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_GetTitle" "', expected argument " "1"" of type '" "wxMenu const *""'");
44134 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
44136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44137 result
= ((wxMenu
const *)arg1
)->GetTitle();
44138 wxPyEndAllowThreads(__tstate
);
44139 if (PyErr_Occurred()) SWIG_fail
;
44143 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44145 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44154 SWIGINTERN PyObject
*_wrap_Menu_SetEventHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44155 PyObject
*resultobj
= 0;
44156 wxMenu
*arg1
= (wxMenu
*) 0 ;
44157 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
44162 PyObject
* obj0
= 0 ;
44163 PyObject
* obj1
= 0 ;
44164 char * kwnames
[] = {
44165 (char *) "self",(char *) "handler", NULL
44168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44169 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
44170 if (!SWIG_IsOK(res1
)) {
44171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_SetEventHandler" "', expected argument " "1"" of type '" "wxMenu *""'");
44173 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
44174 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
44175 if (!SWIG_IsOK(res2
)) {
44176 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Menu_SetEventHandler" "', expected argument " "2"" of type '" "wxEvtHandler *""'");
44178 arg2
= reinterpret_cast< wxEvtHandler
* >(argp2
);
44180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44181 (arg1
)->SetEventHandler(arg2
);
44182 wxPyEndAllowThreads(__tstate
);
44183 if (PyErr_Occurred()) SWIG_fail
;
44185 resultobj
= SWIG_Py_Void();
44192 SWIGINTERN PyObject
*_wrap_Menu_GetEventHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44193 PyObject
*resultobj
= 0;
44194 wxMenu
*arg1
= (wxMenu
*) 0 ;
44195 wxEvtHandler
*result
= 0 ;
44198 PyObject
*swig_obj
[1] ;
44200 if (!args
) SWIG_fail
;
44201 swig_obj
[0] = args
;
44202 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
44203 if (!SWIG_IsOK(res1
)) {
44204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_GetEventHandler" "', expected argument " "1"" of type '" "wxMenu const *""'");
44206 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
44208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44209 result
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
44210 wxPyEndAllowThreads(__tstate
);
44211 if (PyErr_Occurred()) SWIG_fail
;
44214 resultobj
= wxPyMake_wxObject(result
, 0);
44222 SWIGINTERN PyObject
*_wrap_Menu_SetInvokingWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44223 PyObject
*resultobj
= 0;
44224 wxMenu
*arg1
= (wxMenu
*) 0 ;
44225 wxWindow
*arg2
= (wxWindow
*) 0 ;
44230 PyObject
* obj0
= 0 ;
44231 PyObject
* obj1
= 0 ;
44232 char * kwnames
[] = {
44233 (char *) "self",(char *) "win", NULL
44236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44237 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
44238 if (!SWIG_IsOK(res1
)) {
44239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_SetInvokingWindow" "', expected argument " "1"" of type '" "wxMenu *""'");
44241 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
44242 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44243 if (!SWIG_IsOK(res2
)) {
44244 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Menu_SetInvokingWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
44246 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
44248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44249 (arg1
)->SetInvokingWindow(arg2
);
44250 wxPyEndAllowThreads(__tstate
);
44251 if (PyErr_Occurred()) SWIG_fail
;
44253 resultobj
= SWIG_Py_Void();
44260 SWIGINTERN PyObject
*_wrap_Menu_GetInvokingWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44261 PyObject
*resultobj
= 0;
44262 wxMenu
*arg1
= (wxMenu
*) 0 ;
44263 wxWindow
*result
= 0 ;
44266 PyObject
*swig_obj
[1] ;
44268 if (!args
) SWIG_fail
;
44269 swig_obj
[0] = args
;
44270 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
44271 if (!SWIG_IsOK(res1
)) {
44272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_GetInvokingWindow" "', expected argument " "1"" of type '" "wxMenu const *""'");
44274 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
44276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44277 result
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
44278 wxPyEndAllowThreads(__tstate
);
44279 if (PyErr_Occurred()) SWIG_fail
;
44282 resultobj
= wxPyMake_wxObject(result
, 0);
44290 SWIGINTERN PyObject
*_wrap_Menu_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44291 PyObject
*resultobj
= 0;
44292 wxMenu
*arg1
= (wxMenu
*) 0 ;
44296 PyObject
*swig_obj
[1] ;
44298 if (!args
) SWIG_fail
;
44299 swig_obj
[0] = args
;
44300 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
44301 if (!SWIG_IsOK(res1
)) {
44302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_GetStyle" "', expected argument " "1"" of type '" "wxMenu const *""'");
44304 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
44306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44307 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
44308 wxPyEndAllowThreads(__tstate
);
44309 if (PyErr_Occurred()) SWIG_fail
;
44311 resultobj
= SWIG_From_long(static_cast< long >(result
));
44318 SWIGINTERN PyObject
*_wrap_Menu_UpdateUI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44319 PyObject
*resultobj
= 0;
44320 wxMenu
*arg1
= (wxMenu
*) 0 ;
44321 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
44326 PyObject
* obj0
= 0 ;
44327 PyObject
* obj1
= 0 ;
44328 char * kwnames
[] = {
44329 (char *) "self",(char *) "source", NULL
44332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44333 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
44334 if (!SWIG_IsOK(res1
)) {
44335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_UpdateUI" "', expected argument " "1"" of type '" "wxMenu *""'");
44337 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
44339 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
44340 if (!SWIG_IsOK(res2
)) {
44341 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Menu_UpdateUI" "', expected argument " "2"" of type '" "wxEvtHandler *""'");
44343 arg2
= reinterpret_cast< wxEvtHandler
* >(argp2
);
44346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44347 (arg1
)->UpdateUI(arg2
);
44348 wxPyEndAllowThreads(__tstate
);
44349 if (PyErr_Occurred()) SWIG_fail
;
44351 resultobj
= SWIG_Py_Void();
44358 SWIGINTERN PyObject
*_wrap_Menu_GetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44359 PyObject
*resultobj
= 0;
44360 wxMenu
*arg1
= (wxMenu
*) 0 ;
44361 wxMenuBar
*result
= 0 ;
44364 PyObject
*swig_obj
[1] ;
44366 if (!args
) SWIG_fail
;
44367 swig_obj
[0] = args
;
44368 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
44369 if (!SWIG_IsOK(res1
)) {
44370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_GetMenuBar" "', expected argument " "1"" of type '" "wxMenu const *""'");
44372 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
44374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44375 result
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
44376 wxPyEndAllowThreads(__tstate
);
44377 if (PyErr_Occurred()) SWIG_fail
;
44380 resultobj
= wxPyMake_wxObject(result
, (bool)0);
44388 SWIGINTERN PyObject
*_wrap_Menu_Attach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44389 PyObject
*resultobj
= 0;
44390 wxMenu
*arg1
= (wxMenu
*) 0 ;
44391 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
44396 PyObject
* obj0
= 0 ;
44397 PyObject
* obj1
= 0 ;
44398 char * kwnames
[] = {
44399 (char *) "self",(char *) "menubar", NULL
44402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44403 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
44404 if (!SWIG_IsOK(res1
)) {
44405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_Attach" "', expected argument " "1"" of type '" "wxMenu *""'");
44407 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
44408 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenuBarBase
, 0 | 0 );
44409 if (!SWIG_IsOK(res2
)) {
44410 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Menu_Attach" "', expected argument " "2"" of type '" "wxMenuBarBase *""'");
44412 arg2
= reinterpret_cast< wxMenuBarBase
* >(argp2
);
44414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44415 (arg1
)->Attach(arg2
);
44416 wxPyEndAllowThreads(__tstate
);
44417 if (PyErr_Occurred()) SWIG_fail
;
44419 resultobj
= SWIG_Py_Void();
44426 SWIGINTERN PyObject
*_wrap_Menu_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44427 PyObject
*resultobj
= 0;
44428 wxMenu
*arg1
= (wxMenu
*) 0 ;
44431 PyObject
*swig_obj
[1] ;
44433 if (!args
) SWIG_fail
;
44434 swig_obj
[0] = args
;
44435 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
44436 if (!SWIG_IsOK(res1
)) {
44437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_Detach" "', expected argument " "1"" of type '" "wxMenu *""'");
44439 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
44441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44443 wxPyEndAllowThreads(__tstate
);
44444 if (PyErr_Occurred()) SWIG_fail
;
44446 resultobj
= SWIG_Py_Void();
44453 SWIGINTERN PyObject
*_wrap_Menu_IsAttached(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44454 PyObject
*resultobj
= 0;
44455 wxMenu
*arg1
= (wxMenu
*) 0 ;
44459 PyObject
*swig_obj
[1] ;
44461 if (!args
) SWIG_fail
;
44462 swig_obj
[0] = args
;
44463 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
44464 if (!SWIG_IsOK(res1
)) {
44465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_IsAttached" "', expected argument " "1"" of type '" "wxMenu const *""'");
44467 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
44469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44470 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
44471 wxPyEndAllowThreads(__tstate
);
44472 if (PyErr_Occurred()) SWIG_fail
;
44475 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44483 SWIGINTERN PyObject
*_wrap_Menu_SetParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44484 PyObject
*resultobj
= 0;
44485 wxMenu
*arg1
= (wxMenu
*) 0 ;
44486 wxMenu
*arg2
= (wxMenu
*) 0 ;
44491 PyObject
* obj0
= 0 ;
44492 PyObject
* obj1
= 0 ;
44493 char * kwnames
[] = {
44494 (char *) "self",(char *) "parent", NULL
44497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44498 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
44499 if (!SWIG_IsOK(res1
)) {
44500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_SetParent" "', expected argument " "1"" of type '" "wxMenu *""'");
44502 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
44503 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
44504 if (!SWIG_IsOK(res2
)) {
44505 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Menu_SetParent" "', expected argument " "2"" of type '" "wxMenu *""'");
44507 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
44509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44510 (arg1
)->SetParent(arg2
);
44511 wxPyEndAllowThreads(__tstate
);
44512 if (PyErr_Occurred()) SWIG_fail
;
44514 resultobj
= SWIG_Py_Void();
44521 SWIGINTERN PyObject
*_wrap_Menu_GetParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44522 PyObject
*resultobj
= 0;
44523 wxMenu
*arg1
= (wxMenu
*) 0 ;
44524 wxMenu
*result
= 0 ;
44527 PyObject
*swig_obj
[1] ;
44529 if (!args
) SWIG_fail
;
44530 swig_obj
[0] = args
;
44531 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
44532 if (!SWIG_IsOK(res1
)) {
44533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_GetParent" "', expected argument " "1"" of type '" "wxMenu const *""'");
44535 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
44537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44538 result
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
44539 wxPyEndAllowThreads(__tstate
);
44540 if (PyErr_Occurred()) SWIG_fail
;
44543 resultobj
= wxPyMake_wxObject(result
, 0);
44551 SWIGINTERN PyObject
*Menu_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44553 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44554 SWIG_TypeNewClientData(SWIGTYPE_p_wxMenu
, SWIG_NewClientData(obj
));
44555 return SWIG_Py_Void();
44558 SWIGINTERN PyObject
*Menu_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44559 return SWIG_Python_InitShadowInstance(args
);
44562 SWIGINTERN PyObject
*_wrap_new_MenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44563 PyObject
*resultobj
= 0;
44564 long arg1
= (long) 0 ;
44565 wxMenuBar
*result
= 0 ;
44568 PyObject
* obj0
= 0 ;
44569 char * kwnames
[] = {
44570 (char *) "style", NULL
44573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MenuBar",kwnames
,&obj0
)) SWIG_fail
;
44575 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
44576 if (!SWIG_IsOK(ecode1
)) {
44577 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_MenuBar" "', expected argument " "1"" of type '" "long""'");
44579 arg1
= static_cast< long >(val1
);
44582 if (!wxPyCheckForApp()) SWIG_fail
;
44583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44584 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
44585 wxPyEndAllowThreads(__tstate
);
44586 if (PyErr_Occurred()) SWIG_fail
;
44588 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_NEW
| 0 );
44595 SWIGINTERN PyObject
*_wrap_MenuBar_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44596 PyObject
*resultobj
= 0;
44597 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
44598 wxMenu
*arg2
= (wxMenu
*) 0 ;
44599 wxString
*arg3
= 0 ;
44605 bool temp3
= false ;
44606 PyObject
* obj0
= 0 ;
44607 PyObject
* obj1
= 0 ;
44608 PyObject
* obj2
= 0 ;
44609 char * kwnames
[] = {
44610 (char *) "self",(char *) "menu",(char *) "title", NULL
44613 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
44614 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
44615 if (!SWIG_IsOK(res1
)) {
44616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_Append" "', expected argument " "1"" of type '" "wxMenuBar *""'");
44618 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
44619 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
44620 if (!SWIG_IsOK(res2
)) {
44621 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MenuBar_Append" "', expected argument " "2"" of type '" "wxMenu *""'");
44623 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
44625 arg3
= wxString_in_helper(obj2
);
44626 if (arg3
== NULL
) SWIG_fail
;
44630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44631 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
44632 wxPyEndAllowThreads(__tstate
);
44633 if (PyErr_Occurred()) SWIG_fail
;
44636 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44652 SWIGINTERN PyObject
*_wrap_MenuBar_Insert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44653 PyObject
*resultobj
= 0;
44654 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
44656 wxMenu
*arg3
= (wxMenu
*) 0 ;
44657 wxString
*arg4
= 0 ;
44665 bool temp4
= false ;
44666 PyObject
* obj0
= 0 ;
44667 PyObject
* obj1
= 0 ;
44668 PyObject
* obj2
= 0 ;
44669 PyObject
* obj3
= 0 ;
44670 char * kwnames
[] = {
44671 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
44674 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
44675 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
44676 if (!SWIG_IsOK(res1
)) {
44677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_Insert" "', expected argument " "1"" of type '" "wxMenuBar *""'");
44679 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
44680 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
44681 if (!SWIG_IsOK(ecode2
)) {
44682 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_Insert" "', expected argument " "2"" of type '" "size_t""'");
44684 arg2
= static_cast< size_t >(val2
);
44685 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxMenu
, 0 | 0 );
44686 if (!SWIG_IsOK(res3
)) {
44687 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "MenuBar_Insert" "', expected argument " "3"" of type '" "wxMenu *""'");
44689 arg3
= reinterpret_cast< wxMenu
* >(argp3
);
44691 arg4
= wxString_in_helper(obj3
);
44692 if (arg4
== NULL
) SWIG_fail
;
44696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44697 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
44698 wxPyEndAllowThreads(__tstate
);
44699 if (PyErr_Occurred()) SWIG_fail
;
44702 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44718 SWIGINTERN PyObject
*_wrap_MenuBar_GetMenuCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44719 PyObject
*resultobj
= 0;
44720 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
44724 PyObject
*swig_obj
[1] ;
44726 if (!args
) SWIG_fail
;
44727 swig_obj
[0] = args
;
44728 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
44729 if (!SWIG_IsOK(res1
)) {
44730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_GetMenuCount" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
44732 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
44734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44735 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
44736 wxPyEndAllowThreads(__tstate
);
44737 if (PyErr_Occurred()) SWIG_fail
;
44739 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
44746 SWIGINTERN PyObject
*_wrap_MenuBar_GetMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44747 PyObject
*resultobj
= 0;
44748 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
44750 wxMenu
*result
= 0 ;
44755 PyObject
* obj0
= 0 ;
44756 PyObject
* obj1
= 0 ;
44757 char * kwnames
[] = {
44758 (char *) "self",(char *) "pos", NULL
44761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
44763 if (!SWIG_IsOK(res1
)) {
44764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_GetMenu" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
44766 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
44767 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
44768 if (!SWIG_IsOK(ecode2
)) {
44769 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_GetMenu" "', expected argument " "2"" of type '" "size_t""'");
44771 arg2
= static_cast< size_t >(val2
);
44773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44774 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
44775 wxPyEndAllowThreads(__tstate
);
44776 if (PyErr_Occurred()) SWIG_fail
;
44779 resultobj
= wxPyMake_wxObject(result
, 0);
44787 SWIGINTERN PyObject
*_wrap_MenuBar_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44788 PyObject
*resultobj
= 0;
44789 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
44791 wxMenu
*arg3
= (wxMenu
*) 0 ;
44792 wxString
*arg4
= 0 ;
44793 wxMenu
*result
= 0 ;
44800 bool temp4
= false ;
44801 PyObject
* obj0
= 0 ;
44802 PyObject
* obj1
= 0 ;
44803 PyObject
* obj2
= 0 ;
44804 PyObject
* obj3
= 0 ;
44805 char * kwnames
[] = {
44806 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
44809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
44810 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
44811 if (!SWIG_IsOK(res1
)) {
44812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_Replace" "', expected argument " "1"" of type '" "wxMenuBar *""'");
44814 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
44815 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
44816 if (!SWIG_IsOK(ecode2
)) {
44817 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_Replace" "', expected argument " "2"" of type '" "size_t""'");
44819 arg2
= static_cast< size_t >(val2
);
44820 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxMenu
, 0 | 0 );
44821 if (!SWIG_IsOK(res3
)) {
44822 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "MenuBar_Replace" "', expected argument " "3"" of type '" "wxMenu *""'");
44824 arg3
= reinterpret_cast< wxMenu
* >(argp3
);
44826 arg4
= wxString_in_helper(obj3
);
44827 if (arg4
== NULL
) SWIG_fail
;
44831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44832 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
44833 wxPyEndAllowThreads(__tstate
);
44834 if (PyErr_Occurred()) SWIG_fail
;
44837 resultobj
= wxPyMake_wxObject(result
, 0);
44853 SWIGINTERN PyObject
*_wrap_MenuBar_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44854 PyObject
*resultobj
= 0;
44855 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
44857 wxMenu
*result
= 0 ;
44862 PyObject
* obj0
= 0 ;
44863 PyObject
* obj1
= 0 ;
44864 char * kwnames
[] = {
44865 (char *) "self",(char *) "pos", NULL
44868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
44870 if (!SWIG_IsOK(res1
)) {
44871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_Remove" "', expected argument " "1"" of type '" "wxMenuBar *""'");
44873 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
44874 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
44875 if (!SWIG_IsOK(ecode2
)) {
44876 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_Remove" "', expected argument " "2"" of type '" "size_t""'");
44878 arg2
= static_cast< size_t >(val2
);
44880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44881 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
44882 wxPyEndAllowThreads(__tstate
);
44883 if (PyErr_Occurred()) SWIG_fail
;
44886 resultobj
= wxPyMake_wxObject(result
, 0);
44894 SWIGINTERN PyObject
*_wrap_MenuBar_EnableTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44895 PyObject
*resultobj
= 0;
44896 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
44905 PyObject
* obj0
= 0 ;
44906 PyObject
* obj1
= 0 ;
44907 PyObject
* obj2
= 0 ;
44908 char * kwnames
[] = {
44909 (char *) "self",(char *) "pos",(char *) "enable", NULL
44912 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
44913 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
44914 if (!SWIG_IsOK(res1
)) {
44915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_EnableTop" "', expected argument " "1"" of type '" "wxMenuBar *""'");
44917 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
44918 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
44919 if (!SWIG_IsOK(ecode2
)) {
44920 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_EnableTop" "', expected argument " "2"" of type '" "size_t""'");
44922 arg2
= static_cast< size_t >(val2
);
44923 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
44924 if (!SWIG_IsOK(ecode3
)) {
44925 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MenuBar_EnableTop" "', expected argument " "3"" of type '" "bool""'");
44927 arg3
= static_cast< bool >(val3
);
44929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44930 (arg1
)->EnableTop(arg2
,arg3
);
44931 wxPyEndAllowThreads(__tstate
);
44932 if (PyErr_Occurred()) SWIG_fail
;
44934 resultobj
= SWIG_Py_Void();
44941 SWIGINTERN PyObject
*_wrap_MenuBar_IsEnabledTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44942 PyObject
*resultobj
= 0;
44943 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
44950 PyObject
* obj0
= 0 ;
44951 PyObject
* obj1
= 0 ;
44952 char * kwnames
[] = {
44953 (char *) "self",(char *) "pos", NULL
44956 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44957 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
44958 if (!SWIG_IsOK(res1
)) {
44959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_IsEnabledTop" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
44961 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
44962 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
44963 if (!SWIG_IsOK(ecode2
)) {
44964 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_IsEnabledTop" "', expected argument " "2"" of type '" "size_t""'");
44966 arg2
= static_cast< size_t >(val2
);
44968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44969 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
44970 wxPyEndAllowThreads(__tstate
);
44971 if (PyErr_Occurred()) SWIG_fail
;
44974 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44982 SWIGINTERN PyObject
*_wrap_MenuBar_SetLabelTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44983 PyObject
*resultobj
= 0;
44984 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
44986 wxString
*arg3
= 0 ;
44991 bool temp3
= false ;
44992 PyObject
* obj0
= 0 ;
44993 PyObject
* obj1
= 0 ;
44994 PyObject
* obj2
= 0 ;
44995 char * kwnames
[] = {
44996 (char *) "self",(char *) "pos",(char *) "label", NULL
44999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
45000 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
45001 if (!SWIG_IsOK(res1
)) {
45002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_SetLabelTop" "', expected argument " "1"" of type '" "wxMenuBar *""'");
45004 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
45005 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
45006 if (!SWIG_IsOK(ecode2
)) {
45007 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_SetLabelTop" "', expected argument " "2"" of type '" "size_t""'");
45009 arg2
= static_cast< size_t >(val2
);
45011 arg3
= wxString_in_helper(obj2
);
45012 if (arg3
== NULL
) SWIG_fail
;
45016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45017 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
45018 wxPyEndAllowThreads(__tstate
);
45019 if (PyErr_Occurred()) SWIG_fail
;
45021 resultobj
= SWIG_Py_Void();
45036 SWIGINTERN PyObject
*_wrap_MenuBar_GetLabelTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45037 PyObject
*resultobj
= 0;
45038 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
45045 PyObject
* obj0
= 0 ;
45046 PyObject
* obj1
= 0 ;
45047 char * kwnames
[] = {
45048 (char *) "self",(char *) "pos", NULL
45051 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45052 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
45053 if (!SWIG_IsOK(res1
)) {
45054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_GetLabelTop" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
45056 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
45057 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
45058 if (!SWIG_IsOK(ecode2
)) {
45059 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_GetLabelTop" "', expected argument " "2"" of type '" "size_t""'");
45061 arg2
= static_cast< size_t >(val2
);
45063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45064 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
45065 wxPyEndAllowThreads(__tstate
);
45066 if (PyErr_Occurred()) SWIG_fail
;
45070 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
45072 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
45081 SWIGINTERN PyObject
*_wrap_MenuBar_FindMenuItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45082 PyObject
*resultobj
= 0;
45083 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
45084 wxString
*arg2
= 0 ;
45085 wxString
*arg3
= 0 ;
45089 bool temp2
= false ;
45090 bool temp3
= false ;
45091 PyObject
* obj0
= 0 ;
45092 PyObject
* obj1
= 0 ;
45093 PyObject
* obj2
= 0 ;
45094 char * kwnames
[] = {
45095 (char *) "self",(char *) "menu",(char *) "item", NULL
45098 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
45099 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
45100 if (!SWIG_IsOK(res1
)) {
45101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_FindMenuItem" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
45103 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
45105 arg2
= wxString_in_helper(obj1
);
45106 if (arg2
== NULL
) SWIG_fail
;
45110 arg3
= wxString_in_helper(obj2
);
45111 if (arg3
== NULL
) SWIG_fail
;
45115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45116 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
45117 wxPyEndAllowThreads(__tstate
);
45118 if (PyErr_Occurred()) SWIG_fail
;
45120 resultobj
= SWIG_From_int(static_cast< int >(result
));
45143 SWIGINTERN PyObject
*_wrap_MenuBar_FindItemById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45144 PyObject
*resultobj
= 0;
45145 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
45147 wxMenuItem
*result
= 0 ;
45152 PyObject
* obj0
= 0 ;
45153 PyObject
* obj1
= 0 ;
45154 char * kwnames
[] = {
45155 (char *) "self",(char *) "id", NULL
45158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindItemById",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45159 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
45160 if (!SWIG_IsOK(res1
)) {
45161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_FindItemById" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
45163 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
45164 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45165 if (!SWIG_IsOK(ecode2
)) {
45166 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_FindItemById" "', expected argument " "2"" of type '" "int""'");
45168 arg2
= static_cast< int >(val2
);
45170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45171 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
45172 wxPyEndAllowThreads(__tstate
);
45173 if (PyErr_Occurred()) SWIG_fail
;
45176 resultobj
= wxPyMake_wxObject(result
, (bool)0);
45184 SWIGINTERN PyObject
*_wrap_MenuBar_FindMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45185 PyObject
*resultobj
= 0;
45186 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
45187 wxString
*arg2
= 0 ;
45191 bool temp2
= false ;
45192 PyObject
* obj0
= 0 ;
45193 PyObject
* obj1
= 0 ;
45194 char * kwnames
[] = {
45195 (char *) "self",(char *) "title", NULL
45198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45199 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
45200 if (!SWIG_IsOK(res1
)) {
45201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_FindMenu" "', expected argument " "1"" of type '" "wxMenuBar *""'");
45203 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
45205 arg2
= wxString_in_helper(obj1
);
45206 if (arg2
== NULL
) SWIG_fail
;
45210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45211 result
= (int)(arg1
)->FindMenu((wxString
const &)*arg2
);
45212 wxPyEndAllowThreads(__tstate
);
45213 if (PyErr_Occurred()) SWIG_fail
;
45215 resultobj
= SWIG_From_int(static_cast< int >(result
));
45230 SWIGINTERN PyObject
*_wrap_MenuBar_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45231 PyObject
*resultobj
= 0;
45232 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
45241 PyObject
* obj0
= 0 ;
45242 PyObject
* obj1
= 0 ;
45243 PyObject
* obj2
= 0 ;
45244 char * kwnames
[] = {
45245 (char *) "self",(char *) "id",(char *) "enable", NULL
45248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
45249 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
45250 if (!SWIG_IsOK(res1
)) {
45251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_Enable" "', expected argument " "1"" of type '" "wxMenuBar *""'");
45253 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
45254 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45255 if (!SWIG_IsOK(ecode2
)) {
45256 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_Enable" "', expected argument " "2"" of type '" "int""'");
45258 arg2
= static_cast< int >(val2
);
45259 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
45260 if (!SWIG_IsOK(ecode3
)) {
45261 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MenuBar_Enable" "', expected argument " "3"" of type '" "bool""'");
45263 arg3
= static_cast< bool >(val3
);
45265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45266 (arg1
)->Enable(arg2
,arg3
);
45267 wxPyEndAllowThreads(__tstate
);
45268 if (PyErr_Occurred()) SWIG_fail
;
45270 resultobj
= SWIG_Py_Void();
45277 SWIGINTERN PyObject
*_wrap_MenuBar_Check(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45278 PyObject
*resultobj
= 0;
45279 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
45288 PyObject
* obj0
= 0 ;
45289 PyObject
* obj1
= 0 ;
45290 PyObject
* obj2
= 0 ;
45291 char * kwnames
[] = {
45292 (char *) "self",(char *) "id",(char *) "check", NULL
45295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Check",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
45296 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
45297 if (!SWIG_IsOK(res1
)) {
45298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_Check" "', expected argument " "1"" of type '" "wxMenuBar *""'");
45300 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
45301 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45302 if (!SWIG_IsOK(ecode2
)) {
45303 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_Check" "', expected argument " "2"" of type '" "int""'");
45305 arg2
= static_cast< int >(val2
);
45306 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
45307 if (!SWIG_IsOK(ecode3
)) {
45308 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MenuBar_Check" "', expected argument " "3"" of type '" "bool""'");
45310 arg3
= static_cast< bool >(val3
);
45312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45313 (arg1
)->Check(arg2
,arg3
);
45314 wxPyEndAllowThreads(__tstate
);
45315 if (PyErr_Occurred()) SWIG_fail
;
45317 resultobj
= SWIG_Py_Void();
45324 SWIGINTERN PyObject
*_wrap_MenuBar_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45325 PyObject
*resultobj
= 0;
45326 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
45333 PyObject
* obj0
= 0 ;
45334 PyObject
* obj1
= 0 ;
45335 char * kwnames
[] = {
45336 (char *) "self",(char *) "id", NULL
45339 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsChecked",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45340 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
45341 if (!SWIG_IsOK(res1
)) {
45342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_IsChecked" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
45344 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
45345 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45346 if (!SWIG_IsOK(ecode2
)) {
45347 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_IsChecked" "', expected argument " "2"" of type '" "int""'");
45349 arg2
= static_cast< int >(val2
);
45351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45352 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
45353 wxPyEndAllowThreads(__tstate
);
45354 if (PyErr_Occurred()) SWIG_fail
;
45357 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45365 SWIGINTERN PyObject
*_wrap_MenuBar_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45366 PyObject
*resultobj
= 0;
45367 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
45374 PyObject
* obj0
= 0 ;
45375 PyObject
* obj1
= 0 ;
45376 char * kwnames
[] = {
45377 (char *) "self",(char *) "id", NULL
45380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45381 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
45382 if (!SWIG_IsOK(res1
)) {
45383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_IsEnabled" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
45385 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
45386 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45387 if (!SWIG_IsOK(ecode2
)) {
45388 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_IsEnabled" "', expected argument " "2"" of type '" "int""'");
45390 arg2
= static_cast< int >(val2
);
45392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45393 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
45394 wxPyEndAllowThreads(__tstate
);
45395 if (PyErr_Occurred()) SWIG_fail
;
45398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45406 SWIGINTERN PyObject
*_wrap_MenuBar_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45407 PyObject
*resultobj
= 0;
45408 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
45410 wxString
*arg3
= 0 ;
45415 bool temp3
= false ;
45416 PyObject
* obj0
= 0 ;
45417 PyObject
* obj1
= 0 ;
45418 PyObject
* obj2
= 0 ;
45419 char * kwnames
[] = {
45420 (char *) "self",(char *) "id",(char *) "label", NULL
45423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
45424 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
45425 if (!SWIG_IsOK(res1
)) {
45426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_SetLabel" "', expected argument " "1"" of type '" "wxMenuBar *""'");
45428 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
45429 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45430 if (!SWIG_IsOK(ecode2
)) {
45431 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_SetLabel" "', expected argument " "2"" of type '" "int""'");
45433 arg2
= static_cast< int >(val2
);
45435 arg3
= wxString_in_helper(obj2
);
45436 if (arg3
== NULL
) SWIG_fail
;
45440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45441 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
45442 wxPyEndAllowThreads(__tstate
);
45443 if (PyErr_Occurred()) SWIG_fail
;
45445 resultobj
= SWIG_Py_Void();
45460 SWIGINTERN PyObject
*_wrap_MenuBar_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45461 PyObject
*resultobj
= 0;
45462 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
45469 PyObject
* obj0
= 0 ;
45470 PyObject
* obj1
= 0 ;
45471 char * kwnames
[] = {
45472 (char *) "self",(char *) "id", NULL
45475 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45476 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
45477 if (!SWIG_IsOK(res1
)) {
45478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_GetLabel" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
45480 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
45481 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45482 if (!SWIG_IsOK(ecode2
)) {
45483 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_GetLabel" "', expected argument " "2"" of type '" "int""'");
45485 arg2
= static_cast< int >(val2
);
45487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45488 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
45489 wxPyEndAllowThreads(__tstate
);
45490 if (PyErr_Occurred()) SWIG_fail
;
45494 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
45496 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
45505 SWIGINTERN PyObject
*_wrap_MenuBar_SetHelpString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45506 PyObject
*resultobj
= 0;
45507 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
45509 wxString
*arg3
= 0 ;
45514 bool temp3
= false ;
45515 PyObject
* obj0
= 0 ;
45516 PyObject
* obj1
= 0 ;
45517 PyObject
* obj2
= 0 ;
45518 char * kwnames
[] = {
45519 (char *) "self",(char *) "id",(char *) "helpString", NULL
45522 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
45523 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
45524 if (!SWIG_IsOK(res1
)) {
45525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_SetHelpString" "', expected argument " "1"" of type '" "wxMenuBar *""'");
45527 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
45528 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45529 if (!SWIG_IsOK(ecode2
)) {
45530 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_SetHelpString" "', expected argument " "2"" of type '" "int""'");
45532 arg2
= static_cast< int >(val2
);
45534 arg3
= wxString_in_helper(obj2
);
45535 if (arg3
== NULL
) SWIG_fail
;
45539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45540 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
45541 wxPyEndAllowThreads(__tstate
);
45542 if (PyErr_Occurred()) SWIG_fail
;
45544 resultobj
= SWIG_Py_Void();
45559 SWIGINTERN PyObject
*_wrap_MenuBar_GetHelpString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45560 PyObject
*resultobj
= 0;
45561 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
45568 PyObject
* obj0
= 0 ;
45569 PyObject
* obj1
= 0 ;
45570 char * kwnames
[] = {
45571 (char *) "self",(char *) "id", NULL
45574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetHelpString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45575 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
45576 if (!SWIG_IsOK(res1
)) {
45577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_GetHelpString" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
45579 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
45580 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45581 if (!SWIG_IsOK(ecode2
)) {
45582 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_GetHelpString" "', expected argument " "2"" of type '" "int""'");
45584 arg2
= static_cast< int >(val2
);
45586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45587 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
45588 wxPyEndAllowThreads(__tstate
);
45589 if (PyErr_Occurred()) SWIG_fail
;
45593 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
45595 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
45604 SWIGINTERN PyObject
*_wrap_MenuBar_GetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45605 PyObject
*resultobj
= 0;
45606 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
45607 wxFrame
*result
= 0 ;
45610 PyObject
*swig_obj
[1] ;
45612 if (!args
) SWIG_fail
;
45613 swig_obj
[0] = args
;
45614 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
45615 if (!SWIG_IsOK(res1
)) {
45616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_GetFrame" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
45618 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
45620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45621 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
45622 wxPyEndAllowThreads(__tstate
);
45623 if (PyErr_Occurred()) SWIG_fail
;
45626 resultobj
= wxPyMake_wxObject(result
, (bool)0);
45634 SWIGINTERN PyObject
*_wrap_MenuBar_IsAttached(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45635 PyObject
*resultobj
= 0;
45636 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
45640 PyObject
*swig_obj
[1] ;
45642 if (!args
) SWIG_fail
;
45643 swig_obj
[0] = args
;
45644 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
45645 if (!SWIG_IsOK(res1
)) {
45646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_IsAttached" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
45648 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
45650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45651 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
45652 wxPyEndAllowThreads(__tstate
);
45653 if (PyErr_Occurred()) SWIG_fail
;
45656 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45664 SWIGINTERN PyObject
*_wrap_MenuBar_Attach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45665 PyObject
*resultobj
= 0;
45666 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
45667 wxFrame
*arg2
= (wxFrame
*) 0 ;
45672 PyObject
* obj0
= 0 ;
45673 PyObject
* obj1
= 0 ;
45674 char * kwnames
[] = {
45675 (char *) "self",(char *) "frame", NULL
45678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45679 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
45680 if (!SWIG_IsOK(res1
)) {
45681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_Attach" "', expected argument " "1"" of type '" "wxMenuBar *""'");
45683 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
45684 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
45685 if (!SWIG_IsOK(res2
)) {
45686 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MenuBar_Attach" "', expected argument " "2"" of type '" "wxFrame *""'");
45688 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
45690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45691 (arg1
)->Attach(arg2
);
45692 wxPyEndAllowThreads(__tstate
);
45693 if (PyErr_Occurred()) SWIG_fail
;
45695 resultobj
= SWIG_Py_Void();
45702 SWIGINTERN PyObject
*_wrap_MenuBar_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45703 PyObject
*resultobj
= 0;
45704 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
45707 PyObject
*swig_obj
[1] ;
45709 if (!args
) SWIG_fail
;
45710 swig_obj
[0] = args
;
45711 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
45712 if (!SWIG_IsOK(res1
)) {
45713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_Detach" "', expected argument " "1"" of type '" "wxMenuBar *""'");
45715 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
45717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45719 wxPyEndAllowThreads(__tstate
);
45720 if (PyErr_Occurred()) SWIG_fail
;
45722 resultobj
= SWIG_Py_Void();
45729 SWIGINTERN PyObject
*_wrap_MenuBar_UpdateMenus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45730 PyObject
*resultobj
= 0;
45731 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
45734 PyObject
*swig_obj
[1] ;
45736 if (!args
) SWIG_fail
;
45737 swig_obj
[0] = args
;
45738 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
45739 if (!SWIG_IsOK(res1
)) {
45740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_UpdateMenus" "', expected argument " "1"" of type '" "wxMenuBar *""'");
45742 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
45744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45745 (arg1
)->UpdateMenus();
45746 wxPyEndAllowThreads(__tstate
);
45747 if (PyErr_Occurred()) SWIG_fail
;
45749 resultobj
= SWIG_Py_Void();
45756 SWIGINTERN PyObject
*_wrap_MenuBar_SetAutoWindowMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45757 PyObject
*resultobj
= 0;
45761 PyObject
* obj0
= 0 ;
45762 char * kwnames
[] = {
45763 (char *) "enable", NULL
45766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_SetAutoWindowMenu",kwnames
,&obj0
)) SWIG_fail
;
45767 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
45768 if (!SWIG_IsOK(ecode1
)) {
45769 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "MenuBar_SetAutoWindowMenu" "', expected argument " "1"" of type '" "bool""'");
45771 arg1
= static_cast< bool >(val1
);
45773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45774 wxMenuBar_SetAutoWindowMenu(arg1
);
45775 wxPyEndAllowThreads(__tstate
);
45776 if (PyErr_Occurred()) SWIG_fail
;
45778 resultobj
= SWIG_Py_Void();
45785 SWIGINTERN PyObject
*_wrap_MenuBar_GetAutoWindowMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45786 PyObject
*resultobj
= 0;
45789 if (!SWIG_Python_UnpackTuple(args
,"MenuBar_GetAutoWindowMenu",0,0,0)) SWIG_fail
;
45791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45792 result
= (bool)wxMenuBar_GetAutoWindowMenu();
45793 wxPyEndAllowThreads(__tstate
);
45794 if (PyErr_Occurred()) SWIG_fail
;
45797 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45805 SWIGINTERN PyObject
*MenuBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45807 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45808 SWIG_TypeNewClientData(SWIGTYPE_p_wxMenuBar
, SWIG_NewClientData(obj
));
45809 return SWIG_Py_Void();
45812 SWIGINTERN PyObject
*MenuBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45813 return SWIG_Python_InitShadowInstance(args
);
45816 SWIGINTERN PyObject
*_wrap_new_MenuItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45817 PyObject
*resultobj
= 0;
45818 wxMenu
*arg1
= (wxMenu
*) NULL
;
45819 int arg2
= (int) wxID_SEPARATOR
;
45820 wxString
const &arg3_defvalue
= wxPyEmptyString
;
45821 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
45822 wxString
const &arg4_defvalue
= wxPyEmptyString
;
45823 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
45824 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
45825 wxMenu
*arg6
= (wxMenu
*) NULL
;
45826 wxMenuItem
*result
= 0 ;
45831 bool temp3
= false ;
45832 bool temp4
= false ;
45837 PyObject
* obj0
= 0 ;
45838 PyObject
* obj1
= 0 ;
45839 PyObject
* obj2
= 0 ;
45840 PyObject
* obj3
= 0 ;
45841 PyObject
* obj4
= 0 ;
45842 PyObject
* obj5
= 0 ;
45843 char * kwnames
[] = {
45844 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
45847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_MenuItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
45849 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
45850 if (!SWIG_IsOK(res1
)) {
45851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MenuItem" "', expected argument " "1"" of type '" "wxMenu *""'");
45853 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
45856 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45857 if (!SWIG_IsOK(ecode2
)) {
45858 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MenuItem" "', expected argument " "2"" of type '" "int""'");
45860 arg2
= static_cast< int >(val2
);
45864 arg3
= wxString_in_helper(obj2
);
45865 if (arg3
== NULL
) SWIG_fail
;
45871 arg4
= wxString_in_helper(obj3
);
45872 if (arg4
== NULL
) SWIG_fail
;
45877 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
45878 if (!SWIG_IsOK(ecode5
)) {
45879 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_MenuItem" "', expected argument " "5"" of type '" "wxItemKind""'");
45881 arg5
= static_cast< wxItemKind
>(val5
);
45884 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxMenu
, 0 | 0 );
45885 if (!SWIG_IsOK(res6
)) {
45886 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_MenuItem" "', expected argument " "6"" of type '" "wxMenu *""'");
45888 arg6
= reinterpret_cast< wxMenu
* >(argp6
);
45891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45892 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
45893 wxPyEndAllowThreads(__tstate
);
45894 if (PyErr_Occurred()) SWIG_fail
;
45896 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_NEW
| 0 );
45919 SWIGINTERN PyObject
*_wrap_delete_MenuItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45920 PyObject
*resultobj
= 0;
45921 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
45924 PyObject
*swig_obj
[1] ;
45926 if (!args
) SWIG_fail
;
45927 swig_obj
[0] = args
;
45928 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_DISOWN
| 0 );
45929 if (!SWIG_IsOK(res1
)) {
45930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MenuItem" "', expected argument " "1"" of type '" "wxMenuItem *""'");
45932 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
45934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45937 wxPyEndAllowThreads(__tstate
);
45938 if (PyErr_Occurred()) SWIG_fail
;
45940 resultobj
= SWIG_Py_Void();
45947 SWIGINTERN PyObject
*_wrap_MenuItem_GetMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45948 PyObject
*resultobj
= 0;
45949 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
45950 wxMenu
*result
= 0 ;
45953 PyObject
*swig_obj
[1] ;
45955 if (!args
) SWIG_fail
;
45956 swig_obj
[0] = args
;
45957 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
45958 if (!SWIG_IsOK(res1
)) {
45959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetMenu" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
45961 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
45963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45964 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
45965 wxPyEndAllowThreads(__tstate
);
45966 if (PyErr_Occurred()) SWIG_fail
;
45969 resultobj
= wxPyMake_wxObject(result
, 0);
45977 SWIGINTERN PyObject
*_wrap_MenuItem_SetMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45978 PyObject
*resultobj
= 0;
45979 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
45980 wxMenu
*arg2
= (wxMenu
*) 0 ;
45985 PyObject
* obj0
= 0 ;
45986 PyObject
* obj1
= 0 ;
45987 char * kwnames
[] = {
45988 (char *) "self",(char *) "menu", NULL
45991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45992 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
45993 if (!SWIG_IsOK(res1
)) {
45994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetMenu" "', expected argument " "1"" of type '" "wxMenuItem *""'");
45996 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
45997 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
45998 if (!SWIG_IsOK(res2
)) {
45999 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MenuItem_SetMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
46001 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
46003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46004 (arg1
)->SetMenu(arg2
);
46005 wxPyEndAllowThreads(__tstate
);
46006 if (PyErr_Occurred()) SWIG_fail
;
46008 resultobj
= SWIG_Py_Void();
46015 SWIGINTERN PyObject
*_wrap_MenuItem_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46016 PyObject
*resultobj
= 0;
46017 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
46023 PyObject
* obj0
= 0 ;
46024 PyObject
* obj1
= 0 ;
46025 char * kwnames
[] = {
46026 (char *) "self",(char *) "id", NULL
46029 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46030 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
46031 if (!SWIG_IsOK(res1
)) {
46032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetId" "', expected argument " "1"" of type '" "wxMenuItem *""'");
46034 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
46035 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
46036 if (!SWIG_IsOK(ecode2
)) {
46037 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuItem_SetId" "', expected argument " "2"" of type '" "int""'");
46039 arg2
= static_cast< int >(val2
);
46041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46042 (arg1
)->SetId(arg2
);
46043 wxPyEndAllowThreads(__tstate
);
46044 if (PyErr_Occurred()) SWIG_fail
;
46046 resultobj
= SWIG_Py_Void();
46053 SWIGINTERN PyObject
*_wrap_MenuItem_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46054 PyObject
*resultobj
= 0;
46055 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
46059 PyObject
*swig_obj
[1] ;
46061 if (!args
) SWIG_fail
;
46062 swig_obj
[0] = args
;
46063 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
46064 if (!SWIG_IsOK(res1
)) {
46065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetId" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
46067 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
46069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46070 result
= (int)((wxMenuItem
const *)arg1
)->GetId();
46071 wxPyEndAllowThreads(__tstate
);
46072 if (PyErr_Occurred()) SWIG_fail
;
46074 resultobj
= SWIG_From_int(static_cast< int >(result
));
46081 SWIGINTERN PyObject
*_wrap_MenuItem_IsSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46082 PyObject
*resultobj
= 0;
46083 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
46087 PyObject
*swig_obj
[1] ;
46089 if (!args
) SWIG_fail
;
46090 swig_obj
[0] = args
;
46091 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
46092 if (!SWIG_IsOK(res1
)) {
46093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_IsSeparator" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
46095 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
46097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46098 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
46099 wxPyEndAllowThreads(__tstate
);
46100 if (PyErr_Occurred()) SWIG_fail
;
46103 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46111 SWIGINTERN PyObject
*_wrap_MenuItem_SetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46112 PyObject
*resultobj
= 0;
46113 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
46114 wxString
*arg2
= 0 ;
46117 bool temp2
= false ;
46118 PyObject
* obj0
= 0 ;
46119 PyObject
* obj1
= 0 ;
46120 char * kwnames
[] = {
46121 (char *) "self",(char *) "str", NULL
46124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46125 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
46126 if (!SWIG_IsOK(res1
)) {
46127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetText" "', expected argument " "1"" of type '" "wxMenuItem *""'");
46129 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
46131 arg2
= wxString_in_helper(obj1
);
46132 if (arg2
== NULL
) SWIG_fail
;
46136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46137 (arg1
)->SetText((wxString
const &)*arg2
);
46138 wxPyEndAllowThreads(__tstate
);
46139 if (PyErr_Occurred()) SWIG_fail
;
46141 resultobj
= SWIG_Py_Void();
46156 SWIGINTERN PyObject
*_wrap_MenuItem_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46157 PyObject
*resultobj
= 0;
46158 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
46162 PyObject
*swig_obj
[1] ;
46164 if (!args
) SWIG_fail
;
46165 swig_obj
[0] = args
;
46166 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
46167 if (!SWIG_IsOK(res1
)) {
46168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetLabel" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
46170 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
46172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46173 result
= ((wxMenuItem
const *)arg1
)->GetLabel();
46174 wxPyEndAllowThreads(__tstate
);
46175 if (PyErr_Occurred()) SWIG_fail
;
46179 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
46181 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
46190 SWIGINTERN PyObject
*_wrap_MenuItem_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46191 PyObject
*resultobj
= 0;
46192 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
46193 wxString
*result
= 0 ;
46196 PyObject
*swig_obj
[1] ;
46198 if (!args
) SWIG_fail
;
46199 swig_obj
[0] = args
;
46200 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
46201 if (!SWIG_IsOK(res1
)) {
46202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetText" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
46204 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
46206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46208 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
46209 result
= (wxString
*) &_result_ref
;
46211 wxPyEndAllowThreads(__tstate
);
46212 if (PyErr_Occurred()) SWIG_fail
;
46216 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
46218 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
46227 SWIGINTERN PyObject
*_wrap_MenuItem_GetLabelFromText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46228 PyObject
*resultobj
= 0;
46229 wxString
*arg1
= 0 ;
46231 bool temp1
= false ;
46232 PyObject
* obj0
= 0 ;
46233 char * kwnames
[] = {
46234 (char *) "text", NULL
46237 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) SWIG_fail
;
46239 arg1
= wxString_in_helper(obj0
);
46240 if (arg1
== NULL
) SWIG_fail
;
46244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46245 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
46246 wxPyEndAllowThreads(__tstate
);
46247 if (PyErr_Occurred()) SWIG_fail
;
46251 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
46253 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
46270 SWIGINTERN PyObject
*_wrap_MenuItem_GetKind(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46271 PyObject
*resultobj
= 0;
46272 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
46276 PyObject
*swig_obj
[1] ;
46278 if (!args
) SWIG_fail
;
46279 swig_obj
[0] = args
;
46280 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
46281 if (!SWIG_IsOK(res1
)) {
46282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetKind" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
46284 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
46286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46287 result
= (wxItemKind
)((wxMenuItem
const *)arg1
)->GetKind();
46288 wxPyEndAllowThreads(__tstate
);
46289 if (PyErr_Occurred()) SWIG_fail
;
46291 resultobj
= SWIG_From_int(static_cast< int >(result
));
46298 SWIGINTERN PyObject
*_wrap_MenuItem_SetKind(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46299 PyObject
*resultobj
= 0;
46300 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
46306 PyObject
* obj0
= 0 ;
46307 PyObject
* obj1
= 0 ;
46308 char * kwnames
[] = {
46309 (char *) "self",(char *) "kind", NULL
46312 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetKind",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46313 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
46314 if (!SWIG_IsOK(res1
)) {
46315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetKind" "', expected argument " "1"" of type '" "wxMenuItem *""'");
46317 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
46318 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
46319 if (!SWIG_IsOK(ecode2
)) {
46320 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuItem_SetKind" "', expected argument " "2"" of type '" "wxItemKind""'");
46322 arg2
= static_cast< wxItemKind
>(val2
);
46324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46325 (arg1
)->SetKind(arg2
);
46326 wxPyEndAllowThreads(__tstate
);
46327 if (PyErr_Occurred()) SWIG_fail
;
46329 resultobj
= SWIG_Py_Void();
46336 SWIGINTERN PyObject
*_wrap_MenuItem_SetCheckable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46337 PyObject
*resultobj
= 0;
46338 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
46344 PyObject
* obj0
= 0 ;
46345 PyObject
* obj1
= 0 ;
46346 char * kwnames
[] = {
46347 (char *) "self",(char *) "checkable", NULL
46350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46351 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
46352 if (!SWIG_IsOK(res1
)) {
46353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetCheckable" "', expected argument " "1"" of type '" "wxMenuItem *""'");
46355 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
46356 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
46357 if (!SWIG_IsOK(ecode2
)) {
46358 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuItem_SetCheckable" "', expected argument " "2"" of type '" "bool""'");
46360 arg2
= static_cast< bool >(val2
);
46362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46363 (arg1
)->SetCheckable(arg2
);
46364 wxPyEndAllowThreads(__tstate
);
46365 if (PyErr_Occurred()) SWIG_fail
;
46367 resultobj
= SWIG_Py_Void();
46374 SWIGINTERN PyObject
*_wrap_MenuItem_IsCheckable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46375 PyObject
*resultobj
= 0;
46376 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
46380 PyObject
*swig_obj
[1] ;
46382 if (!args
) SWIG_fail
;
46383 swig_obj
[0] = args
;
46384 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
46385 if (!SWIG_IsOK(res1
)) {
46386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_IsCheckable" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
46388 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
46390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46391 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
46392 wxPyEndAllowThreads(__tstate
);
46393 if (PyErr_Occurred()) SWIG_fail
;
46396 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46404 SWIGINTERN PyObject
*_wrap_MenuItem_IsSubMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46405 PyObject
*resultobj
= 0;
46406 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
46410 PyObject
*swig_obj
[1] ;
46412 if (!args
) SWIG_fail
;
46413 swig_obj
[0] = args
;
46414 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
46415 if (!SWIG_IsOK(res1
)) {
46416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_IsSubMenu" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
46418 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
46420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46421 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
46422 wxPyEndAllowThreads(__tstate
);
46423 if (PyErr_Occurred()) SWIG_fail
;
46426 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46434 SWIGINTERN PyObject
*_wrap_MenuItem_SetSubMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46435 PyObject
*resultobj
= 0;
46436 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
46437 wxMenu
*arg2
= (wxMenu
*) 0 ;
46442 PyObject
* obj0
= 0 ;
46443 PyObject
* obj1
= 0 ;
46444 char * kwnames
[] = {
46445 (char *) "self",(char *) "menu", NULL
46448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46449 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
46450 if (!SWIG_IsOK(res1
)) {
46451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetSubMenu" "', expected argument " "1"" of type '" "wxMenuItem *""'");
46453 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
46454 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
46455 if (!SWIG_IsOK(res2
)) {
46456 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MenuItem_SetSubMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
46458 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
46460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46461 (arg1
)->SetSubMenu(arg2
);
46462 wxPyEndAllowThreads(__tstate
);
46463 if (PyErr_Occurred()) SWIG_fail
;
46465 resultobj
= SWIG_Py_Void();
46472 SWIGINTERN PyObject
*_wrap_MenuItem_GetSubMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46473 PyObject
*resultobj
= 0;
46474 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
46475 wxMenu
*result
= 0 ;
46478 PyObject
*swig_obj
[1] ;
46480 if (!args
) SWIG_fail
;
46481 swig_obj
[0] = args
;
46482 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
46483 if (!SWIG_IsOK(res1
)) {
46484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetSubMenu" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
46486 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
46488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46489 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
46490 wxPyEndAllowThreads(__tstate
);
46491 if (PyErr_Occurred()) SWIG_fail
;
46494 resultobj
= wxPyMake_wxObject(result
, 0);
46502 SWIGINTERN PyObject
*_wrap_MenuItem_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46503 PyObject
*resultobj
= 0;
46504 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
46505 bool arg2
= (bool) true ;
46510 PyObject
* obj0
= 0 ;
46511 PyObject
* obj1
= 0 ;
46512 char * kwnames
[] = {
46513 (char *) "self",(char *) "enable", NULL
46516 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46517 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
46518 if (!SWIG_IsOK(res1
)) {
46519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_Enable" "', expected argument " "1"" of type '" "wxMenuItem *""'");
46521 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
46523 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
46524 if (!SWIG_IsOK(ecode2
)) {
46525 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuItem_Enable" "', expected argument " "2"" of type '" "bool""'");
46527 arg2
= static_cast< bool >(val2
);
46530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46531 (arg1
)->Enable(arg2
);
46532 wxPyEndAllowThreads(__tstate
);
46533 if (PyErr_Occurred()) SWIG_fail
;
46535 resultobj
= SWIG_Py_Void();
46542 SWIGINTERN PyObject
*_wrap_MenuItem_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46543 PyObject
*resultobj
= 0;
46544 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
46548 PyObject
*swig_obj
[1] ;
46550 if (!args
) SWIG_fail
;
46551 swig_obj
[0] = args
;
46552 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
46553 if (!SWIG_IsOK(res1
)) {
46554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_IsEnabled" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
46556 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
46558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46559 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
46560 wxPyEndAllowThreads(__tstate
);
46561 if (PyErr_Occurred()) SWIG_fail
;
46564 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46572 SWIGINTERN PyObject
*_wrap_MenuItem_Check(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46573 PyObject
*resultobj
= 0;
46574 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
46575 bool arg2
= (bool) true ;
46580 PyObject
* obj0
= 0 ;
46581 PyObject
* obj1
= 0 ;
46582 char * kwnames
[] = {
46583 (char *) "self",(char *) "check", NULL
46586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
46588 if (!SWIG_IsOK(res1
)) {
46589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_Check" "', expected argument " "1"" of type '" "wxMenuItem *""'");
46591 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
46593 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
46594 if (!SWIG_IsOK(ecode2
)) {
46595 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuItem_Check" "', expected argument " "2"" of type '" "bool""'");
46597 arg2
= static_cast< bool >(val2
);
46600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46601 (arg1
)->Check(arg2
);
46602 wxPyEndAllowThreads(__tstate
);
46603 if (PyErr_Occurred()) SWIG_fail
;
46605 resultobj
= SWIG_Py_Void();
46612 SWIGINTERN PyObject
*_wrap_MenuItem_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46613 PyObject
*resultobj
= 0;
46614 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
46618 PyObject
*swig_obj
[1] ;
46620 if (!args
) SWIG_fail
;
46621 swig_obj
[0] = args
;
46622 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
46623 if (!SWIG_IsOK(res1
)) {
46624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_IsChecked" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
46626 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
46628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46629 result
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
46630 wxPyEndAllowThreads(__tstate
);
46631 if (PyErr_Occurred()) SWIG_fail
;
46634 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46642 SWIGINTERN PyObject
*_wrap_MenuItem_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46643 PyObject
*resultobj
= 0;
46644 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
46647 PyObject
*swig_obj
[1] ;
46649 if (!args
) SWIG_fail
;
46650 swig_obj
[0] = args
;
46651 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
46652 if (!SWIG_IsOK(res1
)) {
46653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_Toggle" "', expected argument " "1"" of type '" "wxMenuItem *""'");
46655 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
46657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46659 wxPyEndAllowThreads(__tstate
);
46660 if (PyErr_Occurred()) SWIG_fail
;
46662 resultobj
= SWIG_Py_Void();
46669 SWIGINTERN PyObject
*_wrap_MenuItem_SetHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46670 PyObject
*resultobj
= 0;
46671 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
46672 wxString
*arg2
= 0 ;
46675 bool temp2
= false ;
46676 PyObject
* obj0
= 0 ;
46677 PyObject
* obj1
= 0 ;
46678 char * kwnames
[] = {
46679 (char *) "self",(char *) "str", NULL
46682 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46683 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
46684 if (!SWIG_IsOK(res1
)) {
46685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetHelp" "', expected argument " "1"" of type '" "wxMenuItem *""'");
46687 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
46689 arg2
= wxString_in_helper(obj1
);
46690 if (arg2
== NULL
) SWIG_fail
;
46694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46695 (arg1
)->SetHelp((wxString
const &)*arg2
);
46696 wxPyEndAllowThreads(__tstate
);
46697 if (PyErr_Occurred()) SWIG_fail
;
46699 resultobj
= SWIG_Py_Void();
46714 SWIGINTERN PyObject
*_wrap_MenuItem_GetHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46715 PyObject
*resultobj
= 0;
46716 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
46717 wxString
*result
= 0 ;
46720 PyObject
*swig_obj
[1] ;
46722 if (!args
) SWIG_fail
;
46723 swig_obj
[0] = args
;
46724 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
46725 if (!SWIG_IsOK(res1
)) {
46726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetHelp" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
46728 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
46730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46732 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
46733 result
= (wxString
*) &_result_ref
;
46735 wxPyEndAllowThreads(__tstate
);
46736 if (PyErr_Occurred()) SWIG_fail
;
46740 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
46742 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
46751 SWIGINTERN PyObject
*_wrap_MenuItem_GetAccel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46752 PyObject
*resultobj
= 0;
46753 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
46754 wxAcceleratorEntry
*result
= 0 ;
46757 PyObject
*swig_obj
[1] ;
46759 if (!args
) SWIG_fail
;
46760 swig_obj
[0] = args
;
46761 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
46762 if (!SWIG_IsOK(res1
)) {
46763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetAccel" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
46765 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
46767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46768 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
46769 wxPyEndAllowThreads(__tstate
);
46770 if (PyErr_Occurred()) SWIG_fail
;
46772 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0 | 0 );
46779 SWIGINTERN PyObject
*_wrap_MenuItem_SetAccel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46780 PyObject
*resultobj
= 0;
46781 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
46782 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
46787 PyObject
* obj0
= 0 ;
46788 PyObject
* obj1
= 0 ;
46789 char * kwnames
[] = {
46790 (char *) "self",(char *) "accel", NULL
46793 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46794 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
46795 if (!SWIG_IsOK(res1
)) {
46796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetAccel" "', expected argument " "1"" of type '" "wxMenuItem *""'");
46798 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
46799 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxAcceleratorEntry
, 0 | 0 );
46800 if (!SWIG_IsOK(res2
)) {
46801 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MenuItem_SetAccel" "', expected argument " "2"" of type '" "wxAcceleratorEntry *""'");
46803 arg2
= reinterpret_cast< wxAcceleratorEntry
* >(argp2
);
46805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46806 (arg1
)->SetAccel(arg2
);
46807 wxPyEndAllowThreads(__tstate
);
46808 if (PyErr_Occurred()) SWIG_fail
;
46810 resultobj
= SWIG_Py_Void();
46817 SWIGINTERN PyObject
*_wrap_MenuItem_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46818 PyObject
*resultobj
= 0;
46819 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
46820 wxBitmap
*arg2
= 0 ;
46825 PyObject
* obj0
= 0 ;
46826 PyObject
* obj1
= 0 ;
46827 char * kwnames
[] = {
46828 (char *) "self",(char *) "bitmap", NULL
46831 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46832 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
46833 if (!SWIG_IsOK(res1
)) {
46834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetBitmap" "', expected argument " "1"" of type '" "wxMenuItem *""'");
46836 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
46837 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
46838 if (!SWIG_IsOK(res2
)) {
46839 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MenuItem_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46842 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MenuItem_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46844 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
46846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46847 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
46848 wxPyEndAllowThreads(__tstate
);
46849 if (PyErr_Occurred()) SWIG_fail
;
46851 resultobj
= SWIG_Py_Void();
46858 SWIGINTERN PyObject
*_wrap_MenuItem_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46859 PyObject
*resultobj
= 0;
46860 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
46861 wxBitmap
*result
= 0 ;
46864 PyObject
*swig_obj
[1] ;
46866 if (!args
) SWIG_fail
;
46867 swig_obj
[0] = args
;
46868 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
46869 if (!SWIG_IsOK(res1
)) {
46870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetBitmap" "', expected argument " "1"" of type '" "wxMenuItem *""'");
46872 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
46874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46876 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
46877 result
= (wxBitmap
*) &_result_ref
;
46879 wxPyEndAllowThreads(__tstate
);
46880 if (PyErr_Occurred()) SWIG_fail
;
46883 wxBitmap
* resultptr
= new wxBitmap(*result
);
46884 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
46892 SWIGINTERN PyObject
*_wrap_MenuItem_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46893 PyObject
*resultobj
= 0;
46894 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
46900 PyObject
* obj0
= 0 ;
46901 PyObject
* obj1
= 0 ;
46902 char * kwnames
[] = {
46903 (char *) "self",(char *) "font", NULL
46906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46907 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
46908 if (!SWIG_IsOK(res1
)) {
46909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetFont" "', expected argument " "1"" of type '" "wxMenuItem *""'");
46911 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
46912 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
46913 if (!SWIG_IsOK(res2
)) {
46914 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MenuItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
46917 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MenuItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
46919 arg2
= reinterpret_cast< wxFont
* >(argp2
);
46921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46922 (arg1
)->SetFont((wxFont
const &)*arg2
);
46923 wxPyEndAllowThreads(__tstate
);
46924 if (PyErr_Occurred()) SWIG_fail
;
46926 resultobj
= SWIG_Py_Void();
46933 SWIGINTERN PyObject
*_wrap_MenuItem_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46934 PyObject
*resultobj
= 0;
46935 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
46939 PyObject
*swig_obj
[1] ;
46941 if (!args
) SWIG_fail
;
46942 swig_obj
[0] = args
;
46943 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
46944 if (!SWIG_IsOK(res1
)) {
46945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetFont" "', expected argument " "1"" of type '" "wxMenuItem *""'");
46947 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
46949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46950 result
= (arg1
)->GetFont();
46951 wxPyEndAllowThreads(__tstate
);
46952 if (PyErr_Occurred()) SWIG_fail
;
46954 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
46961 SWIGINTERN PyObject
*_wrap_MenuItem_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46962 PyObject
*resultobj
= 0;
46963 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
46964 wxColour
*arg2
= 0 ;
46968 PyObject
* obj0
= 0 ;
46969 PyObject
* obj1
= 0 ;
46970 char * kwnames
[] = {
46971 (char *) "self",(char *) "colText", NULL
46974 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46975 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
46976 if (!SWIG_IsOK(res1
)) {
46977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetTextColour" "', expected argument " "1"" of type '" "wxMenuItem *""'");
46979 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
46982 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
46985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46986 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
46987 wxPyEndAllowThreads(__tstate
);
46988 if (PyErr_Occurred()) SWIG_fail
;
46990 resultobj
= SWIG_Py_Void();
46997 SWIGINTERN PyObject
*_wrap_MenuItem_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46998 PyObject
*resultobj
= 0;
46999 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
47003 PyObject
*swig_obj
[1] ;
47005 if (!args
) SWIG_fail
;
47006 swig_obj
[0] = args
;
47007 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
47008 if (!SWIG_IsOK(res1
)) {
47009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetTextColour" "', expected argument " "1"" of type '" "wxMenuItem *""'");
47011 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
47013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47014 result
= (arg1
)->GetTextColour();
47015 wxPyEndAllowThreads(__tstate
);
47016 if (PyErr_Occurred()) SWIG_fail
;
47018 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
47025 SWIGINTERN PyObject
*_wrap_MenuItem_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47026 PyObject
*resultobj
= 0;
47027 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
47028 wxColour
*arg2
= 0 ;
47032 PyObject
* obj0
= 0 ;
47033 PyObject
* obj1
= 0 ;
47034 char * kwnames
[] = {
47035 (char *) "self",(char *) "colBack", NULL
47038 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47039 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
47040 if (!SWIG_IsOK(res1
)) {
47041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetBackgroundColour" "', expected argument " "1"" of type '" "wxMenuItem *""'");
47043 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
47046 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
47049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47050 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
47051 wxPyEndAllowThreads(__tstate
);
47052 if (PyErr_Occurred()) SWIG_fail
;
47054 resultobj
= SWIG_Py_Void();
47061 SWIGINTERN PyObject
*_wrap_MenuItem_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47062 PyObject
*resultobj
= 0;
47063 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
47067 PyObject
*swig_obj
[1] ;
47069 if (!args
) SWIG_fail
;
47070 swig_obj
[0] = args
;
47071 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
47072 if (!SWIG_IsOK(res1
)) {
47073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetBackgroundColour" "', expected argument " "1"" of type '" "wxMenuItem *""'");
47075 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
47077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47078 result
= (arg1
)->GetBackgroundColour();
47079 wxPyEndAllowThreads(__tstate
);
47080 if (PyErr_Occurred()) SWIG_fail
;
47082 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
47089 SWIGINTERN PyObject
*_wrap_MenuItem_SetBitmaps(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47090 PyObject
*resultobj
= 0;
47091 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
47092 wxBitmap
*arg2
= 0 ;
47093 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
47094 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
47101 PyObject
* obj0
= 0 ;
47102 PyObject
* obj1
= 0 ;
47103 PyObject
* obj2
= 0 ;
47104 char * kwnames
[] = {
47105 (char *) "self",(char *) "bmpChecked",(char *) "bmpUnchecked", NULL
47108 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MenuItem_SetBitmaps",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
47109 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
47110 if (!SWIG_IsOK(res1
)) {
47111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetBitmaps" "', expected argument " "1"" of type '" "wxMenuItem *""'");
47113 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
47114 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
47115 if (!SWIG_IsOK(res2
)) {
47116 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MenuItem_SetBitmaps" "', expected argument " "2"" of type '" "wxBitmap const &""'");
47119 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MenuItem_SetBitmaps" "', expected argument " "2"" of type '" "wxBitmap const &""'");
47121 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
47123 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
47124 if (!SWIG_IsOK(res3
)) {
47125 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "MenuItem_SetBitmaps" "', expected argument " "3"" of type '" "wxBitmap const &""'");
47128 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MenuItem_SetBitmaps" "', expected argument " "3"" of type '" "wxBitmap const &""'");
47130 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
47133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47134 (arg1
)->SetBitmaps((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
47135 wxPyEndAllowThreads(__tstate
);
47136 if (PyErr_Occurred()) SWIG_fail
;
47138 resultobj
= SWIG_Py_Void();
47145 SWIGINTERN PyObject
*_wrap_MenuItem_SetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47146 PyObject
*resultobj
= 0;
47147 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
47148 wxBitmap
*arg2
= 0 ;
47153 PyObject
* obj0
= 0 ;
47154 PyObject
* obj1
= 0 ;
47155 char * kwnames
[] = {
47156 (char *) "self",(char *) "bmpDisabled", NULL
47159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
47161 if (!SWIG_IsOK(res1
)) {
47162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetDisabledBitmap" "', expected argument " "1"" of type '" "wxMenuItem *""'");
47164 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
47165 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
47166 if (!SWIG_IsOK(res2
)) {
47167 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MenuItem_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
47170 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MenuItem_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
47172 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
47174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47175 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
47176 wxPyEndAllowThreads(__tstate
);
47177 if (PyErr_Occurred()) SWIG_fail
;
47179 resultobj
= SWIG_Py_Void();
47186 SWIGINTERN PyObject
*_wrap_MenuItem_GetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47187 PyObject
*resultobj
= 0;
47188 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
47189 wxBitmap
*result
= 0 ;
47192 PyObject
*swig_obj
[1] ;
47194 if (!args
) SWIG_fail
;
47195 swig_obj
[0] = args
;
47196 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
47197 if (!SWIG_IsOK(res1
)) {
47198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetDisabledBitmap" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
47200 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
47202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47204 wxBitmap
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetDisabledBitmap();
47205 result
= (wxBitmap
*) &_result_ref
;
47207 wxPyEndAllowThreads(__tstate
);
47208 if (PyErr_Occurred()) SWIG_fail
;
47211 wxBitmap
* resultptr
= new wxBitmap(*result
);
47212 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
47220 SWIGINTERN PyObject
*_wrap_MenuItem_SetMarginWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47221 PyObject
*resultobj
= 0;
47222 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
47228 PyObject
* obj0
= 0 ;
47229 PyObject
* obj1
= 0 ;
47230 char * kwnames
[] = {
47231 (char *) "self",(char *) "nWidth", NULL
47234 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMarginWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47235 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
47236 if (!SWIG_IsOK(res1
)) {
47237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetMarginWidth" "', expected argument " "1"" of type '" "wxMenuItem *""'");
47239 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
47240 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
47241 if (!SWIG_IsOK(ecode2
)) {
47242 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuItem_SetMarginWidth" "', expected argument " "2"" of type '" "int""'");
47244 arg2
= static_cast< int >(val2
);
47246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47247 (arg1
)->SetMarginWidth(arg2
);
47248 wxPyEndAllowThreads(__tstate
);
47249 if (PyErr_Occurred()) SWIG_fail
;
47251 resultobj
= SWIG_Py_Void();
47258 SWIGINTERN PyObject
*_wrap_MenuItem_GetMarginWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47259 PyObject
*resultobj
= 0;
47260 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
47264 PyObject
*swig_obj
[1] ;
47266 if (!args
) SWIG_fail
;
47267 swig_obj
[0] = args
;
47268 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
47269 if (!SWIG_IsOK(res1
)) {
47270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetMarginWidth" "', expected argument " "1"" of type '" "wxMenuItem *""'");
47272 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
47274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47275 result
= (int)(arg1
)->GetMarginWidth();
47276 wxPyEndAllowThreads(__tstate
);
47277 if (PyErr_Occurred()) SWIG_fail
;
47279 resultobj
= SWIG_From_int(static_cast< int >(result
));
47286 SWIGINTERN PyObject
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47287 PyObject
*resultobj
= 0;
47290 if (!SWIG_Python_UnpackTuple(args
,"MenuItem_GetDefaultMarginWidth",0,0,0)) SWIG_fail
;
47292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47293 result
= (int)wxMenuItem::GetDefaultMarginWidth();
47294 wxPyEndAllowThreads(__tstate
);
47295 if (PyErr_Occurred()) SWIG_fail
;
47297 resultobj
= SWIG_From_int(static_cast< int >(result
));
47304 SWIGINTERN PyObject
*_wrap_MenuItem_IsOwnerDrawn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47305 PyObject
*resultobj
= 0;
47306 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
47310 PyObject
*swig_obj
[1] ;
47312 if (!args
) SWIG_fail
;
47313 swig_obj
[0] = args
;
47314 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
47315 if (!SWIG_IsOK(res1
)) {
47316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_IsOwnerDrawn" "', expected argument " "1"" of type '" "wxMenuItem *""'");
47318 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
47320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47321 result
= (bool)(arg1
)->IsOwnerDrawn();
47322 wxPyEndAllowThreads(__tstate
);
47323 if (PyErr_Occurred()) SWIG_fail
;
47326 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
47334 SWIGINTERN PyObject
*_wrap_MenuItem_SetOwnerDrawn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47335 PyObject
*resultobj
= 0;
47336 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
47337 bool arg2
= (bool) true ;
47342 PyObject
* obj0
= 0 ;
47343 PyObject
* obj1
= 0 ;
47344 char * kwnames
[] = {
47345 (char *) "self",(char *) "ownerDrawn", NULL
47348 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_SetOwnerDrawn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47349 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
47350 if (!SWIG_IsOK(res1
)) {
47351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetOwnerDrawn" "', expected argument " "1"" of type '" "wxMenuItem *""'");
47353 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
47355 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
47356 if (!SWIG_IsOK(ecode2
)) {
47357 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuItem_SetOwnerDrawn" "', expected argument " "2"" of type '" "bool""'");
47359 arg2
= static_cast< bool >(val2
);
47362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47363 (arg1
)->SetOwnerDrawn(arg2
);
47364 wxPyEndAllowThreads(__tstate
);
47365 if (PyErr_Occurred()) SWIG_fail
;
47367 resultobj
= SWIG_Py_Void();
47374 SWIGINTERN PyObject
*_wrap_MenuItem_ResetOwnerDrawn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47375 PyObject
*resultobj
= 0;
47376 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
47379 PyObject
*swig_obj
[1] ;
47381 if (!args
) SWIG_fail
;
47382 swig_obj
[0] = args
;
47383 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
47384 if (!SWIG_IsOK(res1
)) {
47385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_ResetOwnerDrawn" "', expected argument " "1"" of type '" "wxMenuItem *""'");
47387 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
47389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47390 (arg1
)->ResetOwnerDrawn();
47391 wxPyEndAllowThreads(__tstate
);
47392 if (PyErr_Occurred()) SWIG_fail
;
47394 resultobj
= SWIG_Py_Void();
47401 SWIGINTERN PyObject
*MenuItem_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47403 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
47404 SWIG_TypeNewClientData(SWIGTYPE_p_wxMenuItem
, SWIG_NewClientData(obj
));
47405 return SWIG_Py_Void();
47408 SWIGINTERN PyObject
*MenuItem_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47409 return SWIG_Python_InitShadowInstance(args
);
47412 SWIGINTERN
int ControlNameStr_set(PyObject
*) {
47413 SWIG_Error(SWIG_AttributeError
,"Variable ControlNameStr is read-only.");
47418 SWIGINTERN PyObject
*ControlNameStr_get(void) {
47419 PyObject
*pyobj
= 0;
47423 pyobj
= PyUnicode_FromWideChar((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
47425 pyobj
= PyString_FromStringAndSize((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
47432 SWIGINTERN PyObject
*_wrap_new_Control(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47433 PyObject
*resultobj
= 0;
47434 wxWindow
*arg1
= (wxWindow
*) 0 ;
47435 int arg2
= (int) -1 ;
47436 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
47437 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
47438 wxSize
const &arg4_defvalue
= wxDefaultSize
;
47439 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
47440 long arg5
= (long) 0 ;
47441 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
47442 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
47443 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
47444 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
47445 wxControl
*result
= 0 ;
47456 bool temp7
= false ;
47457 PyObject
* obj0
= 0 ;
47458 PyObject
* obj1
= 0 ;
47459 PyObject
* obj2
= 0 ;
47460 PyObject
* obj3
= 0 ;
47461 PyObject
* obj4
= 0 ;
47462 PyObject
* obj5
= 0 ;
47463 PyObject
* obj6
= 0 ;
47464 char * kwnames
[] = {
47465 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
47468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Control",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
47469 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
47470 if (!SWIG_IsOK(res1
)) {
47471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Control" "', expected argument " "1"" of type '" "wxWindow *""'");
47473 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
47475 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
47476 if (!SWIG_IsOK(ecode2
)) {
47477 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Control" "', expected argument " "2"" of type '" "int""'");
47479 arg2
= static_cast< int >(val2
);
47484 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
47490 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
47494 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
47495 if (!SWIG_IsOK(ecode5
)) {
47496 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Control" "', expected argument " "5"" of type '" "long""'");
47498 arg5
= static_cast< long >(val5
);
47501 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
47502 if (!SWIG_IsOK(res6
)) {
47503 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_Control" "', expected argument " "6"" of type '" "wxValidator const &""'");
47506 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Control" "', expected argument " "6"" of type '" "wxValidator const &""'");
47508 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
47512 arg7
= wxString_in_helper(obj6
);
47513 if (arg7
== NULL
) SWIG_fail
;
47518 if (!wxPyCheckForApp()) SWIG_fail
;
47519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47520 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
47521 wxPyEndAllowThreads(__tstate
);
47522 if (PyErr_Occurred()) SWIG_fail
;
47524 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxControl
, SWIG_POINTER_NEW
| 0 );
47539 SWIGINTERN PyObject
*_wrap_new_PreControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47540 PyObject
*resultobj
= 0;
47541 wxControl
*result
= 0 ;
47543 if (!SWIG_Python_UnpackTuple(args
,"new_PreControl",0,0,0)) SWIG_fail
;
47545 if (!wxPyCheckForApp()) SWIG_fail
;
47546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47547 result
= (wxControl
*)new wxControl();
47548 wxPyEndAllowThreads(__tstate
);
47549 if (PyErr_Occurred()) SWIG_fail
;
47551 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxControl
, SWIG_POINTER_OWN
| 0 );
47558 SWIGINTERN PyObject
*_wrap_Control_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47559 PyObject
*resultobj
= 0;
47560 wxControl
*arg1
= (wxControl
*) 0 ;
47561 wxWindow
*arg2
= (wxWindow
*) 0 ;
47562 int arg3
= (int) -1 ;
47563 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
47564 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
47565 wxSize
const &arg5_defvalue
= wxDefaultSize
;
47566 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
47567 long arg6
= (long) 0 ;
47568 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
47569 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
47570 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
47571 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
47585 bool temp8
= false ;
47586 PyObject
* obj0
= 0 ;
47587 PyObject
* obj1
= 0 ;
47588 PyObject
* obj2
= 0 ;
47589 PyObject
* obj3
= 0 ;
47590 PyObject
* obj4
= 0 ;
47591 PyObject
* obj5
= 0 ;
47592 PyObject
* obj6
= 0 ;
47593 PyObject
* obj7
= 0 ;
47594 char * kwnames
[] = {
47595 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
47598 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Control_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
47599 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxControl
, 0 | 0 );
47600 if (!SWIG_IsOK(res1
)) {
47601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Control_Create" "', expected argument " "1"" of type '" "wxControl *""'");
47603 arg1
= reinterpret_cast< wxControl
* >(argp1
);
47604 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
47605 if (!SWIG_IsOK(res2
)) {
47606 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Control_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
47608 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
47610 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
47611 if (!SWIG_IsOK(ecode3
)) {
47612 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Control_Create" "', expected argument " "3"" of type '" "int""'");
47614 arg3
= static_cast< int >(val3
);
47619 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
47625 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
47629 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
47630 if (!SWIG_IsOK(ecode6
)) {
47631 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Control_Create" "', expected argument " "6"" of type '" "long""'");
47633 arg6
= static_cast< long >(val6
);
47636 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
47637 if (!SWIG_IsOK(res7
)) {
47638 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "Control_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
47641 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Control_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
47643 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
47647 arg8
= wxString_in_helper(obj7
);
47648 if (arg8
== NULL
) SWIG_fail
;
47653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47654 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
47655 wxPyEndAllowThreads(__tstate
);
47656 if (PyErr_Occurred()) SWIG_fail
;
47659 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
47675 SWIGINTERN PyObject
*_wrap_Control_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47676 PyObject
*resultobj
= 0;
47677 wxControl
*arg1
= (wxControl
*) 0 ;
47681 PyObject
*swig_obj
[1] ;
47683 if (!args
) SWIG_fail
;
47684 swig_obj
[0] = args
;
47685 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxControl
, 0 | 0 );
47686 if (!SWIG_IsOK(res1
)) {
47687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Control_GetAlignment" "', expected argument " "1"" of type '" "wxControl const *""'");
47689 arg1
= reinterpret_cast< wxControl
* >(argp1
);
47691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47692 result
= (int)((wxControl
const *)arg1
)->GetAlignment();
47693 wxPyEndAllowThreads(__tstate
);
47694 if (PyErr_Occurred()) SWIG_fail
;
47696 resultobj
= SWIG_From_int(static_cast< int >(result
));
47703 SWIGINTERN PyObject
*_wrap_Control_GetLabelText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47704 PyObject
*resultobj
= 0;
47705 wxControl
*arg1
= (wxControl
*) 0 ;
47709 PyObject
*swig_obj
[1] ;
47711 if (!args
) SWIG_fail
;
47712 swig_obj
[0] = args
;
47713 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxControl
, 0 | 0 );
47714 if (!SWIG_IsOK(res1
)) {
47715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Control_GetLabelText" "', expected argument " "1"" of type '" "wxControl const *""'");
47717 arg1
= reinterpret_cast< wxControl
* >(argp1
);
47719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47720 result
= ((wxControl
const *)arg1
)->GetLabelText();
47721 wxPyEndAllowThreads(__tstate
);
47722 if (PyErr_Occurred()) SWIG_fail
;
47726 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
47728 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
47737 SWIGINTERN PyObject
*_wrap_Control_Command(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47738 PyObject
*resultobj
= 0;
47739 wxControl
*arg1
= (wxControl
*) 0 ;
47740 wxCommandEvent
*arg2
= 0 ;
47745 PyObject
* obj0
= 0 ;
47746 PyObject
* obj1
= 0 ;
47747 char * kwnames
[] = {
47748 (char *) "self",(char *) "event", NULL
47751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47752 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxControl
, 0 | 0 );
47753 if (!SWIG_IsOK(res1
)) {
47754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Control_Command" "', expected argument " "1"" of type '" "wxControl *""'");
47756 arg1
= reinterpret_cast< wxControl
* >(argp1
);
47757 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCommandEvent
, 0 );
47758 if (!SWIG_IsOK(res2
)) {
47759 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Control_Command" "', expected argument " "2"" of type '" "wxCommandEvent &""'");
47762 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Control_Command" "', expected argument " "2"" of type '" "wxCommandEvent &""'");
47764 arg2
= reinterpret_cast< wxCommandEvent
* >(argp2
);
47766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47767 (arg1
)->Command(*arg2
);
47768 wxPyEndAllowThreads(__tstate
);
47769 if (PyErr_Occurred()) SWIG_fail
;
47771 resultobj
= SWIG_Py_Void();
47778 SWIGINTERN PyObject
*_wrap_Control_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47779 PyObject
*resultobj
= 0;
47780 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
47781 SwigValueWrapper
<wxVisualAttributes
> result
;
47784 PyObject
* obj0
= 0 ;
47785 char * kwnames
[] = {
47786 (char *) "variant", NULL
47789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Control_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
47791 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
47792 if (!SWIG_IsOK(ecode1
)) {
47793 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Control_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
47795 arg1
= static_cast< wxWindowVariant
>(val1
);
47798 if (!wxPyCheckForApp()) SWIG_fail
;
47799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47800 result
= wxControl::GetClassDefaultAttributes(arg1
);
47801 wxPyEndAllowThreads(__tstate
);
47802 if (PyErr_Occurred()) SWIG_fail
;
47804 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
47811 SWIGINTERN PyObject
*Control_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47813 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
47814 SWIG_TypeNewClientData(SWIGTYPE_p_wxControl
, SWIG_NewClientData(obj
));
47815 return SWIG_Py_Void();
47818 SWIGINTERN PyObject
*Control_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47819 return SWIG_Python_InitShadowInstance(args
);
47822 SWIGINTERN PyObject
*_wrap_ItemContainer_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47823 PyObject
*resultobj
= 0;
47824 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
47825 wxString
*arg2
= 0 ;
47826 PyObject
*arg3
= (PyObject
*) NULL
;
47830 bool temp2
= false ;
47831 PyObject
* obj0
= 0 ;
47832 PyObject
* obj1
= 0 ;
47833 PyObject
* obj2
= 0 ;
47834 char * kwnames
[] = {
47835 (char *) "self",(char *) "item",(char *) "clientData", NULL
47838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
47839 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
47840 if (!SWIG_IsOK(res1
)) {
47841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_Append" "', expected argument " "1"" of type '" "wxItemContainer *""'");
47843 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
47845 arg2
= wxString_in_helper(obj1
);
47846 if (arg2
== NULL
) SWIG_fail
;
47853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47854 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
47855 wxPyEndAllowThreads(__tstate
);
47856 if (PyErr_Occurred()) SWIG_fail
;
47858 resultobj
= SWIG_From_int(static_cast< int >(result
));
47873 SWIGINTERN PyObject
*_wrap_ItemContainer_AppendItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47874 PyObject
*resultobj
= 0;
47875 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
47876 wxArrayString
*arg2
= 0 ;
47879 bool temp2
= false ;
47880 PyObject
* obj0
= 0 ;
47881 PyObject
* obj1
= 0 ;
47882 char * kwnames
[] = {
47883 (char *) "self",(char *) "strings", NULL
47886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47887 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
47888 if (!SWIG_IsOK(res1
)) {
47889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_AppendItems" "', expected argument " "1"" of type '" "wxItemContainer *""'");
47891 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
47893 if (! PySequence_Check(obj1
)) {
47894 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
47897 arg2
= new wxArrayString
;
47899 int i
, len
=PySequence_Length(obj1
);
47900 for (i
=0; i
<len
; i
++) {
47901 PyObject
* item
= PySequence_GetItem(obj1
, i
);
47902 wxString
* s
= wxString_in_helper(item
);
47903 if (PyErr_Occurred()) SWIG_fail
;
47910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47911 (arg1
)->Append((wxArrayString
const &)*arg2
);
47912 wxPyEndAllowThreads(__tstate
);
47913 if (PyErr_Occurred()) SWIG_fail
;
47915 resultobj
= SWIG_Py_Void();
47917 if (temp2
) delete arg2
;
47922 if (temp2
) delete arg2
;
47928 SWIGINTERN PyObject
*_wrap_ItemContainer_Insert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47929 PyObject
*resultobj
= 0;
47930 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
47931 wxString
*arg2
= 0 ;
47933 PyObject
*arg4
= (PyObject
*) NULL
;
47937 bool temp2
= false ;
47940 PyObject
* obj0
= 0 ;
47941 PyObject
* obj1
= 0 ;
47942 PyObject
* obj2
= 0 ;
47943 PyObject
* obj3
= 0 ;
47944 char * kwnames
[] = {
47945 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
47948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
47949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
47950 if (!SWIG_IsOK(res1
)) {
47951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_Insert" "', expected argument " "1"" of type '" "wxItemContainer *""'");
47953 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
47955 arg2
= wxString_in_helper(obj1
);
47956 if (arg2
== NULL
) SWIG_fail
;
47959 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
47960 if (!SWIG_IsOK(ecode3
)) {
47961 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ItemContainer_Insert" "', expected argument " "3"" of type '" "int""'");
47963 arg3
= static_cast< int >(val3
);
47968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47969 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
47970 wxPyEndAllowThreads(__tstate
);
47971 if (PyErr_Occurred()) SWIG_fail
;
47973 resultobj
= SWIG_From_int(static_cast< int >(result
));
47988 SWIGINTERN PyObject
*_wrap_ItemContainer_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47989 PyObject
*resultobj
= 0;
47990 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
47993 PyObject
*swig_obj
[1] ;
47995 if (!args
) SWIG_fail
;
47996 swig_obj
[0] = args
;
47997 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
47998 if (!SWIG_IsOK(res1
)) {
47999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_Clear" "', expected argument " "1"" of type '" "wxItemContainer *""'");
48001 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
48003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48005 wxPyEndAllowThreads(__tstate
);
48006 if (PyErr_Occurred()) SWIG_fail
;
48008 resultobj
= SWIG_Py_Void();
48015 SWIGINTERN PyObject
*_wrap_ItemContainer_Delete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48016 PyObject
*resultobj
= 0;
48017 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
48023 PyObject
* obj0
= 0 ;
48024 PyObject
* obj1
= 0 ;
48025 char * kwnames
[] = {
48026 (char *) "self",(char *) "n", NULL
48029 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Delete",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
48030 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
48031 if (!SWIG_IsOK(res1
)) {
48032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_Delete" "', expected argument " "1"" of type '" "wxItemContainer *""'");
48034 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
48035 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
48036 if (!SWIG_IsOK(ecode2
)) {
48037 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ItemContainer_Delete" "', expected argument " "2"" of type '" "int""'");
48039 arg2
= static_cast< int >(val2
);
48041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48042 (arg1
)->Delete(arg2
);
48043 wxPyEndAllowThreads(__tstate
);
48044 if (PyErr_Occurred()) SWIG_fail
;
48046 resultobj
= SWIG_Py_Void();
48053 SWIGINTERN PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48054 PyObject
*resultobj
= 0;
48055 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
48057 PyObject
*result
= 0 ;
48062 PyObject
* obj0
= 0 ;
48063 PyObject
* obj1
= 0 ;
48064 char * kwnames
[] = {
48065 (char *) "self",(char *) "n", NULL
48068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
48069 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
48070 if (!SWIG_IsOK(res1
)) {
48071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_GetClientData" "', expected argument " "1"" of type '" "wxItemContainer *""'");
48073 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
48074 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
48075 if (!SWIG_IsOK(ecode2
)) {
48076 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ItemContainer_GetClientData" "', expected argument " "2"" of type '" "int""'");
48078 arg2
= static_cast< int >(val2
);
48080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48081 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
48082 wxPyEndAllowThreads(__tstate
);
48083 if (PyErr_Occurred()) SWIG_fail
;
48085 resultobj
= result
;
48092 SWIGINTERN PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48093 PyObject
*resultobj
= 0;
48094 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
48096 PyObject
*arg3
= (PyObject
*) 0 ;
48101 PyObject
* obj0
= 0 ;
48102 PyObject
* obj1
= 0 ;
48103 PyObject
* obj2
= 0 ;
48104 char * kwnames
[] = {
48105 (char *) "self",(char *) "n",(char *) "clientData", NULL
48108 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetClientData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
48109 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
48110 if (!SWIG_IsOK(res1
)) {
48111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_SetClientData" "', expected argument " "1"" of type '" "wxItemContainer *""'");
48113 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
48114 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
48115 if (!SWIG_IsOK(ecode2
)) {
48116 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ItemContainer_SetClientData" "', expected argument " "2"" of type '" "int""'");
48118 arg2
= static_cast< int >(val2
);
48121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48122 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
48123 wxPyEndAllowThreads(__tstate
);
48124 if (PyErr_Occurred()) SWIG_fail
;
48126 resultobj
= SWIG_Py_Void();
48133 SWIGINTERN PyObject
*_wrap_ItemContainer_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48134 PyObject
*resultobj
= 0;
48135 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
48139 PyObject
*swig_obj
[1] ;
48141 if (!args
) SWIG_fail
;
48142 swig_obj
[0] = args
;
48143 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
48144 if (!SWIG_IsOK(res1
)) {
48145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_GetCount" "', expected argument " "1"" of type '" "wxItemContainer const *""'");
48147 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
48149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48150 result
= (int)((wxItemContainer
const *)arg1
)->GetCount();
48151 wxPyEndAllowThreads(__tstate
);
48152 if (PyErr_Occurred()) SWIG_fail
;
48154 resultobj
= SWIG_From_int(static_cast< int >(result
));
48161 SWIGINTERN PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48162 PyObject
*resultobj
= 0;
48163 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
48167 PyObject
*swig_obj
[1] ;
48169 if (!args
) SWIG_fail
;
48170 swig_obj
[0] = args
;
48171 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
48172 if (!SWIG_IsOK(res1
)) {
48173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_IsEmpty" "', expected argument " "1"" of type '" "wxItemContainer const *""'");
48175 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
48177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48178 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
48179 wxPyEndAllowThreads(__tstate
);
48180 if (PyErr_Occurred()) SWIG_fail
;
48183 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
48191 SWIGINTERN PyObject
*_wrap_ItemContainer_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48192 PyObject
*resultobj
= 0;
48193 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
48200 PyObject
* obj0
= 0 ;
48201 PyObject
* obj1
= 0 ;
48202 char * kwnames
[] = {
48203 (char *) "self",(char *) "n", NULL
48206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
48207 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
48208 if (!SWIG_IsOK(res1
)) {
48209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_GetString" "', expected argument " "1"" of type '" "wxItemContainer const *""'");
48211 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
48212 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
48213 if (!SWIG_IsOK(ecode2
)) {
48214 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ItemContainer_GetString" "', expected argument " "2"" of type '" "int""'");
48216 arg2
= static_cast< int >(val2
);
48218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48219 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
48220 wxPyEndAllowThreads(__tstate
);
48221 if (PyErr_Occurred()) SWIG_fail
;
48225 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
48227 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
48236 SWIGINTERN PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48237 PyObject
*resultobj
= 0;
48238 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
48239 wxArrayString result
;
48242 PyObject
*swig_obj
[1] ;
48244 if (!args
) SWIG_fail
;
48245 swig_obj
[0] = args
;
48246 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
48247 if (!SWIG_IsOK(res1
)) {
48248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_GetStrings" "', expected argument " "1"" of type '" "wxItemContainer const *""'");
48250 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
48252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48253 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
48254 wxPyEndAllowThreads(__tstate
);
48255 if (PyErr_Occurred()) SWIG_fail
;
48258 resultobj
= wxArrayString2PyList_helper(result
);
48266 SWIGINTERN PyObject
*_wrap_ItemContainer_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48267 PyObject
*resultobj
= 0;
48268 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
48270 wxString
*arg3
= 0 ;
48275 bool temp3
= false ;
48276 PyObject
* obj0
= 0 ;
48277 PyObject
* obj1
= 0 ;
48278 PyObject
* obj2
= 0 ;
48279 char * kwnames
[] = {
48280 (char *) "self",(char *) "n",(char *) "s", NULL
48283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
48284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
48285 if (!SWIG_IsOK(res1
)) {
48286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_SetString" "', expected argument " "1"" of type '" "wxItemContainer *""'");
48288 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
48289 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
48290 if (!SWIG_IsOK(ecode2
)) {
48291 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ItemContainer_SetString" "', expected argument " "2"" of type '" "int""'");
48293 arg2
= static_cast< int >(val2
);
48295 arg3
= wxString_in_helper(obj2
);
48296 if (arg3
== NULL
) SWIG_fail
;
48300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48301 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
48302 wxPyEndAllowThreads(__tstate
);
48303 if (PyErr_Occurred()) SWIG_fail
;
48305 resultobj
= SWIG_Py_Void();
48320 SWIGINTERN PyObject
*_wrap_ItemContainer_FindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48321 PyObject
*resultobj
= 0;
48322 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
48323 wxString
*arg2
= 0 ;
48327 bool temp2
= false ;
48328 PyObject
* obj0
= 0 ;
48329 PyObject
* obj1
= 0 ;
48330 char * kwnames
[] = {
48331 (char *) "self",(char *) "s", NULL
48334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
48335 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
48336 if (!SWIG_IsOK(res1
)) {
48337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_FindString" "', expected argument " "1"" of type '" "wxItemContainer const *""'");
48339 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
48341 arg2
= wxString_in_helper(obj1
);
48342 if (arg2
== NULL
) SWIG_fail
;
48346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48347 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
48348 wxPyEndAllowThreads(__tstate
);
48349 if (PyErr_Occurred()) SWIG_fail
;
48351 resultobj
= SWIG_From_int(static_cast< int >(result
));
48366 SWIGINTERN PyObject
*_wrap_ItemContainer_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48367 PyObject
*resultobj
= 0;
48368 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
48374 PyObject
* obj0
= 0 ;
48375 PyObject
* obj1
= 0 ;
48376 char * kwnames
[] = {
48377 (char *) "self",(char *) "n", NULL
48380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
48381 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
48382 if (!SWIG_IsOK(res1
)) {
48383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_SetSelection" "', expected argument " "1"" of type '" "wxItemContainer *""'");
48385 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
48386 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
48387 if (!SWIG_IsOK(ecode2
)) {
48388 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ItemContainer_SetSelection" "', expected argument " "2"" of type '" "int""'");
48390 arg2
= static_cast< int >(val2
);
48392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48393 (arg1
)->SetSelection(arg2
);
48394 wxPyEndAllowThreads(__tstate
);
48395 if (PyErr_Occurred()) SWIG_fail
;
48397 resultobj
= SWIG_Py_Void();
48404 SWIGINTERN PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48405 PyObject
*resultobj
= 0;
48406 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
48410 PyObject
*swig_obj
[1] ;
48412 if (!args
) SWIG_fail
;
48413 swig_obj
[0] = args
;
48414 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
48415 if (!SWIG_IsOK(res1
)) {
48416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_GetSelection" "', expected argument " "1"" of type '" "wxItemContainer const *""'");
48418 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
48420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48421 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
48422 wxPyEndAllowThreads(__tstate
);
48423 if (PyErr_Occurred()) SWIG_fail
;
48425 resultobj
= SWIG_From_int(static_cast< int >(result
));
48432 SWIGINTERN PyObject
*_wrap_ItemContainer_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48433 PyObject
*resultobj
= 0;
48434 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
48435 wxString
*arg2
= 0 ;
48439 bool temp2
= false ;
48440 PyObject
* obj0
= 0 ;
48441 PyObject
* obj1
= 0 ;
48442 char * kwnames
[] = {
48443 (char *) "self",(char *) "s", NULL
48446 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
48447 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
48448 if (!SWIG_IsOK(res1
)) {
48449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_SetStringSelection" "', expected argument " "1"" of type '" "wxItemContainer *""'");
48451 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
48453 arg2
= wxString_in_helper(obj1
);
48454 if (arg2
== NULL
) SWIG_fail
;
48458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48459 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
48460 wxPyEndAllowThreads(__tstate
);
48461 if (PyErr_Occurred()) SWIG_fail
;
48464 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
48480 SWIGINTERN PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48481 PyObject
*resultobj
= 0;
48482 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
48486 PyObject
*swig_obj
[1] ;
48488 if (!args
) SWIG_fail
;
48489 swig_obj
[0] = args
;
48490 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
48491 if (!SWIG_IsOK(res1
)) {
48492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_GetStringSelection" "', expected argument " "1"" of type '" "wxItemContainer const *""'");
48494 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
48496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48497 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
48498 wxPyEndAllowThreads(__tstate
);
48499 if (PyErr_Occurred()) SWIG_fail
;
48503 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
48505 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
48514 SWIGINTERN PyObject
*_wrap_ItemContainer_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48515 PyObject
*resultobj
= 0;
48516 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
48522 PyObject
* obj0
= 0 ;
48523 PyObject
* obj1
= 0 ;
48524 char * kwnames
[] = {
48525 (char *) "self",(char *) "n", NULL
48528 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Select",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
48529 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
48530 if (!SWIG_IsOK(res1
)) {
48531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_Select" "', expected argument " "1"" of type '" "wxItemContainer *""'");
48533 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
48534 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
48535 if (!SWIG_IsOK(ecode2
)) {
48536 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ItemContainer_Select" "', expected argument " "2"" of type '" "int""'");
48538 arg2
= static_cast< int >(val2
);
48540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48541 (arg1
)->Select(arg2
);
48542 wxPyEndAllowThreads(__tstate
);
48543 if (PyErr_Occurred()) SWIG_fail
;
48545 resultobj
= SWIG_Py_Void();
48552 SWIGINTERN PyObject
*ItemContainer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48554 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
48555 SWIG_TypeNewClientData(SWIGTYPE_p_wxItemContainer
, SWIG_NewClientData(obj
));
48556 return SWIG_Py_Void();
48559 SWIGINTERN PyObject
*ControlWithItems_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48561 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
48562 SWIG_TypeNewClientData(SWIGTYPE_p_wxControlWithItems
, SWIG_NewClientData(obj
));
48563 return SWIG_Py_Void();
48566 SWIGINTERN PyObject
*_wrap_new_SizerItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48567 PyObject
*resultobj
= 0;
48568 wxSizerItem
*result
= 0 ;
48570 if (!SWIG_Python_UnpackTuple(args
,"new_SizerItem",0,0,0)) SWIG_fail
;
48572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48573 result
= (wxSizerItem
*)new wxSizerItem();
48574 wxPyEndAllowThreads(__tstate
);
48575 if (PyErr_Occurred()) SWIG_fail
;
48577 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_NEW
| 0 );
48584 SWIGINTERN PyObject
*_wrap_delete_SizerItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48585 PyObject
*resultobj
= 0;
48586 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
48589 PyObject
*swig_obj
[1] ;
48591 if (!args
) SWIG_fail
;
48592 swig_obj
[0] = args
;
48593 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_DISOWN
| 0 );
48594 if (!SWIG_IsOK(res1
)) {
48595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SizerItem" "', expected argument " "1"" of type '" "wxSizerItem *""'");
48597 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
48599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48602 wxPyEndAllowThreads(__tstate
);
48603 if (PyErr_Occurred()) SWIG_fail
;
48605 resultobj
= SWIG_Py_Void();
48612 SWIGINTERN PyObject
*_wrap_new_SizerItemWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48613 PyObject
*resultobj
= 0;
48614 wxWindow
*arg1
= (wxWindow
*) 0 ;
48618 PyObject
*arg5
= (PyObject
*) NULL
;
48619 wxSizerItem
*result
= 0 ;
48628 PyObject
* obj0
= 0 ;
48629 PyObject
* obj1
= 0 ;
48630 PyObject
* obj2
= 0 ;
48631 PyObject
* obj3
= 0 ;
48632 PyObject
* obj4
= 0 ;
48633 char * kwnames
[] = {
48634 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
48637 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
48638 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
48639 if (!SWIG_IsOK(res1
)) {
48640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SizerItemWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
48642 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
48643 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
48644 if (!SWIG_IsOK(ecode2
)) {
48645 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SizerItemWindow" "', expected argument " "2"" of type '" "int""'");
48647 arg2
= static_cast< int >(val2
);
48648 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
48649 if (!SWIG_IsOK(ecode3
)) {
48650 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SizerItemWindow" "', expected argument " "3"" of type '" "int""'");
48652 arg3
= static_cast< int >(val3
);
48653 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
48654 if (!SWIG_IsOK(ecode4
)) {
48655 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_SizerItemWindow" "', expected argument " "4"" of type '" "int""'");
48657 arg4
= static_cast< int >(val4
);
48662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48663 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
48664 wxPyEndAllowThreads(__tstate
);
48665 if (PyErr_Occurred()) SWIG_fail
;
48667 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_OWN
| 0 );
48674 SWIGINTERN PyObject
*_wrap_new_SizerItemSpacer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48675 PyObject
*resultobj
= 0;
48681 PyObject
*arg6
= (PyObject
*) NULL
;
48682 wxSizerItem
*result
= 0 ;
48693 PyObject
* obj0
= 0 ;
48694 PyObject
* obj1
= 0 ;
48695 PyObject
* obj2
= 0 ;
48696 PyObject
* obj3
= 0 ;
48697 PyObject
* obj4
= 0 ;
48698 PyObject
* obj5
= 0 ;
48699 char * kwnames
[] = {
48700 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
48703 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_SizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
48704 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
48705 if (!SWIG_IsOK(ecode1
)) {
48706 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SizerItemSpacer" "', expected argument " "1"" of type '" "int""'");
48708 arg1
= static_cast< int >(val1
);
48709 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
48710 if (!SWIG_IsOK(ecode2
)) {
48711 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SizerItemSpacer" "', expected argument " "2"" of type '" "int""'");
48713 arg2
= static_cast< int >(val2
);
48714 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
48715 if (!SWIG_IsOK(ecode3
)) {
48716 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SizerItemSpacer" "', expected argument " "3"" of type '" "int""'");
48718 arg3
= static_cast< int >(val3
);
48719 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
48720 if (!SWIG_IsOK(ecode4
)) {
48721 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_SizerItemSpacer" "', expected argument " "4"" of type '" "int""'");
48723 arg4
= static_cast< int >(val4
);
48724 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
48725 if (!SWIG_IsOK(ecode5
)) {
48726 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SizerItemSpacer" "', expected argument " "5"" of type '" "int""'");
48728 arg5
= static_cast< int >(val5
);
48733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48734 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
48735 wxPyEndAllowThreads(__tstate
);
48736 if (PyErr_Occurred()) SWIG_fail
;
48738 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_OWN
| 0 );
48745 SWIGINTERN PyObject
*_wrap_new_SizerItemSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48746 PyObject
*resultobj
= 0;
48747 wxSizer
*arg1
= (wxSizer
*) 0 ;
48751 PyObject
*arg5
= (PyObject
*) NULL
;
48752 wxSizerItem
*result
= 0 ;
48760 PyObject
* obj0
= 0 ;
48761 PyObject
* obj1
= 0 ;
48762 PyObject
* obj2
= 0 ;
48763 PyObject
* obj3
= 0 ;
48764 PyObject
* obj4
= 0 ;
48765 char * kwnames
[] = {
48766 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
48769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
48770 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxSizer
, SWIG_POINTER_DISOWN
| 0 );
48771 if (!SWIG_IsOK(res1
)) {
48772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SizerItemSizer" "', expected argument " "1"" of type '" "wxSizer *""'");
48774 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
48775 if (!SWIG_IsOK(ecode2
)) {
48776 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SizerItemSizer" "', expected argument " "2"" of type '" "int""'");
48778 arg2
= static_cast< int >(val2
);
48779 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
48780 if (!SWIG_IsOK(ecode3
)) {
48781 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SizerItemSizer" "', expected argument " "3"" of type '" "int""'");
48783 arg3
= static_cast< int >(val3
);
48784 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
48785 if (!SWIG_IsOK(ecode4
)) {
48786 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_SizerItemSizer" "', expected argument " "4"" of type '" "int""'");
48788 arg4
= static_cast< int >(val4
);
48793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48794 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
48795 wxPyEndAllowThreads(__tstate
);
48796 if (PyErr_Occurred()) SWIG_fail
;
48798 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_OWN
| 0 );
48805 SWIGINTERN PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48806 PyObject
*resultobj
= 0;
48807 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
48810 PyObject
*swig_obj
[1] ;
48812 if (!args
) SWIG_fail
;
48813 swig_obj
[0] = args
;
48814 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
48815 if (!SWIG_IsOK(res1
)) {
48816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_DeleteWindows" "', expected argument " "1"" of type '" "wxSizerItem *""'");
48818 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
48820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48821 (arg1
)->DeleteWindows();
48822 wxPyEndAllowThreads(__tstate
);
48823 if (PyErr_Occurred()) SWIG_fail
;
48825 resultobj
= SWIG_Py_Void();
48832 SWIGINTERN PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48833 PyObject
*resultobj
= 0;
48834 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
48837 PyObject
*swig_obj
[1] ;
48839 if (!args
) SWIG_fail
;
48840 swig_obj
[0] = args
;
48841 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
48842 if (!SWIG_IsOK(res1
)) {
48843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_DetachSizer" "', expected argument " "1"" of type '" "wxSizerItem *""'");
48845 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
48847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48848 (arg1
)->DetachSizer();
48849 wxPyEndAllowThreads(__tstate
);
48850 if (PyErr_Occurred()) SWIG_fail
;
48852 resultobj
= SWIG_Py_Void();
48859 SWIGINTERN PyObject
*_wrap_SizerItem_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48860 PyObject
*resultobj
= 0;
48861 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
48865 PyObject
*swig_obj
[1] ;
48867 if (!args
) SWIG_fail
;
48868 swig_obj
[0] = args
;
48869 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
48870 if (!SWIG_IsOK(res1
)) {
48871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetSize" "', expected argument " "1"" of type '" "wxSizerItem *""'");
48873 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
48875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48876 result
= (arg1
)->GetSize();
48877 wxPyEndAllowThreads(__tstate
);
48878 if (PyErr_Occurred()) SWIG_fail
;
48880 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
48887 SWIGINTERN PyObject
*_wrap_SizerItem_CalcMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48888 PyObject
*resultobj
= 0;
48889 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
48893 PyObject
*swig_obj
[1] ;
48895 if (!args
) SWIG_fail
;
48896 swig_obj
[0] = args
;
48897 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
48898 if (!SWIG_IsOK(res1
)) {
48899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_CalcMin" "', expected argument " "1"" of type '" "wxSizerItem *""'");
48901 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
48903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48904 result
= (arg1
)->CalcMin();
48905 wxPyEndAllowThreads(__tstate
);
48906 if (PyErr_Occurred()) SWIG_fail
;
48908 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
48915 SWIGINTERN PyObject
*_wrap_SizerItem_SetDimension(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48916 PyObject
*resultobj
= 0;
48917 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
48918 wxPoint
*arg2
= 0 ;
48924 PyObject
* obj0
= 0 ;
48925 PyObject
* obj1
= 0 ;
48926 PyObject
* obj2
= 0 ;
48927 char * kwnames
[] = {
48928 (char *) "self",(char *) "pos",(char *) "size", NULL
48931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
48932 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
48933 if (!SWIG_IsOK(res1
)) {
48934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetDimension" "', expected argument " "1"" of type '" "wxSizerItem *""'");
48936 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
48939 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
48943 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
48946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48947 (arg1
)->SetDimension((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
48948 wxPyEndAllowThreads(__tstate
);
48949 if (PyErr_Occurred()) SWIG_fail
;
48951 resultobj
= SWIG_Py_Void();
48958 SWIGINTERN PyObject
*_wrap_SizerItem_GetMinSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48959 PyObject
*resultobj
= 0;
48960 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
48964 PyObject
*swig_obj
[1] ;
48966 if (!args
) SWIG_fail
;
48967 swig_obj
[0] = args
;
48968 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
48969 if (!SWIG_IsOK(res1
)) {
48970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetMinSize" "', expected argument " "1"" of type '" "wxSizerItem *""'");
48972 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
48974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48975 result
= (arg1
)->GetMinSize();
48976 wxPyEndAllowThreads(__tstate
);
48977 if (PyErr_Occurred()) SWIG_fail
;
48979 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
48986 SWIGINTERN PyObject
*_wrap_SizerItem_GetMinSizeWithBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48987 PyObject
*resultobj
= 0;
48988 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
48992 PyObject
*swig_obj
[1] ;
48994 if (!args
) SWIG_fail
;
48995 swig_obj
[0] = args
;
48996 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
48997 if (!SWIG_IsOK(res1
)) {
48998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetMinSizeWithBorder" "', expected argument " "1"" of type '" "wxSizerItem const *""'");
49000 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
49002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49003 result
= ((wxSizerItem
const *)arg1
)->GetMinSizeWithBorder();
49004 wxPyEndAllowThreads(__tstate
);
49005 if (PyErr_Occurred()) SWIG_fail
;
49007 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
49014 SWIGINTERN PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49015 PyObject
*resultobj
= 0;
49016 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
49025 PyObject
* obj0
= 0 ;
49026 PyObject
* obj1
= 0 ;
49027 PyObject
* obj2
= 0 ;
49028 char * kwnames
[] = {
49029 (char *) "self",(char *) "x",(char *) "y", NULL
49032 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetInitSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
49033 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
49034 if (!SWIG_IsOK(res1
)) {
49035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetInitSize" "', expected argument " "1"" of type '" "wxSizerItem *""'");
49037 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
49038 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
49039 if (!SWIG_IsOK(ecode2
)) {
49040 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SizerItem_SetInitSize" "', expected argument " "2"" of type '" "int""'");
49042 arg2
= static_cast< int >(val2
);
49043 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
49044 if (!SWIG_IsOK(ecode3
)) {
49045 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SizerItem_SetInitSize" "', expected argument " "3"" of type '" "int""'");
49047 arg3
= static_cast< int >(val3
);
49049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49050 (arg1
)->SetInitSize(arg2
,arg3
);
49051 wxPyEndAllowThreads(__tstate
);
49052 if (PyErr_Occurred()) SWIG_fail
;
49054 resultobj
= SWIG_Py_Void();
49061 SWIGINTERN PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49062 PyObject
*resultobj
= 0;
49063 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
49072 PyObject
* obj0
= 0 ;
49073 PyObject
* obj1
= 0 ;
49074 PyObject
* obj2
= 0 ;
49075 char * kwnames
[] = {
49076 (char *) "self",(char *) "width",(char *) "height", NULL
49079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetRatioWH",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
49080 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
49081 if (!SWIG_IsOK(res1
)) {
49082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetRatioWH" "', expected argument " "1"" of type '" "wxSizerItem *""'");
49084 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
49085 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
49086 if (!SWIG_IsOK(ecode2
)) {
49087 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SizerItem_SetRatioWH" "', expected argument " "2"" of type '" "int""'");
49089 arg2
= static_cast< int >(val2
);
49090 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
49091 if (!SWIG_IsOK(ecode3
)) {
49092 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SizerItem_SetRatioWH" "', expected argument " "3"" of type '" "int""'");
49094 arg3
= static_cast< int >(val3
);
49096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49097 (arg1
)->SetRatio(arg2
,arg3
);
49098 wxPyEndAllowThreads(__tstate
);
49099 if (PyErr_Occurred()) SWIG_fail
;
49101 resultobj
= SWIG_Py_Void();
49108 SWIGINTERN PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49109 PyObject
*resultobj
= 0;
49110 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
49115 PyObject
* obj0
= 0 ;
49116 PyObject
* obj1
= 0 ;
49117 char * kwnames
[] = {
49118 (char *) "self",(char *) "size", NULL
49121 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
49122 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
49123 if (!SWIG_IsOK(res1
)) {
49124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetRatioSize" "', expected argument " "1"" of type '" "wxSizerItem *""'");
49126 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
49129 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
49132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49133 (arg1
)->SetRatio((wxSize
const &)*arg2
);
49134 wxPyEndAllowThreads(__tstate
);
49135 if (PyErr_Occurred()) SWIG_fail
;
49137 resultobj
= SWIG_Py_Void();
49144 SWIGINTERN PyObject
*_wrap_SizerItem_SetRatio(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49145 PyObject
*resultobj
= 0;
49146 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
49152 PyObject
* obj0
= 0 ;
49153 PyObject
* obj1
= 0 ;
49154 char * kwnames
[] = {
49155 (char *) "self",(char *) "ratio", NULL
49158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatio",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
49159 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
49160 if (!SWIG_IsOK(res1
)) {
49161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetRatio" "', expected argument " "1"" of type '" "wxSizerItem *""'");
49163 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
49164 ecode2
= SWIG_AsVal_float(obj1
, &val2
);
49165 if (!SWIG_IsOK(ecode2
)) {
49166 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SizerItem_SetRatio" "', expected argument " "2"" of type '" "float""'");
49168 arg2
= static_cast< float >(val2
);
49170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49171 (arg1
)->SetRatio(arg2
);
49172 wxPyEndAllowThreads(__tstate
);
49173 if (PyErr_Occurred()) SWIG_fail
;
49175 resultobj
= SWIG_Py_Void();
49182 SWIGINTERN PyObject
*_wrap_SizerItem_GetRatio(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49183 PyObject
*resultobj
= 0;
49184 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
49188 PyObject
*swig_obj
[1] ;
49190 if (!args
) SWIG_fail
;
49191 swig_obj
[0] = args
;
49192 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
49193 if (!SWIG_IsOK(res1
)) {
49194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetRatio" "', expected argument " "1"" of type '" "wxSizerItem *""'");
49196 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
49198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49199 result
= (float)(arg1
)->GetRatio();
49200 wxPyEndAllowThreads(__tstate
);
49201 if (PyErr_Occurred()) SWIG_fail
;
49203 resultobj
= SWIG_From_float(static_cast< float >(result
));
49210 SWIGINTERN PyObject
*_wrap_SizerItem_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49211 PyObject
*resultobj
= 0;
49212 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
49216 PyObject
*swig_obj
[1] ;
49218 if (!args
) SWIG_fail
;
49219 swig_obj
[0] = args
;
49220 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
49221 if (!SWIG_IsOK(res1
)) {
49222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetRect" "', expected argument " "1"" of type '" "wxSizerItem *""'");
49224 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
49226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49227 result
= (arg1
)->GetRect();
49228 wxPyEndAllowThreads(__tstate
);
49229 if (PyErr_Occurred()) SWIG_fail
;
49231 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
49238 SWIGINTERN PyObject
*_wrap_SizerItem_IsWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49239 PyObject
*resultobj
= 0;
49240 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
49244 PyObject
*swig_obj
[1] ;
49246 if (!args
) SWIG_fail
;
49247 swig_obj
[0] = args
;
49248 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
49249 if (!SWIG_IsOK(res1
)) {
49250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_IsWindow" "', expected argument " "1"" of type '" "wxSizerItem *""'");
49252 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
49254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49255 result
= (bool)(arg1
)->IsWindow();
49256 wxPyEndAllowThreads(__tstate
);
49257 if (PyErr_Occurred()) SWIG_fail
;
49260 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
49268 SWIGINTERN PyObject
*_wrap_SizerItem_IsSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49269 PyObject
*resultobj
= 0;
49270 wxSizerItem
*arg1
= (wxSizerItem
*) 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_wxSizerItem
, 0 | 0 );
49279 if (!SWIG_IsOK(res1
)) {
49280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_IsSizer" "', expected argument " "1"" of type '" "wxSizerItem *""'");
49282 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
49284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49285 result
= (bool)(arg1
)->IsSizer();
49286 wxPyEndAllowThreads(__tstate
);
49287 if (PyErr_Occurred()) SWIG_fail
;
49290 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
49298 SWIGINTERN PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49299 PyObject
*resultobj
= 0;
49300 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
49304 PyObject
*swig_obj
[1] ;
49306 if (!args
) SWIG_fail
;
49307 swig_obj
[0] = args
;
49308 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
49309 if (!SWIG_IsOK(res1
)) {
49310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_IsSpacer" "', expected argument " "1"" of type '" "wxSizerItem *""'");
49312 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
49314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49315 result
= (bool)(arg1
)->IsSpacer();
49316 wxPyEndAllowThreads(__tstate
);
49317 if (PyErr_Occurred()) SWIG_fail
;
49320 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
49328 SWIGINTERN PyObject
*_wrap_SizerItem_SetProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49329 PyObject
*resultobj
= 0;
49330 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
49336 PyObject
* obj0
= 0 ;
49337 PyObject
* obj1
= 0 ;
49338 char * kwnames
[] = {
49339 (char *) "self",(char *) "proportion", NULL
49342 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetProportion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
49343 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
49344 if (!SWIG_IsOK(res1
)) {
49345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetProportion" "', expected argument " "1"" of type '" "wxSizerItem *""'");
49347 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
49348 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
49349 if (!SWIG_IsOK(ecode2
)) {
49350 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SizerItem_SetProportion" "', expected argument " "2"" of type '" "int""'");
49352 arg2
= static_cast< int >(val2
);
49354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49355 (arg1
)->SetProportion(arg2
);
49356 wxPyEndAllowThreads(__tstate
);
49357 if (PyErr_Occurred()) SWIG_fail
;
49359 resultobj
= SWIG_Py_Void();
49366 SWIGINTERN PyObject
*_wrap_SizerItem_GetProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49367 PyObject
*resultobj
= 0;
49368 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
49372 PyObject
*swig_obj
[1] ;
49374 if (!args
) SWIG_fail
;
49375 swig_obj
[0] = args
;
49376 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
49377 if (!SWIG_IsOK(res1
)) {
49378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetProportion" "', expected argument " "1"" of type '" "wxSizerItem *""'");
49380 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
49382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49383 result
= (int)(arg1
)->GetProportion();
49384 wxPyEndAllowThreads(__tstate
);
49385 if (PyErr_Occurred()) SWIG_fail
;
49387 resultobj
= SWIG_From_int(static_cast< int >(result
));
49394 SWIGINTERN PyObject
*_wrap_SizerItem_SetFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49395 PyObject
*resultobj
= 0;
49396 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
49402 PyObject
* obj0
= 0 ;
49403 PyObject
* obj1
= 0 ;
49404 char * kwnames
[] = {
49405 (char *) "self",(char *) "flag", NULL
49408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetFlag",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
49409 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
49410 if (!SWIG_IsOK(res1
)) {
49411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetFlag" "', expected argument " "1"" of type '" "wxSizerItem *""'");
49413 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
49414 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
49415 if (!SWIG_IsOK(ecode2
)) {
49416 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SizerItem_SetFlag" "', expected argument " "2"" of type '" "int""'");
49418 arg2
= static_cast< int >(val2
);
49420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49421 (arg1
)->SetFlag(arg2
);
49422 wxPyEndAllowThreads(__tstate
);
49423 if (PyErr_Occurred()) SWIG_fail
;
49425 resultobj
= SWIG_Py_Void();
49432 SWIGINTERN PyObject
*_wrap_SizerItem_GetFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49433 PyObject
*resultobj
= 0;
49434 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
49438 PyObject
*swig_obj
[1] ;
49440 if (!args
) SWIG_fail
;
49441 swig_obj
[0] = args
;
49442 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
49443 if (!SWIG_IsOK(res1
)) {
49444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetFlag" "', expected argument " "1"" of type '" "wxSizerItem *""'");
49446 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
49448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49449 result
= (int)(arg1
)->GetFlag();
49450 wxPyEndAllowThreads(__tstate
);
49451 if (PyErr_Occurred()) SWIG_fail
;
49453 resultobj
= SWIG_From_int(static_cast< int >(result
));
49460 SWIGINTERN PyObject
*_wrap_SizerItem_SetBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49461 PyObject
*resultobj
= 0;
49462 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
49468 PyObject
* obj0
= 0 ;
49469 PyObject
* obj1
= 0 ;
49470 char * kwnames
[] = {
49471 (char *) "self",(char *) "border", NULL
49474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
49475 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
49476 if (!SWIG_IsOK(res1
)) {
49477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetBorder" "', expected argument " "1"" of type '" "wxSizerItem *""'");
49479 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
49480 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
49481 if (!SWIG_IsOK(ecode2
)) {
49482 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SizerItem_SetBorder" "', expected argument " "2"" of type '" "int""'");
49484 arg2
= static_cast< int >(val2
);
49486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49487 (arg1
)->SetBorder(arg2
);
49488 wxPyEndAllowThreads(__tstate
);
49489 if (PyErr_Occurred()) SWIG_fail
;
49491 resultobj
= SWIG_Py_Void();
49498 SWIGINTERN PyObject
*_wrap_SizerItem_GetBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49499 PyObject
*resultobj
= 0;
49500 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
49504 PyObject
*swig_obj
[1] ;
49506 if (!args
) SWIG_fail
;
49507 swig_obj
[0] = args
;
49508 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
49509 if (!SWIG_IsOK(res1
)) {
49510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetBorder" "', expected argument " "1"" of type '" "wxSizerItem *""'");
49512 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
49514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49515 result
= (int)(arg1
)->GetBorder();
49516 wxPyEndAllowThreads(__tstate
);
49517 if (PyErr_Occurred()) SWIG_fail
;
49519 resultobj
= SWIG_From_int(static_cast< int >(result
));
49526 SWIGINTERN PyObject
*_wrap_SizerItem_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49527 PyObject
*resultobj
= 0;
49528 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
49529 wxWindow
*result
= 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_wxSizerItem
, 0 | 0 );
49537 if (!SWIG_IsOK(res1
)) {
49538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetWindow" "', expected argument " "1"" of type '" "wxSizerItem *""'");
49540 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
49542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49543 result
= (wxWindow
*)(arg1
)->GetWindow();
49544 wxPyEndAllowThreads(__tstate
);
49545 if (PyErr_Occurred()) SWIG_fail
;
49548 resultobj
= wxPyMake_wxObject(result
, 0);
49556 SWIGINTERN PyObject
*_wrap_SizerItem_SetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49557 PyObject
*resultobj
= 0;
49558 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
49559 wxWindow
*arg2
= (wxWindow
*) 0 ;
49564 PyObject
* obj0
= 0 ;
49565 PyObject
* obj1
= 0 ;
49566 char * kwnames
[] = {
49567 (char *) "self",(char *) "window", NULL
49570 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
49571 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
49572 if (!SWIG_IsOK(res1
)) {
49573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetWindow" "', expected argument " "1"" of type '" "wxSizerItem *""'");
49575 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
49576 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
49577 if (!SWIG_IsOK(res2
)) {
49578 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SizerItem_SetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
49580 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
49582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49583 (arg1
)->SetWindow(arg2
);
49584 wxPyEndAllowThreads(__tstate
);
49585 if (PyErr_Occurred()) SWIG_fail
;
49587 resultobj
= SWIG_Py_Void();
49594 SWIGINTERN PyObject
*_wrap_SizerItem_GetSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49595 PyObject
*resultobj
= 0;
49596 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
49597 wxSizer
*result
= 0 ;
49600 PyObject
*swig_obj
[1] ;
49602 if (!args
) SWIG_fail
;
49603 swig_obj
[0] = args
;
49604 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
49605 if (!SWIG_IsOK(res1
)) {
49606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetSizer" "', expected argument " "1"" of type '" "wxSizerItem *""'");
49608 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
49610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49611 result
= (wxSizer
*)(arg1
)->GetSizer();
49612 wxPyEndAllowThreads(__tstate
);
49613 if (PyErr_Occurred()) SWIG_fail
;
49616 resultobj
= wxPyMake_wxObject(result
, (bool)0);
49624 SWIGINTERN PyObject
*_wrap_SizerItem_SetSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49625 PyObject
*resultobj
= 0;
49626 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
49627 wxSizer
*arg2
= (wxSizer
*) 0 ;
49631 PyObject
* obj0
= 0 ;
49632 PyObject
* obj1
= 0 ;
49633 char * kwnames
[] = {
49634 (char *) "self",(char *) "sizer", NULL
49637 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
49638 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
49639 if (!SWIG_IsOK(res1
)) {
49640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetSizer" "', expected argument " "1"" of type '" "wxSizerItem *""'");
49642 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
49643 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxSizer
, SWIG_POINTER_DISOWN
| 0 );
49644 if (!SWIG_IsOK(res2
)) {
49645 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SizerItem_SetSizer" "', expected argument " "2"" of type '" "wxSizer *""'");
49648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49649 (arg1
)->SetSizer(arg2
);
49650 wxPyEndAllowThreads(__tstate
);
49651 if (PyErr_Occurred()) SWIG_fail
;
49653 resultobj
= SWIG_Py_Void();
49660 SWIGINTERN PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49661 PyObject
*resultobj
= 0;
49662 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
49666 PyObject
*swig_obj
[1] ;
49668 if (!args
) SWIG_fail
;
49669 swig_obj
[0] = args
;
49670 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
49671 if (!SWIG_IsOK(res1
)) {
49672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetSpacer" "', expected argument " "1"" of type '" "wxSizerItem *""'");
49674 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
49676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49677 result
= (arg1
)->GetSpacer();
49678 wxPyEndAllowThreads(__tstate
);
49679 if (PyErr_Occurred()) SWIG_fail
;
49681 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
49688 SWIGINTERN PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49689 PyObject
*resultobj
= 0;
49690 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
49695 PyObject
* obj0
= 0 ;
49696 PyObject
* obj1
= 0 ;
49697 char * kwnames
[] = {
49698 (char *) "self",(char *) "size", NULL
49701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
49702 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
49703 if (!SWIG_IsOK(res1
)) {
49704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetSpacer" "', expected argument " "1"" of type '" "wxSizerItem *""'");
49706 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
49709 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
49712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49713 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
49714 wxPyEndAllowThreads(__tstate
);
49715 if (PyErr_Occurred()) SWIG_fail
;
49717 resultobj
= SWIG_Py_Void();
49724 SWIGINTERN PyObject
*_wrap_SizerItem_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49725 PyObject
*resultobj
= 0;
49726 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
49732 PyObject
* obj0
= 0 ;
49733 PyObject
* obj1
= 0 ;
49734 char * kwnames
[] = {
49735 (char *) "self",(char *) "show", NULL
49738 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
49739 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
49740 if (!SWIG_IsOK(res1
)) {
49741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_Show" "', expected argument " "1"" of type '" "wxSizerItem *""'");
49743 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
49744 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
49745 if (!SWIG_IsOK(ecode2
)) {
49746 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SizerItem_Show" "', expected argument " "2"" of type '" "bool""'");
49748 arg2
= static_cast< bool >(val2
);
49750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49751 (arg1
)->Show(arg2
);
49752 wxPyEndAllowThreads(__tstate
);
49753 if (PyErr_Occurred()) SWIG_fail
;
49755 resultobj
= SWIG_Py_Void();
49762 SWIGINTERN PyObject
*_wrap_SizerItem_IsShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49763 PyObject
*resultobj
= 0;
49764 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
49768 PyObject
*swig_obj
[1] ;
49770 if (!args
) SWIG_fail
;
49771 swig_obj
[0] = args
;
49772 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
49773 if (!SWIG_IsOK(res1
)) {
49774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_IsShown" "', expected argument " "1"" of type '" "wxSizerItem *""'");
49776 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
49778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49779 result
= (bool)(arg1
)->IsShown();
49780 wxPyEndAllowThreads(__tstate
);
49781 if (PyErr_Occurred()) SWIG_fail
;
49784 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
49792 SWIGINTERN PyObject
*_wrap_SizerItem_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49793 PyObject
*resultobj
= 0;
49794 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
49798 PyObject
*swig_obj
[1] ;
49800 if (!args
) SWIG_fail
;
49801 swig_obj
[0] = args
;
49802 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
49803 if (!SWIG_IsOK(res1
)) {
49804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetPosition" "', expected argument " "1"" of type '" "wxSizerItem *""'");
49806 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
49808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49809 result
= (arg1
)->GetPosition();
49810 wxPyEndAllowThreads(__tstate
);
49811 if (PyErr_Occurred()) SWIG_fail
;
49813 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
49820 SWIGINTERN PyObject
*_wrap_SizerItem_GetUserData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49821 PyObject
*resultobj
= 0;
49822 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
49823 PyObject
*result
= 0 ;
49826 PyObject
*swig_obj
[1] ;
49828 if (!args
) SWIG_fail
;
49829 swig_obj
[0] = args
;
49830 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
49831 if (!SWIG_IsOK(res1
)) {
49832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetUserData" "', expected argument " "1"" of type '" "wxSizerItem *""'");
49834 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
49836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49837 result
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
49838 wxPyEndAllowThreads(__tstate
);
49839 if (PyErr_Occurred()) SWIG_fail
;
49841 resultobj
= result
;
49848 SWIGINTERN PyObject
*_wrap_SizerItem_SetUserData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49849 PyObject
*resultobj
= 0;
49850 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
49851 PyObject
*arg2
= (PyObject
*) 0 ;
49854 PyObject
* obj0
= 0 ;
49855 PyObject
* obj1
= 0 ;
49856 char * kwnames
[] = {
49857 (char *) "self",(char *) "userData", NULL
49860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetUserData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
49861 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
49862 if (!SWIG_IsOK(res1
)) {
49863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetUserData" "', expected argument " "1"" of type '" "wxSizerItem *""'");
49865 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
49868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49869 wxSizerItem_SetUserData(arg1
,arg2
);
49870 wxPyEndAllowThreads(__tstate
);
49871 if (PyErr_Occurred()) SWIG_fail
;
49873 resultobj
= SWIG_Py_Void();
49880 SWIGINTERN PyObject
*SizerItem_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49882 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
49883 SWIG_TypeNewClientData(SWIGTYPE_p_wxSizerItem
, SWIG_NewClientData(obj
));
49884 return SWIG_Py_Void();
49887 SWIGINTERN PyObject
*SizerItem_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49888 return SWIG_Python_InitShadowInstance(args
);
49891 SWIGINTERN PyObject
*_wrap_delete_Sizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49892 PyObject
*resultobj
= 0;
49893 wxSizer
*arg1
= (wxSizer
*) 0 ;
49896 PyObject
*swig_obj
[1] ;
49898 if (!args
) SWIG_fail
;
49899 swig_obj
[0] = args
;
49900 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizer
, SWIG_POINTER_DISOWN
| 0 );
49901 if (!SWIG_IsOK(res1
)) {
49902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Sizer" "', expected argument " "1"" of type '" "wxSizer *""'");
49904 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
49906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49909 wxPyEndAllowThreads(__tstate
);
49910 if (PyErr_Occurred()) SWIG_fail
;
49912 resultobj
= SWIG_Py_Void();
49919 SWIGINTERN PyObject
*_wrap_Sizer__setOORInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49920 PyObject
*resultobj
= 0;
49921 wxSizer
*arg1
= (wxSizer
*) 0 ;
49922 PyObject
*arg2
= (PyObject
*) 0 ;
49925 PyObject
* obj0
= 0 ;
49926 PyObject
* obj1
= 0 ;
49927 char * kwnames
[] = {
49928 (char *) "self",(char *) "_self", NULL
49931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
49932 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
49933 if (!SWIG_IsOK(res1
)) {
49934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer__setOORInfo" "', expected argument " "1"" of type '" "wxSizer *""'");
49936 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
49939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49940 wxSizer__setOORInfo(arg1
,arg2
);
49941 wxPyEndAllowThreads(__tstate
);
49942 if (PyErr_Occurred()) SWIG_fail
;
49944 resultobj
= SWIG_Py_Void();
49951 SWIGINTERN PyObject
*_wrap_Sizer_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49952 PyObject
*resultobj
= 0;
49953 wxSizer
*arg1
= (wxSizer
*) 0 ;
49954 PyObject
*arg2
= (PyObject
*) 0 ;
49955 int arg3
= (int) 0 ;
49956 int arg4
= (int) 0 ;
49957 int arg5
= (int) 0 ;
49958 PyObject
*arg6
= (PyObject
*) NULL
;
49959 wxSizerItem
*result
= 0 ;
49968 PyObject
* obj0
= 0 ;
49969 PyObject
* obj1
= 0 ;
49970 PyObject
* obj2
= 0 ;
49971 PyObject
* obj3
= 0 ;
49972 PyObject
* obj4
= 0 ;
49973 PyObject
* obj5
= 0 ;
49974 char * kwnames
[] = {
49975 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
49978 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
49979 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
49980 if (!SWIG_IsOK(res1
)) {
49981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_Add" "', expected argument " "1"" of type '" "wxSizer *""'");
49983 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
49986 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
49987 if (!SWIG_IsOK(ecode3
)) {
49988 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Sizer_Add" "', expected argument " "3"" of type '" "int""'");
49990 arg3
= static_cast< int >(val3
);
49993 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
49994 if (!SWIG_IsOK(ecode4
)) {
49995 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Sizer_Add" "', expected argument " "4"" of type '" "int""'");
49997 arg4
= static_cast< int >(val4
);
50000 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
50001 if (!SWIG_IsOK(ecode5
)) {
50002 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Sizer_Add" "', expected argument " "5"" of type '" "int""'");
50004 arg5
= static_cast< int >(val5
);
50010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50011 result
= (wxSizerItem
*)wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
50012 wxPyEndAllowThreads(__tstate
);
50013 if (PyErr_Occurred()) SWIG_fail
;
50015 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, 0 | 0 );
50022 SWIGINTERN PyObject
*_wrap_Sizer_Insert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
50023 PyObject
*resultobj
= 0;
50024 wxSizer
*arg1
= (wxSizer
*) 0 ;
50026 PyObject
*arg3
= (PyObject
*) 0 ;
50027 int arg4
= (int) 0 ;
50028 int arg5
= (int) 0 ;
50029 int arg6
= (int) 0 ;
50030 PyObject
*arg7
= (PyObject
*) NULL
;
50031 wxSizerItem
*result
= 0 ;
50042 PyObject
* obj0
= 0 ;
50043 PyObject
* obj1
= 0 ;
50044 PyObject
* obj2
= 0 ;
50045 PyObject
* obj3
= 0 ;
50046 PyObject
* obj4
= 0 ;
50047 PyObject
* obj5
= 0 ;
50048 PyObject
* obj6
= 0 ;
50049 char * kwnames
[] = {
50050 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
50053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Sizer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
50054 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
50055 if (!SWIG_IsOK(res1
)) {
50056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_Insert" "', expected argument " "1"" of type '" "wxSizer *""'");
50058 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
50059 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
50060 if (!SWIG_IsOK(ecode2
)) {
50061 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Sizer_Insert" "', expected argument " "2"" of type '" "int""'");
50063 arg2
= static_cast< int >(val2
);
50066 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
50067 if (!SWIG_IsOK(ecode4
)) {
50068 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Sizer_Insert" "', expected argument " "4"" of type '" "int""'");
50070 arg4
= static_cast< int >(val4
);
50073 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
50074 if (!SWIG_IsOK(ecode5
)) {
50075 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Sizer_Insert" "', expected argument " "5"" of type '" "int""'");
50077 arg5
= static_cast< int >(val5
);
50080 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
50081 if (!SWIG_IsOK(ecode6
)) {
50082 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Sizer_Insert" "', expected argument " "6"" of type '" "int""'");
50084 arg6
= static_cast< int >(val6
);
50090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50091 result
= (wxSizerItem
*)wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
50092 wxPyEndAllowThreads(__tstate
);
50093 if (PyErr_Occurred()) SWIG_fail
;
50095 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, 0 | 0 );
50102 SWIGINTERN PyObject
*_wrap_Sizer_Prepend(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
50103 PyObject
*resultobj
= 0;
50104 wxSizer
*arg1
= (wxSizer
*) 0 ;
50105 PyObject
*arg2
= (PyObject
*) 0 ;
50106 int arg3
= (int) 0 ;
50107 int arg4
= (int) 0 ;
50108 int arg5
= (int) 0 ;
50109 PyObject
*arg6
= (PyObject
*) NULL
;
50110 wxSizerItem
*result
= 0 ;
50119 PyObject
* obj0
= 0 ;
50120 PyObject
* obj1
= 0 ;
50121 PyObject
* obj2
= 0 ;
50122 PyObject
* obj3
= 0 ;
50123 PyObject
* obj4
= 0 ;
50124 PyObject
* obj5
= 0 ;
50125 char * kwnames
[] = {
50126 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
50129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
50130 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
50131 if (!SWIG_IsOK(res1
)) {
50132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_Prepend" "', expected argument " "1"" of type '" "wxSizer *""'");
50134 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
50137 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
50138 if (!SWIG_IsOK(ecode3
)) {
50139 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Sizer_Prepend" "', expected argument " "3"" of type '" "int""'");
50141 arg3
= static_cast< int >(val3
);
50144 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
50145 if (!SWIG_IsOK(ecode4
)) {
50146 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Sizer_Prepend" "', expected argument " "4"" of type '" "int""'");
50148 arg4
= static_cast< int >(val4
);
50151 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
50152 if (!SWIG_IsOK(ecode5
)) {
50153 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Sizer_Prepend" "', expected argument " "5"" of type '" "int""'");
50155 arg5
= static_cast< int >(val5
);
50161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50162 result
= (wxSizerItem
*)wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
50163 wxPyEndAllowThreads(__tstate
);
50164 if (PyErr_Occurred()) SWIG_fail
;
50166 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, 0 | 0 );
50173 SWIGINTERN PyObject
*_wrap_Sizer_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
50174 PyObject
*resultobj
= 0;
50175 wxSizer
*arg1
= (wxSizer
*) 0 ;
50176 PyObject
*arg2
= (PyObject
*) 0 ;
50180 PyObject
* obj0
= 0 ;
50181 PyObject
* obj1
= 0 ;
50182 char * kwnames
[] = {
50183 (char *) "self",(char *) "item", NULL
50186 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
50187 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
50188 if (!SWIG_IsOK(res1
)) {
50189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_Remove" "', expected argument " "1"" of type '" "wxSizer *""'");
50191 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
50194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50195 result
= (bool)wxSizer_Remove(arg1
,arg2
);
50196 wxPyEndAllowThreads(__tstate
);
50197 if (PyErr_Occurred()) SWIG_fail
;
50200 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
50208 SWIGINTERN PyObject
*_wrap_Sizer_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
50209 PyObject
*resultobj
= 0;
50210 wxSizer
*arg1
= (wxSizer
*) 0 ;
50211 PyObject
*arg2
= (PyObject
*) 0 ;
50215 PyObject
* obj0
= 0 ;
50216 PyObject
* obj1
= 0 ;
50217 char * kwnames
[] = {
50218 (char *) "self",(char *) "item", NULL
50221 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Detach",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
50222 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
50223 if (!SWIG_IsOK(res1
)) {
50224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_Detach" "', expected argument " "1"" of type '" "wxSizer *""'");
50226 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
50229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50230 result
= (bool)wxSizer_Detach(arg1
,arg2
);
50231 wxPyEndAllowThreads(__tstate
);
50232 if (PyErr_Occurred()) SWIG_fail
;
50235 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
50243 SWIGINTERN PyObject
*_wrap_Sizer_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
50244 PyObject
*resultobj
= 0;
50245 wxSizer
*arg1
= (wxSizer
*) 0 ;
50246 PyObject
*arg2
= (PyObject
*) 0 ;
50247 wxSizerItem
*result
= 0 ;
50250 PyObject
* obj0
= 0 ;
50251 PyObject
* obj1
= 0 ;
50252 char * kwnames
[] = {
50253 (char *) "self",(char *) "item", NULL
50256 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_GetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
50257 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
50258 if (!SWIG_IsOK(res1
)) {
50259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_GetItem" "', expected argument " "1"" of type '" "wxSizer *""'");
50261 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
50264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50265 result
= (wxSizerItem
*)wxSizer_GetItem(arg1
,arg2
);
50266 wxPyEndAllowThreads(__tstate
);
50267 if (PyErr_Occurred()) SWIG_fail
;
50269 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, 0 | 0 );
50276 SWIGINTERN PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
50277 PyObject
*resultobj
= 0;
50278 wxSizer
*arg1
= (wxSizer
*) 0 ;
50279 PyObject
*arg2
= (PyObject
*) 0 ;
50284 PyObject
* obj0
= 0 ;
50285 PyObject
* obj1
= 0 ;
50286 PyObject
* obj2
= 0 ;
50287 char * kwnames
[] = {
50288 (char *) "self",(char *) "item",(char *) "size", NULL
50291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
50292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
50293 if (!SWIG_IsOK(res1
)) {
50294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer__SetItemMinSize" "', expected argument " "1"" of type '" "wxSizer *""'");
50296 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
50300 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
50303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50304 wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize
const &)*arg3
);
50305 wxPyEndAllowThreads(__tstate
);
50306 if (PyErr_Occurred()) SWIG_fail
;
50308 resultobj
= SWIG_Py_Void();
50315 SWIGINTERN PyObject
*_wrap_Sizer__ReplaceWin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
50316 PyObject
*resultobj
= 0;
50317 wxSizer
*arg1
= (wxSizer
*) 0 ;
50318 wxWindow
*arg2
= (wxWindow
*) 0 ;
50319 wxWindow
*arg3
= (wxWindow
*) 0 ;
50320 bool arg4
= (bool) false ;
50330 PyObject
* obj0
= 0 ;
50331 PyObject
* obj1
= 0 ;
50332 PyObject
* obj2
= 0 ;
50333 PyObject
* obj3
= 0 ;
50334 char * kwnames
[] = {
50335 (char *) "self",(char *) "oldwin",(char *) "newwin",(char *) "recursive", NULL
50338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Sizer__ReplaceWin",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
50339 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
50340 if (!SWIG_IsOK(res1
)) {
50341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer__ReplaceWin" "', expected argument " "1"" of type '" "wxSizer *""'");
50343 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
50344 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
50345 if (!SWIG_IsOK(res2
)) {
50346 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Sizer__ReplaceWin" "', expected argument " "2"" of type '" "wxWindow *""'");
50348 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
50349 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
50350 if (!SWIG_IsOK(res3
)) {
50351 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Sizer__ReplaceWin" "', expected argument " "3"" of type '" "wxWindow *""'");
50353 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
50355 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
50356 if (!SWIG_IsOK(ecode4
)) {
50357 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Sizer__ReplaceWin" "', expected argument " "4"" of type '" "bool""'");
50359 arg4
= static_cast< bool >(val4
);
50362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50363 result
= (bool)(arg1
)->Replace(arg2
,arg3
,arg4
);
50364 wxPyEndAllowThreads(__tstate
);
50365 if (PyErr_Occurred()) SWIG_fail
;
50368 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
50376 SWIGINTERN PyObject
*_wrap_Sizer__ReplaceSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
50377 PyObject
*resultobj
= 0;
50378 wxSizer
*arg1
= (wxSizer
*) 0 ;
50379 wxSizer
*arg2
= (wxSizer
*) 0 ;
50380 wxSizer
*arg3
= (wxSizer
*) 0 ;
50381 bool arg4
= (bool) false ;
50391 PyObject
* obj0
= 0 ;
50392 PyObject
* obj1
= 0 ;
50393 PyObject
* obj2
= 0 ;
50394 PyObject
* obj3
= 0 ;
50395 char * kwnames
[] = {
50396 (char *) "self",(char *) "oldsz",(char *) "newsz",(char *) "recursive", NULL
50399 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Sizer__ReplaceSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
50400 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
50401 if (!SWIG_IsOK(res1
)) {
50402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer__ReplaceSizer" "', expected argument " "1"" of type '" "wxSizer *""'");
50404 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
50405 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxSizer
, 0 | 0 );
50406 if (!SWIG_IsOK(res2
)) {
50407 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Sizer__ReplaceSizer" "', expected argument " "2"" of type '" "wxSizer *""'");
50409 arg2
= reinterpret_cast< wxSizer
* >(argp2
);
50410 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxSizer
, 0 | 0 );
50411 if (!SWIG_IsOK(res3
)) {
50412 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Sizer__ReplaceSizer" "', expected argument " "3"" of type '" "wxSizer *""'");
50414 arg3
= reinterpret_cast< wxSizer
* >(argp3
);
50416 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
50417 if (!SWIG_IsOK(ecode4
)) {
50418 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Sizer__ReplaceSizer" "', expected argument " "4"" of type '" "bool""'");
50420 arg4
= static_cast< bool >(val4
);
50423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50424 result
= (bool)(arg1
)->Replace(arg2
,arg3
,arg4
);
50425 wxPyEndAllowThreads(__tstate
);
50426 if (PyErr_Occurred()) SWIG_fail
;
50429 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
50437 SWIGINTERN PyObject
*_wrap_Sizer__ReplaceItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
50438 PyObject
*resultobj
= 0;
50439 wxSizer
*arg1
= (wxSizer
*) 0 ;
50441 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
50449 PyObject
* obj0
= 0 ;
50450 PyObject
* obj1
= 0 ;
50451 PyObject
* obj2
= 0 ;
50452 char * kwnames
[] = {
50453 (char *) "self",(char *) "index",(char *) "newitem", NULL
50456 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__ReplaceItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
50457 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
50458 if (!SWIG_IsOK(res1
)) {
50459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer__ReplaceItem" "', expected argument " "1"" of type '" "wxSizer *""'");
50461 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
50462 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
50463 if (!SWIG_IsOK(ecode2
)) {
50464 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Sizer__ReplaceItem" "', expected argument " "2"" of type '" "size_t""'");
50466 arg2
= static_cast< size_t >(val2
);
50467 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
50468 if (!SWIG_IsOK(res3
)) {
50469 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Sizer__ReplaceItem" "', expected argument " "3"" of type '" "wxSizerItem *""'");
50471 arg3
= reinterpret_cast< wxSizerItem
* >(argp3
);
50473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50474 result
= (bool)(arg1
)->Replace(arg2
,arg3
);
50475 wxPyEndAllowThreads(__tstate
);
50476 if (PyErr_Occurred()) SWIG_fail
;
50479 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
50487 SWIGINTERN PyObject
*_wrap_Sizer_SetContainingWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
50488 PyObject
*resultobj
= 0;
50489 wxSizer
*arg1
= (wxSizer
*) 0 ;
50490 wxWindow
*arg2
= (wxWindow
*) 0 ;
50495 PyObject
* obj0
= 0 ;
50496 PyObject
* obj1
= 0 ;
50497 char * kwnames
[] = {
50498 (char *) "self",(char *) "window", NULL
50501 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetContainingWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
50502 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
50503 if (!SWIG_IsOK(res1
)) {
50504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_SetContainingWindow" "', expected argument " "1"" of type '" "wxSizer *""'");
50506 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
50507 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
50508 if (!SWIG_IsOK(res2
)) {
50509 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Sizer_SetContainingWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
50511 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
50513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50514 (arg1
)->SetContainingWindow(arg2
);
50515 wxPyEndAllowThreads(__tstate
);
50516 if (PyErr_Occurred()) SWIG_fail
;
50518 resultobj
= SWIG_Py_Void();
50525 SWIGINTERN PyObject
*_wrap_Sizer_GetContainingWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
50526 PyObject
*resultobj
= 0;
50527 wxSizer
*arg1
= (wxSizer
*) 0 ;
50528 wxWindow
*result
= 0 ;
50531 PyObject
*swig_obj
[1] ;
50533 if (!args
) SWIG_fail
;
50534 swig_obj
[0] = args
;
50535 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
50536 if (!SWIG_IsOK(res1
)) {
50537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_GetContainingWindow" "', expected argument " "1"" of type '" "wxSizer const *""'");
50539 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
50541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50542 result
= (wxWindow
*)((wxSizer
const *)arg1
)->GetContainingWindow();
50543 wxPyEndAllowThreads(__tstate
);
50544 if (PyErr_Occurred()) SWIG_fail
;
50547 resultobj
= wxPyMake_wxObject(result
, 0);
50555 SWIGINTERN PyObject
*_wrap_Sizer_AddItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
50556 PyObject
*resultobj
= 0;
50557 wxSizer
*arg1
= (wxSizer
*) 0 ;
50558 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
50559 wxSizerItem
*result
= 0 ;
50563 PyObject
* obj0
= 0 ;
50564 PyObject
* obj1
= 0 ;
50565 char * kwnames
[] = {
50566 (char *) "self",(char *) "item", NULL
50569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
50570 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
50571 if (!SWIG_IsOK(res1
)) {
50572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_AddItem" "', expected argument " "1"" of type '" "wxSizer *""'");
50574 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
50575 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_DISOWN
| 0 );
50576 if (!SWIG_IsOK(res2
)) {
50577 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Sizer_AddItem" "', expected argument " "2"" of type '" "wxSizerItem *""'");
50580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50581 result
= (wxSizerItem
*)(arg1
)->Add(arg2
);
50582 wxPyEndAllowThreads(__tstate
);
50583 if (PyErr_Occurred()) SWIG_fail
;
50585 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, 0 | 0 );
50592 SWIGINTERN PyObject
*_wrap_Sizer_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
50593 PyObject
*resultobj
= 0;
50594 wxSizer
*arg1
= (wxSizer
*) 0 ;
50596 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
50597 wxSizerItem
*result
= 0 ;
50603 PyObject
* obj0
= 0 ;
50604 PyObject
* obj1
= 0 ;
50605 PyObject
* obj2
= 0 ;
50606 char * kwnames
[] = {
50607 (char *) "self",(char *) "index",(char *) "item", NULL
50610 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
50611 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
50612 if (!SWIG_IsOK(res1
)) {
50613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_InsertItem" "', expected argument " "1"" of type '" "wxSizer *""'");
50615 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
50616 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
50617 if (!SWIG_IsOK(ecode2
)) {
50618 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Sizer_InsertItem" "', expected argument " "2"" of type '" "size_t""'");
50620 arg2
= static_cast< size_t >(val2
);
50621 res3
= SWIG_ConvertPtr(obj2
, SWIG_as_voidptrptr(&arg3
), SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_DISOWN
| 0 );
50622 if (!SWIG_IsOK(res3
)) {
50623 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Sizer_InsertItem" "', expected argument " "3"" of type '" "wxSizerItem *""'");
50626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50627 result
= (wxSizerItem
*)(arg1
)->Insert(arg2
,arg3
);
50628 wxPyEndAllowThreads(__tstate
);
50629 if (PyErr_Occurred()) SWIG_fail
;
50631 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, 0 | 0 );
50638 SWIGINTERN PyObject
*_wrap_Sizer_PrependItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
50639 PyObject
*resultobj
= 0;
50640 wxSizer
*arg1
= (wxSizer
*) 0 ;
50641 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
50642 wxSizerItem
*result
= 0 ;
50646 PyObject
* obj0
= 0 ;
50647 PyObject
* obj1
= 0 ;
50648 char * kwnames
[] = {
50649 (char *) "self",(char *) "item", NULL
50652 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
50653 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
50654 if (!SWIG_IsOK(res1
)) {
50655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_PrependItem" "', expected argument " "1"" of type '" "wxSizer *""'");
50657 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
50658 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_DISOWN
| 0 );
50659 if (!SWIG_IsOK(res2
)) {
50660 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Sizer_PrependItem" "', expected argument " "2"" of type '" "wxSizerItem *""'");
50663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50664 result
= (wxSizerItem
*)(arg1
)->Prepend(arg2
);
50665 wxPyEndAllowThreads(__tstate
);
50666 if (PyErr_Occurred()) SWIG_fail
;
50668 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, 0 | 0 );
50675 SWIGINTERN PyObject
*_wrap_Sizer_SetDimension(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
50676 PyObject
*resultobj
= 0;
50677 wxSizer
*arg1
= (wxSizer
*) 0 ;
50692 PyObject
* obj0
= 0 ;
50693 PyObject
* obj1
= 0 ;
50694 PyObject
* obj2
= 0 ;
50695 PyObject
* obj3
= 0 ;
50696 PyObject
* obj4
= 0 ;
50697 char * kwnames
[] = {
50698 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
50701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Sizer_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
50702 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
50703 if (!SWIG_IsOK(res1
)) {
50704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_SetDimension" "', expected argument " "1"" of type '" "wxSizer *""'");
50706 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
50707 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
50708 if (!SWIG_IsOK(ecode2
)) {
50709 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Sizer_SetDimension" "', expected argument " "2"" of type '" "int""'");
50711 arg2
= static_cast< int >(val2
);
50712 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
50713 if (!SWIG_IsOK(ecode3
)) {
50714 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Sizer_SetDimension" "', expected argument " "3"" of type '" "int""'");
50716 arg3
= static_cast< int >(val3
);
50717 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
50718 if (!SWIG_IsOK(ecode4
)) {
50719 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Sizer_SetDimension" "', expected argument " "4"" of type '" "int""'");
50721 arg4
= static_cast< int >(val4
);
50722 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
50723 if (!SWIG_IsOK(ecode5
)) {
50724 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Sizer_SetDimension" "', expected argument " "5"" of type '" "int""'");
50726 arg5
= static_cast< int >(val5
);
50728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50729 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
50730 wxPyEndAllowThreads(__tstate
);
50731 if (PyErr_Occurred()) SWIG_fail
;
50733 resultobj
= SWIG_Py_Void();
50740 SWIGINTERN PyObject
*_wrap_Sizer_SetMinSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
50741 PyObject
*resultobj
= 0;
50742 wxSizer
*arg1
= (wxSizer
*) 0 ;
50747 PyObject
* obj0
= 0 ;
50748 PyObject
* obj1
= 0 ;
50749 char * kwnames
[] = {
50750 (char *) "self",(char *) "size", NULL
50753 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
50754 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
50755 if (!SWIG_IsOK(res1
)) {
50756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_SetMinSize" "', expected argument " "1"" of type '" "wxSizer *""'");
50758 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
50761 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
50764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50765 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
50766 wxPyEndAllowThreads(__tstate
);
50767 if (PyErr_Occurred()) SWIG_fail
;
50769 resultobj
= SWIG_Py_Void();
50776 SWIGINTERN PyObject
*_wrap_Sizer_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
50777 PyObject
*resultobj
= 0;
50778 wxSizer
*arg1
= (wxSizer
*) 0 ;
50782 PyObject
*swig_obj
[1] ;
50784 if (!args
) SWIG_fail
;
50785 swig_obj
[0] = args
;
50786 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
50787 if (!SWIG_IsOK(res1
)) {
50788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_GetSize" "', expected argument " "1"" of type '" "wxSizer *""'");
50790 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
50792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50793 result
= (arg1
)->GetSize();
50794 wxPyEndAllowThreads(__tstate
);
50795 if (PyErr_Occurred()) SWIG_fail
;
50797 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
50804 SWIGINTERN PyObject
*_wrap_Sizer_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
50805 PyObject
*resultobj
= 0;
50806 wxSizer
*arg1
= (wxSizer
*) 0 ;
50810 PyObject
*swig_obj
[1] ;
50812 if (!args
) SWIG_fail
;
50813 swig_obj
[0] = args
;
50814 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
50815 if (!SWIG_IsOK(res1
)) {
50816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_GetPosition" "', expected argument " "1"" of type '" "wxSizer *""'");
50818 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
50820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50821 result
= (arg1
)->GetPosition();
50822 wxPyEndAllowThreads(__tstate
);
50823 if (PyErr_Occurred()) SWIG_fail
;
50825 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
50832 SWIGINTERN PyObject
*_wrap_Sizer_GetMinSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
50833 PyObject
*resultobj
= 0;
50834 wxSizer
*arg1
= (wxSizer
*) 0 ;
50838 PyObject
*swig_obj
[1] ;
50840 if (!args
) SWIG_fail
;
50841 swig_obj
[0] = args
;
50842 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
50843 if (!SWIG_IsOK(res1
)) {
50844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_GetMinSize" "', expected argument " "1"" of type '" "wxSizer *""'");
50846 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
50848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50849 result
= (arg1
)->GetMinSize();
50850 wxPyEndAllowThreads(__tstate
);
50851 if (PyErr_Occurred()) SWIG_fail
;
50853 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
50860 SWIGINTERN PyObject
*_wrap_Sizer_RecalcSizes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
50861 PyObject
*resultobj
= 0;
50862 wxSizer
*arg1
= (wxSizer
*) 0 ;
50865 PyObject
*swig_obj
[1] ;
50867 if (!args
) SWIG_fail
;
50868 swig_obj
[0] = args
;
50869 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
50870 if (!SWIG_IsOK(res1
)) {
50871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_RecalcSizes" "', expected argument " "1"" of type '" "wxSizer *""'");
50873 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
50875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50876 (arg1
)->RecalcSizes();
50877 wxPyEndAllowThreads(__tstate
);
50878 if (PyErr_Occurred()) SWIG_fail
;
50880 resultobj
= SWIG_Py_Void();
50887 SWIGINTERN PyObject
*_wrap_Sizer_CalcMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
50888 PyObject
*resultobj
= 0;
50889 wxSizer
*arg1
= (wxSizer
*) 0 ;
50893 PyObject
*swig_obj
[1] ;
50895 if (!args
) SWIG_fail
;
50896 swig_obj
[0] = args
;
50897 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
50898 if (!SWIG_IsOK(res1
)) {
50899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_CalcMin" "', expected argument " "1"" of type '" "wxSizer *""'");
50901 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
50903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50904 result
= (arg1
)->CalcMin();
50905 wxPyEndAllowThreads(__tstate
);
50906 if (PyErr_Occurred()) SWIG_fail
;
50908 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
50915 SWIGINTERN PyObject
*_wrap_Sizer_Layout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
50916 PyObject
*resultobj
= 0;
50917 wxSizer
*arg1
= (wxSizer
*) 0 ;
50920 PyObject
*swig_obj
[1] ;
50922 if (!args
) SWIG_fail
;
50923 swig_obj
[0] = args
;
50924 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
50925 if (!SWIG_IsOK(res1
)) {
50926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_Layout" "', expected argument " "1"" of type '" "wxSizer *""'");
50928 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
50930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50932 wxPyEndAllowThreads(__tstate
);
50933 if (PyErr_Occurred()) SWIG_fail
;
50935 resultobj
= SWIG_Py_Void();
50942 SWIGINTERN PyObject
*_wrap_Sizer_Fit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
50943 PyObject
*resultobj
= 0;
50944 wxSizer
*arg1
= (wxSizer
*) 0 ;
50945 wxWindow
*arg2
= (wxWindow
*) 0 ;
50951 PyObject
* obj0
= 0 ;
50952 PyObject
* obj1
= 0 ;
50953 char * kwnames
[] = {
50954 (char *) "self",(char *) "window", NULL
50957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
50958 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
50959 if (!SWIG_IsOK(res1
)) {
50960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_Fit" "', expected argument " "1"" of type '" "wxSizer *""'");
50962 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
50963 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
50964 if (!SWIG_IsOK(res2
)) {
50965 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Sizer_Fit" "', expected argument " "2"" of type '" "wxWindow *""'");
50967 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
50969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50970 result
= (arg1
)->Fit(arg2
);
50971 wxPyEndAllowThreads(__tstate
);
50972 if (PyErr_Occurred()) SWIG_fail
;
50974 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
50981 SWIGINTERN PyObject
*_wrap_Sizer_FitInside(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
50982 PyObject
*resultobj
= 0;
50983 wxSizer
*arg1
= (wxSizer
*) 0 ;
50984 wxWindow
*arg2
= (wxWindow
*) 0 ;
50989 PyObject
* obj0
= 0 ;
50990 PyObject
* obj1
= 0 ;
50991 char * kwnames
[] = {
50992 (char *) "self",(char *) "window", NULL
50995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
50996 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
50997 if (!SWIG_IsOK(res1
)) {
50998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_FitInside" "', expected argument " "1"" of type '" "wxSizer *""'");
51000 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
51001 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
51002 if (!SWIG_IsOK(res2
)) {
51003 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Sizer_FitInside" "', expected argument " "2"" of type '" "wxWindow *""'");
51005 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
51007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51008 (arg1
)->FitInside(arg2
);
51009 wxPyEndAllowThreads(__tstate
);
51010 if (PyErr_Occurred()) SWIG_fail
;
51012 resultobj
= SWIG_Py_Void();
51019 SWIGINTERN PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51020 PyObject
*resultobj
= 0;
51021 wxSizer
*arg1
= (wxSizer
*) 0 ;
51022 wxWindow
*arg2
= (wxWindow
*) 0 ;
51027 PyObject
* obj0
= 0 ;
51028 PyObject
* obj1
= 0 ;
51029 char * kwnames
[] = {
51030 (char *) "self",(char *) "window", NULL
51033 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
51034 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
51035 if (!SWIG_IsOK(res1
)) {
51036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_SetSizeHints" "', expected argument " "1"" of type '" "wxSizer *""'");
51038 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
51039 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
51040 if (!SWIG_IsOK(res2
)) {
51041 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Sizer_SetSizeHints" "', expected argument " "2"" of type '" "wxWindow *""'");
51043 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
51045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51046 (arg1
)->SetSizeHints(arg2
);
51047 wxPyEndAllowThreads(__tstate
);
51048 if (PyErr_Occurred()) SWIG_fail
;
51050 resultobj
= SWIG_Py_Void();
51057 SWIGINTERN PyObject
*_wrap_Sizer_SetVirtualSizeHints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51058 PyObject
*resultobj
= 0;
51059 wxSizer
*arg1
= (wxSizer
*) 0 ;
51060 wxWindow
*arg2
= (wxWindow
*) 0 ;
51065 PyObject
* obj0
= 0 ;
51066 PyObject
* obj1
= 0 ;
51067 char * kwnames
[] = {
51068 (char *) "self",(char *) "window", NULL
51071 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
51072 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
51073 if (!SWIG_IsOK(res1
)) {
51074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_SetVirtualSizeHints" "', expected argument " "1"" of type '" "wxSizer *""'");
51076 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
51077 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
51078 if (!SWIG_IsOK(res2
)) {
51079 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Sizer_SetVirtualSizeHints" "', expected argument " "2"" of type '" "wxWindow *""'");
51081 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
51083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51084 (arg1
)->SetVirtualSizeHints(arg2
);
51085 wxPyEndAllowThreads(__tstate
);
51086 if (PyErr_Occurred()) SWIG_fail
;
51088 resultobj
= SWIG_Py_Void();
51095 SWIGINTERN PyObject
*_wrap_Sizer_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51096 PyObject
*resultobj
= 0;
51097 wxSizer
*arg1
= (wxSizer
*) 0 ;
51098 bool arg2
= (bool) false ;
51103 PyObject
* obj0
= 0 ;
51104 PyObject
* obj1
= 0 ;
51105 char * kwnames
[] = {
51106 (char *) "self",(char *) "deleteWindows", NULL
51109 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
51110 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
51111 if (!SWIG_IsOK(res1
)) {
51112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_Clear" "', expected argument " "1"" of type '" "wxSizer *""'");
51114 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
51116 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
51117 if (!SWIG_IsOK(ecode2
)) {
51118 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Sizer_Clear" "', expected argument " "2"" of type '" "bool""'");
51120 arg2
= static_cast< bool >(val2
);
51123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51124 (arg1
)->Clear(arg2
);
51125 wxPyEndAllowThreads(__tstate
);
51126 if (PyErr_Occurred()) SWIG_fail
;
51128 resultobj
= SWIG_Py_Void();
51135 SWIGINTERN PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
51136 PyObject
*resultobj
= 0;
51137 wxSizer
*arg1
= (wxSizer
*) 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_wxSizer
, 0 | 0 );
51145 if (!SWIG_IsOK(res1
)) {
51146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_DeleteWindows" "', expected argument " "1"" of type '" "wxSizer *""'");
51148 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
51150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51151 (arg1
)->DeleteWindows();
51152 wxPyEndAllowThreads(__tstate
);
51153 if (PyErr_Occurred()) SWIG_fail
;
51155 resultobj
= SWIG_Py_Void();
51162 SWIGINTERN PyObject
*_wrap_Sizer_GetChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
51163 PyObject
*resultobj
= 0;
51164 wxSizer
*arg1
= (wxSizer
*) 0 ;
51165 PyObject
*result
= 0 ;
51168 PyObject
*swig_obj
[1] ;
51170 if (!args
) SWIG_fail
;
51171 swig_obj
[0] = args
;
51172 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
51173 if (!SWIG_IsOK(res1
)) {
51174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_GetChildren" "', expected argument " "1"" of type '" "wxSizer *""'");
51176 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
51178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51179 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
51180 wxPyEndAllowThreads(__tstate
);
51181 if (PyErr_Occurred()) SWIG_fail
;
51183 resultobj
= result
;
51190 SWIGINTERN PyObject
*_wrap_Sizer_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51191 PyObject
*resultobj
= 0;
51192 wxSizer
*arg1
= (wxSizer
*) 0 ;
51193 PyObject
*arg2
= (PyObject
*) 0 ;
51194 bool arg3
= (bool) true ;
51195 bool arg4
= (bool) false ;
51203 PyObject
* obj0
= 0 ;
51204 PyObject
* obj1
= 0 ;
51205 PyObject
* obj2
= 0 ;
51206 PyObject
* obj3
= 0 ;
51207 char * kwnames
[] = {
51208 (char *) "self",(char *) "item",(char *) "show",(char *) "recursive", NULL
51211 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
51212 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
51213 if (!SWIG_IsOK(res1
)) {
51214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_Show" "', expected argument " "1"" of type '" "wxSizer *""'");
51216 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
51219 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
51220 if (!SWIG_IsOK(ecode3
)) {
51221 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Sizer_Show" "', expected argument " "3"" of type '" "bool""'");
51223 arg3
= static_cast< bool >(val3
);
51226 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
51227 if (!SWIG_IsOK(ecode4
)) {
51228 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Sizer_Show" "', expected argument " "4"" of type '" "bool""'");
51230 arg4
= static_cast< bool >(val4
);
51233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51234 result
= (bool)wxSizer_Show(arg1
,arg2
,arg3
,arg4
);
51235 wxPyEndAllowThreads(__tstate
);
51236 if (PyErr_Occurred()) SWIG_fail
;
51239 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
51247 SWIGINTERN PyObject
*_wrap_Sizer_IsShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51248 PyObject
*resultobj
= 0;
51249 wxSizer
*arg1
= (wxSizer
*) 0 ;
51250 PyObject
*arg2
= (PyObject
*) 0 ;
51254 PyObject
* obj0
= 0 ;
51255 PyObject
* obj1
= 0 ;
51256 char * kwnames
[] = {
51257 (char *) "self",(char *) "item", NULL
51260 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
51261 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
51262 if (!SWIG_IsOK(res1
)) {
51263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_IsShown" "', expected argument " "1"" of type '" "wxSizer *""'");
51265 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
51268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51269 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
51270 wxPyEndAllowThreads(__tstate
);
51271 if (PyErr_Occurred()) SWIG_fail
;
51274 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
51282 SWIGINTERN PyObject
*_wrap_Sizer_ShowItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51283 PyObject
*resultobj
= 0;
51284 wxSizer
*arg1
= (wxSizer
*) 0 ;
51290 PyObject
* obj0
= 0 ;
51291 PyObject
* obj1
= 0 ;
51292 char * kwnames
[] = {
51293 (char *) "self",(char *) "show", NULL
51296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
51297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
51298 if (!SWIG_IsOK(res1
)) {
51299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_ShowItems" "', expected argument " "1"" of type '" "wxSizer *""'");
51301 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
51302 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
51303 if (!SWIG_IsOK(ecode2
)) {
51304 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Sizer_ShowItems" "', expected argument " "2"" of type '" "bool""'");
51306 arg2
= static_cast< bool >(val2
);
51308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51309 (arg1
)->ShowItems(arg2
);
51310 wxPyEndAllowThreads(__tstate
);
51311 if (PyErr_Occurred()) SWIG_fail
;
51313 resultobj
= SWIG_Py_Void();
51320 SWIGINTERN PyObject
*Sizer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
51322 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
51323 SWIG_TypeNewClientData(SWIGTYPE_p_wxSizer
, SWIG_NewClientData(obj
));
51324 return SWIG_Py_Void();
51327 SWIGINTERN PyObject
*_wrap_new_PySizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
51328 PyObject
*resultobj
= 0;
51329 wxPySizer
*result
= 0 ;
51331 if (!SWIG_Python_UnpackTuple(args
,"new_PySizer",0,0,0)) SWIG_fail
;
51333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51334 result
= (wxPySizer
*)new wxPySizer();
51335 wxPyEndAllowThreads(__tstate
);
51336 if (PyErr_Occurred()) SWIG_fail
;
51338 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPySizer
, SWIG_POINTER_NEW
| 0 );
51345 SWIGINTERN PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51346 PyObject
*resultobj
= 0;
51347 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
51348 PyObject
*arg2
= (PyObject
*) 0 ;
51349 PyObject
*arg3
= (PyObject
*) 0 ;
51352 PyObject
* obj0
= 0 ;
51353 PyObject
* obj1
= 0 ;
51354 PyObject
* obj2
= 0 ;
51355 char * kwnames
[] = {
51356 (char *) "self",(char *) "self",(char *) "_class", NULL
51359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
51360 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPySizer
, 0 | 0 );
51361 if (!SWIG_IsOK(res1
)) {
51362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PySizer__setCallbackInfo" "', expected argument " "1"" of type '" "wxPySizer *""'");
51364 arg1
= reinterpret_cast< wxPySizer
* >(argp1
);
51368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51369 (arg1
)->_setCallbackInfo(arg2
,arg3
);
51370 wxPyEndAllowThreads(__tstate
);
51371 if (PyErr_Occurred()) SWIG_fail
;
51373 resultobj
= SWIG_Py_Void();
51380 SWIGINTERN PyObject
*PySizer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
51382 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
51383 SWIG_TypeNewClientData(SWIGTYPE_p_wxPySizer
, SWIG_NewClientData(obj
));
51384 return SWIG_Py_Void();
51387 SWIGINTERN PyObject
*PySizer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
51388 return SWIG_Python_InitShadowInstance(args
);
51391 SWIGINTERN PyObject
*_wrap_new_BoxSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51392 PyObject
*resultobj
= 0;
51393 int arg1
= (int) wxHORIZONTAL
;
51394 wxBoxSizer
*result
= 0 ;
51397 PyObject
* obj0
= 0 ;
51398 char * kwnames
[] = {
51399 (char *) "orient", NULL
51402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BoxSizer",kwnames
,&obj0
)) SWIG_fail
;
51404 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
51405 if (!SWIG_IsOK(ecode1
)) {
51406 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_BoxSizer" "', expected argument " "1"" of type '" "int""'");
51408 arg1
= static_cast< int >(val1
);
51411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51412 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
51413 wxPyEndAllowThreads(__tstate
);
51414 if (PyErr_Occurred()) SWIG_fail
;
51416 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBoxSizer
, SWIG_POINTER_NEW
| 0 );
51423 SWIGINTERN PyObject
*_wrap_BoxSizer_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
51424 PyObject
*resultobj
= 0;
51425 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
51429 PyObject
*swig_obj
[1] ;
51431 if (!args
) SWIG_fail
;
51432 swig_obj
[0] = args
;
51433 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBoxSizer
, 0 | 0 );
51434 if (!SWIG_IsOK(res1
)) {
51435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BoxSizer_GetOrientation" "', expected argument " "1"" of type '" "wxBoxSizer *""'");
51437 arg1
= reinterpret_cast< wxBoxSizer
* >(argp1
);
51439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51440 result
= (int)(arg1
)->GetOrientation();
51441 wxPyEndAllowThreads(__tstate
);
51442 if (PyErr_Occurred()) SWIG_fail
;
51444 resultobj
= SWIG_From_int(static_cast< int >(result
));
51451 SWIGINTERN PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51452 PyObject
*resultobj
= 0;
51453 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
51459 PyObject
* obj0
= 0 ;
51460 PyObject
* obj1
= 0 ;
51461 char * kwnames
[] = {
51462 (char *) "self",(char *) "orient", NULL
51465 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BoxSizer_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
51466 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBoxSizer
, 0 | 0 );
51467 if (!SWIG_IsOK(res1
)) {
51468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BoxSizer_SetOrientation" "', expected argument " "1"" of type '" "wxBoxSizer *""'");
51470 arg1
= reinterpret_cast< wxBoxSizer
* >(argp1
);
51471 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
51472 if (!SWIG_IsOK(ecode2
)) {
51473 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BoxSizer_SetOrientation" "', expected argument " "2"" of type '" "int""'");
51475 arg2
= static_cast< int >(val2
);
51477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51478 (arg1
)->SetOrientation(arg2
);
51479 wxPyEndAllowThreads(__tstate
);
51480 if (PyErr_Occurred()) SWIG_fail
;
51482 resultobj
= SWIG_Py_Void();
51489 SWIGINTERN PyObject
*BoxSizer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
51491 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
51492 SWIG_TypeNewClientData(SWIGTYPE_p_wxBoxSizer
, SWIG_NewClientData(obj
));
51493 return SWIG_Py_Void();
51496 SWIGINTERN PyObject
*BoxSizer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
51497 return SWIG_Python_InitShadowInstance(args
);
51500 SWIGINTERN PyObject
*_wrap_new_StaticBoxSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51501 PyObject
*resultobj
= 0;
51502 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
51503 int arg2
= (int) wxHORIZONTAL
;
51504 wxStaticBoxSizer
*result
= 0 ;
51509 PyObject
* obj0
= 0 ;
51510 PyObject
* obj1
= 0 ;
51511 char * kwnames
[] = {
51512 (char *) "box",(char *) "orient", NULL
51515 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_StaticBoxSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
51516 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBox
, 0 | 0 );
51517 if (!SWIG_IsOK(res1
)) {
51518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBoxSizer" "', expected argument " "1"" of type '" "wxStaticBox *""'");
51520 arg1
= reinterpret_cast< wxStaticBox
* >(argp1
);
51522 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
51523 if (!SWIG_IsOK(ecode2
)) {
51524 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBoxSizer" "', expected argument " "2"" of type '" "int""'");
51526 arg2
= static_cast< int >(val2
);
51529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51530 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
51531 wxPyEndAllowThreads(__tstate
);
51532 if (PyErr_Occurred()) SWIG_fail
;
51534 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBoxSizer
, SWIG_POINTER_NEW
| 0 );
51541 SWIGINTERN PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
51542 PyObject
*resultobj
= 0;
51543 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
51544 wxStaticBox
*result
= 0 ;
51547 PyObject
*swig_obj
[1] ;
51549 if (!args
) SWIG_fail
;
51550 swig_obj
[0] = args
;
51551 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticBoxSizer
, 0 | 0 );
51552 if (!SWIG_IsOK(res1
)) {
51553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBoxSizer_GetStaticBox" "', expected argument " "1"" of type '" "wxStaticBoxSizer *""'");
51555 arg1
= reinterpret_cast< wxStaticBoxSizer
* >(argp1
);
51557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51558 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
51559 wxPyEndAllowThreads(__tstate
);
51560 if (PyErr_Occurred()) SWIG_fail
;
51563 resultobj
= wxPyMake_wxObject(result
, (bool)0);
51571 SWIGINTERN PyObject
*StaticBoxSizer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
51573 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
51574 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBoxSizer
, SWIG_NewClientData(obj
));
51575 return SWIG_Py_Void();
51578 SWIGINTERN PyObject
*StaticBoxSizer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
51579 return SWIG_Python_InitShadowInstance(args
);
51582 SWIGINTERN PyObject
*_wrap_new_GridSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51583 PyObject
*resultobj
= 0;
51584 int arg1
= (int) 1 ;
51585 int arg2
= (int) 0 ;
51586 int arg3
= (int) 0 ;
51587 int arg4
= (int) 0 ;
51588 wxGridSizer
*result
= 0 ;
51597 PyObject
* obj0
= 0 ;
51598 PyObject
* obj1
= 0 ;
51599 PyObject
* obj2
= 0 ;
51600 PyObject
* obj3
= 0 ;
51601 char * kwnames
[] = {
51602 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
51605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_GridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
51607 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
51608 if (!SWIG_IsOK(ecode1
)) {
51609 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GridSizer" "', expected argument " "1"" of type '" "int""'");
51611 arg1
= static_cast< int >(val1
);
51614 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
51615 if (!SWIG_IsOK(ecode2
)) {
51616 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GridSizer" "', expected argument " "2"" of type '" "int""'");
51618 arg2
= static_cast< int >(val2
);
51621 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
51622 if (!SWIG_IsOK(ecode3
)) {
51623 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_GridSizer" "', expected argument " "3"" of type '" "int""'");
51625 arg3
= static_cast< int >(val3
);
51628 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
51629 if (!SWIG_IsOK(ecode4
)) {
51630 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_GridSizer" "', expected argument " "4"" of type '" "int""'");
51632 arg4
= static_cast< int >(val4
);
51635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51636 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
51637 wxPyEndAllowThreads(__tstate
);
51638 if (PyErr_Occurred()) SWIG_fail
;
51640 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_NEW
| 0 );
51647 SWIGINTERN PyObject
*_wrap_GridSizer_SetCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51648 PyObject
*resultobj
= 0;
51649 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
51655 PyObject
* obj0
= 0 ;
51656 PyObject
* obj1
= 0 ;
51657 char * kwnames
[] = {
51658 (char *) "self",(char *) "cols", NULL
51661 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetCols",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
51662 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridSizer
, 0 | 0 );
51663 if (!SWIG_IsOK(res1
)) {
51664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizer_SetCols" "', expected argument " "1"" of type '" "wxGridSizer *""'");
51666 arg1
= reinterpret_cast< wxGridSizer
* >(argp1
);
51667 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
51668 if (!SWIG_IsOK(ecode2
)) {
51669 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridSizer_SetCols" "', expected argument " "2"" of type '" "int""'");
51671 arg2
= static_cast< int >(val2
);
51673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51674 (arg1
)->SetCols(arg2
);
51675 wxPyEndAllowThreads(__tstate
);
51676 if (PyErr_Occurred()) SWIG_fail
;
51678 resultobj
= SWIG_Py_Void();
51685 SWIGINTERN PyObject
*_wrap_GridSizer_SetRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51686 PyObject
*resultobj
= 0;
51687 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
51693 PyObject
* obj0
= 0 ;
51694 PyObject
* obj1
= 0 ;
51695 char * kwnames
[] = {
51696 (char *) "self",(char *) "rows", NULL
51699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetRows",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
51700 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridSizer
, 0 | 0 );
51701 if (!SWIG_IsOK(res1
)) {
51702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizer_SetRows" "', expected argument " "1"" of type '" "wxGridSizer *""'");
51704 arg1
= reinterpret_cast< wxGridSizer
* >(argp1
);
51705 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
51706 if (!SWIG_IsOK(ecode2
)) {
51707 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridSizer_SetRows" "', expected argument " "2"" of type '" "int""'");
51709 arg2
= static_cast< int >(val2
);
51711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51712 (arg1
)->SetRows(arg2
);
51713 wxPyEndAllowThreads(__tstate
);
51714 if (PyErr_Occurred()) SWIG_fail
;
51716 resultobj
= SWIG_Py_Void();
51723 SWIGINTERN PyObject
*_wrap_GridSizer_SetVGap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51724 PyObject
*resultobj
= 0;
51725 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
51731 PyObject
* obj0
= 0 ;
51732 PyObject
* obj1
= 0 ;
51733 char * kwnames
[] = {
51734 (char *) "self",(char *) "gap", NULL
51737 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetVGap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
51738 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridSizer
, 0 | 0 );
51739 if (!SWIG_IsOK(res1
)) {
51740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizer_SetVGap" "', expected argument " "1"" of type '" "wxGridSizer *""'");
51742 arg1
= reinterpret_cast< wxGridSizer
* >(argp1
);
51743 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
51744 if (!SWIG_IsOK(ecode2
)) {
51745 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridSizer_SetVGap" "', expected argument " "2"" of type '" "int""'");
51747 arg2
= static_cast< int >(val2
);
51749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51750 (arg1
)->SetVGap(arg2
);
51751 wxPyEndAllowThreads(__tstate
);
51752 if (PyErr_Occurred()) SWIG_fail
;
51754 resultobj
= SWIG_Py_Void();
51761 SWIGINTERN PyObject
*_wrap_GridSizer_SetHGap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51762 PyObject
*resultobj
= 0;
51763 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
51769 PyObject
* obj0
= 0 ;
51770 PyObject
* obj1
= 0 ;
51771 char * kwnames
[] = {
51772 (char *) "self",(char *) "gap", NULL
51775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetHGap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
51776 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridSizer
, 0 | 0 );
51777 if (!SWIG_IsOK(res1
)) {
51778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizer_SetHGap" "', expected argument " "1"" of type '" "wxGridSizer *""'");
51780 arg1
= reinterpret_cast< wxGridSizer
* >(argp1
);
51781 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
51782 if (!SWIG_IsOK(ecode2
)) {
51783 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridSizer_SetHGap" "', expected argument " "2"" of type '" "int""'");
51785 arg2
= static_cast< int >(val2
);
51787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51788 (arg1
)->SetHGap(arg2
);
51789 wxPyEndAllowThreads(__tstate
);
51790 if (PyErr_Occurred()) SWIG_fail
;
51792 resultobj
= SWIG_Py_Void();
51799 SWIGINTERN PyObject
*_wrap_GridSizer_GetCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
51800 PyObject
*resultobj
= 0;
51801 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
51805 PyObject
*swig_obj
[1] ;
51807 if (!args
) SWIG_fail
;
51808 swig_obj
[0] = args
;
51809 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridSizer
, 0 | 0 );
51810 if (!SWIG_IsOK(res1
)) {
51811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizer_GetCols" "', expected argument " "1"" of type '" "wxGridSizer *""'");
51813 arg1
= reinterpret_cast< wxGridSizer
* >(argp1
);
51815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51816 result
= (int)(arg1
)->GetCols();
51817 wxPyEndAllowThreads(__tstate
);
51818 if (PyErr_Occurred()) SWIG_fail
;
51820 resultobj
= SWIG_From_int(static_cast< int >(result
));
51827 SWIGINTERN PyObject
*_wrap_GridSizer_GetRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
51828 PyObject
*resultobj
= 0;
51829 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
51833 PyObject
*swig_obj
[1] ;
51835 if (!args
) SWIG_fail
;
51836 swig_obj
[0] = args
;
51837 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridSizer
, 0 | 0 );
51838 if (!SWIG_IsOK(res1
)) {
51839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizer_GetRows" "', expected argument " "1"" of type '" "wxGridSizer *""'");
51841 arg1
= reinterpret_cast< wxGridSizer
* >(argp1
);
51843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51844 result
= (int)(arg1
)->GetRows();
51845 wxPyEndAllowThreads(__tstate
);
51846 if (PyErr_Occurred()) SWIG_fail
;
51848 resultobj
= SWIG_From_int(static_cast< int >(result
));
51855 SWIGINTERN PyObject
*_wrap_GridSizer_GetVGap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
51856 PyObject
*resultobj
= 0;
51857 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
51861 PyObject
*swig_obj
[1] ;
51863 if (!args
) SWIG_fail
;
51864 swig_obj
[0] = args
;
51865 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridSizer
, 0 | 0 );
51866 if (!SWIG_IsOK(res1
)) {
51867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizer_GetVGap" "', expected argument " "1"" of type '" "wxGridSizer *""'");
51869 arg1
= reinterpret_cast< wxGridSizer
* >(argp1
);
51871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51872 result
= (int)(arg1
)->GetVGap();
51873 wxPyEndAllowThreads(__tstate
);
51874 if (PyErr_Occurred()) SWIG_fail
;
51876 resultobj
= SWIG_From_int(static_cast< int >(result
));
51883 SWIGINTERN PyObject
*_wrap_GridSizer_GetHGap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
51884 PyObject
*resultobj
= 0;
51885 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
51889 PyObject
*swig_obj
[1] ;
51891 if (!args
) SWIG_fail
;
51892 swig_obj
[0] = args
;
51893 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridSizer
, 0 | 0 );
51894 if (!SWIG_IsOK(res1
)) {
51895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizer_GetHGap" "', expected argument " "1"" of type '" "wxGridSizer *""'");
51897 arg1
= reinterpret_cast< wxGridSizer
* >(argp1
);
51899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51900 result
= (int)(arg1
)->GetHGap();
51901 wxPyEndAllowThreads(__tstate
);
51902 if (PyErr_Occurred()) SWIG_fail
;
51904 resultobj
= SWIG_From_int(static_cast< int >(result
));
51911 SWIGINTERN PyObject
*GridSizer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
51913 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
51914 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridSizer
, SWIG_NewClientData(obj
));
51915 return SWIG_Py_Void();
51918 SWIGINTERN PyObject
*GridSizer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
51919 return SWIG_Python_InitShadowInstance(args
);
51922 SWIGINTERN PyObject
*_wrap_new_FlexGridSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51923 PyObject
*resultobj
= 0;
51924 int arg1
= (int) 1 ;
51925 int arg2
= (int) 0 ;
51926 int arg3
= (int) 0 ;
51927 int arg4
= (int) 0 ;
51928 wxFlexGridSizer
*result
= 0 ;
51937 PyObject
* obj0
= 0 ;
51938 PyObject
* obj1
= 0 ;
51939 PyObject
* obj2
= 0 ;
51940 PyObject
* obj3
= 0 ;
51941 char * kwnames
[] = {
51942 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
51945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_FlexGridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
51947 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
51948 if (!SWIG_IsOK(ecode1
)) {
51949 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FlexGridSizer" "', expected argument " "1"" of type '" "int""'");
51951 arg1
= static_cast< int >(val1
);
51954 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
51955 if (!SWIG_IsOK(ecode2
)) {
51956 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FlexGridSizer" "', expected argument " "2"" of type '" "int""'");
51958 arg2
= static_cast< int >(val2
);
51961 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
51962 if (!SWIG_IsOK(ecode3
)) {
51963 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FlexGridSizer" "', expected argument " "3"" of type '" "int""'");
51965 arg3
= static_cast< int >(val3
);
51968 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
51969 if (!SWIG_IsOK(ecode4
)) {
51970 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FlexGridSizer" "', expected argument " "4"" of type '" "int""'");
51972 arg4
= static_cast< int >(val4
);
51975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51976 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
51977 wxPyEndAllowThreads(__tstate
);
51978 if (PyErr_Occurred()) SWIG_fail
;
51980 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_NEW
| 0 );
51987 SWIGINTERN PyObject
*_wrap_FlexGridSizer_AddGrowableRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51988 PyObject
*resultobj
= 0;
51989 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
51991 int arg3
= (int) 0 ;
51998 PyObject
* obj0
= 0 ;
51999 PyObject
* obj1
= 0 ;
52000 PyObject
* obj2
= 0 ;
52001 char * kwnames
[] = {
52002 (char *) "self",(char *) "idx",(char *) "proportion", NULL
52005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
52006 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFlexGridSizer
, 0 | 0 );
52007 if (!SWIG_IsOK(res1
)) {
52008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FlexGridSizer_AddGrowableRow" "', expected argument " "1"" of type '" "wxFlexGridSizer *""'");
52010 arg1
= reinterpret_cast< wxFlexGridSizer
* >(argp1
);
52011 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
52012 if (!SWIG_IsOK(ecode2
)) {
52013 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FlexGridSizer_AddGrowableRow" "', expected argument " "2"" of type '" "size_t""'");
52015 arg2
= static_cast< size_t >(val2
);
52017 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
52018 if (!SWIG_IsOK(ecode3
)) {
52019 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FlexGridSizer_AddGrowableRow" "', expected argument " "3"" of type '" "int""'");
52021 arg3
= static_cast< int >(val3
);
52024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52025 (arg1
)->AddGrowableRow(arg2
,arg3
);
52026 wxPyEndAllowThreads(__tstate
);
52027 if (PyErr_Occurred()) SWIG_fail
;
52029 resultobj
= SWIG_Py_Void();
52036 SWIGINTERN PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
52037 PyObject
*resultobj
= 0;
52038 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
52044 PyObject
* obj0
= 0 ;
52045 PyObject
* obj1
= 0 ;
52046 char * kwnames
[] = {
52047 (char *) "self",(char *) "idx", NULL
52050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
52051 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFlexGridSizer
, 0 | 0 );
52052 if (!SWIG_IsOK(res1
)) {
52053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FlexGridSizer_RemoveGrowableRow" "', expected argument " "1"" of type '" "wxFlexGridSizer *""'");
52055 arg1
= reinterpret_cast< wxFlexGridSizer
* >(argp1
);
52056 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
52057 if (!SWIG_IsOK(ecode2
)) {
52058 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FlexGridSizer_RemoveGrowableRow" "', expected argument " "2"" of type '" "size_t""'");
52060 arg2
= static_cast< size_t >(val2
);
52062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52063 (arg1
)->RemoveGrowableRow(arg2
);
52064 wxPyEndAllowThreads(__tstate
);
52065 if (PyErr_Occurred()) SWIG_fail
;
52067 resultobj
= SWIG_Py_Void();
52074 SWIGINTERN PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
52075 PyObject
*resultobj
= 0;
52076 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
52078 int arg3
= (int) 0 ;
52085 PyObject
* obj0
= 0 ;
52086 PyObject
* obj1
= 0 ;
52087 PyObject
* obj2
= 0 ;
52088 char * kwnames
[] = {
52089 (char *) "self",(char *) "idx",(char *) "proportion", NULL
52092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
52093 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFlexGridSizer
, 0 | 0 );
52094 if (!SWIG_IsOK(res1
)) {
52095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FlexGridSizer_AddGrowableCol" "', expected argument " "1"" of type '" "wxFlexGridSizer *""'");
52097 arg1
= reinterpret_cast< wxFlexGridSizer
* >(argp1
);
52098 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
52099 if (!SWIG_IsOK(ecode2
)) {
52100 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FlexGridSizer_AddGrowableCol" "', expected argument " "2"" of type '" "size_t""'");
52102 arg2
= static_cast< size_t >(val2
);
52104 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
52105 if (!SWIG_IsOK(ecode3
)) {
52106 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FlexGridSizer_AddGrowableCol" "', expected argument " "3"" of type '" "int""'");
52108 arg3
= static_cast< int >(val3
);
52111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52112 (arg1
)->AddGrowableCol(arg2
,arg3
);
52113 wxPyEndAllowThreads(__tstate
);
52114 if (PyErr_Occurred()) SWIG_fail
;
52116 resultobj
= SWIG_Py_Void();
52123 SWIGINTERN PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
52124 PyObject
*resultobj
= 0;
52125 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
52131 PyObject
* obj0
= 0 ;
52132 PyObject
* obj1
= 0 ;
52133 char * kwnames
[] = {
52134 (char *) "self",(char *) "idx", NULL
52137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
52138 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFlexGridSizer
, 0 | 0 );
52139 if (!SWIG_IsOK(res1
)) {
52140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FlexGridSizer_RemoveGrowableCol" "', expected argument " "1"" of type '" "wxFlexGridSizer *""'");
52142 arg1
= reinterpret_cast< wxFlexGridSizer
* >(argp1
);
52143 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
52144 if (!SWIG_IsOK(ecode2
)) {
52145 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FlexGridSizer_RemoveGrowableCol" "', expected argument " "2"" of type '" "size_t""'");
52147 arg2
= static_cast< size_t >(val2
);
52149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52150 (arg1
)->RemoveGrowableCol(arg2
);
52151 wxPyEndAllowThreads(__tstate
);
52152 if (PyErr_Occurred()) SWIG_fail
;
52154 resultobj
= SWIG_Py_Void();
52161 SWIGINTERN PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
52162 PyObject
*resultobj
= 0;
52163 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
52169 PyObject
* obj0
= 0 ;
52170 PyObject
* obj1
= 0 ;
52171 char * kwnames
[] = {
52172 (char *) "self",(char *) "direction", NULL
52175 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
52176 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFlexGridSizer
, 0 | 0 );
52177 if (!SWIG_IsOK(res1
)) {
52178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FlexGridSizer_SetFlexibleDirection" "', expected argument " "1"" of type '" "wxFlexGridSizer *""'");
52180 arg1
= reinterpret_cast< wxFlexGridSizer
* >(argp1
);
52181 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
52182 if (!SWIG_IsOK(ecode2
)) {
52183 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FlexGridSizer_SetFlexibleDirection" "', expected argument " "2"" of type '" "int""'");
52185 arg2
= static_cast< int >(val2
);
52187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52188 (arg1
)->SetFlexibleDirection(arg2
);
52189 wxPyEndAllowThreads(__tstate
);
52190 if (PyErr_Occurred()) SWIG_fail
;
52192 resultobj
= SWIG_Py_Void();
52199 SWIGINTERN PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52200 PyObject
*resultobj
= 0;
52201 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
52205 PyObject
*swig_obj
[1] ;
52207 if (!args
) SWIG_fail
;
52208 swig_obj
[0] = args
;
52209 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFlexGridSizer
, 0 | 0 );
52210 if (!SWIG_IsOK(res1
)) {
52211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FlexGridSizer_GetFlexibleDirection" "', expected argument " "1"" of type '" "wxFlexGridSizer *""'");
52213 arg1
= reinterpret_cast< wxFlexGridSizer
* >(argp1
);
52215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52216 result
= (int)(arg1
)->GetFlexibleDirection();
52217 wxPyEndAllowThreads(__tstate
);
52218 if (PyErr_Occurred()) SWIG_fail
;
52220 resultobj
= SWIG_From_int(static_cast< int >(result
));
52227 SWIGINTERN PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
52228 PyObject
*resultobj
= 0;
52229 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
52230 wxFlexSizerGrowMode arg2
;
52235 PyObject
* obj0
= 0 ;
52236 PyObject
* obj1
= 0 ;
52237 char * kwnames
[] = {
52238 (char *) "self",(char *) "mode", NULL
52241 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
52242 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFlexGridSizer
, 0 | 0 );
52243 if (!SWIG_IsOK(res1
)) {
52244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FlexGridSizer_SetNonFlexibleGrowMode" "', expected argument " "1"" of type '" "wxFlexGridSizer *""'");
52246 arg1
= reinterpret_cast< wxFlexGridSizer
* >(argp1
);
52247 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
52248 if (!SWIG_IsOK(ecode2
)) {
52249 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FlexGridSizer_SetNonFlexibleGrowMode" "', expected argument " "2"" of type '" "wxFlexSizerGrowMode""'");
52251 arg2
= static_cast< wxFlexSizerGrowMode
>(val2
);
52253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52254 (arg1
)->SetNonFlexibleGrowMode(arg2
);
52255 wxPyEndAllowThreads(__tstate
);
52256 if (PyErr_Occurred()) SWIG_fail
;
52258 resultobj
= SWIG_Py_Void();
52265 SWIGINTERN PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52266 PyObject
*resultobj
= 0;
52267 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
52268 wxFlexSizerGrowMode result
;
52271 PyObject
*swig_obj
[1] ;
52273 if (!args
) SWIG_fail
;
52274 swig_obj
[0] = args
;
52275 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFlexGridSizer
, 0 | 0 );
52276 if (!SWIG_IsOK(res1
)) {
52277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FlexGridSizer_GetNonFlexibleGrowMode" "', expected argument " "1"" of type '" "wxFlexGridSizer *""'");
52279 arg1
= reinterpret_cast< wxFlexGridSizer
* >(argp1
);
52281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52282 result
= (wxFlexSizerGrowMode
)(arg1
)->GetNonFlexibleGrowMode();
52283 wxPyEndAllowThreads(__tstate
);
52284 if (PyErr_Occurred()) SWIG_fail
;
52286 resultobj
= SWIG_From_int(static_cast< int >(result
));
52293 SWIGINTERN PyObject
*_wrap_FlexGridSizer_GetRowHeights(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52294 PyObject
*resultobj
= 0;
52295 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
52296 wxArrayInt
*result
= 0 ;
52299 PyObject
*swig_obj
[1] ;
52301 if (!args
) SWIG_fail
;
52302 swig_obj
[0] = args
;
52303 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFlexGridSizer
, 0 | 0 );
52304 if (!SWIG_IsOK(res1
)) {
52305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FlexGridSizer_GetRowHeights" "', expected argument " "1"" of type '" "wxFlexGridSizer const *""'");
52307 arg1
= reinterpret_cast< wxFlexGridSizer
* >(argp1
);
52309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52311 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetRowHeights();
52312 result
= (wxArrayInt
*) &_result_ref
;
52314 wxPyEndAllowThreads(__tstate
);
52315 if (PyErr_Occurred()) SWIG_fail
;
52318 resultobj
= wxArrayInt2PyList_helper(*result
);
52326 SWIGINTERN PyObject
*_wrap_FlexGridSizer_GetColWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52327 PyObject
*resultobj
= 0;
52328 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
52329 wxArrayInt
*result
= 0 ;
52332 PyObject
*swig_obj
[1] ;
52334 if (!args
) SWIG_fail
;
52335 swig_obj
[0] = args
;
52336 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFlexGridSizer
, 0 | 0 );
52337 if (!SWIG_IsOK(res1
)) {
52338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FlexGridSizer_GetColWidths" "', expected argument " "1"" of type '" "wxFlexGridSizer const *""'");
52340 arg1
= reinterpret_cast< wxFlexGridSizer
* >(argp1
);
52342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52344 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetColWidths();
52345 result
= (wxArrayInt
*) &_result_ref
;
52347 wxPyEndAllowThreads(__tstate
);
52348 if (PyErr_Occurred()) SWIG_fail
;
52351 resultobj
= wxArrayInt2PyList_helper(*result
);
52359 SWIGINTERN PyObject
*FlexGridSizer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52361 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
52362 SWIG_TypeNewClientData(SWIGTYPE_p_wxFlexGridSizer
, SWIG_NewClientData(obj
));
52363 return SWIG_Py_Void();
52366 SWIGINTERN PyObject
*FlexGridSizer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52367 return SWIG_Python_InitShadowInstance(args
);
52370 SWIGINTERN PyObject
*_wrap_new_StdDialogButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52371 PyObject
*resultobj
= 0;
52372 wxStdDialogButtonSizer
*result
= 0 ;
52374 if (!SWIG_Python_UnpackTuple(args
,"new_StdDialogButtonSizer",0,0,0)) SWIG_fail
;
52376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52377 result
= (wxStdDialogButtonSizer
*)new wxStdDialogButtonSizer();
52378 wxPyEndAllowThreads(__tstate
);
52379 if (PyErr_Occurred()) SWIG_fail
;
52381 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_NEW
| 0 );
52388 SWIGINTERN PyObject
*_wrap_StdDialogButtonSizer_AddButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
52389 PyObject
*resultobj
= 0;
52390 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
52391 wxButton
*arg2
= (wxButton
*) 0 ;
52396 PyObject
* obj0
= 0 ;
52397 PyObject
* obj1
= 0 ;
52398 char * kwnames
[] = {
52399 (char *) "self",(char *) "button", NULL
52402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_AddButton",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
52403 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
52404 if (!SWIG_IsOK(res1
)) {
52405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StdDialogButtonSizer_AddButton" "', expected argument " "1"" of type '" "wxStdDialogButtonSizer *""'");
52407 arg1
= reinterpret_cast< wxStdDialogButtonSizer
* >(argp1
);
52408 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxButton
, 0 | 0 );
52409 if (!SWIG_IsOK(res2
)) {
52410 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StdDialogButtonSizer_AddButton" "', expected argument " "2"" of type '" "wxButton *""'");
52412 arg2
= reinterpret_cast< wxButton
* >(argp2
);
52414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52415 (arg1
)->AddButton(arg2
);
52416 wxPyEndAllowThreads(__tstate
);
52417 if (PyErr_Occurred()) SWIG_fail
;
52419 resultobj
= SWIG_Py_Void();
52426 SWIGINTERN PyObject
*_wrap_StdDialogButtonSizer_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52427 PyObject
*resultobj
= 0;
52428 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
52431 PyObject
*swig_obj
[1] ;
52433 if (!args
) SWIG_fail
;
52434 swig_obj
[0] = args
;
52435 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
52436 if (!SWIG_IsOK(res1
)) {
52437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StdDialogButtonSizer_Realize" "', expected argument " "1"" of type '" "wxStdDialogButtonSizer *""'");
52439 arg1
= reinterpret_cast< wxStdDialogButtonSizer
* >(argp1
);
52441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52443 wxPyEndAllowThreads(__tstate
);
52444 if (PyErr_Occurred()) SWIG_fail
;
52446 resultobj
= SWIG_Py_Void();
52453 SWIGINTERN PyObject
*_wrap_StdDialogButtonSizer_SetAffirmativeButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
52454 PyObject
*resultobj
= 0;
52455 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
52456 wxButton
*arg2
= (wxButton
*) 0 ;
52461 PyObject
* obj0
= 0 ;
52462 PyObject
* obj1
= 0 ;
52463 char * kwnames
[] = {
52464 (char *) "self",(char *) "button", NULL
52467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetAffirmativeButton",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
52468 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
52469 if (!SWIG_IsOK(res1
)) {
52470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StdDialogButtonSizer_SetAffirmativeButton" "', expected argument " "1"" of type '" "wxStdDialogButtonSizer *""'");
52472 arg1
= reinterpret_cast< wxStdDialogButtonSizer
* >(argp1
);
52473 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxButton
, 0 | 0 );
52474 if (!SWIG_IsOK(res2
)) {
52475 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StdDialogButtonSizer_SetAffirmativeButton" "', expected argument " "2"" of type '" "wxButton *""'");
52477 arg2
= reinterpret_cast< wxButton
* >(argp2
);
52479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52480 (arg1
)->SetAffirmativeButton(arg2
);
52481 wxPyEndAllowThreads(__tstate
);
52482 if (PyErr_Occurred()) SWIG_fail
;
52484 resultobj
= SWIG_Py_Void();
52491 SWIGINTERN PyObject
*_wrap_StdDialogButtonSizer_SetNegativeButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
52492 PyObject
*resultobj
= 0;
52493 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
52494 wxButton
*arg2
= (wxButton
*) 0 ;
52499 PyObject
* obj0
= 0 ;
52500 PyObject
* obj1
= 0 ;
52501 char * kwnames
[] = {
52502 (char *) "self",(char *) "button", NULL
52505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetNegativeButton",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
52506 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
52507 if (!SWIG_IsOK(res1
)) {
52508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StdDialogButtonSizer_SetNegativeButton" "', expected argument " "1"" of type '" "wxStdDialogButtonSizer *""'");
52510 arg1
= reinterpret_cast< wxStdDialogButtonSizer
* >(argp1
);
52511 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxButton
, 0 | 0 );
52512 if (!SWIG_IsOK(res2
)) {
52513 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StdDialogButtonSizer_SetNegativeButton" "', expected argument " "2"" of type '" "wxButton *""'");
52515 arg2
= reinterpret_cast< wxButton
* >(argp2
);
52517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52518 (arg1
)->SetNegativeButton(arg2
);
52519 wxPyEndAllowThreads(__tstate
);
52520 if (PyErr_Occurred()) SWIG_fail
;
52522 resultobj
= SWIG_Py_Void();
52529 SWIGINTERN PyObject
*_wrap_StdDialogButtonSizer_SetCancelButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
52530 PyObject
*resultobj
= 0;
52531 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
52532 wxButton
*arg2
= (wxButton
*) 0 ;
52537 PyObject
* obj0
= 0 ;
52538 PyObject
* obj1
= 0 ;
52539 char * kwnames
[] = {
52540 (char *) "self",(char *) "button", NULL
52543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetCancelButton",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
52544 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
52545 if (!SWIG_IsOK(res1
)) {
52546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StdDialogButtonSizer_SetCancelButton" "', expected argument " "1"" of type '" "wxStdDialogButtonSizer *""'");
52548 arg1
= reinterpret_cast< wxStdDialogButtonSizer
* >(argp1
);
52549 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxButton
, 0 | 0 );
52550 if (!SWIG_IsOK(res2
)) {
52551 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StdDialogButtonSizer_SetCancelButton" "', expected argument " "2"" of type '" "wxButton *""'");
52553 arg2
= reinterpret_cast< wxButton
* >(argp2
);
52555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52556 (arg1
)->SetCancelButton(arg2
);
52557 wxPyEndAllowThreads(__tstate
);
52558 if (PyErr_Occurred()) SWIG_fail
;
52560 resultobj
= SWIG_Py_Void();
52567 SWIGINTERN PyObject
*_wrap_StdDialogButtonSizer_GetAffirmativeButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52568 PyObject
*resultobj
= 0;
52569 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
52570 wxButton
*result
= 0 ;
52573 PyObject
*swig_obj
[1] ;
52575 if (!args
) SWIG_fail
;
52576 swig_obj
[0] = args
;
52577 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
52578 if (!SWIG_IsOK(res1
)) {
52579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StdDialogButtonSizer_GetAffirmativeButton" "', expected argument " "1"" of type '" "wxStdDialogButtonSizer const *""'");
52581 arg1
= reinterpret_cast< wxStdDialogButtonSizer
* >(argp1
);
52583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52584 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetAffirmativeButton();
52585 wxPyEndAllowThreads(__tstate
);
52586 if (PyErr_Occurred()) SWIG_fail
;
52589 resultobj
= wxPyMake_wxObject(result
, (bool)0);
52597 SWIGINTERN PyObject
*_wrap_StdDialogButtonSizer_GetApplyButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52598 PyObject
*resultobj
= 0;
52599 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
52600 wxButton
*result
= 0 ;
52603 PyObject
*swig_obj
[1] ;
52605 if (!args
) SWIG_fail
;
52606 swig_obj
[0] = args
;
52607 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
52608 if (!SWIG_IsOK(res1
)) {
52609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StdDialogButtonSizer_GetApplyButton" "', expected argument " "1"" of type '" "wxStdDialogButtonSizer const *""'");
52611 arg1
= reinterpret_cast< wxStdDialogButtonSizer
* >(argp1
);
52613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52614 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetApplyButton();
52615 wxPyEndAllowThreads(__tstate
);
52616 if (PyErr_Occurred()) SWIG_fail
;
52619 resultobj
= wxPyMake_wxObject(result
, (bool)0);
52627 SWIGINTERN PyObject
*_wrap_StdDialogButtonSizer_GetNegativeButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52628 PyObject
*resultobj
= 0;
52629 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
52630 wxButton
*result
= 0 ;
52633 PyObject
*swig_obj
[1] ;
52635 if (!args
) SWIG_fail
;
52636 swig_obj
[0] = args
;
52637 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
52638 if (!SWIG_IsOK(res1
)) {
52639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StdDialogButtonSizer_GetNegativeButton" "', expected argument " "1"" of type '" "wxStdDialogButtonSizer const *""'");
52641 arg1
= reinterpret_cast< wxStdDialogButtonSizer
* >(argp1
);
52643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52644 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetNegativeButton();
52645 wxPyEndAllowThreads(__tstate
);
52646 if (PyErr_Occurred()) SWIG_fail
;
52649 resultobj
= wxPyMake_wxObject(result
, (bool)0);
52657 SWIGINTERN PyObject
*_wrap_StdDialogButtonSizer_GetCancelButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52658 PyObject
*resultobj
= 0;
52659 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
52660 wxButton
*result
= 0 ;
52663 PyObject
*swig_obj
[1] ;
52665 if (!args
) SWIG_fail
;
52666 swig_obj
[0] = args
;
52667 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
52668 if (!SWIG_IsOK(res1
)) {
52669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StdDialogButtonSizer_GetCancelButton" "', expected argument " "1"" of type '" "wxStdDialogButtonSizer const *""'");
52671 arg1
= reinterpret_cast< wxStdDialogButtonSizer
* >(argp1
);
52673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52674 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetCancelButton();
52675 wxPyEndAllowThreads(__tstate
);
52676 if (PyErr_Occurred()) SWIG_fail
;
52679 resultobj
= wxPyMake_wxObject(result
, (bool)0);
52687 SWIGINTERN PyObject
*_wrap_StdDialogButtonSizer_GetHelpButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52688 PyObject
*resultobj
= 0;
52689 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
52690 wxButton
*result
= 0 ;
52693 PyObject
*swig_obj
[1] ;
52695 if (!args
) SWIG_fail
;
52696 swig_obj
[0] = args
;
52697 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
52698 if (!SWIG_IsOK(res1
)) {
52699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StdDialogButtonSizer_GetHelpButton" "', expected argument " "1"" of type '" "wxStdDialogButtonSizer const *""'");
52701 arg1
= reinterpret_cast< wxStdDialogButtonSizer
* >(argp1
);
52703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52704 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetHelpButton();
52705 wxPyEndAllowThreads(__tstate
);
52706 if (PyErr_Occurred()) SWIG_fail
;
52709 resultobj
= wxPyMake_wxObject(result
, (bool)0);
52717 SWIGINTERN PyObject
*StdDialogButtonSizer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52719 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
52720 SWIG_TypeNewClientData(SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_NewClientData(obj
));
52721 return SWIG_Py_Void();
52724 SWIGINTERN PyObject
*StdDialogButtonSizer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52725 return SWIG_Python_InitShadowInstance(args
);
52728 SWIGINTERN PyObject
*_wrap_new_GBPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
52729 PyObject
*resultobj
= 0;
52730 int arg1
= (int) 0 ;
52731 int arg2
= (int) 0 ;
52732 wxGBPosition
*result
= 0 ;
52737 PyObject
* obj0
= 0 ;
52738 PyObject
* obj1
= 0 ;
52739 char * kwnames
[] = {
52740 (char *) "row",(char *) "col", NULL
52743 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
52745 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
52746 if (!SWIG_IsOK(ecode1
)) {
52747 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GBPosition" "', expected argument " "1"" of type '" "int""'");
52749 arg1
= static_cast< int >(val1
);
52752 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
52753 if (!SWIG_IsOK(ecode2
)) {
52754 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GBPosition" "', expected argument " "2"" of type '" "int""'");
52756 arg2
= static_cast< int >(val2
);
52759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52760 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
52761 wxPyEndAllowThreads(__tstate
);
52762 if (PyErr_Occurred()) SWIG_fail
;
52764 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_NEW
| 0 );
52771 SWIGINTERN PyObject
*_wrap_delete_GBPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52772 PyObject
*resultobj
= 0;
52773 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
52776 PyObject
*swig_obj
[1] ;
52778 if (!args
) SWIG_fail
;
52779 swig_obj
[0] = args
;
52780 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_DISOWN
| 0 );
52781 if (!SWIG_IsOK(res1
)) {
52782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GBPosition" "', expected argument " "1"" of type '" "wxGBPosition *""'");
52784 arg1
= reinterpret_cast< wxGBPosition
* >(argp1
);
52786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52789 wxPyEndAllowThreads(__tstate
);
52790 if (PyErr_Occurred()) SWIG_fail
;
52792 resultobj
= SWIG_Py_Void();
52799 SWIGINTERN PyObject
*_wrap_GBPosition_GetRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52800 PyObject
*resultobj
= 0;
52801 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
52805 PyObject
*swig_obj
[1] ;
52807 if (!args
) SWIG_fail
;
52808 swig_obj
[0] = args
;
52809 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBPosition
, 0 | 0 );
52810 if (!SWIG_IsOK(res1
)) {
52811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBPosition_GetRow" "', expected argument " "1"" of type '" "wxGBPosition const *""'");
52813 arg1
= reinterpret_cast< wxGBPosition
* >(argp1
);
52815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52816 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
52817 wxPyEndAllowThreads(__tstate
);
52818 if (PyErr_Occurred()) SWIG_fail
;
52820 resultobj
= SWIG_From_int(static_cast< int >(result
));
52827 SWIGINTERN PyObject
*_wrap_GBPosition_GetCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52828 PyObject
*resultobj
= 0;
52829 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
52833 PyObject
*swig_obj
[1] ;
52835 if (!args
) SWIG_fail
;
52836 swig_obj
[0] = args
;
52837 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBPosition
, 0 | 0 );
52838 if (!SWIG_IsOK(res1
)) {
52839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBPosition_GetCol" "', expected argument " "1"" of type '" "wxGBPosition const *""'");
52841 arg1
= reinterpret_cast< wxGBPosition
* >(argp1
);
52843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52844 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
52845 wxPyEndAllowThreads(__tstate
);
52846 if (PyErr_Occurred()) SWIG_fail
;
52848 resultobj
= SWIG_From_int(static_cast< int >(result
));
52855 SWIGINTERN PyObject
*_wrap_GBPosition_SetRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
52856 PyObject
*resultobj
= 0;
52857 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
52863 PyObject
* obj0
= 0 ;
52864 PyObject
* obj1
= 0 ;
52865 char * kwnames
[] = {
52866 (char *) "self",(char *) "row", NULL
52869 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetRow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
52870 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBPosition
, 0 | 0 );
52871 if (!SWIG_IsOK(res1
)) {
52872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBPosition_SetRow" "', expected argument " "1"" of type '" "wxGBPosition *""'");
52874 arg1
= reinterpret_cast< wxGBPosition
* >(argp1
);
52875 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
52876 if (!SWIG_IsOK(ecode2
)) {
52877 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GBPosition_SetRow" "', expected argument " "2"" of type '" "int""'");
52879 arg2
= static_cast< int >(val2
);
52881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52882 (arg1
)->SetRow(arg2
);
52883 wxPyEndAllowThreads(__tstate
);
52884 if (PyErr_Occurred()) SWIG_fail
;
52886 resultobj
= SWIG_Py_Void();
52893 SWIGINTERN PyObject
*_wrap_GBPosition_SetCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
52894 PyObject
*resultobj
= 0;
52895 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
52901 PyObject
* obj0
= 0 ;
52902 PyObject
* obj1
= 0 ;
52903 char * kwnames
[] = {
52904 (char *) "self",(char *) "col", NULL
52907 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetCol",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
52908 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBPosition
, 0 | 0 );
52909 if (!SWIG_IsOK(res1
)) {
52910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBPosition_SetCol" "', expected argument " "1"" of type '" "wxGBPosition *""'");
52912 arg1
= reinterpret_cast< wxGBPosition
* >(argp1
);
52913 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
52914 if (!SWIG_IsOK(ecode2
)) {
52915 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GBPosition_SetCol" "', expected argument " "2"" of type '" "int""'");
52917 arg2
= static_cast< int >(val2
);
52919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52920 (arg1
)->SetCol(arg2
);
52921 wxPyEndAllowThreads(__tstate
);
52922 if (PyErr_Occurred()) SWIG_fail
;
52924 resultobj
= SWIG_Py_Void();
52931 SWIGINTERN PyObject
*_wrap_GBPosition___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
52932 PyObject
*resultobj
= 0;
52933 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
52934 PyObject
*arg2
= (PyObject
*) 0 ;
52938 PyObject
* obj0
= 0 ;
52939 PyObject
* obj1
= 0 ;
52940 char * kwnames
[] = {
52941 (char *) "self",(char *) "other", NULL
52944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
52945 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBPosition
, 0 | 0 );
52946 if (!SWIG_IsOK(res1
)) {
52947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBPosition___eq__" "', expected argument " "1"" of type '" "wxGBPosition *""'");
52949 arg1
= reinterpret_cast< wxGBPosition
* >(argp1
);
52952 result
= (bool)wxGBPosition___eq__(arg1
,arg2
);
52953 if (PyErr_Occurred()) SWIG_fail
;
52956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
52964 SWIGINTERN PyObject
*_wrap_GBPosition___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
52965 PyObject
*resultobj
= 0;
52966 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
52967 PyObject
*arg2
= (PyObject
*) 0 ;
52971 PyObject
* obj0
= 0 ;
52972 PyObject
* obj1
= 0 ;
52973 char * kwnames
[] = {
52974 (char *) "self",(char *) "other", NULL
52977 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
52978 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBPosition
, 0 | 0 );
52979 if (!SWIG_IsOK(res1
)) {
52980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBPosition___ne__" "', expected argument " "1"" of type '" "wxGBPosition *""'");
52982 arg1
= reinterpret_cast< wxGBPosition
* >(argp1
);
52985 result
= (bool)wxGBPosition___ne__(arg1
,arg2
);
52986 if (PyErr_Occurred()) SWIG_fail
;
52989 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
52997 SWIGINTERN PyObject
*_wrap_GBPosition_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
52998 PyObject
*resultobj
= 0;
52999 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
53000 int arg2
= (int) 0 ;
53001 int arg3
= (int) 0 ;
53008 PyObject
* obj0
= 0 ;
53009 PyObject
* obj1
= 0 ;
53010 PyObject
* obj2
= 0 ;
53011 char * kwnames
[] = {
53012 (char *) "self",(char *) "row",(char *) "col", NULL
53015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBPosition_Set",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
53016 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBPosition
, 0 | 0 );
53017 if (!SWIG_IsOK(res1
)) {
53018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBPosition_Set" "', expected argument " "1"" of type '" "wxGBPosition *""'");
53020 arg1
= reinterpret_cast< wxGBPosition
* >(argp1
);
53022 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
53023 if (!SWIG_IsOK(ecode2
)) {
53024 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GBPosition_Set" "', expected argument " "2"" of type '" "int""'");
53026 arg2
= static_cast< int >(val2
);
53029 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
53030 if (!SWIG_IsOK(ecode3
)) {
53031 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GBPosition_Set" "', expected argument " "3"" of type '" "int""'");
53033 arg3
= static_cast< int >(val3
);
53036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53037 wxGBPosition_Set(arg1
,arg2
,arg3
);
53038 wxPyEndAllowThreads(__tstate
);
53039 if (PyErr_Occurred()) SWIG_fail
;
53041 resultobj
= SWIG_Py_Void();
53048 SWIGINTERN PyObject
*_wrap_GBPosition_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
53049 PyObject
*resultobj
= 0;
53050 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
53051 PyObject
*result
= 0 ;
53054 PyObject
*swig_obj
[1] ;
53056 if (!args
) SWIG_fail
;
53057 swig_obj
[0] = args
;
53058 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBPosition
, 0 | 0 );
53059 if (!SWIG_IsOK(res1
)) {
53060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBPosition_Get" "', expected argument " "1"" of type '" "wxGBPosition *""'");
53062 arg1
= reinterpret_cast< wxGBPosition
* >(argp1
);
53064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53065 result
= (PyObject
*)wxGBPosition_Get(arg1
);
53066 wxPyEndAllowThreads(__tstate
);
53067 if (PyErr_Occurred()) SWIG_fail
;
53069 resultobj
= result
;
53076 SWIGINTERN PyObject
*GBPosition_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
53078 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
53079 SWIG_TypeNewClientData(SWIGTYPE_p_wxGBPosition
, SWIG_NewClientData(obj
));
53080 return SWIG_Py_Void();
53083 SWIGINTERN PyObject
*GBPosition_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
53084 return SWIG_Python_InitShadowInstance(args
);
53087 SWIGINTERN PyObject
*_wrap_new_GBSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
53088 PyObject
*resultobj
= 0;
53089 int arg1
= (int) 1 ;
53090 int arg2
= (int) 1 ;
53091 wxGBSpan
*result
= 0 ;
53096 PyObject
* obj0
= 0 ;
53097 PyObject
* obj1
= 0 ;
53098 char * kwnames
[] = {
53099 (char *) "rowspan",(char *) "colspan", NULL
53102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBSpan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
53104 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
53105 if (!SWIG_IsOK(ecode1
)) {
53106 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GBSpan" "', expected argument " "1"" of type '" "int""'");
53108 arg1
= static_cast< int >(val1
);
53111 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
53112 if (!SWIG_IsOK(ecode2
)) {
53113 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GBSpan" "', expected argument " "2"" of type '" "int""'");
53115 arg2
= static_cast< int >(val2
);
53118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53119 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
53120 wxPyEndAllowThreads(__tstate
);
53121 if (PyErr_Occurred()) SWIG_fail
;
53123 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_NEW
| 0 );
53130 SWIGINTERN PyObject
*_wrap_delete_GBSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
53131 PyObject
*resultobj
= 0;
53132 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
53135 PyObject
*swig_obj
[1] ;
53137 if (!args
) SWIG_fail
;
53138 swig_obj
[0] = args
;
53139 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_DISOWN
| 0 );
53140 if (!SWIG_IsOK(res1
)) {
53141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GBSpan" "', expected argument " "1"" of type '" "wxGBSpan *""'");
53143 arg1
= reinterpret_cast< wxGBSpan
* >(argp1
);
53145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53148 wxPyEndAllowThreads(__tstate
);
53149 if (PyErr_Occurred()) SWIG_fail
;
53151 resultobj
= SWIG_Py_Void();
53158 SWIGINTERN PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
53159 PyObject
*resultobj
= 0;
53160 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
53164 PyObject
*swig_obj
[1] ;
53166 if (!args
) SWIG_fail
;
53167 swig_obj
[0] = args
;
53168 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBSpan
, 0 | 0 );
53169 if (!SWIG_IsOK(res1
)) {
53170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSpan_GetRowspan" "', expected argument " "1"" of type '" "wxGBSpan const *""'");
53172 arg1
= reinterpret_cast< wxGBSpan
* >(argp1
);
53174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53175 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
53176 wxPyEndAllowThreads(__tstate
);
53177 if (PyErr_Occurred()) SWIG_fail
;
53179 resultobj
= SWIG_From_int(static_cast< int >(result
));
53186 SWIGINTERN PyObject
*_wrap_GBSpan_GetColspan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
53187 PyObject
*resultobj
= 0;
53188 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
53192 PyObject
*swig_obj
[1] ;
53194 if (!args
) SWIG_fail
;
53195 swig_obj
[0] = args
;
53196 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBSpan
, 0 | 0 );
53197 if (!SWIG_IsOK(res1
)) {
53198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSpan_GetColspan" "', expected argument " "1"" of type '" "wxGBSpan const *""'");
53200 arg1
= reinterpret_cast< wxGBSpan
* >(argp1
);
53202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53203 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
53204 wxPyEndAllowThreads(__tstate
);
53205 if (PyErr_Occurred()) SWIG_fail
;
53207 resultobj
= SWIG_From_int(static_cast< int >(result
));
53214 SWIGINTERN PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
53215 PyObject
*resultobj
= 0;
53216 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
53222 PyObject
* obj0
= 0 ;
53223 PyObject
* obj1
= 0 ;
53224 char * kwnames
[] = {
53225 (char *) "self",(char *) "rowspan", NULL
53228 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetRowspan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
53229 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBSpan
, 0 | 0 );
53230 if (!SWIG_IsOK(res1
)) {
53231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSpan_SetRowspan" "', expected argument " "1"" of type '" "wxGBSpan *""'");
53233 arg1
= reinterpret_cast< wxGBSpan
* >(argp1
);
53234 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
53235 if (!SWIG_IsOK(ecode2
)) {
53236 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GBSpan_SetRowspan" "', expected argument " "2"" of type '" "int""'");
53238 arg2
= static_cast< int >(val2
);
53240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53241 (arg1
)->SetRowspan(arg2
);
53242 wxPyEndAllowThreads(__tstate
);
53243 if (PyErr_Occurred()) SWIG_fail
;
53245 resultobj
= SWIG_Py_Void();
53252 SWIGINTERN PyObject
*_wrap_GBSpan_SetColspan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
53253 PyObject
*resultobj
= 0;
53254 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
53260 PyObject
* obj0
= 0 ;
53261 PyObject
* obj1
= 0 ;
53262 char * kwnames
[] = {
53263 (char *) "self",(char *) "colspan", NULL
53266 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetColspan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
53267 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBSpan
, 0 | 0 );
53268 if (!SWIG_IsOK(res1
)) {
53269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSpan_SetColspan" "', expected argument " "1"" of type '" "wxGBSpan *""'");
53271 arg1
= reinterpret_cast< wxGBSpan
* >(argp1
);
53272 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
53273 if (!SWIG_IsOK(ecode2
)) {
53274 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GBSpan_SetColspan" "', expected argument " "2"" of type '" "int""'");
53276 arg2
= static_cast< int >(val2
);
53278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53279 (arg1
)->SetColspan(arg2
);
53280 wxPyEndAllowThreads(__tstate
);
53281 if (PyErr_Occurred()) SWIG_fail
;
53283 resultobj
= SWIG_Py_Void();
53290 SWIGINTERN PyObject
*_wrap_GBSpan___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
53291 PyObject
*resultobj
= 0;
53292 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
53293 PyObject
*arg2
= (PyObject
*) 0 ;
53297 PyObject
* obj0
= 0 ;
53298 PyObject
* obj1
= 0 ;
53299 char * kwnames
[] = {
53300 (char *) "self",(char *) "other", NULL
53303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
53304 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBSpan
, 0 | 0 );
53305 if (!SWIG_IsOK(res1
)) {
53306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSpan___eq__" "', expected argument " "1"" of type '" "wxGBSpan *""'");
53308 arg1
= reinterpret_cast< wxGBSpan
* >(argp1
);
53311 result
= (bool)wxGBSpan___eq__(arg1
,arg2
);
53312 if (PyErr_Occurred()) SWIG_fail
;
53315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
53323 SWIGINTERN PyObject
*_wrap_GBSpan___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
53324 PyObject
*resultobj
= 0;
53325 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
53326 PyObject
*arg2
= (PyObject
*) 0 ;
53330 PyObject
* obj0
= 0 ;
53331 PyObject
* obj1
= 0 ;
53332 char * kwnames
[] = {
53333 (char *) "self",(char *) "other", NULL
53336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
53337 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBSpan
, 0 | 0 );
53338 if (!SWIG_IsOK(res1
)) {
53339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSpan___ne__" "', expected argument " "1"" of type '" "wxGBSpan *""'");
53341 arg1
= reinterpret_cast< wxGBSpan
* >(argp1
);
53344 result
= (bool)wxGBSpan___ne__(arg1
,arg2
);
53345 if (PyErr_Occurred()) SWIG_fail
;
53348 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
53356 SWIGINTERN PyObject
*_wrap_GBSpan_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
53357 PyObject
*resultobj
= 0;
53358 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
53359 int arg2
= (int) 1 ;
53360 int arg3
= (int) 1 ;
53367 PyObject
* obj0
= 0 ;
53368 PyObject
* obj1
= 0 ;
53369 PyObject
* obj2
= 0 ;
53370 char * kwnames
[] = {
53371 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
53374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBSpan_Set",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
53375 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBSpan
, 0 | 0 );
53376 if (!SWIG_IsOK(res1
)) {
53377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSpan_Set" "', expected argument " "1"" of type '" "wxGBSpan *""'");
53379 arg1
= reinterpret_cast< wxGBSpan
* >(argp1
);
53381 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
53382 if (!SWIG_IsOK(ecode2
)) {
53383 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GBSpan_Set" "', expected argument " "2"" of type '" "int""'");
53385 arg2
= static_cast< int >(val2
);
53388 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
53389 if (!SWIG_IsOK(ecode3
)) {
53390 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GBSpan_Set" "', expected argument " "3"" of type '" "int""'");
53392 arg3
= static_cast< int >(val3
);
53395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53396 wxGBSpan_Set(arg1
,arg2
,arg3
);
53397 wxPyEndAllowThreads(__tstate
);
53398 if (PyErr_Occurred()) SWIG_fail
;
53400 resultobj
= SWIG_Py_Void();
53407 SWIGINTERN PyObject
*_wrap_GBSpan_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
53408 PyObject
*resultobj
= 0;
53409 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
53410 PyObject
*result
= 0 ;
53413 PyObject
*swig_obj
[1] ;
53415 if (!args
) SWIG_fail
;
53416 swig_obj
[0] = args
;
53417 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBSpan
, 0 | 0 );
53418 if (!SWIG_IsOK(res1
)) {
53419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSpan_Get" "', expected argument " "1"" of type '" "wxGBSpan *""'");
53421 arg1
= reinterpret_cast< wxGBSpan
* >(argp1
);
53423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53424 result
= (PyObject
*)wxGBSpan_Get(arg1
);
53425 wxPyEndAllowThreads(__tstate
);
53426 if (PyErr_Occurred()) SWIG_fail
;
53428 resultobj
= result
;
53435 SWIGINTERN PyObject
*GBSpan_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
53437 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
53438 SWIG_TypeNewClientData(SWIGTYPE_p_wxGBSpan
, SWIG_NewClientData(obj
));
53439 return SWIG_Py_Void();
53442 SWIGINTERN PyObject
*GBSpan_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
53443 return SWIG_Python_InitShadowInstance(args
);
53446 SWIGINTERN
int DefaultSpan_set(PyObject
*) {
53447 SWIG_Error(SWIG_AttributeError
,"Variable DefaultSpan is read-only.");
53452 SWIGINTERN PyObject
*DefaultSpan_get(void) {
53453 PyObject
*pyobj
= 0;
53455 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxDefaultSpan
), SWIGTYPE_p_wxGBSpan
, 0 );
53460 SWIGINTERN PyObject
*_wrap_new_GBSizerItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
53461 PyObject
*resultobj
= 0;
53462 wxGBSizerItem
*result
= 0 ;
53464 if (!SWIG_Python_UnpackTuple(args
,"new_GBSizerItem",0,0,0)) SWIG_fail
;
53466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53467 result
= (wxGBSizerItem
*)new wxGBSizerItem();
53468 wxPyEndAllowThreads(__tstate
);
53469 if (PyErr_Occurred()) SWIG_fail
;
53471 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_NEW
| 0 );
53478 SWIGINTERN PyObject
*_wrap_delete_GBSizerItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
53479 PyObject
*resultobj
= 0;
53480 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
53483 PyObject
*swig_obj
[1] ;
53485 if (!args
) SWIG_fail
;
53486 swig_obj
[0] = args
;
53487 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_DISOWN
| 0 );
53488 if (!SWIG_IsOK(res1
)) {
53489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GBSizerItem" "', expected argument " "1"" of type '" "wxGBSizerItem *""'");
53491 arg1
= reinterpret_cast< wxGBSizerItem
* >(argp1
);
53493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53496 wxPyEndAllowThreads(__tstate
);
53497 if (PyErr_Occurred()) SWIG_fail
;
53499 resultobj
= SWIG_Py_Void();
53506 SWIGINTERN PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
53507 PyObject
*resultobj
= 0;
53508 wxWindow
*arg1
= (wxWindow
*) 0 ;
53509 wxGBPosition
*arg2
= 0 ;
53510 wxGBSpan
*arg3
= 0 ;
53513 PyObject
*arg6
= (PyObject
*) NULL
;
53514 wxGBSizerItem
*result
= 0 ;
53517 wxGBPosition temp2
;
53523 PyObject
* obj0
= 0 ;
53524 PyObject
* obj1
= 0 ;
53525 PyObject
* obj2
= 0 ;
53526 PyObject
* obj3
= 0 ;
53527 PyObject
* obj4
= 0 ;
53528 PyObject
* obj5
= 0 ;
53529 char * kwnames
[] = {
53530 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
53533 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
53534 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
53535 if (!SWIG_IsOK(res1
)) {
53536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GBSizerItemWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
53538 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
53541 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
53545 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
53547 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
53548 if (!SWIG_IsOK(ecode4
)) {
53549 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_GBSizerItemWindow" "', expected argument " "4"" of type '" "int""'");
53551 arg4
= static_cast< int >(val4
);
53552 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
53553 if (!SWIG_IsOK(ecode5
)) {
53554 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_GBSizerItemWindow" "', expected argument " "5"" of type '" "int""'");
53556 arg5
= static_cast< int >(val5
);
53561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53562 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
53563 wxPyEndAllowThreads(__tstate
);
53564 if (PyErr_Occurred()) SWIG_fail
;
53566 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_OWN
| 0 );
53573 SWIGINTERN PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
53574 PyObject
*resultobj
= 0;
53575 wxSizer
*arg1
= (wxSizer
*) 0 ;
53576 wxGBPosition
*arg2
= 0 ;
53577 wxGBSpan
*arg3
= 0 ;
53580 PyObject
*arg6
= (PyObject
*) NULL
;
53581 wxGBSizerItem
*result
= 0 ;
53583 wxGBPosition temp2
;
53589 PyObject
* obj0
= 0 ;
53590 PyObject
* obj1
= 0 ;
53591 PyObject
* obj2
= 0 ;
53592 PyObject
* obj3
= 0 ;
53593 PyObject
* obj4
= 0 ;
53594 PyObject
* obj5
= 0 ;
53595 char * kwnames
[] = {
53596 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
53599 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
53600 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxSizer
, SWIG_POINTER_DISOWN
| 0 );
53601 if (!SWIG_IsOK(res1
)) {
53602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GBSizerItemSizer" "', expected argument " "1"" of type '" "wxSizer *""'");
53606 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
53610 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
53612 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
53613 if (!SWIG_IsOK(ecode4
)) {
53614 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_GBSizerItemSizer" "', expected argument " "4"" of type '" "int""'");
53616 arg4
= static_cast< int >(val4
);
53617 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
53618 if (!SWIG_IsOK(ecode5
)) {
53619 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_GBSizerItemSizer" "', expected argument " "5"" of type '" "int""'");
53621 arg5
= static_cast< int >(val5
);
53626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53627 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
53628 wxPyEndAllowThreads(__tstate
);
53629 if (PyErr_Occurred()) SWIG_fail
;
53631 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_OWN
| 0 );
53638 SWIGINTERN PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
53639 PyObject
*resultobj
= 0;
53642 wxGBPosition
*arg3
= 0 ;
53643 wxGBSpan
*arg4
= 0 ;
53646 PyObject
*arg7
= (PyObject
*) NULL
;
53647 wxGBSizerItem
*result
= 0 ;
53652 wxGBPosition temp3
;
53658 PyObject
* obj0
= 0 ;
53659 PyObject
* obj1
= 0 ;
53660 PyObject
* obj2
= 0 ;
53661 PyObject
* obj3
= 0 ;
53662 PyObject
* obj4
= 0 ;
53663 PyObject
* obj5
= 0 ;
53664 PyObject
* obj6
= 0 ;
53665 char * kwnames
[] = {
53666 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
53669 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:new_GBSizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
53670 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
53671 if (!SWIG_IsOK(ecode1
)) {
53672 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GBSizerItemSpacer" "', expected argument " "1"" of type '" "int""'");
53674 arg1
= static_cast< int >(val1
);
53675 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
53676 if (!SWIG_IsOK(ecode2
)) {
53677 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GBSizerItemSpacer" "', expected argument " "2"" of type '" "int""'");
53679 arg2
= static_cast< int >(val2
);
53682 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
53686 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
53688 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
53689 if (!SWIG_IsOK(ecode5
)) {
53690 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_GBSizerItemSpacer" "', expected argument " "5"" of type '" "int""'");
53692 arg5
= static_cast< int >(val5
);
53693 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
53694 if (!SWIG_IsOK(ecode6
)) {
53695 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_GBSizerItemSpacer" "', expected argument " "6"" of type '" "int""'");
53697 arg6
= static_cast< int >(val6
);
53702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53703 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
53704 wxPyEndAllowThreads(__tstate
);
53705 if (PyErr_Occurred()) SWIG_fail
;
53707 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_OWN
| 0 );
53714 SWIGINTERN PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
53715 PyObject
*resultobj
= 0;
53716 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
53717 wxGBPosition result
;
53720 PyObject
*swig_obj
[1] ;
53722 if (!args
) SWIG_fail
;
53723 swig_obj
[0] = args
;
53724 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
53725 if (!SWIG_IsOK(res1
)) {
53726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSizerItem_GetPos" "', expected argument " "1"" of type '" "wxGBSizerItem const *""'");
53728 arg1
= reinterpret_cast< wxGBSizerItem
* >(argp1
);
53730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53731 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
53732 wxPyEndAllowThreads(__tstate
);
53733 if (PyErr_Occurred()) SWIG_fail
;
53735 resultobj
= SWIG_NewPointerObj((new wxGBPosition(static_cast< const wxGBPosition
& >(result
))), SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_OWN
| 0 );
53742 SWIGINTERN PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
53743 PyObject
*resultobj
= 0;
53744 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
53748 PyObject
*swig_obj
[1] ;
53750 if (!args
) SWIG_fail
;
53751 swig_obj
[0] = args
;
53752 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
53753 if (!SWIG_IsOK(res1
)) {
53754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSizerItem_GetSpan" "', expected argument " "1"" of type '" "wxGBSizerItem const *""'");
53756 arg1
= reinterpret_cast< wxGBSizerItem
* >(argp1
);
53758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53759 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
53760 wxPyEndAllowThreads(__tstate
);
53761 if (PyErr_Occurred()) SWIG_fail
;
53763 resultobj
= SWIG_NewPointerObj((new wxGBSpan(static_cast< const wxGBSpan
& >(result
))), SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_OWN
| 0 );
53770 SWIGINTERN PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
53771 PyObject
*resultobj
= 0;
53772 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
53773 wxGBPosition
*arg2
= 0 ;
53777 wxGBPosition temp2
;
53778 PyObject
* obj0
= 0 ;
53779 PyObject
* obj1
= 0 ;
53780 char * kwnames
[] = {
53781 (char *) "self",(char *) "pos", NULL
53784 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
53785 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
53786 if (!SWIG_IsOK(res1
)) {
53787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSizerItem_SetPos" "', expected argument " "1"" of type '" "wxGBSizerItem *""'");
53789 arg1
= reinterpret_cast< wxGBSizerItem
* >(argp1
);
53792 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
53795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53796 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
53797 wxPyEndAllowThreads(__tstate
);
53798 if (PyErr_Occurred()) SWIG_fail
;
53801 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
53809 SWIGINTERN PyObject
*_wrap_GBSizerItem_SetSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
53810 PyObject
*resultobj
= 0;
53811 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
53812 wxGBSpan
*arg2
= 0 ;
53817 PyObject
* obj0
= 0 ;
53818 PyObject
* obj1
= 0 ;
53819 char * kwnames
[] = {
53820 (char *) "self",(char *) "span", NULL
53823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
53824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
53825 if (!SWIG_IsOK(res1
)) {
53826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSizerItem_SetSpan" "', expected argument " "1"" of type '" "wxGBSizerItem *""'");
53828 arg1
= reinterpret_cast< wxGBSizerItem
* >(argp1
);
53831 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
53834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53835 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
53836 wxPyEndAllowThreads(__tstate
);
53837 if (PyErr_Occurred()) SWIG_fail
;
53840 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
53848 SWIGINTERN PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
53849 PyObject
*resultobj
= 0;
53850 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
53851 wxGBSizerItem
*arg2
= 0 ;
53857 PyObject
* obj0
= 0 ;
53858 PyObject
* obj1
= 0 ;
53859 char * kwnames
[] = {
53860 (char *) "self",(char *) "other", NULL
53863 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_Intersects",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
53864 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
53865 if (!SWIG_IsOK(res1
)) {
53866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSizerItem_Intersects" "', expected argument " "1"" of type '" "wxGBSizerItem *""'");
53868 arg1
= reinterpret_cast< wxGBSizerItem
* >(argp1
);
53869 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGBSizerItem
, 0 | 0);
53870 if (!SWIG_IsOK(res2
)) {
53871 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GBSizerItem_Intersects" "', expected argument " "2"" of type '" "wxGBSizerItem const &""'");
53874 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GBSizerItem_Intersects" "', expected argument " "2"" of type '" "wxGBSizerItem const &""'");
53876 arg2
= reinterpret_cast< wxGBSizerItem
* >(argp2
);
53878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53879 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
53880 wxPyEndAllowThreads(__tstate
);
53881 if (PyErr_Occurred()) SWIG_fail
;
53884 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
53892 SWIGINTERN PyObject
*_wrap_GBSizerItem_IntersectsPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
53893 PyObject
*resultobj
= 0;
53894 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
53895 wxGBPosition
*arg2
= 0 ;
53896 wxGBSpan
*arg3
= 0 ;
53900 wxGBPosition temp2
;
53902 PyObject
* obj0
= 0 ;
53903 PyObject
* obj1
= 0 ;
53904 PyObject
* obj2
= 0 ;
53905 char * kwnames
[] = {
53906 (char *) "self",(char *) "pos",(char *) "span", NULL
53909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_IntersectsPos",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
53910 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
53911 if (!SWIG_IsOK(res1
)) {
53912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSizerItem_IntersectsPos" "', expected argument " "1"" of type '" "wxGBSizerItem *""'");
53914 arg1
= reinterpret_cast< wxGBSizerItem
* >(argp1
);
53917 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
53921 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
53924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53925 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
53926 wxPyEndAllowThreads(__tstate
);
53927 if (PyErr_Occurred()) SWIG_fail
;
53930 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
53938 SWIGINTERN PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
53939 PyObject
*resultobj
= 0;
53940 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
53941 wxGBPosition result
;
53944 PyObject
*swig_obj
[1] ;
53946 if (!args
) SWIG_fail
;
53947 swig_obj
[0] = args
;
53948 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
53949 if (!SWIG_IsOK(res1
)) {
53950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSizerItem_GetEndPos" "', expected argument " "1"" of type '" "wxGBSizerItem *""'");
53952 arg1
= reinterpret_cast< wxGBSizerItem
* >(argp1
);
53954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53955 result
= wxGBSizerItem_GetEndPos(arg1
);
53956 wxPyEndAllowThreads(__tstate
);
53957 if (PyErr_Occurred()) SWIG_fail
;
53959 resultobj
= SWIG_NewPointerObj((new wxGBPosition(static_cast< const wxGBPosition
& >(result
))), SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_OWN
| 0 );
53966 SWIGINTERN PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
53967 PyObject
*resultobj
= 0;
53968 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
53969 wxGridBagSizer
*result
= 0 ;
53972 PyObject
*swig_obj
[1] ;
53974 if (!args
) SWIG_fail
;
53975 swig_obj
[0] = args
;
53976 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
53977 if (!SWIG_IsOK(res1
)) {
53978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSizerItem_GetGBSizer" "', expected argument " "1"" of type '" "wxGBSizerItem const *""'");
53980 arg1
= reinterpret_cast< wxGBSizerItem
* >(argp1
);
53982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53983 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
53984 wxPyEndAllowThreads(__tstate
);
53985 if (PyErr_Occurred()) SWIG_fail
;
53987 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
53994 SWIGINTERN PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
53995 PyObject
*resultobj
= 0;
53996 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
53997 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
54002 PyObject
* obj0
= 0 ;
54003 PyObject
* obj1
= 0 ;
54004 char * kwnames
[] = {
54005 (char *) "self",(char *) "sizer", NULL
54008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
54009 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
54010 if (!SWIG_IsOK(res1
)) {
54011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSizerItem_SetGBSizer" "', expected argument " "1"" of type '" "wxGBSizerItem *""'");
54013 arg1
= reinterpret_cast< wxGBSizerItem
* >(argp1
);
54014 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
54015 if (!SWIG_IsOK(res2
)) {
54016 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GBSizerItem_SetGBSizer" "', expected argument " "2"" of type '" "wxGridBagSizer *""'");
54018 arg2
= reinterpret_cast< wxGridBagSizer
* >(argp2
);
54020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
54021 (arg1
)->SetGBSizer(arg2
);
54022 wxPyEndAllowThreads(__tstate
);
54023 if (PyErr_Occurred()) SWIG_fail
;
54025 resultobj
= SWIG_Py_Void();
54032 SWIGINTERN PyObject
*GBSizerItem_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
54034 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
54035 SWIG_TypeNewClientData(SWIGTYPE_p_wxGBSizerItem
, SWIG_NewClientData(obj
));
54036 return SWIG_Py_Void();
54039 SWIGINTERN PyObject
*GBSizerItem_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
54040 return SWIG_Python_InitShadowInstance(args
);
54043 SWIGINTERN PyObject
*_wrap_new_GridBagSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
54044 PyObject
*resultobj
= 0;
54045 int arg1
= (int) 0 ;
54046 int arg2
= (int) 0 ;
54047 wxGridBagSizer
*result
= 0 ;
54052 PyObject
* obj0
= 0 ;
54053 PyObject
* obj1
= 0 ;
54054 char * kwnames
[] = {
54055 (char *) "vgap",(char *) "hgap", NULL
54058 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridBagSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
54060 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
54061 if (!SWIG_IsOK(ecode1
)) {
54062 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GridBagSizer" "', expected argument " "1"" of type '" "int""'");
54064 arg1
= static_cast< int >(val1
);
54067 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
54068 if (!SWIG_IsOK(ecode2
)) {
54069 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GridBagSizer" "', expected argument " "2"" of type '" "int""'");
54071 arg2
= static_cast< int >(val2
);
54074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
54075 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
54076 wxPyEndAllowThreads(__tstate
);
54077 if (PyErr_Occurred()) SWIG_fail
;
54079 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_NEW
| 0 );
54086 SWIGINTERN PyObject
*_wrap_GridBagSizer_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
54087 PyObject
*resultobj
= 0;
54088 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
54089 PyObject
*arg2
= (PyObject
*) 0 ;
54090 wxGBPosition
*arg3
= 0 ;
54091 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
54092 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
54093 int arg5
= (int) 0 ;
54094 int arg6
= (int) 0 ;
54095 PyObject
*arg7
= (PyObject
*) NULL
;
54096 wxGBSizerItem
*result
= 0 ;
54099 wxGBPosition temp3
;
54105 PyObject
* obj0
= 0 ;
54106 PyObject
* obj1
= 0 ;
54107 PyObject
* obj2
= 0 ;
54108 PyObject
* obj3
= 0 ;
54109 PyObject
* obj4
= 0 ;
54110 PyObject
* obj5
= 0 ;
54111 PyObject
* obj6
= 0 ;
54112 char * kwnames
[] = {
54113 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
54116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
54117 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
54118 if (!SWIG_IsOK(res1
)) {
54119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_Add" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
54121 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
54125 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
54130 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
54134 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
54135 if (!SWIG_IsOK(ecode5
)) {
54136 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GridBagSizer_Add" "', expected argument " "5"" of type '" "int""'");
54138 arg5
= static_cast< int >(val5
);
54141 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
54142 if (!SWIG_IsOK(ecode6
)) {
54143 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GridBagSizer_Add" "', expected argument " "6"" of type '" "int""'");
54145 arg6
= static_cast< int >(val6
);
54151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
54152 result
= (wxGBSizerItem
*)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
54153 wxPyEndAllowThreads(__tstate
);
54154 if (PyErr_Occurred()) SWIG_fail
;
54156 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
54163 SWIGINTERN PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
54164 PyObject
*resultobj
= 0;
54165 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
54166 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
54167 wxGBSizerItem
*result
= 0 ;
54171 PyObject
* obj0
= 0 ;
54172 PyObject
* obj1
= 0 ;
54173 char * kwnames
[] = {
54174 (char *) "self",(char *) "item", NULL
54177 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
54178 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
54179 if (!SWIG_IsOK(res1
)) {
54180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_AddItem" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
54182 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
54183 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_DISOWN
| 0 );
54184 if (!SWIG_IsOK(res2
)) {
54185 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_AddItem" "', expected argument " "2"" of type '" "wxGBSizerItem *""'");
54188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
54189 result
= (wxGBSizerItem
*)(arg1
)->Add(arg2
);
54190 wxPyEndAllowThreads(__tstate
);
54191 if (PyErr_Occurred()) SWIG_fail
;
54193 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
54200 SWIGINTERN PyObject
*_wrap_GridBagSizer_GetCellSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
54201 PyObject
*resultobj
= 0;
54202 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
54212 PyObject
* obj0
= 0 ;
54213 PyObject
* obj1
= 0 ;
54214 PyObject
* obj2
= 0 ;
54215 char * kwnames
[] = {
54216 (char *) "self",(char *) "row",(char *) "col", NULL
54219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridBagSizer_GetCellSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
54220 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
54221 if (!SWIG_IsOK(res1
)) {
54222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_GetCellSize" "', expected argument " "1"" of type '" "wxGridBagSizer const *""'");
54224 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
54225 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
54226 if (!SWIG_IsOK(ecode2
)) {
54227 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridBagSizer_GetCellSize" "', expected argument " "2"" of type '" "int""'");
54229 arg2
= static_cast< int >(val2
);
54230 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
54231 if (!SWIG_IsOK(ecode3
)) {
54232 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridBagSizer_GetCellSize" "', expected argument " "3"" of type '" "int""'");
54234 arg3
= static_cast< int >(val3
);
54236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
54237 result
= ((wxGridBagSizer
const *)arg1
)->GetCellSize(arg2
,arg3
);
54238 wxPyEndAllowThreads(__tstate
);
54239 if (PyErr_Occurred()) SWIG_fail
;
54241 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
54248 SWIGINTERN PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
54249 PyObject
*resultobj
= 0;
54250 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
54254 PyObject
*swig_obj
[1] ;
54256 if (!args
) SWIG_fail
;
54257 swig_obj
[0] = args
;
54258 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
54259 if (!SWIG_IsOK(res1
)) {
54260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_GetEmptyCellSize" "', expected argument " "1"" of type '" "wxGridBagSizer const *""'");
54262 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
54264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
54265 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
54266 wxPyEndAllowThreads(__tstate
);
54267 if (PyErr_Occurred()) SWIG_fail
;
54269 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
54276 SWIGINTERN PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
54277 PyObject
*resultobj
= 0;
54278 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
54283 PyObject
* obj0
= 0 ;
54284 PyObject
* obj1
= 0 ;
54285 char * kwnames
[] = {
54286 (char *) "self",(char *) "sz", NULL
54289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
54290 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
54291 if (!SWIG_IsOK(res1
)) {
54292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_SetEmptyCellSize" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
54294 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
54297 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
54300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
54301 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
54302 wxPyEndAllowThreads(__tstate
);
54303 if (PyErr_Occurred()) SWIG_fail
;
54305 resultobj
= SWIG_Py_Void();
54312 SWIGINTERN PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
54313 PyObject
*resultobj
= 0;
54314 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
54315 wxWindow
*arg2
= (wxWindow
*) 0 ;
54316 wxGBPosition result
;
54322 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
54323 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
54324 if (!SWIG_IsOK(res1
)) {
54325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_GetItemPosition" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
54327 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
54328 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
54329 if (!SWIG_IsOK(res2
)) {
54330 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_GetItemPosition" "', expected argument " "2"" of type '" "wxWindow *""'");
54332 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
54334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
54335 result
= (arg1
)->GetItemPosition(arg2
);
54336 wxPyEndAllowThreads(__tstate
);
54337 if (PyErr_Occurred()) SWIG_fail
;
54339 resultobj
= SWIG_NewPointerObj((new wxGBPosition(static_cast< const wxGBPosition
& >(result
))), SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_OWN
| 0 );
54346 SWIGINTERN PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
54347 PyObject
*resultobj
= 0;
54348 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
54349 wxSizer
*arg2
= (wxSizer
*) 0 ;
54350 wxGBPosition result
;
54356 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
54357 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
54358 if (!SWIG_IsOK(res1
)) {
54359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_GetItemPosition" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
54361 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
54362 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxSizer
, 0 | 0 );
54363 if (!SWIG_IsOK(res2
)) {
54364 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_GetItemPosition" "', expected argument " "2"" of type '" "wxSizer *""'");
54366 arg2
= reinterpret_cast< wxSizer
* >(argp2
);
54368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
54369 result
= (arg1
)->GetItemPosition(arg2
);
54370 wxPyEndAllowThreads(__tstate
);
54371 if (PyErr_Occurred()) SWIG_fail
;
54373 resultobj
= SWIG_NewPointerObj((new wxGBPosition(static_cast< const wxGBPosition
& >(result
))), SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_OWN
| 0 );
54380 SWIGINTERN PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
54381 PyObject
*resultobj
= 0;
54382 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
54384 wxGBPosition result
;
54390 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
54391 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
54392 if (!SWIG_IsOK(res1
)) {
54393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_GetItemPosition" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
54395 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
54396 ecode2
= SWIG_AsVal_size_t(swig_obj
[1], &val2
);
54397 if (!SWIG_IsOK(ecode2
)) {
54398 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridBagSizer_GetItemPosition" "', expected argument " "2"" of type '" "size_t""'");
54400 arg2
= static_cast< size_t >(val2
);
54402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
54403 result
= (arg1
)->GetItemPosition(arg2
);
54404 wxPyEndAllowThreads(__tstate
);
54405 if (PyErr_Occurred()) SWIG_fail
;
54407 resultobj
= SWIG_NewPointerObj((new wxGBPosition(static_cast< const wxGBPosition
& >(result
))), SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_OWN
| 0 );
54414 SWIGINTERN PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
54418 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GridBagSizer_GetItemPosition",0,2,argv
))) SWIG_fail
;
54424 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxWindow
, 0);
54425 _v
= SWIG_CheckState(res
);
54427 if (!_v
) goto check_1
;
54428 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
, argc
, argv
);
54436 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxSizer
, 0);
54437 _v
= SWIG_CheckState(res
);
54439 if (!_v
) goto check_2
;
54440 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
, argc
, argv
);
54445 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
, argc
, argv
);
54449 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
54454 SWIGINTERN PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
54455 PyObject
*resultobj
= 0;
54456 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
54457 wxWindow
*arg2
= (wxWindow
*) 0 ;
54458 wxGBPosition
*arg3
= 0 ;
54464 wxGBPosition temp3
;
54466 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
54467 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
54468 if (!SWIG_IsOK(res1
)) {
54469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_SetItemPosition" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
54471 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
54472 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
54473 if (!SWIG_IsOK(res2
)) {
54474 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_SetItemPosition" "', expected argument " "2"" of type '" "wxWindow *""'");
54476 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
54479 if ( ! wxGBPosition_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
54482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
54483 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
54484 wxPyEndAllowThreads(__tstate
);
54485 if (PyErr_Occurred()) SWIG_fail
;
54488 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
54496 SWIGINTERN PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
54497 PyObject
*resultobj
= 0;
54498 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
54499 wxSizer
*arg2
= (wxSizer
*) 0 ;
54500 wxGBPosition
*arg3
= 0 ;
54506 wxGBPosition temp3
;
54508 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
54509 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
54510 if (!SWIG_IsOK(res1
)) {
54511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_SetItemPosition" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
54513 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
54514 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxSizer
, 0 | 0 );
54515 if (!SWIG_IsOK(res2
)) {
54516 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_SetItemPosition" "', expected argument " "2"" of type '" "wxSizer *""'");
54518 arg2
= reinterpret_cast< wxSizer
* >(argp2
);
54521 if ( ! wxGBPosition_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
54524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
54525 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
54526 wxPyEndAllowThreads(__tstate
);
54527 if (PyErr_Occurred()) SWIG_fail
;
54530 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
54538 SWIGINTERN PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
54539 PyObject
*resultobj
= 0;
54540 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
54542 wxGBPosition
*arg3
= 0 ;
54548 wxGBPosition temp3
;
54550 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
54551 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
54552 if (!SWIG_IsOK(res1
)) {
54553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_SetItemPosition" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
54555 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
54556 ecode2
= SWIG_AsVal_size_t(swig_obj
[1], &val2
);
54557 if (!SWIG_IsOK(ecode2
)) {
54558 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridBagSizer_SetItemPosition" "', expected argument " "2"" of type '" "size_t""'");
54560 arg2
= static_cast< size_t >(val2
);
54563 if ( ! wxGBPosition_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
54566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
54567 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
54568 wxPyEndAllowThreads(__tstate
);
54569 if (PyErr_Occurred()) SWIG_fail
;
54572 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
54580 SWIGINTERN PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
54584 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GridBagSizer_SetItemPosition",0,3,argv
))) SWIG_fail
;
54590 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxWindow
, 0);
54591 _v
= SWIG_CheckState(res
);
54593 if (!_v
) goto check_1
;
54594 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
, argc
, argv
);
54602 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxSizer
, 0);
54603 _v
= SWIG_CheckState(res
);
54605 if (!_v
) goto check_2
;
54606 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
, argc
, argv
);
54611 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
, argc
, argv
);
54615 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
54620 SWIGINTERN PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
54621 PyObject
*resultobj
= 0;
54622 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
54623 wxWindow
*arg2
= (wxWindow
*) 0 ;
54630 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
54631 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
54632 if (!SWIG_IsOK(res1
)) {
54633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_GetItemSpan" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
54635 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
54636 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
54637 if (!SWIG_IsOK(res2
)) {
54638 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_GetItemSpan" "', expected argument " "2"" of type '" "wxWindow *""'");
54640 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
54642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
54643 result
= (arg1
)->GetItemSpan(arg2
);
54644 wxPyEndAllowThreads(__tstate
);
54645 if (PyErr_Occurred()) SWIG_fail
;
54647 resultobj
= SWIG_NewPointerObj((new wxGBSpan(static_cast< const wxGBSpan
& >(result
))), SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_OWN
| 0 );
54654 SWIGINTERN PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
54655 PyObject
*resultobj
= 0;
54656 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
54657 wxSizer
*arg2
= (wxSizer
*) 0 ;
54664 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
54665 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
54666 if (!SWIG_IsOK(res1
)) {
54667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_GetItemSpan" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
54669 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
54670 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxSizer
, 0 | 0 );
54671 if (!SWIG_IsOK(res2
)) {
54672 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_GetItemSpan" "', expected argument " "2"" of type '" "wxSizer *""'");
54674 arg2
= reinterpret_cast< wxSizer
* >(argp2
);
54676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
54677 result
= (arg1
)->GetItemSpan(arg2
);
54678 wxPyEndAllowThreads(__tstate
);
54679 if (PyErr_Occurred()) SWIG_fail
;
54681 resultobj
= SWIG_NewPointerObj((new wxGBSpan(static_cast< const wxGBSpan
& >(result
))), SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_OWN
| 0 );
54688 SWIGINTERN PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
54689 PyObject
*resultobj
= 0;
54690 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
54698 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
54699 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
54700 if (!SWIG_IsOK(res1
)) {
54701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_GetItemSpan" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
54703 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
54704 ecode2
= SWIG_AsVal_size_t(swig_obj
[1], &val2
);
54705 if (!SWIG_IsOK(ecode2
)) {
54706 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridBagSizer_GetItemSpan" "', expected argument " "2"" of type '" "size_t""'");
54708 arg2
= static_cast< size_t >(val2
);
54710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
54711 result
= (arg1
)->GetItemSpan(arg2
);
54712 wxPyEndAllowThreads(__tstate
);
54713 if (PyErr_Occurred()) SWIG_fail
;
54715 resultobj
= SWIG_NewPointerObj((new wxGBSpan(static_cast< const wxGBSpan
& >(result
))), SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_OWN
| 0 );
54722 SWIGINTERN PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
54726 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GridBagSizer_GetItemSpan",0,2,argv
))) SWIG_fail
;
54732 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxWindow
, 0);
54733 _v
= SWIG_CheckState(res
);
54735 if (!_v
) goto check_1
;
54736 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
, argc
, argv
);
54744 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxSizer
, 0);
54745 _v
= SWIG_CheckState(res
);
54747 if (!_v
) goto check_2
;
54748 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
, argc
, argv
);
54753 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
, argc
, argv
);
54757 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
54762 SWIGINTERN PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
54763 PyObject
*resultobj
= 0;
54764 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
54765 wxWindow
*arg2
= (wxWindow
*) 0 ;
54766 wxGBSpan
*arg3
= 0 ;
54774 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
54775 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
54776 if (!SWIG_IsOK(res1
)) {
54777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_SetItemSpan" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
54779 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
54780 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
54781 if (!SWIG_IsOK(res2
)) {
54782 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_SetItemSpan" "', expected argument " "2"" of type '" "wxWindow *""'");
54784 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
54787 if ( ! wxGBSpan_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
54790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
54791 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
54792 wxPyEndAllowThreads(__tstate
);
54793 if (PyErr_Occurred()) SWIG_fail
;
54796 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
54804 SWIGINTERN PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
54805 PyObject
*resultobj
= 0;
54806 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
54807 wxSizer
*arg2
= (wxSizer
*) 0 ;
54808 wxGBSpan
*arg3
= 0 ;
54816 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
54817 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
54818 if (!SWIG_IsOK(res1
)) {
54819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_SetItemSpan" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
54821 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
54822 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxSizer
, 0 | 0 );
54823 if (!SWIG_IsOK(res2
)) {
54824 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_SetItemSpan" "', expected argument " "2"" of type '" "wxSizer *""'");
54826 arg2
= reinterpret_cast< wxSizer
* >(argp2
);
54829 if ( ! wxGBSpan_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
54832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
54833 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
54834 wxPyEndAllowThreads(__tstate
);
54835 if (PyErr_Occurred()) SWIG_fail
;
54838 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
54846 SWIGINTERN PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
54847 PyObject
*resultobj
= 0;
54848 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
54850 wxGBSpan
*arg3
= 0 ;
54858 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
54859 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
54860 if (!SWIG_IsOK(res1
)) {
54861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_SetItemSpan" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
54863 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
54864 ecode2
= SWIG_AsVal_size_t(swig_obj
[1], &val2
);
54865 if (!SWIG_IsOK(ecode2
)) {
54866 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridBagSizer_SetItemSpan" "', expected argument " "2"" of type '" "size_t""'");
54868 arg2
= static_cast< size_t >(val2
);
54871 if ( ! wxGBSpan_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
54874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
54875 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
54876 wxPyEndAllowThreads(__tstate
);
54877 if (PyErr_Occurred()) SWIG_fail
;
54880 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
54888 SWIGINTERN PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
54892 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GridBagSizer_SetItemSpan",0,3,argv
))) SWIG_fail
;
54898 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxWindow
, 0);
54899 _v
= SWIG_CheckState(res
);
54901 if (!_v
) goto check_1
;
54902 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
, argc
, argv
);
54910 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxSizer
, 0);
54911 _v
= SWIG_CheckState(res
);
54913 if (!_v
) goto check_2
;
54914 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
, argc
, argv
);
54919 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
, argc
, argv
);
54923 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
54928 SWIGINTERN PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
54929 PyObject
*resultobj
= 0;
54930 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
54931 wxWindow
*arg2
= (wxWindow
*) 0 ;
54932 wxGBSizerItem
*result
= 0 ;
54938 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
54939 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
54940 if (!SWIG_IsOK(res1
)) {
54941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_FindItem" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
54943 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
54944 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
54945 if (!SWIG_IsOK(res2
)) {
54946 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_FindItem" "', expected argument " "2"" of type '" "wxWindow *""'");
54948 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
54950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
54951 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
54952 wxPyEndAllowThreads(__tstate
);
54953 if (PyErr_Occurred()) SWIG_fail
;
54955 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
54962 SWIGINTERN PyObject
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
54963 PyObject
*resultobj
= 0;
54964 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
54965 wxSizer
*arg2
= (wxSizer
*) 0 ;
54966 wxGBSizerItem
*result
= 0 ;
54972 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
54973 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
54974 if (!SWIG_IsOK(res1
)) {
54975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_FindItem" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
54977 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
54978 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxSizer
, 0 | 0 );
54979 if (!SWIG_IsOK(res2
)) {
54980 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_FindItem" "', expected argument " "2"" of type '" "wxSizer *""'");
54982 arg2
= reinterpret_cast< wxSizer
* >(argp2
);
54984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
54985 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
54986 wxPyEndAllowThreads(__tstate
);
54987 if (PyErr_Occurred()) SWIG_fail
;
54989 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
54996 SWIGINTERN PyObject
*_wrap_GridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
55000 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GridBagSizer_FindItem",0,2,argv
))) SWIG_fail
;
55006 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxWindow
, 0);
55007 _v
= SWIG_CheckState(res
);
55009 if (!_v
) goto check_1
;
55010 return _wrap_GridBagSizer_FindItem__SWIG_0(self
, argc
, argv
);
55015 return _wrap_GridBagSizer_FindItem__SWIG_1(self
, argc
, argv
);
55019 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
55024 SWIGINTERN PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
55025 PyObject
*resultobj
= 0;
55026 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
55027 wxGBPosition
*arg2
= 0 ;
55028 wxGBSizerItem
*result
= 0 ;
55031 wxGBPosition temp2
;
55032 PyObject
* obj0
= 0 ;
55033 PyObject
* obj1
= 0 ;
55034 char * kwnames
[] = {
55035 (char *) "self",(char *) "pos", NULL
55038 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
55039 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
55040 if (!SWIG_IsOK(res1
)) {
55041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_FindItemAtPosition" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
55043 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
55046 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
55049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
55050 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
55051 wxPyEndAllowThreads(__tstate
);
55052 if (PyErr_Occurred()) SWIG_fail
;
55054 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
55061 SWIGINTERN PyObject
*_wrap_GridBagSizer_FindItemAtPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
55062 PyObject
*resultobj
= 0;
55063 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
55064 wxPoint
*arg2
= 0 ;
55065 wxGBSizerItem
*result
= 0 ;
55069 PyObject
* obj0
= 0 ;
55070 PyObject
* obj1
= 0 ;
55071 char * kwnames
[] = {
55072 (char *) "self",(char *) "pt", NULL
55075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
55076 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
55077 if (!SWIG_IsOK(res1
)) {
55078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_FindItemAtPoint" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
55080 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
55083 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
55086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
55087 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPoint((wxPoint
const &)*arg2
);
55088 wxPyEndAllowThreads(__tstate
);
55089 if (PyErr_Occurred()) SWIG_fail
;
55091 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
55098 SWIGINTERN PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
55099 PyObject
*resultobj
= 0;
55100 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
55101 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
55102 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
55110 PyObject
* obj0
= 0 ;
55111 PyObject
* obj1
= 0 ;
55112 PyObject
* obj2
= 0 ;
55113 char * kwnames
[] = {
55114 (char *) "self",(char *) "item",(char *) "excludeItem", NULL
55117 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GridBagSizer_CheckForIntersection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
55118 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
55119 if (!SWIG_IsOK(res1
)) {
55120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_CheckForIntersection" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
55122 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
55123 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
55124 if (!SWIG_IsOK(res2
)) {
55125 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_CheckForIntersection" "', expected argument " "2"" of type '" "wxGBSizerItem *""'");
55127 arg2
= reinterpret_cast< wxGBSizerItem
* >(argp2
);
55129 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
55130 if (!SWIG_IsOK(res3
)) {
55131 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "GridBagSizer_CheckForIntersection" "', expected argument " "3"" of type '" "wxGBSizerItem *""'");
55133 arg3
= reinterpret_cast< wxGBSizerItem
* >(argp3
);
55136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
55137 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
55138 wxPyEndAllowThreads(__tstate
);
55139 if (PyErr_Occurred()) SWIG_fail
;
55142 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
55150 SWIGINTERN PyObject
*_wrap_GridBagSizer_CheckForIntersectionPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
55151 PyObject
*resultobj
= 0;
55152 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
55153 wxGBPosition
*arg2
= 0 ;
55154 wxGBSpan
*arg3
= 0 ;
55155 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
55159 wxGBPosition temp2
;
55163 PyObject
* obj0
= 0 ;
55164 PyObject
* obj1
= 0 ;
55165 PyObject
* obj2
= 0 ;
55166 PyObject
* obj3
= 0 ;
55167 char * kwnames
[] = {
55168 (char *) "self",(char *) "pos",(char *) "span",(char *) "excludeItem", NULL
55171 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:GridBagSizer_CheckForIntersectionPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
55172 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
55173 if (!SWIG_IsOK(res1
)) {
55174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_CheckForIntersectionPos" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
55176 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
55179 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
55183 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
55186 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
55187 if (!SWIG_IsOK(res4
)) {
55188 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "GridBagSizer_CheckForIntersectionPos" "', expected argument " "4"" of type '" "wxGBSizerItem *""'");
55190 arg4
= reinterpret_cast< wxGBSizerItem
* >(argp4
);
55193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
55194 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
55195 wxPyEndAllowThreads(__tstate
);
55196 if (PyErr_Occurred()) SWIG_fail
;
55199 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
55207 SWIGINTERN PyObject
*GridBagSizer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
55209 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
55210 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridBagSizer
, SWIG_NewClientData(obj
));
55211 return SWIG_Py_Void();
55214 SWIGINTERN PyObject
*GridBagSizer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
55215 return SWIG_Python_InitShadowInstance(args
);
55218 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
55219 PyObject
*resultobj
= 0;
55220 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
55221 wxRelationship arg2
;
55222 wxWindow
*arg3
= (wxWindow
*) 0 ;
55224 int arg5
= (int) 0 ;
55225 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
55238 PyObject
* obj0
= 0 ;
55239 PyObject
* obj1
= 0 ;
55240 PyObject
* obj2
= 0 ;
55241 PyObject
* obj3
= 0 ;
55242 PyObject
* obj4
= 0 ;
55243 PyObject
* obj5
= 0 ;
55244 char * kwnames
[] = {
55245 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
55248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
55249 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
55250 if (!SWIG_IsOK(res1
)) {
55251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_Set" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
55253 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
55254 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
55255 if (!SWIG_IsOK(ecode2
)) {
55256 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IndividualLayoutConstraint_Set" "', expected argument " "2"" of type '" "wxRelationship""'");
55258 arg2
= static_cast< wxRelationship
>(val2
);
55259 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
55260 if (!SWIG_IsOK(res3
)) {
55261 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "IndividualLayoutConstraint_Set" "', expected argument " "3"" of type '" "wxWindow *""'");
55263 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
55264 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
55265 if (!SWIG_IsOK(ecode4
)) {
55266 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "IndividualLayoutConstraint_Set" "', expected argument " "4"" of type '" "wxEdge""'");
55268 arg4
= static_cast< wxEdge
>(val4
);
55270 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
55271 if (!SWIG_IsOK(ecode5
)) {
55272 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "IndividualLayoutConstraint_Set" "', expected argument " "5"" of type '" "int""'");
55274 arg5
= static_cast< int >(val5
);
55277 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
55278 if (!SWIG_IsOK(ecode6
)) {
55279 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "IndividualLayoutConstraint_Set" "', expected argument " "6"" of type '" "int""'");
55281 arg6
= static_cast< int >(val6
);
55284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
55285 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
,arg6
);
55286 wxPyEndAllowThreads(__tstate
);
55287 if (PyErr_Occurred()) SWIG_fail
;
55289 resultobj
= SWIG_Py_Void();
55296 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
55297 PyObject
*resultobj
= 0;
55298 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
55299 wxWindow
*arg2
= (wxWindow
*) 0 ;
55300 int arg3
= (int) 0 ;
55307 PyObject
* obj0
= 0 ;
55308 PyObject
* obj1
= 0 ;
55309 PyObject
* obj2
= 0 ;
55310 char * kwnames
[] = {
55311 (char *) "self",(char *) "sibling",(char *) "marg", NULL
55314 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
55315 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
55316 if (!SWIG_IsOK(res1
)) {
55317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_LeftOf" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
55319 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
55320 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
55321 if (!SWIG_IsOK(res2
)) {
55322 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IndividualLayoutConstraint_LeftOf" "', expected argument " "2"" of type '" "wxWindow *""'");
55324 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
55326 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
55327 if (!SWIG_IsOK(ecode3
)) {
55328 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IndividualLayoutConstraint_LeftOf" "', expected argument " "3"" of type '" "int""'");
55330 arg3
= static_cast< int >(val3
);
55333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
55334 (arg1
)->LeftOf(arg2
,arg3
);
55335 wxPyEndAllowThreads(__tstate
);
55336 if (PyErr_Occurred()) SWIG_fail
;
55338 resultobj
= SWIG_Py_Void();
55345 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
55346 PyObject
*resultobj
= 0;
55347 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
55348 wxWindow
*arg2
= (wxWindow
*) 0 ;
55349 int arg3
= (int) 0 ;
55356 PyObject
* obj0
= 0 ;
55357 PyObject
* obj1
= 0 ;
55358 PyObject
* obj2
= 0 ;
55359 char * kwnames
[] = {
55360 (char *) "self",(char *) "sibling",(char *) "marg", NULL
55363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
55364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
55365 if (!SWIG_IsOK(res1
)) {
55366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_RightOf" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
55368 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
55369 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
55370 if (!SWIG_IsOK(res2
)) {
55371 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IndividualLayoutConstraint_RightOf" "', expected argument " "2"" of type '" "wxWindow *""'");
55373 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
55375 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
55376 if (!SWIG_IsOK(ecode3
)) {
55377 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IndividualLayoutConstraint_RightOf" "', expected argument " "3"" of type '" "int""'");
55379 arg3
= static_cast< int >(val3
);
55382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
55383 (arg1
)->RightOf(arg2
,arg3
);
55384 wxPyEndAllowThreads(__tstate
);
55385 if (PyErr_Occurred()) SWIG_fail
;
55387 resultobj
= SWIG_Py_Void();
55394 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
55395 PyObject
*resultobj
= 0;
55396 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
55397 wxWindow
*arg2
= (wxWindow
*) 0 ;
55398 int arg3
= (int) 0 ;
55405 PyObject
* obj0
= 0 ;
55406 PyObject
* obj1
= 0 ;
55407 PyObject
* obj2
= 0 ;
55408 char * kwnames
[] = {
55409 (char *) "self",(char *) "sibling",(char *) "marg", NULL
55412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
55413 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
55414 if (!SWIG_IsOK(res1
)) {
55415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_Above" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
55417 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
55418 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
55419 if (!SWIG_IsOK(res2
)) {
55420 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IndividualLayoutConstraint_Above" "', expected argument " "2"" of type '" "wxWindow *""'");
55422 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
55424 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
55425 if (!SWIG_IsOK(ecode3
)) {
55426 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IndividualLayoutConstraint_Above" "', expected argument " "3"" of type '" "int""'");
55428 arg3
= static_cast< int >(val3
);
55431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
55432 (arg1
)->Above(arg2
,arg3
);
55433 wxPyEndAllowThreads(__tstate
);
55434 if (PyErr_Occurred()) SWIG_fail
;
55436 resultobj
= SWIG_Py_Void();
55443 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
55444 PyObject
*resultobj
= 0;
55445 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
55446 wxWindow
*arg2
= (wxWindow
*) 0 ;
55447 int arg3
= (int) 0 ;
55454 PyObject
* obj0
= 0 ;
55455 PyObject
* obj1
= 0 ;
55456 PyObject
* obj2
= 0 ;
55457 char * kwnames
[] = {
55458 (char *) "self",(char *) "sibling",(char *) "marg", NULL
55461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
55462 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
55463 if (!SWIG_IsOK(res1
)) {
55464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_Below" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
55466 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
55467 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
55468 if (!SWIG_IsOK(res2
)) {
55469 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IndividualLayoutConstraint_Below" "', expected argument " "2"" of type '" "wxWindow *""'");
55471 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
55473 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
55474 if (!SWIG_IsOK(ecode3
)) {
55475 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IndividualLayoutConstraint_Below" "', expected argument " "3"" of type '" "int""'");
55477 arg3
= static_cast< int >(val3
);
55480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
55481 (arg1
)->Below(arg2
,arg3
);
55482 wxPyEndAllowThreads(__tstate
);
55483 if (PyErr_Occurred()) SWIG_fail
;
55485 resultobj
= SWIG_Py_Void();
55492 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
55493 PyObject
*resultobj
= 0;
55494 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
55495 wxWindow
*arg2
= (wxWindow
*) 0 ;
55497 int arg4
= (int) 0 ;
55506 PyObject
* obj0
= 0 ;
55507 PyObject
* obj1
= 0 ;
55508 PyObject
* obj2
= 0 ;
55509 PyObject
* obj3
= 0 ;
55510 char * kwnames
[] = {
55511 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
55514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
55515 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
55516 if (!SWIG_IsOK(res1
)) {
55517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_SameAs" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
55519 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
55520 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
55521 if (!SWIG_IsOK(res2
)) {
55522 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IndividualLayoutConstraint_SameAs" "', expected argument " "2"" of type '" "wxWindow *""'");
55524 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
55525 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
55526 if (!SWIG_IsOK(ecode3
)) {
55527 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IndividualLayoutConstraint_SameAs" "', expected argument " "3"" of type '" "wxEdge""'");
55529 arg3
= static_cast< wxEdge
>(val3
);
55531 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
55532 if (!SWIG_IsOK(ecode4
)) {
55533 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "IndividualLayoutConstraint_SameAs" "', expected argument " "4"" of type '" "int""'");
55535 arg4
= static_cast< int >(val4
);
55538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
55539 (arg1
)->SameAs(arg2
,arg3
,arg4
);
55540 wxPyEndAllowThreads(__tstate
);
55541 if (PyErr_Occurred()) SWIG_fail
;
55543 resultobj
= SWIG_Py_Void();
55550 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
55551 PyObject
*resultobj
= 0;
55552 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
55553 wxWindow
*arg2
= (wxWindow
*) 0 ;
55564 PyObject
* obj0
= 0 ;
55565 PyObject
* obj1
= 0 ;
55566 PyObject
* obj2
= 0 ;
55567 PyObject
* obj3
= 0 ;
55568 char * kwnames
[] = {
55569 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
55572 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
55573 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
55574 if (!SWIG_IsOK(res1
)) {
55575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_PercentOf" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
55577 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
55578 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
55579 if (!SWIG_IsOK(res2
)) {
55580 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IndividualLayoutConstraint_PercentOf" "', expected argument " "2"" of type '" "wxWindow *""'");
55582 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
55583 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
55584 if (!SWIG_IsOK(ecode3
)) {
55585 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IndividualLayoutConstraint_PercentOf" "', expected argument " "3"" of type '" "wxEdge""'");
55587 arg3
= static_cast< wxEdge
>(val3
);
55588 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
55589 if (!SWIG_IsOK(ecode4
)) {
55590 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "IndividualLayoutConstraint_PercentOf" "', expected argument " "4"" of type '" "int""'");
55592 arg4
= static_cast< int >(val4
);
55594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
55595 (arg1
)->PercentOf(arg2
,arg3
,arg4
);
55596 wxPyEndAllowThreads(__tstate
);
55597 if (PyErr_Occurred()) SWIG_fail
;
55599 resultobj
= SWIG_Py_Void();
55606 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_Absolute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
55607 PyObject
*resultobj
= 0;
55608 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
55614 PyObject
* obj0
= 0 ;
55615 PyObject
* obj1
= 0 ;
55616 char * kwnames
[] = {
55617 (char *) "self",(char *) "val", NULL
55620 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
55621 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
55622 if (!SWIG_IsOK(res1
)) {
55623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_Absolute" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
55625 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
55626 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
55627 if (!SWIG_IsOK(ecode2
)) {
55628 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IndividualLayoutConstraint_Absolute" "', expected argument " "2"" of type '" "int""'");
55630 arg2
= static_cast< int >(val2
);
55632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
55633 (arg1
)->Absolute(arg2
);
55634 wxPyEndAllowThreads(__tstate
);
55635 if (PyErr_Occurred()) SWIG_fail
;
55637 resultobj
= SWIG_Py_Void();
55644 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
55645 PyObject
*resultobj
= 0;
55646 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
55649 PyObject
*swig_obj
[1] ;
55651 if (!args
) SWIG_fail
;
55652 swig_obj
[0] = args
;
55653 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
55654 if (!SWIG_IsOK(res1
)) {
55655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_Unconstrained" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
55657 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
55659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
55660 (arg1
)->Unconstrained();
55661 wxPyEndAllowThreads(__tstate
);
55662 if (PyErr_Occurred()) SWIG_fail
;
55664 resultobj
= SWIG_Py_Void();
55671 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
55672 PyObject
*resultobj
= 0;
55673 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
55676 PyObject
*swig_obj
[1] ;
55678 if (!args
) SWIG_fail
;
55679 swig_obj
[0] = args
;
55680 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
55681 if (!SWIG_IsOK(res1
)) {
55682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_AsIs" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
55684 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
55686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
55688 wxPyEndAllowThreads(__tstate
);
55689 if (PyErr_Occurred()) SWIG_fail
;
55691 resultobj
= SWIG_Py_Void();
55698 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
55699 PyObject
*resultobj
= 0;
55700 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
55701 wxWindow
*result
= 0 ;
55704 PyObject
*swig_obj
[1] ;
55706 if (!args
) SWIG_fail
;
55707 swig_obj
[0] = args
;
55708 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
55709 if (!SWIG_IsOK(res1
)) {
55710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_GetOtherWindow" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
55712 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
55714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
55715 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
55716 wxPyEndAllowThreads(__tstate
);
55717 if (PyErr_Occurred()) SWIG_fail
;
55720 resultobj
= wxPyMake_wxObject(result
, 0);
55728 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
55729 PyObject
*resultobj
= 0;
55730 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
55734 PyObject
*swig_obj
[1] ;
55736 if (!args
) SWIG_fail
;
55737 swig_obj
[0] = args
;
55738 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
55739 if (!SWIG_IsOK(res1
)) {
55740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_GetMyEdge" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint const *""'");
55742 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
55744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
55745 result
= (wxEdge
)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
55746 wxPyEndAllowThreads(__tstate
);
55747 if (PyErr_Occurred()) SWIG_fail
;
55749 resultobj
= SWIG_From_int(static_cast< int >(result
));
55756 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
55757 PyObject
*resultobj
= 0;
55758 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
55764 PyObject
* obj0
= 0 ;
55765 PyObject
* obj1
= 0 ;
55766 char * kwnames
[] = {
55767 (char *) "self",(char *) "which", NULL
55770 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
55771 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
55772 if (!SWIG_IsOK(res1
)) {
55773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_SetEdge" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
55775 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
55776 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
55777 if (!SWIG_IsOK(ecode2
)) {
55778 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IndividualLayoutConstraint_SetEdge" "', expected argument " "2"" of type '" "wxEdge""'");
55780 arg2
= static_cast< wxEdge
>(val2
);
55782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
55783 (arg1
)->SetEdge(arg2
);
55784 wxPyEndAllowThreads(__tstate
);
55785 if (PyErr_Occurred()) SWIG_fail
;
55787 resultobj
= SWIG_Py_Void();
55794 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
55795 PyObject
*resultobj
= 0;
55796 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
55802 PyObject
* obj0
= 0 ;
55803 PyObject
* obj1
= 0 ;
55804 char * kwnames
[] = {
55805 (char *) "self",(char *) "v", NULL
55808 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
55809 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
55810 if (!SWIG_IsOK(res1
)) {
55811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_SetValue" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
55813 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
55814 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
55815 if (!SWIG_IsOK(ecode2
)) {
55816 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IndividualLayoutConstraint_SetValue" "', expected argument " "2"" of type '" "int""'");
55818 arg2
= static_cast< int >(val2
);
55820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
55821 (arg1
)->SetValue(arg2
);
55822 wxPyEndAllowThreads(__tstate
);
55823 if (PyErr_Occurred()) SWIG_fail
;
55825 resultobj
= SWIG_Py_Void();
55832 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
55833 PyObject
*resultobj
= 0;
55834 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
55838 PyObject
*swig_obj
[1] ;
55840 if (!args
) SWIG_fail
;
55841 swig_obj
[0] = args
;
55842 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
55843 if (!SWIG_IsOK(res1
)) {
55844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_GetMargin" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
55846 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
55848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
55849 result
= (int)(arg1
)->GetMargin();
55850 wxPyEndAllowThreads(__tstate
);
55851 if (PyErr_Occurred()) SWIG_fail
;
55853 resultobj
= SWIG_From_int(static_cast< int >(result
));
55860 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
55861 PyObject
*resultobj
= 0;
55862 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
55868 PyObject
* obj0
= 0 ;
55869 PyObject
* obj1
= 0 ;
55870 char * kwnames
[] = {
55871 (char *) "self",(char *) "m", NULL
55874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
55875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
55876 if (!SWIG_IsOK(res1
)) {
55877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_SetMargin" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
55879 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
55880 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
55881 if (!SWIG_IsOK(ecode2
)) {
55882 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IndividualLayoutConstraint_SetMargin" "', expected argument " "2"" of type '" "int""'");
55884 arg2
= static_cast< int >(val2
);
55886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
55887 (arg1
)->SetMargin(arg2
);
55888 wxPyEndAllowThreads(__tstate
);
55889 if (PyErr_Occurred()) SWIG_fail
;
55891 resultobj
= SWIG_Py_Void();
55898 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
55899 PyObject
*resultobj
= 0;
55900 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
55904 PyObject
*swig_obj
[1] ;
55906 if (!args
) SWIG_fail
;
55907 swig_obj
[0] = args
;
55908 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
55909 if (!SWIG_IsOK(res1
)) {
55910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_GetValue" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint const *""'");
55912 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
55914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
55915 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
55916 wxPyEndAllowThreads(__tstate
);
55917 if (PyErr_Occurred()) SWIG_fail
;
55919 resultobj
= SWIG_From_int(static_cast< int >(result
));
55926 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
55927 PyObject
*resultobj
= 0;
55928 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
55932 PyObject
*swig_obj
[1] ;
55934 if (!args
) SWIG_fail
;
55935 swig_obj
[0] = args
;
55936 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
55937 if (!SWIG_IsOK(res1
)) {
55938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_GetPercent" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint const *""'");
55940 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
55942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
55943 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
55944 wxPyEndAllowThreads(__tstate
);
55945 if (PyErr_Occurred()) SWIG_fail
;
55947 resultobj
= SWIG_From_int(static_cast< int >(result
));
55954 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
55955 PyObject
*resultobj
= 0;
55956 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
55960 PyObject
*swig_obj
[1] ;
55962 if (!args
) SWIG_fail
;
55963 swig_obj
[0] = args
;
55964 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
55965 if (!SWIG_IsOK(res1
)) {
55966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_GetOtherEdge" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint const *""'");
55968 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
55970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
55971 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
55972 wxPyEndAllowThreads(__tstate
);
55973 if (PyErr_Occurred()) SWIG_fail
;
55975 resultobj
= SWIG_From_int(static_cast< int >(result
));
55982 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
55983 PyObject
*resultobj
= 0;
55984 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
55988 PyObject
*swig_obj
[1] ;
55990 if (!args
) SWIG_fail
;
55991 swig_obj
[0] = args
;
55992 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
55993 if (!SWIG_IsOK(res1
)) {
55994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_GetDone" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint const *""'");
55996 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
55998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
55999 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
56000 wxPyEndAllowThreads(__tstate
);
56001 if (PyErr_Occurred()) SWIG_fail
;
56004 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
56012 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_SetDone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
56013 PyObject
*resultobj
= 0;
56014 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
56020 PyObject
* obj0
= 0 ;
56021 PyObject
* obj1
= 0 ;
56022 char * kwnames
[] = {
56023 (char *) "self",(char *) "d", NULL
56026 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
56027 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
56028 if (!SWIG_IsOK(res1
)) {
56029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_SetDone" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
56031 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
56032 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
56033 if (!SWIG_IsOK(ecode2
)) {
56034 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IndividualLayoutConstraint_SetDone" "', expected argument " "2"" of type '" "bool""'");
56036 arg2
= static_cast< bool >(val2
);
56038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
56039 (arg1
)->SetDone(arg2
);
56040 wxPyEndAllowThreads(__tstate
);
56041 if (PyErr_Occurred()) SWIG_fail
;
56043 resultobj
= SWIG_Py_Void();
56050 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
56051 PyObject
*resultobj
= 0;
56052 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
56053 wxRelationship result
;
56056 PyObject
*swig_obj
[1] ;
56058 if (!args
) SWIG_fail
;
56059 swig_obj
[0] = args
;
56060 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
56061 if (!SWIG_IsOK(res1
)) {
56062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_GetRelationship" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
56064 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
56066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
56067 result
= (wxRelationship
)(arg1
)->GetRelationship();
56068 wxPyEndAllowThreads(__tstate
);
56069 if (PyErr_Occurred()) SWIG_fail
;
56071 resultobj
= SWIG_From_int(static_cast< int >(result
));
56078 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
56079 PyObject
*resultobj
= 0;
56080 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
56081 wxRelationship arg2
;
56086 PyObject
* obj0
= 0 ;
56087 PyObject
* obj1
= 0 ;
56088 char * kwnames
[] = {
56089 (char *) "self",(char *) "r", NULL
56092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
56093 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
56094 if (!SWIG_IsOK(res1
)) {
56095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_SetRelationship" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
56097 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
56098 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
56099 if (!SWIG_IsOK(ecode2
)) {
56100 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IndividualLayoutConstraint_SetRelationship" "', expected argument " "2"" of type '" "wxRelationship""'");
56102 arg2
= static_cast< wxRelationship
>(val2
);
56104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
56105 (arg1
)->SetRelationship(arg2
);
56106 wxPyEndAllowThreads(__tstate
);
56107 if (PyErr_Occurred()) SWIG_fail
;
56109 resultobj
= SWIG_Py_Void();
56116 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
56117 PyObject
*resultobj
= 0;
56118 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
56119 wxWindow
*arg2
= (wxWindow
*) 0 ;
56125 PyObject
* obj0
= 0 ;
56126 PyObject
* obj1
= 0 ;
56127 char * kwnames
[] = {
56128 (char *) "self",(char *) "otherW", NULL
56131 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
56132 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
56133 if (!SWIG_IsOK(res1
)) {
56134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_ResetIfWin" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
56136 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
56137 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
56138 if (!SWIG_IsOK(res2
)) {
56139 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IndividualLayoutConstraint_ResetIfWin" "', expected argument " "2"" of type '" "wxWindow *""'");
56141 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
56143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
56144 result
= (bool)(arg1
)->ResetIfWin(arg2
);
56145 wxPyEndAllowThreads(__tstate
);
56146 if (PyErr_Occurred()) SWIG_fail
;
56149 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
56157 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
56158 PyObject
*resultobj
= 0;
56159 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
56160 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
56161 wxWindow
*arg3
= (wxWindow
*) 0 ;
56169 PyObject
* obj0
= 0 ;
56170 PyObject
* obj1
= 0 ;
56171 PyObject
* obj2
= 0 ;
56172 char * kwnames
[] = {
56173 (char *) "self",(char *) "constraints",(char *) "win", NULL
56176 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
56177 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
56178 if (!SWIG_IsOK(res1
)) {
56179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_SatisfyConstraint" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
56181 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
56182 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
56183 if (!SWIG_IsOK(res2
)) {
56184 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IndividualLayoutConstraint_SatisfyConstraint" "', expected argument " "2"" of type '" "wxLayoutConstraints *""'");
56186 arg2
= reinterpret_cast< wxLayoutConstraints
* >(argp2
);
56187 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
56188 if (!SWIG_IsOK(res3
)) {
56189 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "IndividualLayoutConstraint_SatisfyConstraint" "', expected argument " "3"" of type '" "wxWindow *""'");
56191 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
56193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
56194 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
56195 wxPyEndAllowThreads(__tstate
);
56196 if (PyErr_Occurred()) SWIG_fail
;
56199 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
56207 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
56208 PyObject
*resultobj
= 0;
56209 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
56211 wxWindow
*arg3
= (wxWindow
*) 0 ;
56212 wxWindow
*arg4
= (wxWindow
*) 0 ;
56222 PyObject
* obj0
= 0 ;
56223 PyObject
* obj1
= 0 ;
56224 PyObject
* obj2
= 0 ;
56225 PyObject
* obj3
= 0 ;
56226 char * kwnames
[] = {
56227 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
56230 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
56231 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
56232 if (!SWIG_IsOK(res1
)) {
56233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_GetEdge" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint const *""'");
56235 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
56236 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
56237 if (!SWIG_IsOK(ecode2
)) {
56238 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IndividualLayoutConstraint_GetEdge" "', expected argument " "2"" of type '" "wxEdge""'");
56240 arg2
= static_cast< wxEdge
>(val2
);
56241 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
56242 if (!SWIG_IsOK(res3
)) {
56243 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "IndividualLayoutConstraint_GetEdge" "', expected argument " "3"" of type '" "wxWindow *""'");
56245 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
56246 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
56247 if (!SWIG_IsOK(res4
)) {
56248 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "IndividualLayoutConstraint_GetEdge" "', expected argument " "4"" of type '" "wxWindow *""'");
56250 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
56252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
56253 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge(arg2
,arg3
,arg4
);
56254 wxPyEndAllowThreads(__tstate
);
56255 if (PyErr_Occurred()) SWIG_fail
;
56257 resultobj
= SWIG_From_int(static_cast< int >(result
));
56264 SWIGINTERN PyObject
*IndividualLayoutConstraint_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
56266 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
56267 SWIG_TypeNewClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_NewClientData(obj
));
56268 return SWIG_Py_Void();
56271 SWIGINTERN PyObject
*_wrap_LayoutConstraints_left_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
56272 PyObject
*resultobj
= 0;
56273 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
56274 wxIndividualLayoutConstraint
*result
= 0 ;
56277 PyObject
*swig_obj
[1] ;
56279 if (!args
) SWIG_fail
;
56280 swig_obj
[0] = args
;
56281 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
56282 if (!SWIG_IsOK(res1
)) {
56283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutConstraints_left_get" "', expected argument " "1"" of type '" "wxLayoutConstraints *""'");
56285 arg1
= reinterpret_cast< wxLayoutConstraints
* >(argp1
);
56286 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
56287 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
56294 SWIGINTERN PyObject
*_wrap_LayoutConstraints_top_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
56295 PyObject
*resultobj
= 0;
56296 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
56297 wxIndividualLayoutConstraint
*result
= 0 ;
56300 PyObject
*swig_obj
[1] ;
56302 if (!args
) SWIG_fail
;
56303 swig_obj
[0] = args
;
56304 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
56305 if (!SWIG_IsOK(res1
)) {
56306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutConstraints_top_get" "', expected argument " "1"" of type '" "wxLayoutConstraints *""'");
56308 arg1
= reinterpret_cast< wxLayoutConstraints
* >(argp1
);
56309 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
56310 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
56317 SWIGINTERN PyObject
*_wrap_LayoutConstraints_right_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
56318 PyObject
*resultobj
= 0;
56319 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
56320 wxIndividualLayoutConstraint
*result
= 0 ;
56323 PyObject
*swig_obj
[1] ;
56325 if (!args
) SWIG_fail
;
56326 swig_obj
[0] = args
;
56327 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
56328 if (!SWIG_IsOK(res1
)) {
56329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutConstraints_right_get" "', expected argument " "1"" of type '" "wxLayoutConstraints *""'");
56331 arg1
= reinterpret_cast< wxLayoutConstraints
* >(argp1
);
56332 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->right
);
56333 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
56340 SWIGINTERN PyObject
*_wrap_LayoutConstraints_bottom_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
56341 PyObject
*resultobj
= 0;
56342 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
56343 wxIndividualLayoutConstraint
*result
= 0 ;
56346 PyObject
*swig_obj
[1] ;
56348 if (!args
) SWIG_fail
;
56349 swig_obj
[0] = args
;
56350 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
56351 if (!SWIG_IsOK(res1
)) {
56352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutConstraints_bottom_get" "', expected argument " "1"" of type '" "wxLayoutConstraints *""'");
56354 arg1
= reinterpret_cast< wxLayoutConstraints
* >(argp1
);
56355 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->bottom
);
56356 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
56363 SWIGINTERN PyObject
*_wrap_LayoutConstraints_width_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
56364 PyObject
*resultobj
= 0;
56365 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
56366 wxIndividualLayoutConstraint
*result
= 0 ;
56369 PyObject
*swig_obj
[1] ;
56371 if (!args
) SWIG_fail
;
56372 swig_obj
[0] = args
;
56373 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
56374 if (!SWIG_IsOK(res1
)) {
56375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutConstraints_width_get" "', expected argument " "1"" of type '" "wxLayoutConstraints *""'");
56377 arg1
= reinterpret_cast< wxLayoutConstraints
* >(argp1
);
56378 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->width
);
56379 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
56386 SWIGINTERN PyObject
*_wrap_LayoutConstraints_height_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
56387 PyObject
*resultobj
= 0;
56388 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
56389 wxIndividualLayoutConstraint
*result
= 0 ;
56392 PyObject
*swig_obj
[1] ;
56394 if (!args
) SWIG_fail
;
56395 swig_obj
[0] = args
;
56396 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
56397 if (!SWIG_IsOK(res1
)) {
56398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutConstraints_height_get" "', expected argument " "1"" of type '" "wxLayoutConstraints *""'");
56400 arg1
= reinterpret_cast< wxLayoutConstraints
* >(argp1
);
56401 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->height
);
56402 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
56409 SWIGINTERN PyObject
*_wrap_LayoutConstraints_centreX_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
56410 PyObject
*resultobj
= 0;
56411 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
56412 wxIndividualLayoutConstraint
*result
= 0 ;
56415 PyObject
*swig_obj
[1] ;
56417 if (!args
) SWIG_fail
;
56418 swig_obj
[0] = args
;
56419 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
56420 if (!SWIG_IsOK(res1
)) {
56421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutConstraints_centreX_get" "', expected argument " "1"" of type '" "wxLayoutConstraints *""'");
56423 arg1
= reinterpret_cast< wxLayoutConstraints
* >(argp1
);
56424 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreX
);
56425 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
56432 SWIGINTERN PyObject
*_wrap_LayoutConstraints_centreY_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
56433 PyObject
*resultobj
= 0;
56434 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
56435 wxIndividualLayoutConstraint
*result
= 0 ;
56438 PyObject
*swig_obj
[1] ;
56440 if (!args
) SWIG_fail
;
56441 swig_obj
[0] = args
;
56442 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
56443 if (!SWIG_IsOK(res1
)) {
56444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutConstraints_centreY_get" "', expected argument " "1"" of type '" "wxLayoutConstraints *""'");
56446 arg1
= reinterpret_cast< wxLayoutConstraints
* >(argp1
);
56447 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreY
);
56448 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
56455 SWIGINTERN PyObject
*_wrap_new_LayoutConstraints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
56456 PyObject
*resultobj
= 0;
56457 wxLayoutConstraints
*result
= 0 ;
56459 if (!SWIG_Python_UnpackTuple(args
,"new_LayoutConstraints",0,0,0)) SWIG_fail
;
56461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
56462 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
56463 wxPyEndAllowThreads(__tstate
);
56464 if (PyErr_Occurred()) SWIG_fail
;
56466 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_NEW
| 0 );
56473 SWIGINTERN PyObject
*_wrap_delete_LayoutConstraints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
56474 PyObject
*resultobj
= 0;
56475 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
56478 PyObject
*swig_obj
[1] ;
56480 if (!args
) SWIG_fail
;
56481 swig_obj
[0] = args
;
56482 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_DISOWN
| 0 );
56483 if (!SWIG_IsOK(res1
)) {
56484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_LayoutConstraints" "', expected argument " "1"" of type '" "wxLayoutConstraints *""'");
56486 arg1
= reinterpret_cast< wxLayoutConstraints
* >(argp1
);
56488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
56491 wxPyEndAllowThreads(__tstate
);
56492 if (PyErr_Occurred()) SWIG_fail
;
56494 resultobj
= SWIG_Py_Void();
56501 SWIGINTERN PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
56502 PyObject
*resultobj
= 0;
56503 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
56504 wxWindow
*arg2
= (wxWindow
*) 0 ;
56505 int *arg3
= (int *) 0 ;
56512 int res3
= SWIG_TMPOBJ
;
56513 PyObject
* obj0
= 0 ;
56514 PyObject
* obj1
= 0 ;
56515 char * kwnames
[] = {
56516 (char *) "self",(char *) "win", NULL
56520 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
56521 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
56522 if (!SWIG_IsOK(res1
)) {
56523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutConstraints_SatisfyConstraints" "', expected argument " "1"" of type '" "wxLayoutConstraints *""'");
56525 arg1
= reinterpret_cast< wxLayoutConstraints
* >(argp1
);
56526 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
56527 if (!SWIG_IsOK(res2
)) {
56528 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutConstraints_SatisfyConstraints" "', expected argument " "2"" of type '" "wxWindow *""'");
56530 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
56532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
56533 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
56534 wxPyEndAllowThreads(__tstate
);
56535 if (PyErr_Occurred()) SWIG_fail
;
56538 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
56540 if (SWIG_IsTmpObj(res3
)) {
56541 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
56543 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
56544 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
56552 SWIGINTERN PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
56553 PyObject
*resultobj
= 0;
56554 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
56558 PyObject
*swig_obj
[1] ;
56560 if (!args
) SWIG_fail
;
56561 swig_obj
[0] = args
;
56562 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
56563 if (!SWIG_IsOK(res1
)) {
56564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutConstraints_AreSatisfied" "', expected argument " "1"" of type '" "wxLayoutConstraints const *""'");
56566 arg1
= reinterpret_cast< wxLayoutConstraints
* >(argp1
);
56568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
56569 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
56570 wxPyEndAllowThreads(__tstate
);
56571 if (PyErr_Occurred()) SWIG_fail
;
56574 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
56582 SWIGINTERN PyObject
*LayoutConstraints_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
56584 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
56585 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutConstraints
, SWIG_NewClientData(obj
));
56586 return SWIG_Py_Void();
56589 SWIGINTERN PyObject
*LayoutConstraints_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
56590 return SWIG_Python_InitShadowInstance(args
);
56593 static PyMethodDef SwigMethods
[] = {
56594 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
, NULL
},
56595 { (char *)"Object_GetClassName", (PyCFunction
)_wrap_Object_GetClassName
, METH_O
, NULL
},
56596 { (char *)"Object_Destroy", (PyCFunction
)_wrap_Object_Destroy
, METH_O
, NULL
},
56597 { (char *)"Object_IsSameAs", (PyCFunction
) _wrap_Object_IsSameAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56598 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
, NULL
},
56599 { (char *)"Size_width_set", _wrap_Size_width_set
, METH_VARARGS
, NULL
},
56600 { (char *)"Size_width_get", (PyCFunction
)_wrap_Size_width_get
, METH_O
, NULL
},
56601 { (char *)"Size_height_set", _wrap_Size_height_set
, METH_VARARGS
, NULL
},
56602 { (char *)"Size_height_get", (PyCFunction
)_wrap_Size_height_get
, METH_O
, NULL
},
56603 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56604 { (char *)"delete_Size", (PyCFunction
)_wrap_delete_Size
, METH_O
, NULL
},
56605 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56606 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56607 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56608 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56609 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56610 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56611 { (char *)"Size_IncBy", (PyCFunction
) _wrap_Size_IncBy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56612 { (char *)"Size_DecBy", (PyCFunction
) _wrap_Size_DecBy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56613 { (char *)"Size_Scale", (PyCFunction
) _wrap_Size_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56614 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56615 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56616 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56617 { (char *)"Size_GetWidth", (PyCFunction
)_wrap_Size_GetWidth
, METH_O
, NULL
},
56618 { (char *)"Size_GetHeight", (PyCFunction
)_wrap_Size_GetHeight
, METH_O
, NULL
},
56619 { (char *)"Size_IsFullySpecified", (PyCFunction
)_wrap_Size_IsFullySpecified
, METH_O
, NULL
},
56620 { (char *)"Size_SetDefaults", (PyCFunction
) _wrap_Size_SetDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56621 { (char *)"Size_Get", (PyCFunction
)_wrap_Size_Get
, METH_O
, NULL
},
56622 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
, NULL
},
56623 { (char *)"Size_swiginit", Size_swiginit
, METH_VARARGS
, NULL
},
56624 { (char *)"RealPoint_x_set", _wrap_RealPoint_x_set
, METH_VARARGS
, NULL
},
56625 { (char *)"RealPoint_x_get", (PyCFunction
)_wrap_RealPoint_x_get
, METH_O
, NULL
},
56626 { (char *)"RealPoint_y_set", _wrap_RealPoint_y_set
, METH_VARARGS
, NULL
},
56627 { (char *)"RealPoint_y_get", (PyCFunction
)_wrap_RealPoint_y_get
, METH_O
, NULL
},
56628 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56629 { (char *)"delete_RealPoint", (PyCFunction
)_wrap_delete_RealPoint
, METH_O
, NULL
},
56630 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56631 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56632 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56633 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56634 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56635 { (char *)"RealPoint_Get", (PyCFunction
)_wrap_RealPoint_Get
, METH_O
, NULL
},
56636 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
, NULL
},
56637 { (char *)"RealPoint_swiginit", RealPoint_swiginit
, METH_VARARGS
, NULL
},
56638 { (char *)"Point_x_set", _wrap_Point_x_set
, METH_VARARGS
, NULL
},
56639 { (char *)"Point_x_get", (PyCFunction
)_wrap_Point_x_get
, METH_O
, NULL
},
56640 { (char *)"Point_y_set", _wrap_Point_y_set
, METH_VARARGS
, NULL
},
56641 { (char *)"Point_y_get", (PyCFunction
)_wrap_Point_y_get
, METH_O
, NULL
},
56642 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56643 { (char *)"delete_Point", (PyCFunction
)_wrap_delete_Point
, METH_O
, NULL
},
56644 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56645 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56646 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56647 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56648 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56649 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56650 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56651 { (char *)"Point_Get", (PyCFunction
)_wrap_Point_Get
, METH_O
, NULL
},
56652 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
, NULL
},
56653 { (char *)"Point_swiginit", Point_swiginit
, METH_VARARGS
, NULL
},
56654 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56655 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56656 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56657 { (char *)"new_RectS", (PyCFunction
) _wrap_new_RectS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56658 { (char *)"delete_Rect", (PyCFunction
)_wrap_delete_Rect
, METH_O
, NULL
},
56659 { (char *)"Rect_GetX", (PyCFunction
)_wrap_Rect_GetX
, METH_O
, NULL
},
56660 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56661 { (char *)"Rect_GetY", (PyCFunction
)_wrap_Rect_GetY
, METH_O
, NULL
},
56662 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56663 { (char *)"Rect_GetWidth", (PyCFunction
)_wrap_Rect_GetWidth
, METH_O
, NULL
},
56664 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56665 { (char *)"Rect_GetHeight", (PyCFunction
)_wrap_Rect_GetHeight
, METH_O
, NULL
},
56666 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56667 { (char *)"Rect_GetPosition", (PyCFunction
)_wrap_Rect_GetPosition
, METH_O
, NULL
},
56668 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56669 { (char *)"Rect_GetSize", (PyCFunction
)_wrap_Rect_GetSize
, METH_O
, NULL
},
56670 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56671 { (char *)"Rect_IsEmpty", (PyCFunction
)_wrap_Rect_IsEmpty
, METH_O
, NULL
},
56672 { (char *)"Rect_GetTopLeft", (PyCFunction
)_wrap_Rect_GetTopLeft
, METH_O
, NULL
},
56673 { (char *)"Rect_SetTopLeft", (PyCFunction
) _wrap_Rect_SetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56674 { (char *)"Rect_GetBottomRight", (PyCFunction
)_wrap_Rect_GetBottomRight
, METH_O
, NULL
},
56675 { (char *)"Rect_SetBottomRight", (PyCFunction
) _wrap_Rect_SetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56676 { (char *)"Rect_GetTopRight", (PyCFunction
)_wrap_Rect_GetTopRight
, METH_O
, NULL
},
56677 { (char *)"Rect_SetTopRight", (PyCFunction
) _wrap_Rect_SetTopRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56678 { (char *)"Rect_GetBottomLeft", (PyCFunction
)_wrap_Rect_GetBottomLeft
, METH_O
, NULL
},
56679 { (char *)"Rect_SetBottomLeft", (PyCFunction
) _wrap_Rect_SetBottomLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56680 { (char *)"Rect_GetLeft", (PyCFunction
)_wrap_Rect_GetLeft
, METH_O
, NULL
},
56681 { (char *)"Rect_GetTop", (PyCFunction
)_wrap_Rect_GetTop
, METH_O
, NULL
},
56682 { (char *)"Rect_GetBottom", (PyCFunction
)_wrap_Rect_GetBottom
, METH_O
, NULL
},
56683 { (char *)"Rect_GetRight", (PyCFunction
)_wrap_Rect_GetRight
, METH_O
, NULL
},
56684 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56685 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56686 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56687 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56688 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56689 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56690 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56691 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56692 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56693 { (char *)"Rect_Union", (PyCFunction
) _wrap_Rect_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56694 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56695 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56696 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56697 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56698 { (char *)"Rect_ContainsXY", (PyCFunction
) _wrap_Rect_ContainsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56699 { (char *)"Rect_Contains", (PyCFunction
) _wrap_Rect_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56700 { (char *)"Rect_ContainsRect", (PyCFunction
) _wrap_Rect_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56701 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56702 { (char *)"Rect_CenterIn", (PyCFunction
) _wrap_Rect_CenterIn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56703 { (char *)"Rect_x_set", _wrap_Rect_x_set
, METH_VARARGS
, NULL
},
56704 { (char *)"Rect_x_get", (PyCFunction
)_wrap_Rect_x_get
, METH_O
, NULL
},
56705 { (char *)"Rect_y_set", _wrap_Rect_y_set
, METH_VARARGS
, NULL
},
56706 { (char *)"Rect_y_get", (PyCFunction
)_wrap_Rect_y_get
, METH_O
, NULL
},
56707 { (char *)"Rect_width_set", _wrap_Rect_width_set
, METH_VARARGS
, NULL
},
56708 { (char *)"Rect_width_get", (PyCFunction
)_wrap_Rect_width_get
, METH_O
, NULL
},
56709 { (char *)"Rect_height_set", _wrap_Rect_height_set
, METH_VARARGS
, NULL
},
56710 { (char *)"Rect_height_get", (PyCFunction
)_wrap_Rect_height_get
, METH_O
, NULL
},
56711 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56712 { (char *)"Rect_Get", (PyCFunction
)_wrap_Rect_Get
, METH_O
, NULL
},
56713 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
, NULL
},
56714 { (char *)"Rect_swiginit", Rect_swiginit
, METH_VARARGS
, NULL
},
56715 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56716 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56717 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56718 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56719 { (char *)"delete_Point2D", (PyCFunction
)_wrap_delete_Point2D
, METH_O
, NULL
},
56720 { (char *)"Point2D_GetFloor", (PyCFunction
)_wrap_Point2D_GetFloor
, METH_O
, NULL
},
56721 { (char *)"Point2D_GetRounded", (PyCFunction
)_wrap_Point2D_GetRounded
, METH_O
, NULL
},
56722 { (char *)"Point2D_GetVectorLength", (PyCFunction
)_wrap_Point2D_GetVectorLength
, METH_O
, NULL
},
56723 { (char *)"Point2D_GetVectorAngle", (PyCFunction
)_wrap_Point2D_GetVectorAngle
, METH_O
, NULL
},
56724 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56725 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56726 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56727 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56728 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56729 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56730 { (char *)"Point2D___neg__", (PyCFunction
)_wrap_Point2D___neg__
, METH_O
, NULL
},
56731 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56732 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56733 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56734 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56735 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56736 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56737 { (char *)"Point2D_x_set", _wrap_Point2D_x_set
, METH_VARARGS
, NULL
},
56738 { (char *)"Point2D_x_get", (PyCFunction
)_wrap_Point2D_x_get
, METH_O
, NULL
},
56739 { (char *)"Point2D_y_set", _wrap_Point2D_y_set
, METH_VARARGS
, NULL
},
56740 { (char *)"Point2D_y_get", (PyCFunction
)_wrap_Point2D_y_get
, METH_O
, NULL
},
56741 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56742 { (char *)"Point2D_Get", (PyCFunction
)_wrap_Point2D_Get
, METH_O
, NULL
},
56743 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
, NULL
},
56744 { (char *)"Point2D_swiginit", Point2D_swiginit
, METH_VARARGS
, NULL
},
56745 { (char *)"new_Rect2D", (PyCFunction
) _wrap_new_Rect2D
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56746 { (char *)"delete_Rect2D", (PyCFunction
)_wrap_delete_Rect2D
, METH_O
, NULL
},
56747 { (char *)"Rect2D_GetPosition", (PyCFunction
)_wrap_Rect2D_GetPosition
, METH_O
, NULL
},
56748 { (char *)"Rect2D_GetSize", (PyCFunction
)_wrap_Rect2D_GetSize
, METH_O
, NULL
},
56749 { (char *)"Rect2D_GetLeft", (PyCFunction
)_wrap_Rect2D_GetLeft
, METH_O
, NULL
},
56750 { (char *)"Rect2D_SetLeft", (PyCFunction
) _wrap_Rect2D_SetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56751 { (char *)"Rect2D_MoveLeftTo", (PyCFunction
) _wrap_Rect2D_MoveLeftTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56752 { (char *)"Rect2D_GetTop", (PyCFunction
)_wrap_Rect2D_GetTop
, METH_O
, NULL
},
56753 { (char *)"Rect2D_SetTop", (PyCFunction
) _wrap_Rect2D_SetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56754 { (char *)"Rect2D_MoveTopTo", (PyCFunction
) _wrap_Rect2D_MoveTopTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56755 { (char *)"Rect2D_GetBottom", (PyCFunction
)_wrap_Rect2D_GetBottom
, METH_O
, NULL
},
56756 { (char *)"Rect2D_SetBottom", (PyCFunction
) _wrap_Rect2D_SetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56757 { (char *)"Rect2D_MoveBottomTo", (PyCFunction
) _wrap_Rect2D_MoveBottomTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56758 { (char *)"Rect2D_GetRight", (PyCFunction
)_wrap_Rect2D_GetRight
, METH_O
, NULL
},
56759 { (char *)"Rect2D_SetRight", (PyCFunction
) _wrap_Rect2D_SetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56760 { (char *)"Rect2D_MoveRightTo", (PyCFunction
) _wrap_Rect2D_MoveRightTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56761 { (char *)"Rect2D_GetLeftTop", (PyCFunction
)_wrap_Rect2D_GetLeftTop
, METH_O
, NULL
},
56762 { (char *)"Rect2D_SetLeftTop", (PyCFunction
) _wrap_Rect2D_SetLeftTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56763 { (char *)"Rect2D_MoveLeftTopTo", (PyCFunction
) _wrap_Rect2D_MoveLeftTopTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56764 { (char *)"Rect2D_GetLeftBottom", (PyCFunction
)_wrap_Rect2D_GetLeftBottom
, METH_O
, NULL
},
56765 { (char *)"Rect2D_SetLeftBottom", (PyCFunction
) _wrap_Rect2D_SetLeftBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56766 { (char *)"Rect2D_MoveLeftBottomTo", (PyCFunction
) _wrap_Rect2D_MoveLeftBottomTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56767 { (char *)"Rect2D_GetRightTop", (PyCFunction
)_wrap_Rect2D_GetRightTop
, METH_O
, NULL
},
56768 { (char *)"Rect2D_SetRightTop", (PyCFunction
) _wrap_Rect2D_SetRightTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56769 { (char *)"Rect2D_MoveRightTopTo", (PyCFunction
) _wrap_Rect2D_MoveRightTopTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56770 { (char *)"Rect2D_GetRightBottom", (PyCFunction
)_wrap_Rect2D_GetRightBottom
, METH_O
, NULL
},
56771 { (char *)"Rect2D_SetRightBottom", (PyCFunction
) _wrap_Rect2D_SetRightBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56772 { (char *)"Rect2D_MoveRightBottomTo", (PyCFunction
) _wrap_Rect2D_MoveRightBottomTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56773 { (char *)"Rect2D_GetCentre", (PyCFunction
)_wrap_Rect2D_GetCentre
, METH_O
, NULL
},
56774 { (char *)"Rect2D_SetCentre", (PyCFunction
) _wrap_Rect2D_SetCentre
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56775 { (char *)"Rect2D_MoveCentreTo", (PyCFunction
) _wrap_Rect2D_MoveCentreTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56776 { (char *)"Rect2D_GetOutcode", (PyCFunction
) _wrap_Rect2D_GetOutcode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56777 { (char *)"Rect2D_Contains", (PyCFunction
) _wrap_Rect2D_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56778 { (char *)"Rect2D_ContainsRect", (PyCFunction
) _wrap_Rect2D_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56779 { (char *)"Rect2D_IsEmpty", (PyCFunction
)_wrap_Rect2D_IsEmpty
, METH_O
, NULL
},
56780 { (char *)"Rect2D_HaveEqualSize", (PyCFunction
) _wrap_Rect2D_HaveEqualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56781 { (char *)"Rect2D_Inset", _wrap_Rect2D_Inset
, METH_VARARGS
, NULL
},
56782 { (char *)"Rect2D_Offset", (PyCFunction
) _wrap_Rect2D_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56783 { (char *)"Rect2D_ConstrainTo", (PyCFunction
) _wrap_Rect2D_ConstrainTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56784 { (char *)"Rect2D_Interpolate", (PyCFunction
) _wrap_Rect2D_Interpolate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56785 { (char *)"Rect2D_Intersect", (PyCFunction
) _wrap_Rect2D_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56786 { (char *)"Rect2D_CreateIntersection", (PyCFunction
) _wrap_Rect2D_CreateIntersection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56787 { (char *)"Rect2D_Intersects", (PyCFunction
) _wrap_Rect2D_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56788 { (char *)"Rect2D_Union", (PyCFunction
) _wrap_Rect2D_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56789 { (char *)"Rect2D_CreateUnion", (PyCFunction
) _wrap_Rect2D_CreateUnion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56790 { (char *)"Rect2D_Scale", _wrap_Rect2D_Scale
, METH_VARARGS
, NULL
},
56791 { (char *)"Rect2D___eq__", (PyCFunction
) _wrap_Rect2D___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56792 { (char *)"Rect2D___ne__", (PyCFunction
) _wrap_Rect2D___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56793 { (char *)"Rect2D_x_set", _wrap_Rect2D_x_set
, METH_VARARGS
, NULL
},
56794 { (char *)"Rect2D_x_get", (PyCFunction
)_wrap_Rect2D_x_get
, METH_O
, NULL
},
56795 { (char *)"Rect2D_y_set", _wrap_Rect2D_y_set
, METH_VARARGS
, NULL
},
56796 { (char *)"Rect2D_y_get", (PyCFunction
)_wrap_Rect2D_y_get
, METH_O
, NULL
},
56797 { (char *)"Rect2D_width_set", _wrap_Rect2D_width_set
, METH_VARARGS
, NULL
},
56798 { (char *)"Rect2D_width_get", (PyCFunction
)_wrap_Rect2D_width_get
, METH_O
, NULL
},
56799 { (char *)"Rect2D_height_set", _wrap_Rect2D_height_set
, METH_VARARGS
, NULL
},
56800 { (char *)"Rect2D_height_get", (PyCFunction
)_wrap_Rect2D_height_get
, METH_O
, NULL
},
56801 { (char *)"Rect2D_Set", (PyCFunction
) _wrap_Rect2D_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56802 { (char *)"Rect2D_Get", (PyCFunction
)_wrap_Rect2D_Get
, METH_O
, NULL
},
56803 { (char *)"Rect2D_swigregister", Rect2D_swigregister
, METH_VARARGS
, NULL
},
56804 { (char *)"Rect2D_swiginit", Rect2D_swiginit
, METH_VARARGS
, NULL
},
56805 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56806 { (char *)"delete_InputStream", (PyCFunction
)_wrap_delete_InputStream
, METH_O
, NULL
},
56807 { (char *)"InputStream_close", (PyCFunction
)_wrap_InputStream_close
, METH_O
, NULL
},
56808 { (char *)"InputStream_flush", (PyCFunction
)_wrap_InputStream_flush
, METH_O
, NULL
},
56809 { (char *)"InputStream_eof", (PyCFunction
)_wrap_InputStream_eof
, METH_O
, NULL
},
56810 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56811 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56812 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56813 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56814 { (char *)"InputStream_tell", (PyCFunction
)_wrap_InputStream_tell
, METH_O
, NULL
},
56815 { (char *)"InputStream_Peek", (PyCFunction
)_wrap_InputStream_Peek
, METH_O
, NULL
},
56816 { (char *)"InputStream_GetC", (PyCFunction
)_wrap_InputStream_GetC
, METH_O
, NULL
},
56817 { (char *)"InputStream_LastRead", (PyCFunction
)_wrap_InputStream_LastRead
, METH_O
, NULL
},
56818 { (char *)"InputStream_CanRead", (PyCFunction
)_wrap_InputStream_CanRead
, METH_O
, NULL
},
56819 { (char *)"InputStream_Eof", (PyCFunction
)_wrap_InputStream_Eof
, METH_O
, NULL
},
56820 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56821 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56822 { (char *)"InputStream_TellI", (PyCFunction
)_wrap_InputStream_TellI
, METH_O
, NULL
},
56823 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
, NULL
},
56824 { (char *)"InputStream_swiginit", InputStream_swiginit
, METH_VARARGS
, NULL
},
56825 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56826 { (char *)"OutputStream_LastWrite", (PyCFunction
)_wrap_OutputStream_LastWrite
, METH_O
, NULL
},
56827 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
, NULL
},
56828 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56829 { (char *)"delete_FSFile", (PyCFunction
)_wrap_delete_FSFile
, METH_O
, NULL
},
56830 { (char *)"FSFile_GetStream", (PyCFunction
)_wrap_FSFile_GetStream
, METH_O
, NULL
},
56831 { (char *)"FSFile_DetachStream", (PyCFunction
)_wrap_FSFile_DetachStream
, METH_O
, NULL
},
56832 { (char *)"FSFile_GetMimeType", (PyCFunction
)_wrap_FSFile_GetMimeType
, METH_O
, NULL
},
56833 { (char *)"FSFile_GetLocation", (PyCFunction
)_wrap_FSFile_GetLocation
, METH_O
, NULL
},
56834 { (char *)"FSFile_GetAnchor", (PyCFunction
)_wrap_FSFile_GetAnchor
, METH_O
, NULL
},
56835 { (char *)"FSFile_GetModificationTime", (PyCFunction
)_wrap_FSFile_GetModificationTime
, METH_O
, NULL
},
56836 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
, NULL
},
56837 { (char *)"FSFile_swiginit", FSFile_swiginit
, METH_VARARGS
, NULL
},
56838 { (char *)"delete_CPPFileSystemHandler", (PyCFunction
)_wrap_delete_CPPFileSystemHandler
, METH_O
, NULL
},
56839 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
56840 { (char *)"new_FileSystemHandler", (PyCFunction
)_wrap_new_FileSystemHandler
, METH_NOARGS
, NULL
},
56841 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56842 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56843 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56844 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56845 { (char *)"FileSystemHandler_FindNext", (PyCFunction
)_wrap_FileSystemHandler_FindNext
, METH_O
, NULL
},
56846 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56847 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56848 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56849 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56850 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56851 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
56852 { (char *)"FileSystemHandler_swiginit", FileSystemHandler_swiginit
, METH_VARARGS
, NULL
},
56853 { (char *)"new_FileSystem", (PyCFunction
)_wrap_new_FileSystem
, METH_NOARGS
, NULL
},
56854 { (char *)"delete_FileSystem", (PyCFunction
)_wrap_delete_FileSystem
, METH_O
, NULL
},
56855 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56856 { (char *)"FileSystem_GetPath", (PyCFunction
)_wrap_FileSystem_GetPath
, METH_O
, NULL
},
56857 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56858 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56859 { (char *)"FileSystem_FindNext", (PyCFunction
)_wrap_FileSystem_FindNext
, METH_O
, NULL
},
56860 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56861 { (char *)"FileSystem_RemoveHandler", (PyCFunction
) _wrap_FileSystem_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56862 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
)_wrap_FileSystem_CleanUpHandlers
, METH_NOARGS
, NULL
},
56863 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56864 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56865 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
, NULL
},
56866 { (char *)"FileSystem_swiginit", FileSystem_swiginit
, METH_VARARGS
, NULL
},
56867 { (char *)"new_InternetFSHandler", (PyCFunction
)_wrap_new_InternetFSHandler
, METH_NOARGS
, NULL
},
56868 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56869 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56870 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
, NULL
},
56871 { (char *)"InternetFSHandler_swiginit", InternetFSHandler_swiginit
, METH_VARARGS
, NULL
},
56872 { (char *)"new_ZipFSHandler", (PyCFunction
)_wrap_new_ZipFSHandler
, METH_NOARGS
, NULL
},
56873 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56874 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56875 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56876 { (char *)"ZipFSHandler_FindNext", (PyCFunction
)_wrap_ZipFSHandler_FindNext
, METH_O
, NULL
},
56877 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
, NULL
},
56878 { (char *)"ZipFSHandler_swiginit", ZipFSHandler_swiginit
, METH_VARARGS
, NULL
},
56879 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56880 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56881 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56882 { (char *)"new_MemoryFSHandler", (PyCFunction
)_wrap_new_MemoryFSHandler
, METH_NOARGS
, NULL
},
56883 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56884 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56885 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56886 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56887 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
)_wrap_MemoryFSHandler_FindNext
, METH_O
, NULL
},
56888 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
, NULL
},
56889 { (char *)"MemoryFSHandler_swiginit", MemoryFSHandler_swiginit
, METH_VARARGS
, NULL
},
56890 { (char *)"ImageHandler_GetName", (PyCFunction
)_wrap_ImageHandler_GetName
, METH_O
, NULL
},
56891 { (char *)"ImageHandler_GetExtension", (PyCFunction
)_wrap_ImageHandler_GetExtension
, METH_O
, NULL
},
56892 { (char *)"ImageHandler_GetType", (PyCFunction
)_wrap_ImageHandler_GetType
, METH_O
, NULL
},
56893 { (char *)"ImageHandler_GetMimeType", (PyCFunction
)_wrap_ImageHandler_GetMimeType
, METH_O
, NULL
},
56894 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56895 { (char *)"ImageHandler_CanReadStream", (PyCFunction
) _wrap_ImageHandler_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56896 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56897 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56898 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56899 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56900 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
, NULL
},
56901 { (char *)"new_PyImageHandler", (PyCFunction
)_wrap_new_PyImageHandler
, METH_NOARGS
, NULL
},
56902 { (char *)"PyImageHandler__SetSelf", (PyCFunction
) _wrap_PyImageHandler__SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56903 { (char *)"PyImageHandler_swigregister", PyImageHandler_swigregister
, METH_VARARGS
, NULL
},
56904 { (char *)"PyImageHandler_swiginit", PyImageHandler_swiginit
, METH_VARARGS
, NULL
},
56905 { (char *)"new_ImageHistogram", (PyCFunction
)_wrap_new_ImageHistogram
, METH_NOARGS
, NULL
},
56906 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56907 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56908 { (char *)"ImageHistogram_GetCount", (PyCFunction
) _wrap_ImageHistogram_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56909 { (char *)"ImageHistogram_GetCountRGB", (PyCFunction
) _wrap_ImageHistogram_GetCountRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56910 { (char *)"ImageHistogram_GetCountColour", (PyCFunction
) _wrap_ImageHistogram_GetCountColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56911 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
, NULL
},
56912 { (char *)"ImageHistogram_swiginit", ImageHistogram_swiginit
, METH_VARARGS
, NULL
},
56913 { (char *)"new_Image_RGBValue", (PyCFunction
) _wrap_new_Image_RGBValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56914 { (char *)"Image_RGBValue_red_set", _wrap_Image_RGBValue_red_set
, METH_VARARGS
, NULL
},
56915 { (char *)"Image_RGBValue_red_get", (PyCFunction
)_wrap_Image_RGBValue_red_get
, METH_O
, NULL
},
56916 { (char *)"Image_RGBValue_green_set", _wrap_Image_RGBValue_green_set
, METH_VARARGS
, NULL
},
56917 { (char *)"Image_RGBValue_green_get", (PyCFunction
)_wrap_Image_RGBValue_green_get
, METH_O
, NULL
},
56918 { (char *)"Image_RGBValue_blue_set", _wrap_Image_RGBValue_blue_set
, METH_VARARGS
, NULL
},
56919 { (char *)"Image_RGBValue_blue_get", (PyCFunction
)_wrap_Image_RGBValue_blue_get
, METH_O
, NULL
},
56920 { (char *)"Image_RGBValue_swigregister", Image_RGBValue_swigregister
, METH_VARARGS
, NULL
},
56921 { (char *)"Image_RGBValue_swiginit", Image_RGBValue_swiginit
, METH_VARARGS
, NULL
},
56922 { (char *)"new_Image_HSVValue", (PyCFunction
) _wrap_new_Image_HSVValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56923 { (char *)"Image_HSVValue_hue_set", _wrap_Image_HSVValue_hue_set
, METH_VARARGS
, NULL
},
56924 { (char *)"Image_HSVValue_hue_get", (PyCFunction
)_wrap_Image_HSVValue_hue_get
, METH_O
, NULL
},
56925 { (char *)"Image_HSVValue_saturation_set", _wrap_Image_HSVValue_saturation_set
, METH_VARARGS
, NULL
},
56926 { (char *)"Image_HSVValue_saturation_get", (PyCFunction
)_wrap_Image_HSVValue_saturation_get
, METH_O
, NULL
},
56927 { (char *)"Image_HSVValue_value_set", _wrap_Image_HSVValue_value_set
, METH_VARARGS
, NULL
},
56928 { (char *)"Image_HSVValue_value_get", (PyCFunction
)_wrap_Image_HSVValue_value_get
, METH_O
, NULL
},
56929 { (char *)"Image_HSVValue_swigregister", Image_HSVValue_swigregister
, METH_VARARGS
, NULL
},
56930 { (char *)"Image_HSVValue_swiginit", Image_HSVValue_swiginit
, METH_VARARGS
, NULL
},
56931 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56932 { (char *)"delete_Image", (PyCFunction
)_wrap_delete_Image
, METH_O
, NULL
},
56933 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56934 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56935 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56936 { (char *)"new_EmptyImage", (PyCFunction
) _wrap_new_EmptyImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56937 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56938 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56939 { (char *)"new_ImageFromDataWithAlpha", (PyCFunction
) _wrap_new_ImageFromDataWithAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56940 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56941 { (char *)"Image_Destroy", (PyCFunction
)_wrap_Image_Destroy
, METH_O
, NULL
},
56942 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56943 { (char *)"Image_ResampleBox", (PyCFunction
) _wrap_Image_ResampleBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56944 { (char *)"Image_ResampleBicubic", (PyCFunction
) _wrap_Image_ResampleBicubic
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56945 { (char *)"Image_Blur", (PyCFunction
) _wrap_Image_Blur
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56946 { (char *)"Image_BlurHorizontal", (PyCFunction
) _wrap_Image_BlurHorizontal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56947 { (char *)"Image_BlurVertical", (PyCFunction
) _wrap_Image_BlurVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56948 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56949 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56950 { (char *)"Image_Resize", (PyCFunction
) _wrap_Image_Resize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56951 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56952 { (char *)"Image_SetRGBRect", (PyCFunction
) _wrap_Image_SetRGBRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56953 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56954 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56955 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56956 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56957 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56958 { (char *)"Image_HasAlpha", (PyCFunction
)_wrap_Image_HasAlpha
, METH_O
, NULL
},
56959 { (char *)"Image_InitAlpha", (PyCFunction
)_wrap_Image_InitAlpha
, METH_O
, NULL
},
56960 { (char *)"Image_IsTransparent", (PyCFunction
) _wrap_Image_IsTransparent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56961 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56962 { (char *)"Image_ConvertAlphaToMask", (PyCFunction
) _wrap_Image_ConvertAlphaToMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56963 { (char *)"Image_ConvertColourToAlpha", (PyCFunction
) _wrap_Image_ConvertColourToAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56964 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56965 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56966 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56967 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56968 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56969 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56970 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56971 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56972 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56973 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56974 { (char *)"Image_IsOk", (PyCFunction
)_wrap_Image_IsOk
, METH_O
, NULL
},
56975 { (char *)"Image_GetWidth", (PyCFunction
)_wrap_Image_GetWidth
, METH_O
, NULL
},
56976 { (char *)"Image_GetHeight", (PyCFunction
)_wrap_Image_GetHeight
, METH_O
, NULL
},
56977 { (char *)"Image_GetSize", (PyCFunction
)_wrap_Image_GetSize
, METH_O
, NULL
},
56978 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56979 { (char *)"Image_Size", (PyCFunction
) _wrap_Image_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56980 { (char *)"Image_Copy", (PyCFunction
)_wrap_Image_Copy
, METH_O
, NULL
},
56981 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56982 { (char *)"Image_GetData", (PyCFunction
)_wrap_Image_GetData
, METH_O
, NULL
},
56983 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56984 { (char *)"Image_GetDataBuffer", (PyCFunction
)_wrap_Image_GetDataBuffer
, METH_O
, NULL
},
56985 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56986 { (char *)"Image_GetAlphaData", (PyCFunction
)_wrap_Image_GetAlphaData
, METH_O
, NULL
},
56987 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56988 { (char *)"Image_GetAlphaBuffer", (PyCFunction
)_wrap_Image_GetAlphaBuffer
, METH_O
, NULL
},
56989 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56990 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56991 { (char *)"Image_GetOrFindMaskColour", (PyCFunction
)_wrap_Image_GetOrFindMaskColour
, METH_O
, NULL
},
56992 { (char *)"Image_GetMaskRed", (PyCFunction
)_wrap_Image_GetMaskRed
, METH_O
, NULL
},
56993 { (char *)"Image_GetMaskGreen", (PyCFunction
)_wrap_Image_GetMaskGreen
, METH_O
, NULL
},
56994 { (char *)"Image_GetMaskBlue", (PyCFunction
)_wrap_Image_GetMaskBlue
, METH_O
, NULL
},
56995 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56996 { (char *)"Image_HasMask", (PyCFunction
)_wrap_Image_HasMask
, METH_O
, NULL
},
56997 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56998 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
56999 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57000 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57001 { (char *)"Image_ConvertToGreyscale", (PyCFunction
) _wrap_Image_ConvertToGreyscale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57002 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57003 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57004 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57005 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57006 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57007 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57008 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57009 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57010 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57011 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57012 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57013 { (char *)"Image_GetHandlers", (PyCFunction
)_wrap_Image_GetHandlers
, METH_NOARGS
, NULL
},
57014 { (char *)"Image_GetImageExtWildcard", (PyCFunction
)_wrap_Image_GetImageExtWildcard
, METH_NOARGS
, NULL
},
57015 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57016 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57017 { (char *)"Image_RotateHue", (PyCFunction
) _wrap_Image_RotateHue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57018 { (char *)"Image_RGBtoHSV", (PyCFunction
) _wrap_Image_RGBtoHSV
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57019 { (char *)"Image_HSVtoRGB", (PyCFunction
) _wrap_Image_HSVtoRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57020 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
, NULL
},
57021 { (char *)"Image_swiginit", Image_swiginit
, METH_VARARGS
, NULL
},
57022 { (char *)"_ImageFromBuffer", (PyCFunction
) _wrap__ImageFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57023 { (char *)"new_BMPHandler", (PyCFunction
)_wrap_new_BMPHandler
, METH_NOARGS
, NULL
},
57024 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
, NULL
},
57025 { (char *)"BMPHandler_swiginit", BMPHandler_swiginit
, METH_VARARGS
, NULL
},
57026 { (char *)"new_ICOHandler", (PyCFunction
)_wrap_new_ICOHandler
, METH_NOARGS
, NULL
},
57027 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
, NULL
},
57028 { (char *)"ICOHandler_swiginit", ICOHandler_swiginit
, METH_VARARGS
, NULL
},
57029 { (char *)"new_CURHandler", (PyCFunction
)_wrap_new_CURHandler
, METH_NOARGS
, NULL
},
57030 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
, NULL
},
57031 { (char *)"CURHandler_swiginit", CURHandler_swiginit
, METH_VARARGS
, NULL
},
57032 { (char *)"new_ANIHandler", (PyCFunction
)_wrap_new_ANIHandler
, METH_NOARGS
, NULL
},
57033 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
, NULL
},
57034 { (char *)"ANIHandler_swiginit", ANIHandler_swiginit
, METH_VARARGS
, NULL
},
57035 { (char *)"new_PNGHandler", (PyCFunction
)_wrap_new_PNGHandler
, METH_NOARGS
, NULL
},
57036 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
, NULL
},
57037 { (char *)"PNGHandler_swiginit", PNGHandler_swiginit
, METH_VARARGS
, NULL
},
57038 { (char *)"new_GIFHandler", (PyCFunction
)_wrap_new_GIFHandler
, METH_NOARGS
, NULL
},
57039 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
, NULL
},
57040 { (char *)"GIFHandler_swiginit", GIFHandler_swiginit
, METH_VARARGS
, NULL
},
57041 { (char *)"new_PCXHandler", (PyCFunction
)_wrap_new_PCXHandler
, METH_NOARGS
, NULL
},
57042 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
, NULL
},
57043 { (char *)"PCXHandler_swiginit", PCXHandler_swiginit
, METH_VARARGS
, NULL
},
57044 { (char *)"new_JPEGHandler", (PyCFunction
)_wrap_new_JPEGHandler
, METH_NOARGS
, NULL
},
57045 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
, NULL
},
57046 { (char *)"JPEGHandler_swiginit", JPEGHandler_swiginit
, METH_VARARGS
, NULL
},
57047 { (char *)"new_PNMHandler", (PyCFunction
)_wrap_new_PNMHandler
, METH_NOARGS
, NULL
},
57048 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
, NULL
},
57049 { (char *)"PNMHandler_swiginit", PNMHandler_swiginit
, METH_VARARGS
, NULL
},
57050 { (char *)"new_XPMHandler", (PyCFunction
)_wrap_new_XPMHandler
, METH_NOARGS
, NULL
},
57051 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
, NULL
},
57052 { (char *)"XPMHandler_swiginit", XPMHandler_swiginit
, METH_VARARGS
, NULL
},
57053 { (char *)"new_TIFFHandler", (PyCFunction
)_wrap_new_TIFFHandler
, METH_NOARGS
, NULL
},
57054 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
, NULL
},
57055 { (char *)"TIFFHandler_swiginit", TIFFHandler_swiginit
, METH_VARARGS
, NULL
},
57056 { (char *)"new_TGAHandler", (PyCFunction
)_wrap_new_TGAHandler
, METH_NOARGS
, NULL
},
57057 { (char *)"TGAHandler_swigregister", TGAHandler_swigregister
, METH_VARARGS
, NULL
},
57058 { (char *)"TGAHandler_swiginit", TGAHandler_swiginit
, METH_VARARGS
, NULL
},
57059 { (char *)"Quantize_Quantize", (PyCFunction
) _wrap_Quantize_Quantize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57060 { (char *)"Quantize_swigregister", Quantize_swigregister
, METH_VARARGS
, NULL
},
57061 { (char *)"new_EvtHandler", (PyCFunction
)_wrap_new_EvtHandler
, METH_NOARGS
, NULL
},
57062 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
)_wrap_EvtHandler_GetNextHandler
, METH_O
, NULL
},
57063 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
)_wrap_EvtHandler_GetPreviousHandler
, METH_O
, NULL
},
57064 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57065 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57066 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
)_wrap_EvtHandler_GetEvtHandlerEnabled
, METH_O
, NULL
},
57067 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57068 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57069 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57070 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
)_wrap_EvtHandler_ProcessPendingEvents
, METH_O
, NULL
},
57071 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57072 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57073 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57074 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
, NULL
},
57075 { (char *)"EvtHandler_swiginit", EvtHandler_swiginit
, METH_VARARGS
, NULL
},
57076 { (char *)"NewEventType", (PyCFunction
)_wrap_NewEventType
, METH_NOARGS
, NULL
},
57077 { (char *)"delete_Event", (PyCFunction
)_wrap_delete_Event
, METH_O
, NULL
},
57078 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57079 { (char *)"Event_GetEventType", (PyCFunction
)_wrap_Event_GetEventType
, METH_O
, NULL
},
57080 { (char *)"Event_GetEventObject", (PyCFunction
)_wrap_Event_GetEventObject
, METH_O
, NULL
},
57081 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57082 { (char *)"Event_GetTimestamp", (PyCFunction
)_wrap_Event_GetTimestamp
, METH_O
, NULL
},
57083 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57084 { (char *)"Event_GetId", (PyCFunction
)_wrap_Event_GetId
, METH_O
, NULL
},
57085 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57086 { (char *)"Event_IsCommandEvent", (PyCFunction
)_wrap_Event_IsCommandEvent
, METH_O
, NULL
},
57087 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57088 { (char *)"Event_GetSkipped", (PyCFunction
)_wrap_Event_GetSkipped
, METH_O
, NULL
},
57089 { (char *)"Event_ShouldPropagate", (PyCFunction
)_wrap_Event_ShouldPropagate
, METH_O
, NULL
},
57090 { (char *)"Event_StopPropagation", (PyCFunction
)_wrap_Event_StopPropagation
, METH_O
, NULL
},
57091 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57092 { (char *)"Event_Clone", (PyCFunction
)_wrap_Event_Clone
, METH_O
, NULL
},
57093 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
, NULL
},
57094 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57095 { (char *)"delete_PropagationDisabler", (PyCFunction
)_wrap_delete_PropagationDisabler
, METH_O
, NULL
},
57096 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
, NULL
},
57097 { (char *)"PropagationDisabler_swiginit", PropagationDisabler_swiginit
, METH_VARARGS
, NULL
},
57098 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57099 { (char *)"delete_PropagateOnce", (PyCFunction
)_wrap_delete_PropagateOnce
, METH_O
, NULL
},
57100 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
, NULL
},
57101 { (char *)"PropagateOnce_swiginit", PropagateOnce_swiginit
, METH_VARARGS
, NULL
},
57102 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57103 { (char *)"CommandEvent_GetSelection", (PyCFunction
)_wrap_CommandEvent_GetSelection
, METH_O
, NULL
},
57104 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57105 { (char *)"CommandEvent_GetString", (PyCFunction
)_wrap_CommandEvent_GetString
, METH_O
, NULL
},
57106 { (char *)"CommandEvent_IsChecked", (PyCFunction
)_wrap_CommandEvent_IsChecked
, METH_O
, NULL
},
57107 { (char *)"CommandEvent_IsSelection", (PyCFunction
)_wrap_CommandEvent_IsSelection
, METH_O
, NULL
},
57108 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57109 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
)_wrap_CommandEvent_GetExtraLong
, METH_O
, NULL
},
57110 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57111 { (char *)"CommandEvent_GetInt", (PyCFunction
)_wrap_CommandEvent_GetInt
, METH_O
, NULL
},
57112 { (char *)"CommandEvent_GetClientData", (PyCFunction
)_wrap_CommandEvent_GetClientData
, METH_O
, NULL
},
57113 { (char *)"CommandEvent_SetClientData", (PyCFunction
) _wrap_CommandEvent_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57114 { (char *)"CommandEvent_Clone", (PyCFunction
)_wrap_CommandEvent_Clone
, METH_O
, NULL
},
57115 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
, NULL
},
57116 { (char *)"CommandEvent_swiginit", CommandEvent_swiginit
, METH_VARARGS
, NULL
},
57117 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57118 { (char *)"NotifyEvent_Veto", (PyCFunction
)_wrap_NotifyEvent_Veto
, METH_O
, NULL
},
57119 { (char *)"NotifyEvent_Allow", (PyCFunction
)_wrap_NotifyEvent_Allow
, METH_O
, NULL
},
57120 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
)_wrap_NotifyEvent_IsAllowed
, METH_O
, NULL
},
57121 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
, NULL
},
57122 { (char *)"NotifyEvent_swiginit", NotifyEvent_swiginit
, METH_VARARGS
, NULL
},
57123 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57124 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
)_wrap_ScrollEvent_GetOrientation
, METH_O
, NULL
},
57125 { (char *)"ScrollEvent_GetPosition", (PyCFunction
)_wrap_ScrollEvent_GetPosition
, METH_O
, NULL
},
57126 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57127 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57128 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
, NULL
},
57129 { (char *)"ScrollEvent_swiginit", ScrollEvent_swiginit
, METH_VARARGS
, NULL
},
57130 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57131 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
)_wrap_ScrollWinEvent_GetOrientation
, METH_O
, NULL
},
57132 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
)_wrap_ScrollWinEvent_GetPosition
, METH_O
, NULL
},
57133 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57134 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57135 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
, NULL
},
57136 { (char *)"ScrollWinEvent_swiginit", ScrollWinEvent_swiginit
, METH_VARARGS
, NULL
},
57137 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57138 { (char *)"MouseEvent_IsButton", (PyCFunction
)_wrap_MouseEvent_IsButton
, METH_O
, NULL
},
57139 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57140 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57141 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57142 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57143 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57144 { (char *)"MouseEvent_GetButton", (PyCFunction
)_wrap_MouseEvent_GetButton
, METH_O
, NULL
},
57145 { (char *)"MouseEvent_ControlDown", (PyCFunction
)_wrap_MouseEvent_ControlDown
, METH_O
, NULL
},
57146 { (char *)"MouseEvent_MetaDown", (PyCFunction
)_wrap_MouseEvent_MetaDown
, METH_O
, NULL
},
57147 { (char *)"MouseEvent_AltDown", (PyCFunction
)_wrap_MouseEvent_AltDown
, METH_O
, NULL
},
57148 { (char *)"MouseEvent_ShiftDown", (PyCFunction
)_wrap_MouseEvent_ShiftDown
, METH_O
, NULL
},
57149 { (char *)"MouseEvent_CmdDown", (PyCFunction
)_wrap_MouseEvent_CmdDown
, METH_O
, NULL
},
57150 { (char *)"MouseEvent_LeftDown", (PyCFunction
)_wrap_MouseEvent_LeftDown
, METH_O
, NULL
},
57151 { (char *)"MouseEvent_MiddleDown", (PyCFunction
)_wrap_MouseEvent_MiddleDown
, METH_O
, NULL
},
57152 { (char *)"MouseEvent_RightDown", (PyCFunction
)_wrap_MouseEvent_RightDown
, METH_O
, NULL
},
57153 { (char *)"MouseEvent_LeftUp", (PyCFunction
)_wrap_MouseEvent_LeftUp
, METH_O
, NULL
},
57154 { (char *)"MouseEvent_MiddleUp", (PyCFunction
)_wrap_MouseEvent_MiddleUp
, METH_O
, NULL
},
57155 { (char *)"MouseEvent_RightUp", (PyCFunction
)_wrap_MouseEvent_RightUp
, METH_O
, NULL
},
57156 { (char *)"MouseEvent_LeftDClick", (PyCFunction
)_wrap_MouseEvent_LeftDClick
, METH_O
, NULL
},
57157 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
)_wrap_MouseEvent_MiddleDClick
, METH_O
, NULL
},
57158 { (char *)"MouseEvent_RightDClick", (PyCFunction
)_wrap_MouseEvent_RightDClick
, METH_O
, NULL
},
57159 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
)_wrap_MouseEvent_LeftIsDown
, METH_O
, NULL
},
57160 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
)_wrap_MouseEvent_MiddleIsDown
, METH_O
, NULL
},
57161 { (char *)"MouseEvent_RightIsDown", (PyCFunction
)_wrap_MouseEvent_RightIsDown
, METH_O
, NULL
},
57162 { (char *)"MouseEvent_Dragging", (PyCFunction
)_wrap_MouseEvent_Dragging
, METH_O
, NULL
},
57163 { (char *)"MouseEvent_Moving", (PyCFunction
)_wrap_MouseEvent_Moving
, METH_O
, NULL
},
57164 { (char *)"MouseEvent_Entering", (PyCFunction
)_wrap_MouseEvent_Entering
, METH_O
, NULL
},
57165 { (char *)"MouseEvent_Leaving", (PyCFunction
)_wrap_MouseEvent_Leaving
, METH_O
, NULL
},
57166 { (char *)"MouseEvent_GetPosition", (PyCFunction
)_wrap_MouseEvent_GetPosition
, METH_O
, NULL
},
57167 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
)_wrap_MouseEvent_GetPositionTuple
, METH_O
, NULL
},
57168 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57169 { (char *)"MouseEvent_GetX", (PyCFunction
)_wrap_MouseEvent_GetX
, METH_O
, NULL
},
57170 { (char *)"MouseEvent_GetY", (PyCFunction
)_wrap_MouseEvent_GetY
, METH_O
, NULL
},
57171 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
)_wrap_MouseEvent_GetWheelRotation
, METH_O
, NULL
},
57172 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
)_wrap_MouseEvent_GetWheelDelta
, METH_O
, NULL
},
57173 { (char *)"MouseEvent_GetWheelAxis", (PyCFunction
)_wrap_MouseEvent_GetWheelAxis
, METH_O
, NULL
},
57174 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
)_wrap_MouseEvent_GetLinesPerAction
, METH_O
, NULL
},
57175 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
)_wrap_MouseEvent_IsPageScroll
, METH_O
, NULL
},
57176 { (char *)"MouseEvent_m_x_set", _wrap_MouseEvent_m_x_set
, METH_VARARGS
, NULL
},
57177 { (char *)"MouseEvent_m_x_get", (PyCFunction
)_wrap_MouseEvent_m_x_get
, METH_O
, NULL
},
57178 { (char *)"MouseEvent_m_y_set", _wrap_MouseEvent_m_y_set
, METH_VARARGS
, NULL
},
57179 { (char *)"MouseEvent_m_y_get", (PyCFunction
)_wrap_MouseEvent_m_y_get
, METH_O
, NULL
},
57180 { (char *)"MouseEvent_m_leftDown_set", _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
, NULL
},
57181 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
)_wrap_MouseEvent_m_leftDown_get
, METH_O
, NULL
},
57182 { (char *)"MouseEvent_m_middleDown_set", _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
, NULL
},
57183 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
)_wrap_MouseEvent_m_middleDown_get
, METH_O
, NULL
},
57184 { (char *)"MouseEvent_m_rightDown_set", _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
, NULL
},
57185 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
)_wrap_MouseEvent_m_rightDown_get
, METH_O
, NULL
},
57186 { (char *)"MouseEvent_m_controlDown_set", _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
, NULL
},
57187 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
)_wrap_MouseEvent_m_controlDown_get
, METH_O
, NULL
},
57188 { (char *)"MouseEvent_m_shiftDown_set", _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
, NULL
},
57189 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
)_wrap_MouseEvent_m_shiftDown_get
, METH_O
, NULL
},
57190 { (char *)"MouseEvent_m_altDown_set", _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
, NULL
},
57191 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
)_wrap_MouseEvent_m_altDown_get
, METH_O
, NULL
},
57192 { (char *)"MouseEvent_m_metaDown_set", _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
, NULL
},
57193 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
)_wrap_MouseEvent_m_metaDown_get
, METH_O
, NULL
},
57194 { (char *)"MouseEvent_m_wheelRotation_set", _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
, NULL
},
57195 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
)_wrap_MouseEvent_m_wheelRotation_get
, METH_O
, NULL
},
57196 { (char *)"MouseEvent_m_wheelDelta_set", _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
, NULL
},
57197 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
)_wrap_MouseEvent_m_wheelDelta_get
, METH_O
, NULL
},
57198 { (char *)"MouseEvent_m_linesPerAction_set", _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
, NULL
},
57199 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
)_wrap_MouseEvent_m_linesPerAction_get
, METH_O
, NULL
},
57200 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
, NULL
},
57201 { (char *)"MouseEvent_swiginit", MouseEvent_swiginit
, METH_VARARGS
, NULL
},
57202 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57203 { (char *)"SetCursorEvent_GetX", (PyCFunction
)_wrap_SetCursorEvent_GetX
, METH_O
, NULL
},
57204 { (char *)"SetCursorEvent_GetY", (PyCFunction
)_wrap_SetCursorEvent_GetY
, METH_O
, NULL
},
57205 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57206 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
)_wrap_SetCursorEvent_GetCursor
, METH_O
, NULL
},
57207 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
)_wrap_SetCursorEvent_HasCursor
, METH_O
, NULL
},
57208 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
, NULL
},
57209 { (char *)"SetCursorEvent_swiginit", SetCursorEvent_swiginit
, METH_VARARGS
, NULL
},
57210 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57211 { (char *)"KeyEvent_GetModifiers", (PyCFunction
)_wrap_KeyEvent_GetModifiers
, METH_O
, NULL
},
57212 { (char *)"KeyEvent_ControlDown", (PyCFunction
)_wrap_KeyEvent_ControlDown
, METH_O
, NULL
},
57213 { (char *)"KeyEvent_MetaDown", (PyCFunction
)_wrap_KeyEvent_MetaDown
, METH_O
, NULL
},
57214 { (char *)"KeyEvent_AltDown", (PyCFunction
)_wrap_KeyEvent_AltDown
, METH_O
, NULL
},
57215 { (char *)"KeyEvent_ShiftDown", (PyCFunction
)_wrap_KeyEvent_ShiftDown
, METH_O
, NULL
},
57216 { (char *)"KeyEvent_CmdDown", (PyCFunction
)_wrap_KeyEvent_CmdDown
, METH_O
, NULL
},
57217 { (char *)"KeyEvent_HasModifiers", (PyCFunction
)_wrap_KeyEvent_HasModifiers
, METH_O
, NULL
},
57218 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
)_wrap_KeyEvent_GetKeyCode
, METH_O
, NULL
},
57219 { (char *)"KeyEvent_GetUnicodeKey", (PyCFunction
)_wrap_KeyEvent_GetUnicodeKey
, METH_O
, NULL
},
57220 { (char *)"KeyEvent_SetUnicodeKey", (PyCFunction
) _wrap_KeyEvent_SetUnicodeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57221 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
)_wrap_KeyEvent_GetRawKeyCode
, METH_O
, NULL
},
57222 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
)_wrap_KeyEvent_GetRawKeyFlags
, METH_O
, NULL
},
57223 { (char *)"KeyEvent_GetPosition", (PyCFunction
)_wrap_KeyEvent_GetPosition
, METH_O
, NULL
},
57224 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
)_wrap_KeyEvent_GetPositionTuple
, METH_O
, NULL
},
57225 { (char *)"KeyEvent_GetX", (PyCFunction
)_wrap_KeyEvent_GetX
, METH_O
, NULL
},
57226 { (char *)"KeyEvent_GetY", (PyCFunction
)_wrap_KeyEvent_GetY
, METH_O
, NULL
},
57227 { (char *)"KeyEvent_m_x_set", _wrap_KeyEvent_m_x_set
, METH_VARARGS
, NULL
},
57228 { (char *)"KeyEvent_m_x_get", (PyCFunction
)_wrap_KeyEvent_m_x_get
, METH_O
, NULL
},
57229 { (char *)"KeyEvent_m_y_set", _wrap_KeyEvent_m_y_set
, METH_VARARGS
, NULL
},
57230 { (char *)"KeyEvent_m_y_get", (PyCFunction
)_wrap_KeyEvent_m_y_get
, METH_O
, NULL
},
57231 { (char *)"KeyEvent_m_keyCode_set", _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
, NULL
},
57232 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
)_wrap_KeyEvent_m_keyCode_get
, METH_O
, NULL
},
57233 { (char *)"KeyEvent_m_controlDown_set", _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
, NULL
},
57234 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
)_wrap_KeyEvent_m_controlDown_get
, METH_O
, NULL
},
57235 { (char *)"KeyEvent_m_shiftDown_set", _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
, NULL
},
57236 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
)_wrap_KeyEvent_m_shiftDown_get
, METH_O
, NULL
},
57237 { (char *)"KeyEvent_m_altDown_set", _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
, NULL
},
57238 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
)_wrap_KeyEvent_m_altDown_get
, METH_O
, NULL
},
57239 { (char *)"KeyEvent_m_metaDown_set", _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
, NULL
},
57240 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
)_wrap_KeyEvent_m_metaDown_get
, METH_O
, NULL
},
57241 { (char *)"KeyEvent_m_scanCode_set", _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
, NULL
},
57242 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
)_wrap_KeyEvent_m_scanCode_get
, METH_O
, NULL
},
57243 { (char *)"KeyEvent_m_rawCode_set", _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
, NULL
},
57244 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
)_wrap_KeyEvent_m_rawCode_get
, METH_O
, NULL
},
57245 { (char *)"KeyEvent_m_rawFlags_set", _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
, NULL
},
57246 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
)_wrap_KeyEvent_m_rawFlags_get
, METH_O
, NULL
},
57247 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
, NULL
},
57248 { (char *)"KeyEvent_swiginit", KeyEvent_swiginit
, METH_VARARGS
, NULL
},
57249 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57250 { (char *)"SizeEvent_GetSize", (PyCFunction
)_wrap_SizeEvent_GetSize
, METH_O
, NULL
},
57251 { (char *)"SizeEvent_GetRect", (PyCFunction
)_wrap_SizeEvent_GetRect
, METH_O
, NULL
},
57252 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57253 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57254 { (char *)"SizeEvent_m_size_set", _wrap_SizeEvent_m_size_set
, METH_VARARGS
, NULL
},
57255 { (char *)"SizeEvent_m_size_get", (PyCFunction
)_wrap_SizeEvent_m_size_get
, METH_O
, NULL
},
57256 { (char *)"SizeEvent_m_rect_set", _wrap_SizeEvent_m_rect_set
, METH_VARARGS
, NULL
},
57257 { (char *)"SizeEvent_m_rect_get", (PyCFunction
)_wrap_SizeEvent_m_rect_get
, METH_O
, NULL
},
57258 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
, NULL
},
57259 { (char *)"SizeEvent_swiginit", SizeEvent_swiginit
, METH_VARARGS
, NULL
},
57260 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57261 { (char *)"MoveEvent_GetPosition", (PyCFunction
)_wrap_MoveEvent_GetPosition
, METH_O
, NULL
},
57262 { (char *)"MoveEvent_GetRect", (PyCFunction
)_wrap_MoveEvent_GetRect
, METH_O
, NULL
},
57263 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57264 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57265 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
, NULL
},
57266 { (char *)"MoveEvent_swiginit", MoveEvent_swiginit
, METH_VARARGS
, NULL
},
57267 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57268 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
, NULL
},
57269 { (char *)"PaintEvent_swiginit", PaintEvent_swiginit
, METH_VARARGS
, NULL
},
57270 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57271 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
, NULL
},
57272 { (char *)"NcPaintEvent_swiginit", NcPaintEvent_swiginit
, METH_VARARGS
, NULL
},
57273 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57274 { (char *)"EraseEvent_GetDC", (PyCFunction
)_wrap_EraseEvent_GetDC
, METH_O
, NULL
},
57275 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
, NULL
},
57276 { (char *)"EraseEvent_swiginit", EraseEvent_swiginit
, METH_VARARGS
, NULL
},
57277 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57278 { (char *)"FocusEvent_GetWindow", (PyCFunction
)_wrap_FocusEvent_GetWindow
, METH_O
, NULL
},
57279 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57280 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
, NULL
},
57281 { (char *)"FocusEvent_swiginit", FocusEvent_swiginit
, METH_VARARGS
, NULL
},
57282 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57283 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
)_wrap_ChildFocusEvent_GetWindow
, METH_O
, NULL
},
57284 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
, NULL
},
57285 { (char *)"ChildFocusEvent_swiginit", ChildFocusEvent_swiginit
, METH_VARARGS
, NULL
},
57286 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57287 { (char *)"ActivateEvent_GetActive", (PyCFunction
)_wrap_ActivateEvent_GetActive
, METH_O
, NULL
},
57288 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
, NULL
},
57289 { (char *)"ActivateEvent_swiginit", ActivateEvent_swiginit
, METH_VARARGS
, NULL
},
57290 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57291 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
, NULL
},
57292 { (char *)"InitDialogEvent_swiginit", InitDialogEvent_swiginit
, METH_VARARGS
, NULL
},
57293 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57294 { (char *)"MenuEvent_GetMenuId", (PyCFunction
)_wrap_MenuEvent_GetMenuId
, METH_O
, NULL
},
57295 { (char *)"MenuEvent_IsPopup", (PyCFunction
)_wrap_MenuEvent_IsPopup
, METH_O
, NULL
},
57296 { (char *)"MenuEvent_GetMenu", (PyCFunction
)_wrap_MenuEvent_GetMenu
, METH_O
, NULL
},
57297 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
, NULL
},
57298 { (char *)"MenuEvent_swiginit", MenuEvent_swiginit
, METH_VARARGS
, NULL
},
57299 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57300 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57301 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
)_wrap_CloseEvent_GetLoggingOff
, METH_O
, NULL
},
57302 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57303 { (char *)"CloseEvent_GetVeto", (PyCFunction
)_wrap_CloseEvent_GetVeto
, METH_O
, NULL
},
57304 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57305 { (char *)"CloseEvent_CanVeto", (PyCFunction
)_wrap_CloseEvent_CanVeto
, METH_O
, NULL
},
57306 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
, NULL
},
57307 { (char *)"CloseEvent_swiginit", CloseEvent_swiginit
, METH_VARARGS
, NULL
},
57308 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57309 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57310 { (char *)"ShowEvent_GetShow", (PyCFunction
)_wrap_ShowEvent_GetShow
, METH_O
, NULL
},
57311 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
, NULL
},
57312 { (char *)"ShowEvent_swiginit", ShowEvent_swiginit
, METH_VARARGS
, NULL
},
57313 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57314 { (char *)"IconizeEvent_Iconized", (PyCFunction
)_wrap_IconizeEvent_Iconized
, METH_O
, NULL
},
57315 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
, NULL
},
57316 { (char *)"IconizeEvent_swiginit", IconizeEvent_swiginit
, METH_VARARGS
, NULL
},
57317 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57318 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
, NULL
},
57319 { (char *)"MaximizeEvent_swiginit", MaximizeEvent_swiginit
, METH_VARARGS
, NULL
},
57320 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
)_wrap_DropFilesEvent_GetPosition
, METH_O
, NULL
},
57321 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
)_wrap_DropFilesEvent_GetNumberOfFiles
, METH_O
, NULL
},
57322 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
)_wrap_DropFilesEvent_GetFiles
, METH_O
, NULL
},
57323 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
, NULL
},
57324 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57325 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
)_wrap_UpdateUIEvent_GetChecked
, METH_O
, NULL
},
57326 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
)_wrap_UpdateUIEvent_GetEnabled
, METH_O
, NULL
},
57327 { (char *)"UpdateUIEvent_GetShown", (PyCFunction
)_wrap_UpdateUIEvent_GetShown
, METH_O
, NULL
},
57328 { (char *)"UpdateUIEvent_GetText", (PyCFunction
)_wrap_UpdateUIEvent_GetText
, METH_O
, NULL
},
57329 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
)_wrap_UpdateUIEvent_GetSetText
, METH_O
, NULL
},
57330 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
)_wrap_UpdateUIEvent_GetSetChecked
, METH_O
, NULL
},
57331 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
)_wrap_UpdateUIEvent_GetSetEnabled
, METH_O
, NULL
},
57332 { (char *)"UpdateUIEvent_GetSetShown", (PyCFunction
)_wrap_UpdateUIEvent_GetSetShown
, METH_O
, NULL
},
57333 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57334 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57335 { (char *)"UpdateUIEvent_Show", (PyCFunction
) _wrap_UpdateUIEvent_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57336 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57337 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57338 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
)_wrap_UpdateUIEvent_GetUpdateInterval
, METH_NOARGS
, NULL
},
57339 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57340 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
)_wrap_UpdateUIEvent_ResetUpdateTime
, METH_NOARGS
, NULL
},
57341 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57342 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
)_wrap_UpdateUIEvent_GetMode
, METH_NOARGS
, NULL
},
57343 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
, NULL
},
57344 { (char *)"UpdateUIEvent_swiginit", UpdateUIEvent_swiginit
, METH_VARARGS
, NULL
},
57345 { (char *)"new_SysColourChangedEvent", (PyCFunction
)_wrap_new_SysColourChangedEvent
, METH_NOARGS
, NULL
},
57346 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
, NULL
},
57347 { (char *)"SysColourChangedEvent_swiginit", SysColourChangedEvent_swiginit
, METH_VARARGS
, NULL
},
57348 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57349 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
)_wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_O
, NULL
},
57350 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
, NULL
},
57351 { (char *)"MouseCaptureChangedEvent_swiginit", MouseCaptureChangedEvent_swiginit
, METH_VARARGS
, NULL
},
57352 { (char *)"new_MouseCaptureLostEvent", (PyCFunction
) _wrap_new_MouseCaptureLostEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57353 { (char *)"MouseCaptureLostEvent_swigregister", MouseCaptureLostEvent_swigregister
, METH_VARARGS
, NULL
},
57354 { (char *)"MouseCaptureLostEvent_swiginit", MouseCaptureLostEvent_swiginit
, METH_VARARGS
, NULL
},
57355 { (char *)"new_DisplayChangedEvent", (PyCFunction
)_wrap_new_DisplayChangedEvent
, METH_NOARGS
, NULL
},
57356 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
, NULL
},
57357 { (char *)"DisplayChangedEvent_swiginit", DisplayChangedEvent_swiginit
, METH_VARARGS
, NULL
},
57358 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57359 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57360 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
)_wrap_PaletteChangedEvent_GetChangedWindow
, METH_O
, NULL
},
57361 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
, NULL
},
57362 { (char *)"PaletteChangedEvent_swiginit", PaletteChangedEvent_swiginit
, METH_VARARGS
, NULL
},
57363 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57364 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57365 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
)_wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_O
, NULL
},
57366 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
, NULL
},
57367 { (char *)"QueryNewPaletteEvent_swiginit", QueryNewPaletteEvent_swiginit
, METH_VARARGS
, NULL
},
57368 { (char *)"new_NavigationKeyEvent", (PyCFunction
)_wrap_new_NavigationKeyEvent
, METH_NOARGS
, NULL
},
57369 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
)_wrap_NavigationKeyEvent_GetDirection
, METH_O
, NULL
},
57370 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57371 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
)_wrap_NavigationKeyEvent_IsWindowChange
, METH_O
, NULL
},
57372 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57373 { (char *)"NavigationKeyEvent_IsFromTab", (PyCFunction
)_wrap_NavigationKeyEvent_IsFromTab
, METH_O
, NULL
},
57374 { (char *)"NavigationKeyEvent_SetFromTab", (PyCFunction
) _wrap_NavigationKeyEvent_SetFromTab
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57375 { (char *)"NavigationKeyEvent_SetFlags", (PyCFunction
) _wrap_NavigationKeyEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57376 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
)_wrap_NavigationKeyEvent_GetCurrentFocus
, METH_O
, NULL
},
57377 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57378 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
, NULL
},
57379 { (char *)"NavigationKeyEvent_swiginit", NavigationKeyEvent_swiginit
, METH_VARARGS
, NULL
},
57380 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57381 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
)_wrap_WindowCreateEvent_GetWindow
, METH_O
, NULL
},
57382 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
, NULL
},
57383 { (char *)"WindowCreateEvent_swiginit", WindowCreateEvent_swiginit
, METH_VARARGS
, NULL
},
57384 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57385 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
)_wrap_WindowDestroyEvent_GetWindow
, METH_O
, NULL
},
57386 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
, NULL
},
57387 { (char *)"WindowDestroyEvent_swiginit", WindowDestroyEvent_swiginit
, METH_VARARGS
, NULL
},
57388 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57389 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
)_wrap_ContextMenuEvent_GetPosition
, METH_O
, NULL
},
57390 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57391 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
, NULL
},
57392 { (char *)"ContextMenuEvent_swiginit", ContextMenuEvent_swiginit
, METH_VARARGS
, NULL
},
57393 { (char *)"new_IdleEvent", (PyCFunction
)_wrap_new_IdleEvent
, METH_NOARGS
, NULL
},
57394 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57395 { (char *)"IdleEvent_MoreRequested", (PyCFunction
)_wrap_IdleEvent_MoreRequested
, METH_O
, NULL
},
57396 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57397 { (char *)"IdleEvent_GetMode", (PyCFunction
)_wrap_IdleEvent_GetMode
, METH_NOARGS
, NULL
},
57398 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57399 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
, NULL
},
57400 { (char *)"IdleEvent_swiginit", IdleEvent_swiginit
, METH_VARARGS
, NULL
},
57401 { (char *)"new_ClipboardTextEvent", (PyCFunction
) _wrap_new_ClipboardTextEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57402 { (char *)"ClipboardTextEvent_swigregister", ClipboardTextEvent_swigregister
, METH_VARARGS
, NULL
},
57403 { (char *)"ClipboardTextEvent_swiginit", ClipboardTextEvent_swiginit
, METH_VARARGS
, NULL
},
57404 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57405 { (char *)"delete_PyEvent", (PyCFunction
)_wrap_delete_PyEvent
, METH_O
, NULL
},
57406 { (char *)"PyEvent__SetSelf", (PyCFunction
) _wrap_PyEvent__SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57407 { (char *)"PyEvent__GetSelf", (PyCFunction
)_wrap_PyEvent__GetSelf
, METH_O
, NULL
},
57408 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
, NULL
},
57409 { (char *)"PyEvent_swiginit", PyEvent_swiginit
, METH_VARARGS
, NULL
},
57410 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57411 { (char *)"delete_PyCommandEvent", (PyCFunction
)_wrap_delete_PyCommandEvent
, METH_O
, NULL
},
57412 { (char *)"PyCommandEvent__SetSelf", (PyCFunction
) _wrap_PyCommandEvent__SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57413 { (char *)"PyCommandEvent__GetSelf", (PyCFunction
)_wrap_PyCommandEvent__GetSelf
, METH_O
, NULL
},
57414 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
, NULL
},
57415 { (char *)"PyCommandEvent_swiginit", PyCommandEvent_swiginit
, METH_VARARGS
, NULL
},
57416 { (char *)"new_DateEvent", (PyCFunction
) _wrap_new_DateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57417 { (char *)"DateEvent_GetDate", (PyCFunction
)_wrap_DateEvent_GetDate
, METH_O
, NULL
},
57418 { (char *)"DateEvent_SetDate", (PyCFunction
) _wrap_DateEvent_SetDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57419 { (char *)"DateEvent_swigregister", DateEvent_swigregister
, METH_VARARGS
, NULL
},
57420 { (char *)"DateEvent_swiginit", DateEvent_swiginit
, METH_VARARGS
, NULL
},
57421 { (char *)"new_EventBlocker", (PyCFunction
) _wrap_new_EventBlocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57422 { (char *)"delete_EventBlocker", (PyCFunction
)_wrap_delete_EventBlocker
, METH_O
, NULL
},
57423 { (char *)"EventBlocker_Block", (PyCFunction
) _wrap_EventBlocker_Block
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57424 { (char *)"EventBlocker_swigregister", EventBlocker_swigregister
, METH_VARARGS
, NULL
},
57425 { (char *)"EventBlocker_swiginit", EventBlocker_swiginit
, METH_VARARGS
, NULL
},
57426 { (char *)"new_PyApp", (PyCFunction
)_wrap_new_PyApp
, METH_NOARGS
, NULL
},
57427 { (char *)"delete_PyApp", (PyCFunction
)_wrap_delete_PyApp
, METH_O
, NULL
},
57428 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57429 { (char *)"PyApp_GetAppName", (PyCFunction
)_wrap_PyApp_GetAppName
, METH_O
, NULL
},
57430 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57431 { (char *)"PyApp_GetClassName", (PyCFunction
)_wrap_PyApp_GetClassName
, METH_O
, NULL
},
57432 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57433 { (char *)"PyApp_GetVendorName", (PyCFunction
)_wrap_PyApp_GetVendorName
, METH_O
, NULL
},
57434 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57435 { (char *)"PyApp_GetTraits", (PyCFunction
)_wrap_PyApp_GetTraits
, METH_O
, NULL
},
57436 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
)_wrap_PyApp_ProcessPendingEvents
, METH_O
, NULL
},
57437 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57438 { (char *)"PyApp_WakeUpIdle", (PyCFunction
)_wrap_PyApp_WakeUpIdle
, METH_O
, NULL
},
57439 { (char *)"PyApp_IsMainLoopRunning", (PyCFunction
)_wrap_PyApp_IsMainLoopRunning
, METH_NOARGS
, NULL
},
57440 { (char *)"PyApp_MainLoop", (PyCFunction
)_wrap_PyApp_MainLoop
, METH_O
, NULL
},
57441 { (char *)"PyApp_Exit", (PyCFunction
)_wrap_PyApp_Exit
, METH_O
, NULL
},
57442 { (char *)"PyApp_GetLayoutDirection", (PyCFunction
)_wrap_PyApp_GetLayoutDirection
, METH_O
, NULL
},
57443 { (char *)"PyApp_ExitMainLoop", (PyCFunction
)_wrap_PyApp_ExitMainLoop
, METH_O
, NULL
},
57444 { (char *)"PyApp_Pending", (PyCFunction
)_wrap_PyApp_Pending
, METH_O
, NULL
},
57445 { (char *)"PyApp_Dispatch", (PyCFunction
)_wrap_PyApp_Dispatch
, METH_O
, NULL
},
57446 { (char *)"PyApp_ProcessIdle", (PyCFunction
)_wrap_PyApp_ProcessIdle
, METH_O
, NULL
},
57447 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57448 { (char *)"PyApp_IsActive", (PyCFunction
)_wrap_PyApp_IsActive
, METH_O
, NULL
},
57449 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57450 { (char *)"PyApp_GetTopWindow", (PyCFunction
)_wrap_PyApp_GetTopWindow
, METH_O
, NULL
},
57451 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57452 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
)_wrap_PyApp_GetExitOnFrameDelete
, METH_O
, NULL
},
57453 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57454 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
)_wrap_PyApp_GetUseBestVisual
, METH_O
, NULL
},
57455 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57456 { (char *)"PyApp_GetPrintMode", (PyCFunction
)_wrap_PyApp_GetPrintMode
, METH_O
, NULL
},
57457 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57458 { (char *)"PyApp_GetAssertMode", (PyCFunction
)_wrap_PyApp_GetAssertMode
, METH_O
, NULL
},
57459 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
)_wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_NOARGS
, NULL
},
57460 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
)_wrap_PyApp_GetMacAboutMenuItemId
, METH_NOARGS
, NULL
},
57461 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
)_wrap_PyApp_GetMacPreferencesMenuItemId
, METH_NOARGS
, NULL
},
57462 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
)_wrap_PyApp_GetMacExitMenuItemId
, METH_NOARGS
, NULL
},
57463 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
)_wrap_PyApp_GetMacHelpMenuTitleName
, METH_NOARGS
, NULL
},
57464 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57465 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57466 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57467 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57468 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57469 { (char *)"PyApp__BootstrapApp", (PyCFunction
)_wrap_PyApp__BootstrapApp
, METH_O
, NULL
},
57470 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
)_wrap_PyApp_GetComCtl32Version
, METH_NOARGS
, NULL
},
57471 { (char *)"PyApp_IsDisplayAvailable", (PyCFunction
)_wrap_PyApp_IsDisplayAvailable
, METH_NOARGS
, NULL
},
57472 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
, NULL
},
57473 { (char *)"PyApp_swiginit", PyApp_swiginit
, METH_VARARGS
, NULL
},
57474 { (char *)"Exit", (PyCFunction
)_wrap_Exit
, METH_NOARGS
, NULL
},
57475 { (char *)"Yield", (PyCFunction
)_wrap_Yield
, METH_NOARGS
, NULL
},
57476 { (char *)"YieldIfNeeded", (PyCFunction
)_wrap_YieldIfNeeded
, METH_NOARGS
, NULL
},
57477 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57478 { (char *)"WakeUpIdle", (PyCFunction
)_wrap_WakeUpIdle
, METH_NOARGS
, NULL
},
57479 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57480 { (char *)"App_CleanUp", (PyCFunction
)_wrap_App_CleanUp
, METH_NOARGS
, NULL
},
57481 { (char *)"GetApp", (PyCFunction
)_wrap_GetApp
, METH_NOARGS
, NULL
},
57482 { (char *)"SetDefaultPyEncoding", (PyCFunction
) _wrap_SetDefaultPyEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57483 { (char *)"GetDefaultPyEncoding", (PyCFunction
)_wrap_GetDefaultPyEncoding
, METH_NOARGS
, NULL
},
57484 { (char *)"new_EventLoop", (PyCFunction
)_wrap_new_EventLoop
, METH_NOARGS
, NULL
},
57485 { (char *)"delete_EventLoop", (PyCFunction
)_wrap_delete_EventLoop
, METH_O
, NULL
},
57486 { (char *)"EventLoop_Run", (PyCFunction
)_wrap_EventLoop_Run
, METH_O
, NULL
},
57487 { (char *)"EventLoop_Exit", (PyCFunction
) _wrap_EventLoop_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57488 { (char *)"EventLoop_Pending", (PyCFunction
)_wrap_EventLoop_Pending
, METH_O
, NULL
},
57489 { (char *)"EventLoop_Dispatch", (PyCFunction
)_wrap_EventLoop_Dispatch
, METH_O
, NULL
},
57490 { (char *)"EventLoop_IsRunning", (PyCFunction
)_wrap_EventLoop_IsRunning
, METH_O
, NULL
},
57491 { (char *)"EventLoop_GetActive", (PyCFunction
)_wrap_EventLoop_GetActive
, METH_NOARGS
, NULL
},
57492 { (char *)"EventLoop_SetActive", (PyCFunction
) _wrap_EventLoop_SetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57493 { (char *)"EventLoop_swigregister", EventLoop_swigregister
, METH_VARARGS
, NULL
},
57494 { (char *)"EventLoop_swiginit", EventLoop_swiginit
, METH_VARARGS
, NULL
},
57495 { (char *)"new_EventLoopActivator", (PyCFunction
) _wrap_new_EventLoopActivator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57496 { (char *)"delete_EventLoopActivator", (PyCFunction
)_wrap_delete_EventLoopActivator
, METH_O
, NULL
},
57497 { (char *)"EventLoopActivator_swigregister", EventLoopActivator_swigregister
, METH_VARARGS
, NULL
},
57498 { (char *)"EventLoopActivator_swiginit", EventLoopActivator_swiginit
, METH_VARARGS
, NULL
},
57499 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57500 { (char *)"delete_AcceleratorEntry", (PyCFunction
)_wrap_delete_AcceleratorEntry
, METH_O
, NULL
},
57501 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57502 { (char *)"AcceleratorEntry_Create", (PyCFunction
) _wrap_AcceleratorEntry_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57503 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
)_wrap_AcceleratorEntry_GetFlags
, METH_O
, NULL
},
57504 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
)_wrap_AcceleratorEntry_GetKeyCode
, METH_O
, NULL
},
57505 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
)_wrap_AcceleratorEntry_GetCommand
, METH_O
, NULL
},
57506 { (char *)"AcceleratorEntry_IsOk", (PyCFunction
)_wrap_AcceleratorEntry_IsOk
, METH_O
, NULL
},
57507 { (char *)"AcceleratorEntry_ToString", (PyCFunction
)_wrap_AcceleratorEntry_ToString
, METH_O
, NULL
},
57508 { (char *)"AcceleratorEntry_FromString", (PyCFunction
) _wrap_AcceleratorEntry_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57509 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
, NULL
},
57510 { (char *)"AcceleratorEntry_swiginit", AcceleratorEntry_swiginit
, METH_VARARGS
, NULL
},
57511 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57512 { (char *)"delete_AcceleratorTable", (PyCFunction
)_wrap_delete_AcceleratorTable
, METH_O
, NULL
},
57513 { (char *)"AcceleratorTable_IsOk", (PyCFunction
)_wrap_AcceleratorTable_IsOk
, METH_O
, NULL
},
57514 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
, NULL
},
57515 { (char *)"AcceleratorTable_swiginit", AcceleratorTable_swiginit
, METH_VARARGS
, NULL
},
57516 { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57517 { (char *)"new_VisualAttributes", (PyCFunction
)_wrap_new_VisualAttributes
, METH_NOARGS
, NULL
},
57518 { (char *)"delete_VisualAttributes", (PyCFunction
)_wrap_delete_VisualAttributes
, METH_O
, NULL
},
57519 { (char *)"VisualAttributes_font_set", _wrap_VisualAttributes_font_set
, METH_VARARGS
, NULL
},
57520 { (char *)"VisualAttributes_font_get", (PyCFunction
)_wrap_VisualAttributes_font_get
, METH_O
, NULL
},
57521 { (char *)"VisualAttributes_colFg_set", _wrap_VisualAttributes_colFg_set
, METH_VARARGS
, NULL
},
57522 { (char *)"VisualAttributes_colFg_get", (PyCFunction
)_wrap_VisualAttributes_colFg_get
, METH_O
, NULL
},
57523 { (char *)"VisualAttributes_colBg_set", _wrap_VisualAttributes_colBg_set
, METH_VARARGS
, NULL
},
57524 { (char *)"VisualAttributes_colBg_get", (PyCFunction
)_wrap_VisualAttributes_colBg_get
, METH_O
, NULL
},
57525 { (char *)"VisualAttributes_swigregister", VisualAttributes_swigregister
, METH_VARARGS
, NULL
},
57526 { (char *)"VisualAttributes_swiginit", VisualAttributes_swiginit
, METH_VARARGS
, NULL
},
57527 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57528 { (char *)"new_PreWindow", (PyCFunction
)_wrap_new_PreWindow
, METH_NOARGS
, NULL
},
57529 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57530 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57531 { (char *)"Window_Destroy", (PyCFunction
)_wrap_Window_Destroy
, METH_O
, NULL
},
57532 { (char *)"Window_DestroyChildren", (PyCFunction
)_wrap_Window_DestroyChildren
, METH_O
, NULL
},
57533 { (char *)"Window_IsBeingDeleted", (PyCFunction
)_wrap_Window_IsBeingDeleted
, METH_O
, NULL
},
57534 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57535 { (char *)"Window_GetLabel", (PyCFunction
)_wrap_Window_GetLabel
, METH_O
, NULL
},
57536 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57537 { (char *)"Window_GetName", (PyCFunction
)_wrap_Window_GetName
, METH_O
, NULL
},
57538 { (char *)"Window_SetWindowVariant", (PyCFunction
) _wrap_Window_SetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57539 { (char *)"Window_GetWindowVariant", (PyCFunction
)_wrap_Window_GetWindowVariant
, METH_O
, NULL
},
57540 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57541 { (char *)"Window_GetId", (PyCFunction
)_wrap_Window_GetId
, METH_O
, NULL
},
57542 { (char *)"Window_NewControlId", (PyCFunction
)_wrap_Window_NewControlId
, METH_NOARGS
, NULL
},
57543 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57544 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57545 { (char *)"Window_GetLayoutDirection", (PyCFunction
)_wrap_Window_GetLayoutDirection
, METH_O
, NULL
},
57546 { (char *)"Window_SetLayoutDirection", (PyCFunction
) _wrap_Window_SetLayoutDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57547 { (char *)"Window_AdjustForLayoutDirection", (PyCFunction
) _wrap_Window_AdjustForLayoutDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57548 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57549 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57550 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57551 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57552 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57553 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57554 { (char *)"Window_SetInitialSize", (PyCFunction
) _wrap_Window_SetInitialSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57555 { (char *)"Window_Raise", (PyCFunction
)_wrap_Window_Raise
, METH_O
, NULL
},
57556 { (char *)"Window_Lower", (PyCFunction
)_wrap_Window_Lower
, METH_O
, NULL
},
57557 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57558 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57559 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57560 { (char *)"Window_GetPosition", (PyCFunction
)_wrap_Window_GetPosition
, METH_O
, NULL
},
57561 { (char *)"Window_GetPositionTuple", (PyCFunction
)_wrap_Window_GetPositionTuple
, METH_O
, NULL
},
57562 { (char *)"Window_GetScreenPosition", (PyCFunction
)_wrap_Window_GetScreenPosition
, METH_O
, NULL
},
57563 { (char *)"Window_GetScreenPositionTuple", (PyCFunction
)_wrap_Window_GetScreenPositionTuple
, METH_O
, NULL
},
57564 { (char *)"Window_GetScreenRect", (PyCFunction
)_wrap_Window_GetScreenRect
, METH_O
, NULL
},
57565 { (char *)"Window_GetSize", (PyCFunction
)_wrap_Window_GetSize
, METH_O
, NULL
},
57566 { (char *)"Window_GetSizeTuple", (PyCFunction
)_wrap_Window_GetSizeTuple
, METH_O
, NULL
},
57567 { (char *)"Window_GetRect", (PyCFunction
)_wrap_Window_GetRect
, METH_O
, NULL
},
57568 { (char *)"Window_GetClientSize", (PyCFunction
)_wrap_Window_GetClientSize
, METH_O
, NULL
},
57569 { (char *)"Window_GetClientSizeTuple", (PyCFunction
)_wrap_Window_GetClientSizeTuple
, METH_O
, NULL
},
57570 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
)_wrap_Window_GetClientAreaOrigin
, METH_O
, NULL
},
57571 { (char *)"Window_GetClientRect", (PyCFunction
)_wrap_Window_GetClientRect
, METH_O
, NULL
},
57572 { (char *)"Window_GetBestSize", (PyCFunction
)_wrap_Window_GetBestSize
, METH_O
, NULL
},
57573 { (char *)"Window_GetBestSizeTuple", (PyCFunction
)_wrap_Window_GetBestSizeTuple
, METH_O
, NULL
},
57574 { (char *)"Window_InvalidateBestSize", (PyCFunction
)_wrap_Window_InvalidateBestSize
, METH_O
, NULL
},
57575 { (char *)"Window_CacheBestSize", (PyCFunction
) _wrap_Window_CacheBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57576 { (char *)"Window_GetEffectiveMinSize", (PyCFunction
)_wrap_Window_GetEffectiveMinSize
, METH_O
, NULL
},
57577 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57578 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57579 { (char *)"Window_Fit", (PyCFunction
)_wrap_Window_Fit
, METH_O
, NULL
},
57580 { (char *)"Window_FitInside", (PyCFunction
)_wrap_Window_FitInside
, METH_O
, NULL
},
57581 { (char *)"Window_SetSizeHints", (PyCFunction
) _wrap_Window_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57582 { (char *)"Window_SetSizeHintsSz", (PyCFunction
) _wrap_Window_SetSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57583 { (char *)"Window_SetVirtualSizeHints", (PyCFunction
) _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57584 { (char *)"Window_SetVirtualSizeHintsSz", (PyCFunction
) _wrap_Window_SetVirtualSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57585 { (char *)"Window_GetMaxSize", (PyCFunction
)_wrap_Window_GetMaxSize
, METH_O
, NULL
},
57586 { (char *)"Window_GetMinSize", (PyCFunction
)_wrap_Window_GetMinSize
, METH_O
, NULL
},
57587 { (char *)"Window_SetMinSize", (PyCFunction
) _wrap_Window_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57588 { (char *)"Window_SetMaxSize", (PyCFunction
) _wrap_Window_SetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57589 { (char *)"Window_GetMinWidth", (PyCFunction
)_wrap_Window_GetMinWidth
, METH_O
, NULL
},
57590 { (char *)"Window_GetMinHeight", (PyCFunction
)_wrap_Window_GetMinHeight
, METH_O
, NULL
},
57591 { (char *)"Window_GetMaxWidth", (PyCFunction
)_wrap_Window_GetMaxWidth
, METH_O
, NULL
},
57592 { (char *)"Window_GetMaxHeight", (PyCFunction
)_wrap_Window_GetMaxHeight
, METH_O
, NULL
},
57593 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57594 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57595 { (char *)"Window_GetVirtualSize", (PyCFunction
)_wrap_Window_GetVirtualSize
, METH_O
, NULL
},
57596 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
)_wrap_Window_GetVirtualSizeTuple
, METH_O
, NULL
},
57597 { (char *)"Window_GetWindowBorderSize", (PyCFunction
)_wrap_Window_GetWindowBorderSize
, METH_O
, NULL
},
57598 { (char *)"Window_GetBestVirtualSize", (PyCFunction
)_wrap_Window_GetBestVirtualSize
, METH_O
, NULL
},
57599 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57600 { (char *)"Window_Hide", (PyCFunction
)_wrap_Window_Hide
, METH_O
, NULL
},
57601 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57602 { (char *)"Window_Disable", (PyCFunction
)_wrap_Window_Disable
, METH_O
, NULL
},
57603 { (char *)"Window_IsShown", (PyCFunction
)_wrap_Window_IsShown
, METH_O
, NULL
},
57604 { (char *)"Window_IsEnabled", (PyCFunction
)_wrap_Window_IsEnabled
, METH_O
, NULL
},
57605 { (char *)"Window_IsShownOnScreen", (PyCFunction
)_wrap_Window_IsShownOnScreen
, METH_O
, NULL
},
57606 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57607 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
)_wrap_Window_GetWindowStyleFlag
, METH_O
, NULL
},
57608 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57609 { (char *)"Window_IsRetained", (PyCFunction
)_wrap_Window_IsRetained
, METH_O
, NULL
},
57610 { (char *)"Window_ToggleWindowStyle", (PyCFunction
) _wrap_Window_ToggleWindowStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57611 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57612 { (char *)"Window_GetExtraStyle", (PyCFunction
)_wrap_Window_GetExtraStyle
, METH_O
, NULL
},
57613 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57614 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57615 { (char *)"Window_GetThemeEnabled", (PyCFunction
)_wrap_Window_GetThemeEnabled
, METH_O
, NULL
},
57616 { (char *)"Window_SetFocus", (PyCFunction
)_wrap_Window_SetFocus
, METH_O
, NULL
},
57617 { (char *)"Window_SetFocusFromKbd", (PyCFunction
)_wrap_Window_SetFocusFromKbd
, METH_O
, NULL
},
57618 { (char *)"Window_FindFocus", (PyCFunction
)_wrap_Window_FindFocus
, METH_NOARGS
, NULL
},
57619 { (char *)"Window_AcceptsFocus", (PyCFunction
)_wrap_Window_AcceptsFocus
, METH_O
, NULL
},
57620 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
)_wrap_Window_AcceptsFocusFromKeyboard
, METH_O
, NULL
},
57621 { (char *)"Window_Navigate", (PyCFunction
) _wrap_Window_Navigate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57622 { (char *)"Window_MoveAfterInTabOrder", (PyCFunction
) _wrap_Window_MoveAfterInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57623 { (char *)"Window_MoveBeforeInTabOrder", (PyCFunction
) _wrap_Window_MoveBeforeInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57624 { (char *)"Window_GetChildren", (PyCFunction
)_wrap_Window_GetChildren
, METH_O
, NULL
},
57625 { (char *)"Window_GetParent", (PyCFunction
)_wrap_Window_GetParent
, METH_O
, NULL
},
57626 { (char *)"Window_GetGrandParent", (PyCFunction
)_wrap_Window_GetGrandParent
, METH_O
, NULL
},
57627 { (char *)"Window_IsTopLevel", (PyCFunction
)_wrap_Window_IsTopLevel
, METH_O
, NULL
},
57628 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57629 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57630 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57631 { (char *)"Window_SetDoubleBuffered", (PyCFunction
) _wrap_Window_SetDoubleBuffered
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57632 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57633 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57634 { (char *)"Window_GetEventHandler", (PyCFunction
)_wrap_Window_GetEventHandler
, METH_O
, NULL
},
57635 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57636 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57637 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57638 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57639 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57640 { (char *)"Window_GetValidator", (PyCFunction
)_wrap_Window_GetValidator
, METH_O
, NULL
},
57641 { (char *)"Window_Validate", (PyCFunction
)_wrap_Window_Validate
, METH_O
, NULL
},
57642 { (char *)"Window_TransferDataToWindow", (PyCFunction
)_wrap_Window_TransferDataToWindow
, METH_O
, NULL
},
57643 { (char *)"Window_TransferDataFromWindow", (PyCFunction
)_wrap_Window_TransferDataFromWindow
, METH_O
, NULL
},
57644 { (char *)"Window_InitDialog", (PyCFunction
)_wrap_Window_InitDialog
, METH_O
, NULL
},
57645 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57646 { (char *)"Window_GetAcceleratorTable", (PyCFunction
)_wrap_Window_GetAcceleratorTable
, METH_O
, NULL
},
57647 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57648 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57649 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57650 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57651 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57652 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57653 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57654 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57655 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57656 { (char *)"Window_CaptureMouse", (PyCFunction
)_wrap_Window_CaptureMouse
, METH_O
, NULL
},
57657 { (char *)"Window_ReleaseMouse", (PyCFunction
)_wrap_Window_ReleaseMouse
, METH_O
, NULL
},
57658 { (char *)"Window_GetCapture", (PyCFunction
)_wrap_Window_GetCapture
, METH_NOARGS
, NULL
},
57659 { (char *)"Window_HasCapture", (PyCFunction
)_wrap_Window_HasCapture
, METH_O
, NULL
},
57660 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57661 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57662 { (char *)"Window_Update", (PyCFunction
)_wrap_Window_Update
, METH_O
, NULL
},
57663 { (char *)"Window_ClearBackground", (PyCFunction
)_wrap_Window_ClearBackground
, METH_O
, NULL
},
57664 { (char *)"Window_Freeze", (PyCFunction
)_wrap_Window_Freeze
, METH_O
, NULL
},
57665 { (char *)"Window_IsFrozen", (PyCFunction
)_wrap_Window_IsFrozen
, METH_O
, NULL
},
57666 { (char *)"Window_Thaw", (PyCFunction
)_wrap_Window_Thaw
, METH_O
, NULL
},
57667 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57668 { (char *)"Window_IsDoubleBuffered", (PyCFunction
)_wrap_Window_IsDoubleBuffered
, METH_O
, NULL
},
57669 { (char *)"Window_GetUpdateRegion", (PyCFunction
)_wrap_Window_GetUpdateRegion
, METH_O
, NULL
},
57670 { (char *)"Window_GetUpdateClientRect", (PyCFunction
)_wrap_Window_GetUpdateClientRect
, METH_O
, NULL
},
57671 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57672 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57673 { (char *)"Window_IsExposedRect", (PyCFunction
) _wrap_Window_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57674 { (char *)"Window_GetDefaultAttributes", (PyCFunction
)_wrap_Window_GetDefaultAttributes
, METH_O
, NULL
},
57675 { (char *)"Window_GetClassDefaultAttributes", (PyCFunction
) _wrap_Window_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57676 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57677 { (char *)"Window_SetOwnBackgroundColour", (PyCFunction
) _wrap_Window_SetOwnBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57678 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57679 { (char *)"Window_SetOwnForegroundColour", (PyCFunction
) _wrap_Window_SetOwnForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57680 { (char *)"Window_GetBackgroundColour", (PyCFunction
)_wrap_Window_GetBackgroundColour
, METH_O
, NULL
},
57681 { (char *)"Window_GetForegroundColour", (PyCFunction
)_wrap_Window_GetForegroundColour
, METH_O
, NULL
},
57682 { (char *)"Window_InheritsBackgroundColour", (PyCFunction
)_wrap_Window_InheritsBackgroundColour
, METH_O
, NULL
},
57683 { (char *)"Window_UseBgCol", (PyCFunction
)_wrap_Window_UseBgCol
, METH_O
, NULL
},
57684 { (char *)"Window_SetBackgroundStyle", (PyCFunction
) _wrap_Window_SetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57685 { (char *)"Window_GetBackgroundStyle", (PyCFunction
)_wrap_Window_GetBackgroundStyle
, METH_O
, NULL
},
57686 { (char *)"Window_HasTransparentBackground", (PyCFunction
)_wrap_Window_HasTransparentBackground
, METH_O
, NULL
},
57687 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57688 { (char *)"Window_GetCursor", (PyCFunction
)_wrap_Window_GetCursor
, METH_O
, NULL
},
57689 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57690 { (char *)"Window_SetOwnFont", (PyCFunction
) _wrap_Window_SetOwnFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57691 { (char *)"Window_GetFont", (PyCFunction
)_wrap_Window_GetFont
, METH_O
, NULL
},
57692 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57693 { (char *)"Window_GetCaret", (PyCFunction
)_wrap_Window_GetCaret
, METH_O
, NULL
},
57694 { (char *)"Window_GetCharHeight", (PyCFunction
)_wrap_Window_GetCharHeight
, METH_O
, NULL
},
57695 { (char *)"Window_GetCharWidth", (PyCFunction
)_wrap_Window_GetCharWidth
, METH_O
, NULL
},
57696 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57697 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57698 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57699 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57700 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57701 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57702 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57703 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57704 { (char *)"Window_GetBorder", _wrap_Window_GetBorder
, METH_VARARGS
, NULL
},
57705 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57706 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57707 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57708 { (char *)"Window_HasMultiplePages", (PyCFunction
)_wrap_Window_HasMultiplePages
, METH_O
, NULL
},
57709 { (char *)"Window_GetHandle", (PyCFunction
)_wrap_Window_GetHandle
, METH_O
, NULL
},
57710 { (char *)"Window_AssociateHandle", (PyCFunction
) _wrap_Window_AssociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57711 { (char *)"Window_DissociateHandle", (PyCFunction
)_wrap_Window_DissociateHandle
, METH_O
, NULL
},
57712 { (char *)"Window_OnPaint", (PyCFunction
) _wrap_Window_OnPaint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57713 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57714 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57715 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57716 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57717 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57718 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57719 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57720 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57721 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57722 { (char *)"Window_LineUp", (PyCFunction
)_wrap_Window_LineUp
, METH_O
, NULL
},
57723 { (char *)"Window_LineDown", (PyCFunction
)_wrap_Window_LineDown
, METH_O
, NULL
},
57724 { (char *)"Window_PageUp", (PyCFunction
)_wrap_Window_PageUp
, METH_O
, NULL
},
57725 { (char *)"Window_PageDown", (PyCFunction
)_wrap_Window_PageDown
, METH_O
, NULL
},
57726 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57727 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57728 { (char *)"Window_GetHelpTextAtPoint", (PyCFunction
) _wrap_Window_GetHelpTextAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57729 { (char *)"Window_GetHelpText", (PyCFunction
)_wrap_Window_GetHelpText
, METH_O
, NULL
},
57730 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57731 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57732 { (char *)"Window_GetToolTip", (PyCFunction
)_wrap_Window_GetToolTip
, METH_O
, NULL
},
57733 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57734 { (char *)"Window_GetDropTarget", (PyCFunction
)_wrap_Window_GetDropTarget
, METH_O
, NULL
},
57735 { (char *)"Window_DragAcceptFiles", (PyCFunction
) _wrap_Window_DragAcceptFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57736 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57737 { (char *)"Window_GetConstraints", (PyCFunction
)_wrap_Window_GetConstraints
, METH_O
, NULL
},
57738 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57739 { (char *)"Window_GetAutoLayout", (PyCFunction
)_wrap_Window_GetAutoLayout
, METH_O
, NULL
},
57740 { (char *)"Window_Layout", (PyCFunction
)_wrap_Window_Layout
, METH_O
, NULL
},
57741 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57742 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57743 { (char *)"Window_GetSizer", (PyCFunction
)_wrap_Window_GetSizer
, METH_O
, NULL
},
57744 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57745 { (char *)"Window_GetContainingSizer", (PyCFunction
)_wrap_Window_GetContainingSizer
, METH_O
, NULL
},
57746 { (char *)"Window_InheritAttributes", (PyCFunction
)_wrap_Window_InheritAttributes
, METH_O
, NULL
},
57747 { (char *)"Window_ShouldInheritColours", (PyCFunction
)_wrap_Window_ShouldInheritColours
, METH_O
, NULL
},
57748 { (char *)"Window_CanSetTransparent", (PyCFunction
)_wrap_Window_CanSetTransparent
, METH_O
, NULL
},
57749 { (char *)"Window_SetTransparent", (PyCFunction
) _wrap_Window_SetTransparent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57750 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
, NULL
},
57751 { (char *)"Window_swiginit", Window_swiginit
, METH_VARARGS
, NULL
},
57752 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57753 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57754 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57755 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57756 { (char *)"GetTopLevelWindows", (PyCFunction
)_wrap_GetTopLevelWindows
, METH_NOARGS
, NULL
},
57757 { (char *)"new_Validator", (PyCFunction
)_wrap_new_Validator
, METH_NOARGS
, NULL
},
57758 { (char *)"Validator_Clone", (PyCFunction
)_wrap_Validator_Clone
, METH_O
, NULL
},
57759 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57760 { (char *)"Validator_TransferToWindow", (PyCFunction
)_wrap_Validator_TransferToWindow
, METH_O
, NULL
},
57761 { (char *)"Validator_TransferFromWindow", (PyCFunction
)_wrap_Validator_TransferFromWindow
, METH_O
, NULL
},
57762 { (char *)"Validator_GetWindow", (PyCFunction
)_wrap_Validator_GetWindow
, METH_O
, NULL
},
57763 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57764 { (char *)"Validator_IsSilent", (PyCFunction
)_wrap_Validator_IsSilent
, METH_NOARGS
, NULL
},
57765 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57766 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
, NULL
},
57767 { (char *)"Validator_swiginit", Validator_swiginit
, METH_VARARGS
, NULL
},
57768 { (char *)"new_PyValidator", (PyCFunction
)_wrap_new_PyValidator
, METH_NOARGS
, NULL
},
57769 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57770 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
, NULL
},
57771 { (char *)"PyValidator_swiginit", PyValidator_swiginit
, METH_VARARGS
, NULL
},
57772 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57773 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57774 { (char *)"Menu_AppendSeparator", (PyCFunction
)_wrap_Menu_AppendSeparator
, METH_O
, NULL
},
57775 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57776 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57777 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57778 { (char *)"Menu_AppendSubMenu", (PyCFunction
) _wrap_Menu_AppendSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57779 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57780 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57781 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57782 { (char *)"Menu_Break", (PyCFunction
)_wrap_Menu_Break
, METH_O
, NULL
},
57783 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57784 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57785 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57786 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57787 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57788 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57789 { (char *)"Menu_PrependSeparator", (PyCFunction
)_wrap_Menu_PrependSeparator
, METH_O
, NULL
},
57790 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57791 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57792 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57793 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57794 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57795 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57796 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57797 { (char *)"Menu_Destroy", (PyCFunction
)_wrap_Menu_Destroy
, METH_O
, NULL
},
57798 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57799 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57800 { (char *)"Menu_GetMenuItemCount", (PyCFunction
)_wrap_Menu_GetMenuItemCount
, METH_O
, NULL
},
57801 { (char *)"Menu_GetMenuItems", (PyCFunction
)_wrap_Menu_GetMenuItems
, METH_O
, NULL
},
57802 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57803 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57804 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57805 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57806 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57807 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57808 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57809 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57810 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57811 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57812 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57813 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57814 { (char *)"Menu_GetTitle", (PyCFunction
)_wrap_Menu_GetTitle
, METH_O
, NULL
},
57815 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57816 { (char *)"Menu_GetEventHandler", (PyCFunction
)_wrap_Menu_GetEventHandler
, METH_O
, NULL
},
57817 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57818 { (char *)"Menu_GetInvokingWindow", (PyCFunction
)_wrap_Menu_GetInvokingWindow
, METH_O
, NULL
},
57819 { (char *)"Menu_GetStyle", (PyCFunction
)_wrap_Menu_GetStyle
, METH_O
, NULL
},
57820 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57821 { (char *)"Menu_GetMenuBar", (PyCFunction
)_wrap_Menu_GetMenuBar
, METH_O
, NULL
},
57822 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57823 { (char *)"Menu_Detach", (PyCFunction
)_wrap_Menu_Detach
, METH_O
, NULL
},
57824 { (char *)"Menu_IsAttached", (PyCFunction
)_wrap_Menu_IsAttached
, METH_O
, NULL
},
57825 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57826 { (char *)"Menu_GetParent", (PyCFunction
)_wrap_Menu_GetParent
, METH_O
, NULL
},
57827 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
, NULL
},
57828 { (char *)"Menu_swiginit", Menu_swiginit
, METH_VARARGS
, NULL
},
57829 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57830 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57831 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57832 { (char *)"MenuBar_GetMenuCount", (PyCFunction
)_wrap_MenuBar_GetMenuCount
, METH_O
, NULL
},
57833 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57834 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57835 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57836 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57837 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57838 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57839 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57840 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57841 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57842 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57843 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57844 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57845 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57846 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57847 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57848 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57849 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57850 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57851 { (char *)"MenuBar_GetFrame", (PyCFunction
)_wrap_MenuBar_GetFrame
, METH_O
, NULL
},
57852 { (char *)"MenuBar_IsAttached", (PyCFunction
)_wrap_MenuBar_IsAttached
, METH_O
, NULL
},
57853 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57854 { (char *)"MenuBar_Detach", (PyCFunction
)_wrap_MenuBar_Detach
, METH_O
, NULL
},
57855 { (char *)"MenuBar_UpdateMenus", (PyCFunction
)_wrap_MenuBar_UpdateMenus
, METH_O
, NULL
},
57856 { (char *)"MenuBar_SetAutoWindowMenu", (PyCFunction
) _wrap_MenuBar_SetAutoWindowMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57857 { (char *)"MenuBar_GetAutoWindowMenu", (PyCFunction
)_wrap_MenuBar_GetAutoWindowMenu
, METH_NOARGS
, NULL
},
57858 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
, NULL
},
57859 { (char *)"MenuBar_swiginit", MenuBar_swiginit
, METH_VARARGS
, NULL
},
57860 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57861 { (char *)"delete_MenuItem", (PyCFunction
)_wrap_delete_MenuItem
, METH_O
, NULL
},
57862 { (char *)"MenuItem_GetMenu", (PyCFunction
)_wrap_MenuItem_GetMenu
, METH_O
, NULL
},
57863 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57864 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57865 { (char *)"MenuItem_GetId", (PyCFunction
)_wrap_MenuItem_GetId
, METH_O
, NULL
},
57866 { (char *)"MenuItem_IsSeparator", (PyCFunction
)_wrap_MenuItem_IsSeparator
, METH_O
, NULL
},
57867 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57868 { (char *)"MenuItem_GetLabel", (PyCFunction
)_wrap_MenuItem_GetLabel
, METH_O
, NULL
},
57869 { (char *)"MenuItem_GetText", (PyCFunction
)_wrap_MenuItem_GetText
, METH_O
, NULL
},
57870 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57871 { (char *)"MenuItem_GetKind", (PyCFunction
)_wrap_MenuItem_GetKind
, METH_O
, NULL
},
57872 { (char *)"MenuItem_SetKind", (PyCFunction
) _wrap_MenuItem_SetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57873 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57874 { (char *)"MenuItem_IsCheckable", (PyCFunction
)_wrap_MenuItem_IsCheckable
, METH_O
, NULL
},
57875 { (char *)"MenuItem_IsSubMenu", (PyCFunction
)_wrap_MenuItem_IsSubMenu
, METH_O
, NULL
},
57876 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57877 { (char *)"MenuItem_GetSubMenu", (PyCFunction
)_wrap_MenuItem_GetSubMenu
, METH_O
, NULL
},
57878 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57879 { (char *)"MenuItem_IsEnabled", (PyCFunction
)_wrap_MenuItem_IsEnabled
, METH_O
, NULL
},
57880 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57881 { (char *)"MenuItem_IsChecked", (PyCFunction
)_wrap_MenuItem_IsChecked
, METH_O
, NULL
},
57882 { (char *)"MenuItem_Toggle", (PyCFunction
)_wrap_MenuItem_Toggle
, METH_O
, NULL
},
57883 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57884 { (char *)"MenuItem_GetHelp", (PyCFunction
)_wrap_MenuItem_GetHelp
, METH_O
, NULL
},
57885 { (char *)"MenuItem_GetAccel", (PyCFunction
)_wrap_MenuItem_GetAccel
, METH_O
, NULL
},
57886 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57887 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57888 { (char *)"MenuItem_GetBitmap", (PyCFunction
)_wrap_MenuItem_GetBitmap
, METH_O
, NULL
},
57889 { (char *)"MenuItem_SetFont", (PyCFunction
) _wrap_MenuItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57890 { (char *)"MenuItem_GetFont", (PyCFunction
)_wrap_MenuItem_GetFont
, METH_O
, NULL
},
57891 { (char *)"MenuItem_SetTextColour", (PyCFunction
) _wrap_MenuItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57892 { (char *)"MenuItem_GetTextColour", (PyCFunction
)_wrap_MenuItem_GetTextColour
, METH_O
, NULL
},
57893 { (char *)"MenuItem_SetBackgroundColour", (PyCFunction
) _wrap_MenuItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57894 { (char *)"MenuItem_GetBackgroundColour", (PyCFunction
)_wrap_MenuItem_GetBackgroundColour
, METH_O
, NULL
},
57895 { (char *)"MenuItem_SetBitmaps", (PyCFunction
) _wrap_MenuItem_SetBitmaps
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57896 { (char *)"MenuItem_SetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57897 { (char *)"MenuItem_GetDisabledBitmap", (PyCFunction
)_wrap_MenuItem_GetDisabledBitmap
, METH_O
, NULL
},
57898 { (char *)"MenuItem_SetMarginWidth", (PyCFunction
) _wrap_MenuItem_SetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57899 { (char *)"MenuItem_GetMarginWidth", (PyCFunction
)_wrap_MenuItem_GetMarginWidth
, METH_O
, NULL
},
57900 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
)_wrap_MenuItem_GetDefaultMarginWidth
, METH_NOARGS
, NULL
},
57901 { (char *)"MenuItem_IsOwnerDrawn", (PyCFunction
)_wrap_MenuItem_IsOwnerDrawn
, METH_O
, NULL
},
57902 { (char *)"MenuItem_SetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_SetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57903 { (char *)"MenuItem_ResetOwnerDrawn", (PyCFunction
)_wrap_MenuItem_ResetOwnerDrawn
, METH_O
, NULL
},
57904 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
, NULL
},
57905 { (char *)"MenuItem_swiginit", MenuItem_swiginit
, METH_VARARGS
, NULL
},
57906 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57907 { (char *)"new_PreControl", (PyCFunction
)_wrap_new_PreControl
, METH_NOARGS
, NULL
},
57908 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57909 { (char *)"Control_GetAlignment", (PyCFunction
)_wrap_Control_GetAlignment
, METH_O
, NULL
},
57910 { (char *)"Control_GetLabelText", (PyCFunction
)_wrap_Control_GetLabelText
, METH_O
, NULL
},
57911 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57912 { (char *)"Control_GetClassDefaultAttributes", (PyCFunction
) _wrap_Control_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57913 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
, NULL
},
57914 { (char *)"Control_swiginit", Control_swiginit
, METH_VARARGS
, NULL
},
57915 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57916 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57917 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57918 { (char *)"ItemContainer_Clear", (PyCFunction
)_wrap_ItemContainer_Clear
, METH_O
, NULL
},
57919 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57920 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57921 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57922 { (char *)"ItemContainer_GetCount", (PyCFunction
)_wrap_ItemContainer_GetCount
, METH_O
, NULL
},
57923 { (char *)"ItemContainer_IsEmpty", (PyCFunction
)_wrap_ItemContainer_IsEmpty
, METH_O
, NULL
},
57924 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57925 { (char *)"ItemContainer_GetStrings", (PyCFunction
)_wrap_ItemContainer_GetStrings
, METH_O
, NULL
},
57926 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57927 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57928 { (char *)"ItemContainer_SetSelection", (PyCFunction
) _wrap_ItemContainer_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57929 { (char *)"ItemContainer_GetSelection", (PyCFunction
)_wrap_ItemContainer_GetSelection
, METH_O
, NULL
},
57930 { (char *)"ItemContainer_SetStringSelection", (PyCFunction
) _wrap_ItemContainer_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57931 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
)_wrap_ItemContainer_GetStringSelection
, METH_O
, NULL
},
57932 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57933 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
, NULL
},
57934 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
, NULL
},
57935 { (char *)"new_SizerItem", (PyCFunction
)_wrap_new_SizerItem
, METH_NOARGS
, NULL
},
57936 { (char *)"delete_SizerItem", (PyCFunction
)_wrap_delete_SizerItem
, METH_O
, NULL
},
57937 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57938 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57939 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57940 { (char *)"SizerItem_DeleteWindows", (PyCFunction
)_wrap_SizerItem_DeleteWindows
, METH_O
, NULL
},
57941 { (char *)"SizerItem_DetachSizer", (PyCFunction
)_wrap_SizerItem_DetachSizer
, METH_O
, NULL
},
57942 { (char *)"SizerItem_GetSize", (PyCFunction
)_wrap_SizerItem_GetSize
, METH_O
, NULL
},
57943 { (char *)"SizerItem_CalcMin", (PyCFunction
)_wrap_SizerItem_CalcMin
, METH_O
, NULL
},
57944 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57945 { (char *)"SizerItem_GetMinSize", (PyCFunction
)_wrap_SizerItem_GetMinSize
, METH_O
, NULL
},
57946 { (char *)"SizerItem_GetMinSizeWithBorder", (PyCFunction
)_wrap_SizerItem_GetMinSizeWithBorder
, METH_O
, NULL
},
57947 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57948 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57949 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57950 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57951 { (char *)"SizerItem_GetRatio", (PyCFunction
)_wrap_SizerItem_GetRatio
, METH_O
, NULL
},
57952 { (char *)"SizerItem_GetRect", (PyCFunction
)_wrap_SizerItem_GetRect
, METH_O
, NULL
},
57953 { (char *)"SizerItem_IsWindow", (PyCFunction
)_wrap_SizerItem_IsWindow
, METH_O
, NULL
},
57954 { (char *)"SizerItem_IsSizer", (PyCFunction
)_wrap_SizerItem_IsSizer
, METH_O
, NULL
},
57955 { (char *)"SizerItem_IsSpacer", (PyCFunction
)_wrap_SizerItem_IsSpacer
, METH_O
, NULL
},
57956 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57957 { (char *)"SizerItem_GetProportion", (PyCFunction
)_wrap_SizerItem_GetProportion
, METH_O
, NULL
},
57958 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57959 { (char *)"SizerItem_GetFlag", (PyCFunction
)_wrap_SizerItem_GetFlag
, METH_O
, NULL
},
57960 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57961 { (char *)"SizerItem_GetBorder", (PyCFunction
)_wrap_SizerItem_GetBorder
, METH_O
, NULL
},
57962 { (char *)"SizerItem_GetWindow", (PyCFunction
)_wrap_SizerItem_GetWindow
, METH_O
, NULL
},
57963 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57964 { (char *)"SizerItem_GetSizer", (PyCFunction
)_wrap_SizerItem_GetSizer
, METH_O
, NULL
},
57965 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57966 { (char *)"SizerItem_GetSpacer", (PyCFunction
)_wrap_SizerItem_GetSpacer
, METH_O
, NULL
},
57967 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57968 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57969 { (char *)"SizerItem_IsShown", (PyCFunction
)_wrap_SizerItem_IsShown
, METH_O
, NULL
},
57970 { (char *)"SizerItem_GetPosition", (PyCFunction
)_wrap_SizerItem_GetPosition
, METH_O
, NULL
},
57971 { (char *)"SizerItem_GetUserData", (PyCFunction
)_wrap_SizerItem_GetUserData
, METH_O
, NULL
},
57972 { (char *)"SizerItem_SetUserData", (PyCFunction
) _wrap_SizerItem_SetUserData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57973 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
, NULL
},
57974 { (char *)"SizerItem_swiginit", SizerItem_swiginit
, METH_VARARGS
, NULL
},
57975 { (char *)"delete_Sizer", (PyCFunction
)_wrap_delete_Sizer
, METH_O
, NULL
},
57976 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57977 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57978 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57979 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57980 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57981 { (char *)"Sizer_Detach", (PyCFunction
) _wrap_Sizer_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57982 { (char *)"Sizer_GetItem", (PyCFunction
) _wrap_Sizer_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57983 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57984 { (char *)"Sizer__ReplaceWin", (PyCFunction
) _wrap_Sizer__ReplaceWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57985 { (char *)"Sizer__ReplaceSizer", (PyCFunction
) _wrap_Sizer__ReplaceSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57986 { (char *)"Sizer__ReplaceItem", (PyCFunction
) _wrap_Sizer__ReplaceItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57987 { (char *)"Sizer_SetContainingWindow", (PyCFunction
) _wrap_Sizer_SetContainingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57988 { (char *)"Sizer_GetContainingWindow", (PyCFunction
)_wrap_Sizer_GetContainingWindow
, METH_O
, NULL
},
57989 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57990 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57991 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57992 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57993 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
57994 { (char *)"Sizer_GetSize", (PyCFunction
)_wrap_Sizer_GetSize
, METH_O
, NULL
},
57995 { (char *)"Sizer_GetPosition", (PyCFunction
)_wrap_Sizer_GetPosition
, METH_O
, NULL
},
57996 { (char *)"Sizer_GetMinSize", (PyCFunction
)_wrap_Sizer_GetMinSize
, METH_O
, NULL
},
57997 { (char *)"Sizer_RecalcSizes", (PyCFunction
)_wrap_Sizer_RecalcSizes
, METH_O
, NULL
},
57998 { (char *)"Sizer_CalcMin", (PyCFunction
)_wrap_Sizer_CalcMin
, METH_O
, NULL
},
57999 { (char *)"Sizer_Layout", (PyCFunction
)_wrap_Sizer_Layout
, METH_O
, NULL
},
58000 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58001 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58002 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58003 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58004 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58005 { (char *)"Sizer_DeleteWindows", (PyCFunction
)_wrap_Sizer_DeleteWindows
, METH_O
, NULL
},
58006 { (char *)"Sizer_GetChildren", (PyCFunction
)_wrap_Sizer_GetChildren
, METH_O
, NULL
},
58007 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58008 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58009 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58010 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
, NULL
},
58011 { (char *)"new_PySizer", (PyCFunction
)_wrap_new_PySizer
, METH_NOARGS
, NULL
},
58012 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58013 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
, NULL
},
58014 { (char *)"PySizer_swiginit", PySizer_swiginit
, METH_VARARGS
, NULL
},
58015 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58016 { (char *)"BoxSizer_GetOrientation", (PyCFunction
)_wrap_BoxSizer_GetOrientation
, METH_O
, NULL
},
58017 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58018 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
, NULL
},
58019 { (char *)"BoxSizer_swiginit", BoxSizer_swiginit
, METH_VARARGS
, NULL
},
58020 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58021 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
)_wrap_StaticBoxSizer_GetStaticBox
, METH_O
, NULL
},
58022 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
, NULL
},
58023 { (char *)"StaticBoxSizer_swiginit", StaticBoxSizer_swiginit
, METH_VARARGS
, NULL
},
58024 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58025 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58026 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58027 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58028 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58029 { (char *)"GridSizer_GetCols", (PyCFunction
)_wrap_GridSizer_GetCols
, METH_O
, NULL
},
58030 { (char *)"GridSizer_GetRows", (PyCFunction
)_wrap_GridSizer_GetRows
, METH_O
, NULL
},
58031 { (char *)"GridSizer_GetVGap", (PyCFunction
)_wrap_GridSizer_GetVGap
, METH_O
, NULL
},
58032 { (char *)"GridSizer_GetHGap", (PyCFunction
)_wrap_GridSizer_GetHGap
, METH_O
, NULL
},
58033 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
, NULL
},
58034 { (char *)"GridSizer_swiginit", GridSizer_swiginit
, METH_VARARGS
, NULL
},
58035 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58036 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58037 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58038 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58039 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58040 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58041 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
)_wrap_FlexGridSizer_GetFlexibleDirection
, METH_O
, NULL
},
58042 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58043 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
)_wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_O
, NULL
},
58044 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction
)_wrap_FlexGridSizer_GetRowHeights
, METH_O
, NULL
},
58045 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction
)_wrap_FlexGridSizer_GetColWidths
, METH_O
, NULL
},
58046 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
, NULL
},
58047 { (char *)"FlexGridSizer_swiginit", FlexGridSizer_swiginit
, METH_VARARGS
, NULL
},
58048 { (char *)"new_StdDialogButtonSizer", (PyCFunction
)_wrap_new_StdDialogButtonSizer
, METH_NOARGS
, NULL
},
58049 { (char *)"StdDialogButtonSizer_AddButton", (PyCFunction
) _wrap_StdDialogButtonSizer_AddButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58050 { (char *)"StdDialogButtonSizer_Realize", (PyCFunction
)_wrap_StdDialogButtonSizer_Realize
, METH_O
, NULL
},
58051 { (char *)"StdDialogButtonSizer_SetAffirmativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetAffirmativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58052 { (char *)"StdDialogButtonSizer_SetNegativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetNegativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58053 { (char *)"StdDialogButtonSizer_SetCancelButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetCancelButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58054 { (char *)"StdDialogButtonSizer_GetAffirmativeButton", (PyCFunction
)_wrap_StdDialogButtonSizer_GetAffirmativeButton
, METH_O
, NULL
},
58055 { (char *)"StdDialogButtonSizer_GetApplyButton", (PyCFunction
)_wrap_StdDialogButtonSizer_GetApplyButton
, METH_O
, NULL
},
58056 { (char *)"StdDialogButtonSizer_GetNegativeButton", (PyCFunction
)_wrap_StdDialogButtonSizer_GetNegativeButton
, METH_O
, NULL
},
58057 { (char *)"StdDialogButtonSizer_GetCancelButton", (PyCFunction
)_wrap_StdDialogButtonSizer_GetCancelButton
, METH_O
, NULL
},
58058 { (char *)"StdDialogButtonSizer_GetHelpButton", (PyCFunction
)_wrap_StdDialogButtonSizer_GetHelpButton
, METH_O
, NULL
},
58059 { (char *)"StdDialogButtonSizer_swigregister", StdDialogButtonSizer_swigregister
, METH_VARARGS
, NULL
},
58060 { (char *)"StdDialogButtonSizer_swiginit", StdDialogButtonSizer_swiginit
, METH_VARARGS
, NULL
},
58061 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58062 { (char *)"delete_GBPosition", (PyCFunction
)_wrap_delete_GBPosition
, METH_O
, NULL
},
58063 { (char *)"GBPosition_GetRow", (PyCFunction
)_wrap_GBPosition_GetRow
, METH_O
, NULL
},
58064 { (char *)"GBPosition_GetCol", (PyCFunction
)_wrap_GBPosition_GetCol
, METH_O
, NULL
},
58065 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58066 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58067 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58068 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58069 { (char *)"GBPosition_Set", (PyCFunction
) _wrap_GBPosition_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58070 { (char *)"GBPosition_Get", (PyCFunction
)_wrap_GBPosition_Get
, METH_O
, NULL
},
58071 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
, NULL
},
58072 { (char *)"GBPosition_swiginit", GBPosition_swiginit
, METH_VARARGS
, NULL
},
58073 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58074 { (char *)"delete_GBSpan", (PyCFunction
)_wrap_delete_GBSpan
, METH_O
, NULL
},
58075 { (char *)"GBSpan_GetRowspan", (PyCFunction
)_wrap_GBSpan_GetRowspan
, METH_O
, NULL
},
58076 { (char *)"GBSpan_GetColspan", (PyCFunction
)_wrap_GBSpan_GetColspan
, METH_O
, NULL
},
58077 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58078 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58079 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58080 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58081 { (char *)"GBSpan_Set", (PyCFunction
) _wrap_GBSpan_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58082 { (char *)"GBSpan_Get", (PyCFunction
)_wrap_GBSpan_Get
, METH_O
, NULL
},
58083 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
, NULL
},
58084 { (char *)"GBSpan_swiginit", GBSpan_swiginit
, METH_VARARGS
, NULL
},
58085 { (char *)"new_GBSizerItem", (PyCFunction
)_wrap_new_GBSizerItem
, METH_NOARGS
, NULL
},
58086 { (char *)"delete_GBSizerItem", (PyCFunction
)_wrap_delete_GBSizerItem
, METH_O
, NULL
},
58087 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58088 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58089 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58090 { (char *)"GBSizerItem_GetPos", (PyCFunction
)_wrap_GBSizerItem_GetPos
, METH_O
, NULL
},
58091 { (char *)"GBSizerItem_GetSpan", (PyCFunction
)_wrap_GBSizerItem_GetSpan
, METH_O
, NULL
},
58092 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58093 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58094 { (char *)"GBSizerItem_Intersects", (PyCFunction
) _wrap_GBSizerItem_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58095 { (char *)"GBSizerItem_IntersectsPos", (PyCFunction
) _wrap_GBSizerItem_IntersectsPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58096 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
)_wrap_GBSizerItem_GetEndPos
, METH_O
, NULL
},
58097 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
)_wrap_GBSizerItem_GetGBSizer
, METH_O
, NULL
},
58098 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58099 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
, NULL
},
58100 { (char *)"GBSizerItem_swiginit", GBSizerItem_swiginit
, METH_VARARGS
, NULL
},
58101 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58102 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58103 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58104 { (char *)"GridBagSizer_GetCellSize", (PyCFunction
) _wrap_GridBagSizer_GetCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58105 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
)_wrap_GridBagSizer_GetEmptyCellSize
, METH_O
, NULL
},
58106 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58107 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
, NULL
},
58108 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
, NULL
},
58109 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
, NULL
},
58110 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
, NULL
},
58111 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
, NULL
},
58112 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58113 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58114 { (char *)"GridBagSizer_CheckForIntersection", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58115 { (char *)"GridBagSizer_CheckForIntersectionPos", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersectionPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58116 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
, NULL
},
58117 { (char *)"GridBagSizer_swiginit", GridBagSizer_swiginit
, METH_VARARGS
, NULL
},
58118 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58119 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58120 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58121 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58122 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58123 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58124 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58125 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58126 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
)_wrap_IndividualLayoutConstraint_Unconstrained
, METH_O
, NULL
},
58127 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
)_wrap_IndividualLayoutConstraint_AsIs
, METH_O
, NULL
},
58128 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
)_wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_O
, NULL
},
58129 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
)_wrap_IndividualLayoutConstraint_GetMyEdge
, METH_O
, NULL
},
58130 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58131 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58132 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
)_wrap_IndividualLayoutConstraint_GetMargin
, METH_O
, NULL
},
58133 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58134 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
)_wrap_IndividualLayoutConstraint_GetValue
, METH_O
, NULL
},
58135 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
)_wrap_IndividualLayoutConstraint_GetPercent
, METH_O
, NULL
},
58136 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
)_wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_O
, NULL
},
58137 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
)_wrap_IndividualLayoutConstraint_GetDone
, METH_O
, NULL
},
58138 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58139 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
)_wrap_IndividualLayoutConstraint_GetRelationship
, METH_O
, NULL
},
58140 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58141 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58142 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58143 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58144 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
, NULL
},
58145 { (char *)"LayoutConstraints_left_get", (PyCFunction
)_wrap_LayoutConstraints_left_get
, METH_O
, NULL
},
58146 { (char *)"LayoutConstraints_top_get", (PyCFunction
)_wrap_LayoutConstraints_top_get
, METH_O
, NULL
},
58147 { (char *)"LayoutConstraints_right_get", (PyCFunction
)_wrap_LayoutConstraints_right_get
, METH_O
, NULL
},
58148 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
)_wrap_LayoutConstraints_bottom_get
, METH_O
, NULL
},
58149 { (char *)"LayoutConstraints_width_get", (PyCFunction
)_wrap_LayoutConstraints_width_get
, METH_O
, NULL
},
58150 { (char *)"LayoutConstraints_height_get", (PyCFunction
)_wrap_LayoutConstraints_height_get
, METH_O
, NULL
},
58151 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
)_wrap_LayoutConstraints_centreX_get
, METH_O
, NULL
},
58152 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
)_wrap_LayoutConstraints_centreY_get
, METH_O
, NULL
},
58153 { (char *)"new_LayoutConstraints", (PyCFunction
)_wrap_new_LayoutConstraints
, METH_NOARGS
, NULL
},
58154 { (char *)"delete_LayoutConstraints", (PyCFunction
)_wrap_delete_LayoutConstraints
, METH_O
, NULL
},
58155 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
58156 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
)_wrap_LayoutConstraints_AreSatisfied
, METH_O
, NULL
},
58157 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
, NULL
},
58158 { (char *)"LayoutConstraints_swiginit", LayoutConstraints_swiginit
, METH_VARARGS
, NULL
},
58159 { NULL
, NULL
, 0, NULL
}
58163 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
58165 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
58166 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
58168 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
58169 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
58171 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
58172 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
58174 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
58175 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
58177 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
58178 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
58180 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
58181 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
58183 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
58184 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
58186 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
58187 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
58189 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
58190 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
58192 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x
) {
58193 return (void *)((wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
58195 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
58196 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
58198 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
58199 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
58201 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
58202 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
58204 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
58205 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
58207 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
58208 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
58210 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
58211 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
58213 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
58214 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
58216 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
58217 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
58219 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
58220 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
58222 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
58223 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
58225 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
58226 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
58228 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
58229 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
58231 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
58232 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
58234 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
58235 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
58237 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
58238 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
58240 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
58241 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
58243 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
58244 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
58246 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
58247 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
58249 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
58250 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
58252 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
58253 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
58255 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
58256 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
58258 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
58259 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
58261 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
58262 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
58264 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
58265 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
58267 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
58268 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
58270 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
58271 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
58273 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
58274 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
58276 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
58277 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
58279 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
58280 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
58282 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
58283 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
58285 static void *_p_wxEventBlockerTo_p_wxObject(void *x
) {
58286 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxEventBlocker
*) x
));
58288 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
58289 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
58291 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
58292 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
58294 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
58295 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
58297 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
58298 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
58300 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
58301 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
58303 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
58304 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
58306 static void *_p_wxSizerTo_p_wxObject(void *x
) {
58307 return (void *)((wxObject
*) ((wxSizer
*) x
));
58309 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
58310 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
58312 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
58313 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
58315 static void *_p_wxEventTo_p_wxObject(void *x
) {
58316 return (void *)((wxObject
*) ((wxEvent
*) x
));
58318 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
58319 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
58321 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
58322 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
58324 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
58325 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
58327 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
58328 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
58330 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
58331 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
58333 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
58334 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
58336 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
58337 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
58339 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
58340 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
58342 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
58343 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
58345 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
58346 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
58348 static void *_p_wxControlTo_p_wxObject(void *x
) {
58349 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
58351 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
58352 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
58354 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
58355 return (void *)((wxObject
*) ((wxFSFile
*) x
));
58357 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
58358 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
58360 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
58361 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
58363 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
58364 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
58366 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
58367 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
58369 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
58370 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
58372 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
58373 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
58375 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
58376 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
58378 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
58379 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
58381 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
58382 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
58384 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
58385 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
58387 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
58388 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
58390 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
58391 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
58393 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
58394 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
58396 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
58397 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
58399 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
58400 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
58402 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
58403 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
58405 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
58406 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
58408 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
58409 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
58411 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
58412 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
58414 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
58415 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
58417 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
58418 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
58420 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
58421 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
58423 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
58424 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
58426 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
58427 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
58429 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
58430 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
58432 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
58433 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
58435 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
58436 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
58438 static void *_p_wxTGAHandlerTo_p_wxObject(void *x
) {
58439 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTGAHandler
*) x
));
58441 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
58442 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
58444 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
58445 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
58447 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
58448 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
58450 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
58451 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
58453 static void *_p_wxImageTo_p_wxObject(void *x
) {
58454 return (void *)((wxObject
*) ((wxImage
*) x
));
58456 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
58457 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
58459 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
58460 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
58462 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
58463 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
58465 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
58466 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
58468 static void *_p_wxWindowTo_p_wxObject(void *x
) {
58469 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
58471 static void *_p_wxMenuTo_p_wxObject(void *x
) {
58472 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
58474 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
58475 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
58477 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
58478 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
58480 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
58481 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
58483 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
58484 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
58486 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
58487 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
58489 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
58490 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
58492 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
58493 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
58495 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
58496 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
58498 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
58499 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
58501 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
58502 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
58504 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
58505 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
58507 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
58508 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
58510 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
58511 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
58513 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
58514 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
58516 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
58517 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
58519 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
58520 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
58522 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
58523 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
58525 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
58526 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
58528 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
58529 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
58531 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
58532 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
58534 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
58535 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
58537 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
58538 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
58540 static void *_p_wxStdDialogButtonSizerTo_p_wxBoxSizer(void *x
) {
58541 return (void *)((wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
58543 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
58544 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
58546 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
58547 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
58549 static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x
) {
58550 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
58552 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
58553 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
58555 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
58556 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
58558 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
58559 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
58561 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
58562 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
58564 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
58565 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
58567 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
58568 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
58570 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
58571 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
58573 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
58574 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
58576 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
58577 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
58579 static void *_p_wxPyImageHandlerTo_p_wxImageHandler(void *x
) {
58580 return (void *)((wxImageHandler
*) ((wxPyImageHandler
*) x
));
58582 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
58583 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
58585 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
58586 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
58588 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
58589 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
58591 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
58592 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
58594 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
58595 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
58597 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
58598 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
58600 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
58601 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
58603 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
58604 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
58606 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
58607 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
58609 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
58610 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
58612 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
58613 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
58615 static void *_p_wxTGAHandlerTo_p_wxImageHandler(void *x
) {
58616 return (void *)((wxImageHandler
*) ((wxTGAHandler
*) x
));
58618 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
58619 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
58621 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
58622 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
58624 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
58625 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
58627 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
58628 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
58630 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
58631 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
58633 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
58634 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
58636 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
58637 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
58639 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
58640 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
58642 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
58643 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
58645 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
58646 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
58648 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
58649 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
58651 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
58652 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
58654 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
58655 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
58657 static void *_p_wxEventBlockerTo_p_wxEvtHandler(void *x
) {
58658 return (void *)((wxEvtHandler
*) ((wxEventBlocker
*) x
));
58660 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
58661 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
58663 static void *_p_wxControlTo_p_wxWindow(void *x
) {
58664 return (void *)((wxWindow
*) ((wxControl
*) x
));
58666 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
58667 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
58669 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
58670 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
58672 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
58673 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
58675 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
58676 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
58678 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
58679 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
58681 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
58682 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
58684 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
58685 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
58687 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
58688 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
58690 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
58691 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
58693 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
58694 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
58696 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
58697 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
58699 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
58700 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
58702 static swig_type_info _swigt__p_buffer
= {"_p_buffer", "buffer *", 0, 0, (void*)0, 0};
58703 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
58704 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};
58705 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
58706 static swig_type_info _swigt__p_long
= {"_p_long", "long *", 0, 0, (void*)0, 0};
58707 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
58708 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
58709 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
58710 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", "wxANIHandler *", 0, 0, (void*)0, 0};
58711 static swig_type_info _swigt__p_wxAcceleratorEntry
= {"_p_wxAcceleratorEntry", "wxAcceleratorEntry *", 0, 0, (void*)0, 0};
58712 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", "wxAcceleratorTable *", 0, 0, (void*)0, 0};
58713 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", "wxActivateEvent *", 0, 0, (void*)0, 0};
58714 static swig_type_info _swigt__p_wxAppTraits
= {"_p_wxAppTraits", "wxAppTraits *", 0, 0, (void*)0, 0};
58715 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
58716 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", "wxBMPHandler *", 0, 0, (void*)0, 0};
58717 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
58718 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", "wxBoxSizer *", 0, 0, (void*)0, 0};
58719 static swig_type_info _swigt__p_wxButton
= {"_p_wxButton", "wxButton *", 0, 0, (void*)0, 0};
58720 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", "wxCURHandler *", 0, 0, (void*)0, 0};
58721 static swig_type_info _swigt__p_wxCaret
= {"_p_wxCaret", "wxCaret *", 0, 0, (void*)0, 0};
58722 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", "wxChildFocusEvent *", 0, 0, (void*)0, 0};
58723 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", "wxClipboardTextEvent *", 0, 0, (void*)0, 0};
58724 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", "wxCloseEvent *", 0, 0, (void*)0, 0};
58725 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
58726 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
58727 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", "wxContextMenuEvent *", 0, 0, (void*)0, 0};
58728 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
58729 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", "wxControlWithItems *", 0, 0, (void*)0, 0};
58730 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
58731 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
58732 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", "wxDateEvent *", 0, 0, (void*)0, 0};
58733 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
58734 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", "wxDisplayChangedEvent *", 0, 0, (void*)0, 0};
58735 static swig_type_info _swigt__p_wxDouble
= {"_p_wxDouble", "wxDouble *", 0, 0, (void*)0, 0};
58736 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", "wxDropFilesEvent *", 0, 0, (void*)0, 0};
58737 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
58738 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", "wxEraseEvent *", 0, 0, (void*)0, 0};
58739 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
58740 static swig_type_info _swigt__p_wxEventBlocker
= {"_p_wxEventBlocker", "wxEventBlocker *", 0, 0, (void*)0, 0};
58741 static swig_type_info _swigt__p_wxEventLoop
= {"_p_wxEventLoop", "wxEventLoop *", 0, 0, (void*)0, 0};
58742 static swig_type_info _swigt__p_wxEventLoopActivator
= {"_p_wxEventLoopActivator", "wxEventLoopActivator *", 0, 0, (void*)0, 0};
58743 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
58744 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", "wxFSFile *", 0, 0, (void*)0, 0};
58745 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
58746 static swig_type_info _swigt__p_wxFileSystemHandler
= {"_p_wxFileSystemHandler", "wxFileSystemHandler *", 0, 0, (void*)0, 0};
58747 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", "wxFlexGridSizer *", 0, 0, (void*)0, 0};
58748 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", "wxFocusEvent *", 0, 0, (void*)0, 0};
58749 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
58750 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
58751 static swig_type_info _swigt__p_wxGBPosition
= {"_p_wxGBPosition", "wxGBPosition *", 0, 0, (void*)0, 0};
58752 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", "wxGBSizerItem *", 0, 0, (void*)0, 0};
58753 static swig_type_info _swigt__p_wxGBSpan
= {"_p_wxGBSpan", "wxGBSpan *", 0, 0, (void*)0, 0};
58754 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", "wxGIFHandler *", 0, 0, (void*)0, 0};
58755 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", "wxGridBagSizer *", 0, 0, (void*)0, 0};
58756 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", "wxGridSizer *", 0, 0, (void*)0, 0};
58757 static swig_type_info _swigt__p_wxHelpEvent__Origin
= {"_p_wxHelpEvent__Origin", "wxHelpEvent::Origin *", 0, 0, (void*)0, 0};
58758 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", "wxICOHandler *", 0, 0, (void*)0, 0};
58759 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", "wxIconizeEvent *", 0, 0, (void*)0, 0};
58760 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", "wxIdleEvent *", 0, 0, (void*)0, 0};
58761 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
58762 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", "wxImageHandler *", 0, 0, (void*)0, 0};
58763 static swig_type_info _swigt__p_wxImageHistogram
= {"_p_wxImageHistogram", "wxImageHistogram *", 0, 0, (void*)0, 0};
58764 static swig_type_info _swigt__p_wxImage_HSVValue
= {"_p_wxImage_HSVValue", "wxImage_HSVValue *", 0, 0, (void*)0, 0};
58765 static swig_type_info _swigt__p_wxImage_RGBValue
= {"_p_wxImage_RGBValue", "wxImage_RGBValue *", 0, 0, (void*)0, 0};
58766 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", "wxIndividualLayoutConstraint *", 0, 0, (void*)0, 0};
58767 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", "wxInitDialogEvent *", 0, 0, (void*)0, 0};
58768 static swig_type_info _swigt__p_wxInputStream
= {"_p_wxInputStream", "wxInputStream *", 0, 0, (void*)0, 0};
58769 static swig_type_info _swigt__p_wxInternetFSHandler
= {"_p_wxInternetFSHandler", "wxInternetFSHandler *", 0, 0, (void*)0, 0};
58770 static swig_type_info _swigt__p_wxItemContainer
= {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
58771 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", "wxJPEGHandler *", 0, 0, (void*)0, 0};
58772 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, (void*)0, 0};
58773 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", "wxLayoutConstraints *", 0, 0, (void*)0, 0};
58774 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", "wxMaximizeEvent *", 0, 0, (void*)0, 0};
58775 static swig_type_info _swigt__p_wxMemoryFSHandler
= {"_p_wxMemoryFSHandler", "wxMemoryFSHandler *", 0, 0, (void*)0, 0};
58776 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
58777 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
58778 static swig_type_info _swigt__p_wxMenuBarBase
= {"_p_wxMenuBarBase", "wxMenuBarBase *", 0, 0, (void*)0, 0};
58779 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", "wxMenuEvent *", 0, 0, (void*)0, 0};
58780 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", "wxMenuItem *", 0, 0, (void*)0, 0};
58781 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", "wxMouseCaptureChangedEvent *", 0, 0, (void*)0, 0};
58782 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", "wxMouseCaptureLostEvent *", 0, 0, (void*)0, 0};
58783 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, (void*)0, 0};
58784 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", "wxMoveEvent *", 0, 0, (void*)0, 0};
58785 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", "wxNavigationKeyEvent *", 0, 0, (void*)0, 0};
58786 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", "wxNcPaintEvent *", 0, 0, (void*)0, 0};
58787 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
58788 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
58789 static swig_type_info _swigt__p_wxOutputStream
= {"_p_wxOutputStream", "wxOutputStream *", 0, 0, (void*)0, 0};
58790 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", "wxPCXHandler *", 0, 0, (void*)0, 0};
58791 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", "wxPNGHandler *", 0, 0, (void*)0, 0};
58792 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", "wxPNMHandler *", 0, 0, (void*)0, 0};
58793 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", "wxPaintEvent *", 0, 0, (void*)0, 0};
58794 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", "wxPaletteChangedEvent *", 0, 0, (void*)0, 0};
58795 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
58796 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
58797 static swig_type_info _swigt__p_wxPoint2D
= {"_p_wxPoint2D", "wxPoint2D *", 0, 0, (void*)0, 0};
58798 static swig_type_info _swigt__p_wxPropagateOnce
= {"_p_wxPropagateOnce", "wxPropagateOnce *", 0, 0, (void*)0, 0};
58799 static swig_type_info _swigt__p_wxPropagationDisabler
= {"_p_wxPropagationDisabler", "wxPropagationDisabler *", 0, 0, (void*)0, 0};
58800 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", "wxPyApp *", 0, 0, (void*)0, 0};
58801 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", "wxPyCommandEvent *", 0, 0, (void*)0, 0};
58802 static swig_type_info _swigt__p_wxPyDropTarget
= {"_p_wxPyDropTarget", "wxPyDropTarget *", 0, 0, (void*)0, 0};
58803 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", "wxPyEvent *", 0, 0, (void*)0, 0};
58804 static swig_type_info _swigt__p_wxPyFileSystemHandler
= {"_p_wxPyFileSystemHandler", "wxPyFileSystemHandler *", 0, 0, (void*)0, 0};
58805 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", "wxPyImageHandler *", 0, 0, (void*)0, 0};
58806 static swig_type_info _swigt__p_wxPyInputStream
= {"_p_wxPyInputStream", "wxPyInputStream *", 0, 0, (void*)0, 0};
58807 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", "wxPySizer *", 0, 0, (void*)0, 0};
58808 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", "wxPyValidator *", 0, 0, (void*)0, 0};
58809 static swig_type_info _swigt__p_wxQuantize
= {"_p_wxQuantize", "wxQuantize *", 0, 0, (void*)0, 0};
58810 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", "wxQueryNewPaletteEvent *", 0, 0, (void*)0, 0};
58811 static swig_type_info _swigt__p_wxRealPoint
= {"_p_wxRealPoint", "wxRealPoint *", 0, 0, (void*)0, 0};
58812 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
58813 static swig_type_info _swigt__p_wxRect2D
= {"_p_wxRect2D", "wxRect2D *", 0, 0, (void*)0, 0};
58814 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
58815 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", "wxScrollEvent *", 0, 0, (void*)0, 0};
58816 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
58817 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", "wxSetCursorEvent *", 0, 0, (void*)0, 0};
58818 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", "wxShowEvent *", 0, 0, (void*)0, 0};
58819 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
58820 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", "wxSizeEvent *", 0, 0, (void*)0, 0};
58821 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", "wxSizer *", 0, 0, (void*)0, 0};
58822 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", "wxSizerItem *", 0, 0, (void*)0, 0};
58823 static swig_type_info _swigt__p_wxStaticBox
= {"_p_wxStaticBox", "wxStaticBox *", 0, 0, (void*)0, 0};
58824 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", "wxStaticBoxSizer *", 0, 0, (void*)0, 0};
58825 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
58826 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", "wxSysColourChangedEvent *", 0, 0, (void*)0, 0};
58827 static swig_type_info _swigt__p_wxTGAHandler
= {"_p_wxTGAHandler", "wxTGAHandler *", 0, 0, (void*)0, 0};
58828 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", "wxTIFFHandler *", 0, 0, (void*)0, 0};
58829 static swig_type_info _swigt__p_wxToolTip
= {"_p_wxToolTip", "wxToolTip *", 0, 0, (void*)0, 0};
58830 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", "wxUpdateUIEvent *", 0, 0, (void*)0, 0};
58831 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
58832 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
58833 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
58834 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", "wxWindowCreateEvent *", 0, 0, (void*)0, 0};
58835 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", "wxWindowDestroyEvent *", 0, 0, (void*)0, 0};
58836 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", "wxXPMHandler *", 0, 0, (void*)0, 0};
58837 static swig_type_info _swigt__p_wxZipFSHandler
= {"_p_wxZipFSHandler", "wxZipFSHandler *", 0, 0, (void*)0, 0};
58839 static swig_type_info
*swig_type_initial
[] = {
58842 &_swigt__p_form_ops_t
,
58845 &_swigt__p_unsigned_char
,
58846 &_swigt__p_unsigned_int
,
58847 &_swigt__p_unsigned_long
,
58848 &_swigt__p_wxANIHandler
,
58849 &_swigt__p_wxAcceleratorEntry
,
58850 &_swigt__p_wxAcceleratorTable
,
58851 &_swigt__p_wxActivateEvent
,
58852 &_swigt__p_wxAppTraits
,
58853 &_swigt__p_wxArrayString
,
58854 &_swigt__p_wxBMPHandler
,
58855 &_swigt__p_wxBitmap
,
58856 &_swigt__p_wxBoxSizer
,
58857 &_swigt__p_wxButton
,
58858 &_swigt__p_wxCURHandler
,
58859 &_swigt__p_wxCaret
,
58860 &_swigt__p_wxChildFocusEvent
,
58861 &_swigt__p_wxClipboardTextEvent
,
58862 &_swigt__p_wxCloseEvent
,
58863 &_swigt__p_wxColour
,
58864 &_swigt__p_wxCommandEvent
,
58865 &_swigt__p_wxContextMenuEvent
,
58866 &_swigt__p_wxControl
,
58867 &_swigt__p_wxControlWithItems
,
58868 &_swigt__p_wxCursor
,
58870 &_swigt__p_wxDateEvent
,
58871 &_swigt__p_wxDateTime
,
58872 &_swigt__p_wxDisplayChangedEvent
,
58873 &_swigt__p_wxDouble
,
58874 &_swigt__p_wxDropFilesEvent
,
58875 &_swigt__p_wxDuplexMode
,
58876 &_swigt__p_wxEraseEvent
,
58877 &_swigt__p_wxEvent
,
58878 &_swigt__p_wxEventBlocker
,
58879 &_swigt__p_wxEventLoop
,
58880 &_swigt__p_wxEventLoopActivator
,
58881 &_swigt__p_wxEvtHandler
,
58882 &_swigt__p_wxFSFile
,
58883 &_swigt__p_wxFileSystem
,
58884 &_swigt__p_wxFileSystemHandler
,
58885 &_swigt__p_wxFlexGridSizer
,
58886 &_swigt__p_wxFocusEvent
,
58888 &_swigt__p_wxFrame
,
58889 &_swigt__p_wxGBPosition
,
58890 &_swigt__p_wxGBSizerItem
,
58891 &_swigt__p_wxGBSpan
,
58892 &_swigt__p_wxGIFHandler
,
58893 &_swigt__p_wxGridBagSizer
,
58894 &_swigt__p_wxGridSizer
,
58895 &_swigt__p_wxHelpEvent__Origin
,
58896 &_swigt__p_wxICOHandler
,
58897 &_swigt__p_wxIconizeEvent
,
58898 &_swigt__p_wxIdleEvent
,
58899 &_swigt__p_wxImage
,
58900 &_swigt__p_wxImageHandler
,
58901 &_swigt__p_wxImageHistogram
,
58902 &_swigt__p_wxImage_HSVValue
,
58903 &_swigt__p_wxImage_RGBValue
,
58904 &_swigt__p_wxIndividualLayoutConstraint
,
58905 &_swigt__p_wxInitDialogEvent
,
58906 &_swigt__p_wxInputStream
,
58907 &_swigt__p_wxInternetFSHandler
,
58908 &_swigt__p_wxItemContainer
,
58909 &_swigt__p_wxJPEGHandler
,
58910 &_swigt__p_wxKeyEvent
,
58911 &_swigt__p_wxLayoutConstraints
,
58912 &_swigt__p_wxMaximizeEvent
,
58913 &_swigt__p_wxMemoryFSHandler
,
58915 &_swigt__p_wxMenuBar
,
58916 &_swigt__p_wxMenuBarBase
,
58917 &_swigt__p_wxMenuEvent
,
58918 &_swigt__p_wxMenuItem
,
58919 &_swigt__p_wxMouseCaptureChangedEvent
,
58920 &_swigt__p_wxMouseCaptureLostEvent
,
58921 &_swigt__p_wxMouseEvent
,
58922 &_swigt__p_wxMoveEvent
,
58923 &_swigt__p_wxNavigationKeyEvent
,
58924 &_swigt__p_wxNcPaintEvent
,
58925 &_swigt__p_wxNotifyEvent
,
58926 &_swigt__p_wxObject
,
58927 &_swigt__p_wxOutputStream
,
58928 &_swigt__p_wxPCXHandler
,
58929 &_swigt__p_wxPNGHandler
,
58930 &_swigt__p_wxPNMHandler
,
58931 &_swigt__p_wxPaintEvent
,
58932 &_swigt__p_wxPaletteChangedEvent
,
58933 &_swigt__p_wxPaperSize
,
58934 &_swigt__p_wxPoint
,
58935 &_swigt__p_wxPoint2D
,
58936 &_swigt__p_wxPropagateOnce
,
58937 &_swigt__p_wxPropagationDisabler
,
58938 &_swigt__p_wxPyApp
,
58939 &_swigt__p_wxPyCommandEvent
,
58940 &_swigt__p_wxPyDropTarget
,
58941 &_swigt__p_wxPyEvent
,
58942 &_swigt__p_wxPyFileSystemHandler
,
58943 &_swigt__p_wxPyImageHandler
,
58944 &_swigt__p_wxPyInputStream
,
58945 &_swigt__p_wxPySizer
,
58946 &_swigt__p_wxPyValidator
,
58947 &_swigt__p_wxQuantize
,
58948 &_swigt__p_wxQueryNewPaletteEvent
,
58949 &_swigt__p_wxRealPoint
,
58951 &_swigt__p_wxRect2D
,
58952 &_swigt__p_wxRegion
,
58953 &_swigt__p_wxScrollEvent
,
58954 &_swigt__p_wxScrollWinEvent
,
58955 &_swigt__p_wxSetCursorEvent
,
58956 &_swigt__p_wxShowEvent
,
58958 &_swigt__p_wxSizeEvent
,
58959 &_swigt__p_wxSizer
,
58960 &_swigt__p_wxSizerItem
,
58961 &_swigt__p_wxStaticBox
,
58962 &_swigt__p_wxStaticBoxSizer
,
58963 &_swigt__p_wxStdDialogButtonSizer
,
58964 &_swigt__p_wxSysColourChangedEvent
,
58965 &_swigt__p_wxTGAHandler
,
58966 &_swigt__p_wxTIFFHandler
,
58967 &_swigt__p_wxToolTip
,
58968 &_swigt__p_wxUpdateUIEvent
,
58969 &_swigt__p_wxValidator
,
58970 &_swigt__p_wxVisualAttributes
,
58971 &_swigt__p_wxWindow
,
58972 &_swigt__p_wxWindowCreateEvent
,
58973 &_swigt__p_wxWindowDestroyEvent
,
58974 &_swigt__p_wxXPMHandler
,
58975 &_swigt__p_wxZipFSHandler
,
58978 static swig_cast_info _swigc__p_buffer
[] = { {&_swigt__p_buffer
, 0, 0, 0},{0, 0, 0, 0}};
58979 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
58980 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
58981 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
58982 static swig_cast_info _swigc__p_long
[] = { {&_swigt__p_long
, 0, 0, 0},{0, 0, 0, 0}};
58983 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
58984 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
58985 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
58986 static swig_cast_info _swigc__p_wxANIHandler
[] = { {&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
58987 static swig_cast_info _swigc__p_wxAcceleratorEntry
[] = { {&_swigt__p_wxAcceleratorEntry
, 0, 0, 0},{0, 0, 0, 0}};
58988 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = { {&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
58989 static swig_cast_info _swigc__p_wxActivateEvent
[] = { {&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
58990 static swig_cast_info _swigc__p_wxAppTraits
[] = { {&_swigt__p_wxAppTraits
, 0, 0, 0},{0, 0, 0, 0}};
58991 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
58992 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}};
58993 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
58994 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}};
58995 static swig_cast_info _swigc__p_wxButton
[] = { {&_swigt__p_wxButton
, 0, 0, 0},{0, 0, 0, 0}};
58996 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}};
58997 static swig_cast_info _swigc__p_wxCaret
[] = { {&_swigt__p_wxCaret
, 0, 0, 0},{0, 0, 0, 0}};
58998 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = { {&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
58999 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = { {&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
59000 static swig_cast_info _swigc__p_wxCloseEvent
[] = { {&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
59001 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
59002 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}};
59003 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = { {&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
59004 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}};
59005 static swig_cast_info _swigc__p_wxControlWithItems
[] = { {&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
59006 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
59007 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
59008 static swig_cast_info _swigc__p_wxDateEvent
[] = { {&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
59009 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
59010 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = { {&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
59011 static swig_cast_info _swigc__p_wxDouble
[] = { {&_swigt__p_wxDouble
, 0, 0, 0},{0, 0, 0, 0}};
59012 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = { {&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
59013 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
59014 static swig_cast_info _swigc__p_wxEraseEvent
[] = { {&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
59015 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}};
59016 static swig_cast_info _swigc__p_wxEventBlocker
[] = { {&_swigt__p_wxEventBlocker
, 0, 0, 0},{0, 0, 0, 0}};
59017 static swig_cast_info _swigc__p_wxEventLoop
[] = { {&_swigt__p_wxEventLoop
, 0, 0, 0},{0, 0, 0, 0}};
59018 static swig_cast_info _swigc__p_wxEventLoopActivator
[] = { {&_swigt__p_wxEventLoopActivator
, 0, 0, 0},{0, 0, 0, 0}};
59019 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}, {&_swigt__p_wxEventBlocker
, _p_wxEventBlockerTo_p_wxEvtHandler
, 0, 0},{0, 0, 0, 0}};
59020 static swig_cast_info _swigc__p_wxFSFile
[] = { {&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
59021 static swig_cast_info _swigc__p_wxFileSystem
[] = { {&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
59022 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}};
59023 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}};
59024 static swig_cast_info _swigc__p_wxFocusEvent
[] = { {&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
59025 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
59026 static swig_cast_info _swigc__p_wxFrame
[] = { {&_swigt__p_wxFrame
, 0, 0, 0},{0, 0, 0, 0}};
59027 static swig_cast_info _swigc__p_wxGBPosition
[] = { {&_swigt__p_wxGBPosition
, 0, 0, 0},{0, 0, 0, 0}};
59028 static swig_cast_info _swigc__p_wxGBSizerItem
[] = { {&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
59029 static swig_cast_info _swigc__p_wxGBSpan
[] = { {&_swigt__p_wxGBSpan
, 0, 0, 0},{0, 0, 0, 0}};
59030 static swig_cast_info _swigc__p_wxGIFHandler
[] = { {&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
59031 static swig_cast_info _swigc__p_wxGridBagSizer
[] = { {&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
59032 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}};
59033 static swig_cast_info _swigc__p_wxHelpEvent__Origin
[] = { {&_swigt__p_wxHelpEvent__Origin
, 0, 0, 0},{0, 0, 0, 0}};
59034 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}};
59035 static swig_cast_info _swigc__p_wxIconizeEvent
[] = { {&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
59036 static swig_cast_info _swigc__p_wxIdleEvent
[] = { {&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
59037 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
59038 static swig_cast_info _swigc__p_wxImageHandler
[] = { {&_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}, {&_swigt__p_wxTGAHandler
, _p_wxTGAHandlerTo_p_wxImageHandler
, 0, 0}, {&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
59039 static swig_cast_info _swigc__p_wxImageHistogram
[] = { {&_swigt__p_wxImageHistogram
, 0, 0, 0},{0, 0, 0, 0}};
59040 static swig_cast_info _swigc__p_wxImage_HSVValue
[] = { {&_swigt__p_wxImage_HSVValue
, 0, 0, 0},{0, 0, 0, 0}};
59041 static swig_cast_info _swigc__p_wxImage_RGBValue
[] = { {&_swigt__p_wxImage_RGBValue
, 0, 0, 0},{0, 0, 0, 0}};
59042 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = { {&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
59043 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = { {&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
59044 static swig_cast_info _swigc__p_wxInputStream
[] = { {&_swigt__p_wxInputStream
, 0, 0, 0},{0, 0, 0, 0}};
59045 static swig_cast_info _swigc__p_wxInternetFSHandler
[] = { {&_swigt__p_wxInternetFSHandler
, 0, 0, 0},{0, 0, 0, 0}};
59046 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}};
59047 static swig_cast_info _swigc__p_wxJPEGHandler
[] = { {&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
59048 static swig_cast_info _swigc__p_wxKeyEvent
[] = { {&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
59049 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = { {&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
59050 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = { {&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
59051 static swig_cast_info _swigc__p_wxMemoryFSHandler
[] = { {&_swigt__p_wxMemoryFSHandler
, 0, 0, 0},{0, 0, 0, 0}};
59052 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
59053 static swig_cast_info _swigc__p_wxMenuBar
[] = { {&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
59054 static swig_cast_info _swigc__p_wxMenuBarBase
[] = { {&_swigt__p_wxMenuBarBase
, 0, 0, 0},{0, 0, 0, 0}};
59055 static swig_cast_info _swigc__p_wxMenuEvent
[] = { {&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
59056 static swig_cast_info _swigc__p_wxMenuItem
[] = { {&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
59057 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = { {&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
59058 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = { {&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
59059 static swig_cast_info _swigc__p_wxMouseEvent
[] = { {&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
59060 static swig_cast_info _swigc__p_wxMoveEvent
[] = { {&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
59061 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = { {&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
59062 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = { {&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
59063 static swig_cast_info _swigc__p_wxNotifyEvent
[] = { {&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
59064 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEventBlocker
, _p_wxEventBlockerTo_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_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_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_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_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_wxTGAHandler
, _p_wxTGAHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_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_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}};
59065 static swig_cast_info _swigc__p_wxOutputStream
[] = { {&_swigt__p_wxOutputStream
, 0, 0, 0},{0, 0, 0, 0}};
59066 static swig_cast_info _swigc__p_wxPCXHandler
[] = { {&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
59067 static swig_cast_info _swigc__p_wxPNGHandler
[] = { {&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
59068 static swig_cast_info _swigc__p_wxPNMHandler
[] = { {&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
59069 static swig_cast_info _swigc__p_wxPaintEvent
[] = { {&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
59070 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = { {&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
59071 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
59072 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
59073 static swig_cast_info _swigc__p_wxPoint2D
[] = { {&_swigt__p_wxPoint2D
, 0, 0, 0},{0, 0, 0, 0}};
59074 static swig_cast_info _swigc__p_wxPropagateOnce
[] = { {&_swigt__p_wxPropagateOnce
, 0, 0, 0},{0, 0, 0, 0}};
59075 static swig_cast_info _swigc__p_wxPropagationDisabler
[] = { {&_swigt__p_wxPropagationDisabler
, 0, 0, 0},{0, 0, 0, 0}};
59076 static swig_cast_info _swigc__p_wxPyApp
[] = { {&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
59077 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = { {&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
59078 static swig_cast_info _swigc__p_wxPyDropTarget
[] = { {&_swigt__p_wxPyDropTarget
, 0, 0, 0},{0, 0, 0, 0}};
59079 static swig_cast_info _swigc__p_wxPyEvent
[] = { {&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
59080 static swig_cast_info _swigc__p_wxPyFileSystemHandler
[] = { {&_swigt__p_wxPyFileSystemHandler
, 0, 0, 0},{0, 0, 0, 0}};
59081 static swig_cast_info _swigc__p_wxPyImageHandler
[] = { {&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
59082 static swig_cast_info _swigc__p_wxPyInputStream
[] = { {&_swigt__p_wxPyInputStream
, 0, 0, 0},{0, 0, 0, 0}};
59083 static swig_cast_info _swigc__p_wxPySizer
[] = { {&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
59084 static swig_cast_info _swigc__p_wxPyValidator
[] = { {&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
59085 static swig_cast_info _swigc__p_wxQuantize
[] = { {&_swigt__p_wxQuantize
, 0, 0, 0},{0, 0, 0, 0}};
59086 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = { {&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
59087 static swig_cast_info _swigc__p_wxRealPoint
[] = { {&_swigt__p_wxRealPoint
, 0, 0, 0},{0, 0, 0, 0}};
59088 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
59089 static swig_cast_info _swigc__p_wxRect2D
[] = { {&_swigt__p_wxRect2D
, 0, 0, 0},{0, 0, 0, 0}};
59090 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
59091 static swig_cast_info _swigc__p_wxScrollEvent
[] = { {&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
59092 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = { {&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
59093 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = { {&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
59094 static swig_cast_info _swigc__p_wxShowEvent
[] = { {&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
59095 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
59096 static swig_cast_info _swigc__p_wxSizeEvent
[] = { {&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
59097 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}};
59098 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}};
59099 static swig_cast_info _swigc__p_wxStaticBox
[] = { {&_swigt__p_wxStaticBox
, 0, 0, 0},{0, 0, 0, 0}};
59100 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = { {&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
59101 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = { {&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
59102 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = { {&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
59103 static swig_cast_info _swigc__p_wxTGAHandler
[] = { {&_swigt__p_wxTGAHandler
, 0, 0, 0},{0, 0, 0, 0}};
59104 static swig_cast_info _swigc__p_wxTIFFHandler
[] = { {&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
59105 static swig_cast_info _swigc__p_wxToolTip
[] = { {&_swigt__p_wxToolTip
, 0, 0, 0},{0, 0, 0, 0}};
59106 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = { {&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
59107 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}};
59108 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
59109 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}};
59110 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = { {&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
59111 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = { {&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
59112 static swig_cast_info _swigc__p_wxXPMHandler
[] = { {&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
59113 static swig_cast_info _swigc__p_wxZipFSHandler
[] = { {&_swigt__p_wxZipFSHandler
, 0, 0, 0},{0, 0, 0, 0}};
59115 static swig_cast_info
*swig_cast_initial
[] = {
59118 _swigc__p_form_ops_t
,
59121 _swigc__p_unsigned_char
,
59122 _swigc__p_unsigned_int
,
59123 _swigc__p_unsigned_long
,
59124 _swigc__p_wxANIHandler
,
59125 _swigc__p_wxAcceleratorEntry
,
59126 _swigc__p_wxAcceleratorTable
,
59127 _swigc__p_wxActivateEvent
,
59128 _swigc__p_wxAppTraits
,
59129 _swigc__p_wxArrayString
,
59130 _swigc__p_wxBMPHandler
,
59131 _swigc__p_wxBitmap
,
59132 _swigc__p_wxBoxSizer
,
59133 _swigc__p_wxButton
,
59134 _swigc__p_wxCURHandler
,
59136 _swigc__p_wxChildFocusEvent
,
59137 _swigc__p_wxClipboardTextEvent
,
59138 _swigc__p_wxCloseEvent
,
59139 _swigc__p_wxColour
,
59140 _swigc__p_wxCommandEvent
,
59141 _swigc__p_wxContextMenuEvent
,
59142 _swigc__p_wxControl
,
59143 _swigc__p_wxControlWithItems
,
59144 _swigc__p_wxCursor
,
59146 _swigc__p_wxDateEvent
,
59147 _swigc__p_wxDateTime
,
59148 _swigc__p_wxDisplayChangedEvent
,
59149 _swigc__p_wxDouble
,
59150 _swigc__p_wxDropFilesEvent
,
59151 _swigc__p_wxDuplexMode
,
59152 _swigc__p_wxEraseEvent
,
59154 _swigc__p_wxEventBlocker
,
59155 _swigc__p_wxEventLoop
,
59156 _swigc__p_wxEventLoopActivator
,
59157 _swigc__p_wxEvtHandler
,
59158 _swigc__p_wxFSFile
,
59159 _swigc__p_wxFileSystem
,
59160 _swigc__p_wxFileSystemHandler
,
59161 _swigc__p_wxFlexGridSizer
,
59162 _swigc__p_wxFocusEvent
,
59165 _swigc__p_wxGBPosition
,
59166 _swigc__p_wxGBSizerItem
,
59167 _swigc__p_wxGBSpan
,
59168 _swigc__p_wxGIFHandler
,
59169 _swigc__p_wxGridBagSizer
,
59170 _swigc__p_wxGridSizer
,
59171 _swigc__p_wxHelpEvent__Origin
,
59172 _swigc__p_wxICOHandler
,
59173 _swigc__p_wxIconizeEvent
,
59174 _swigc__p_wxIdleEvent
,
59176 _swigc__p_wxImageHandler
,
59177 _swigc__p_wxImageHistogram
,
59178 _swigc__p_wxImage_HSVValue
,
59179 _swigc__p_wxImage_RGBValue
,
59180 _swigc__p_wxIndividualLayoutConstraint
,
59181 _swigc__p_wxInitDialogEvent
,
59182 _swigc__p_wxInputStream
,
59183 _swigc__p_wxInternetFSHandler
,
59184 _swigc__p_wxItemContainer
,
59185 _swigc__p_wxJPEGHandler
,
59186 _swigc__p_wxKeyEvent
,
59187 _swigc__p_wxLayoutConstraints
,
59188 _swigc__p_wxMaximizeEvent
,
59189 _swigc__p_wxMemoryFSHandler
,
59191 _swigc__p_wxMenuBar
,
59192 _swigc__p_wxMenuBarBase
,
59193 _swigc__p_wxMenuEvent
,
59194 _swigc__p_wxMenuItem
,
59195 _swigc__p_wxMouseCaptureChangedEvent
,
59196 _swigc__p_wxMouseCaptureLostEvent
,
59197 _swigc__p_wxMouseEvent
,
59198 _swigc__p_wxMoveEvent
,
59199 _swigc__p_wxNavigationKeyEvent
,
59200 _swigc__p_wxNcPaintEvent
,
59201 _swigc__p_wxNotifyEvent
,
59202 _swigc__p_wxObject
,
59203 _swigc__p_wxOutputStream
,
59204 _swigc__p_wxPCXHandler
,
59205 _swigc__p_wxPNGHandler
,
59206 _swigc__p_wxPNMHandler
,
59207 _swigc__p_wxPaintEvent
,
59208 _swigc__p_wxPaletteChangedEvent
,
59209 _swigc__p_wxPaperSize
,
59211 _swigc__p_wxPoint2D
,
59212 _swigc__p_wxPropagateOnce
,
59213 _swigc__p_wxPropagationDisabler
,
59215 _swigc__p_wxPyCommandEvent
,
59216 _swigc__p_wxPyDropTarget
,
59217 _swigc__p_wxPyEvent
,
59218 _swigc__p_wxPyFileSystemHandler
,
59219 _swigc__p_wxPyImageHandler
,
59220 _swigc__p_wxPyInputStream
,
59221 _swigc__p_wxPySizer
,
59222 _swigc__p_wxPyValidator
,
59223 _swigc__p_wxQuantize
,
59224 _swigc__p_wxQueryNewPaletteEvent
,
59225 _swigc__p_wxRealPoint
,
59227 _swigc__p_wxRect2D
,
59228 _swigc__p_wxRegion
,
59229 _swigc__p_wxScrollEvent
,
59230 _swigc__p_wxScrollWinEvent
,
59231 _swigc__p_wxSetCursorEvent
,
59232 _swigc__p_wxShowEvent
,
59234 _swigc__p_wxSizeEvent
,
59236 _swigc__p_wxSizerItem
,
59237 _swigc__p_wxStaticBox
,
59238 _swigc__p_wxStaticBoxSizer
,
59239 _swigc__p_wxStdDialogButtonSizer
,
59240 _swigc__p_wxSysColourChangedEvent
,
59241 _swigc__p_wxTGAHandler
,
59242 _swigc__p_wxTIFFHandler
,
59243 _swigc__p_wxToolTip
,
59244 _swigc__p_wxUpdateUIEvent
,
59245 _swigc__p_wxValidator
,
59246 _swigc__p_wxVisualAttributes
,
59247 _swigc__p_wxWindow
,
59248 _swigc__p_wxWindowCreateEvent
,
59249 _swigc__p_wxWindowDestroyEvent
,
59250 _swigc__p_wxXPMHandler
,
59251 _swigc__p_wxZipFSHandler
,
59255 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
59257 static swig_const_info swig_const_table
[] = {
59258 {0, 0, 0, 0.0, 0, 0}};
59263 /* -----------------------------------------------------------------------------
59264 * Type initialization:
59265 * This problem is tough by the requirement that no dynamic
59266 * memory is used. Also, since swig_type_info structures store pointers to
59267 * swig_cast_info structures and swig_cast_info structures store pointers back
59268 * to swig_type_info structures, we need some lookup code at initialization.
59269 * The idea is that swig generates all the structures that are needed.
59270 * The runtime then collects these partially filled structures.
59271 * The SWIG_InitializeModule function takes these initial arrays out of
59272 * swig_module, and does all the lookup, filling in the swig_module.types
59273 * array with the correct data and linking the correct swig_cast_info
59274 * structures together.
59276 * The generated swig_type_info structures are assigned staticly to an initial
59277 * array. We just loop though that array, and handle each type individually.
59278 * First we lookup if this type has been already loaded, and if so, use the
59279 * loaded structure instead of the generated one. Then we have to fill in the
59280 * cast linked list. The cast data is initially stored in something like a
59281 * two-dimensional array. Each row corresponds to a type (there are the same
59282 * number of rows as there are in the swig_type_initial array). Each entry in
59283 * a column is one of the swig_cast_info structures for that type.
59284 * The cast_initial array is actually an array of arrays, because each row has
59285 * a variable number of columns. So to actually build the cast linked list,
59286 * we find the array of casts associated with the type, and loop through it
59287 * adding the casts to the list. The one last trick we need to do is making
59288 * sure the type pointer in the swig_cast_info struct is correct.
59290 * First off, we lookup the cast->type name to see if it is already loaded.
59291 * There are three cases to handle:
59292 * 1) If the cast->type has already been loaded AND the type we are adding
59293 * casting info to has not been loaded (it is in this module), THEN we
59294 * replace the cast->type pointer with the type pointer that has already
59296 * 2) If BOTH types (the one we are adding casting info to, and the
59297 * cast->type) are loaded, THEN the cast info has already been loaded by
59298 * the previous module so we just ignore it.
59299 * 3) Finally, if cast->type has not already been loaded, then we add that
59300 * swig_cast_info to the linked list (because the cast->type) pointer will
59302 * ----------------------------------------------------------------------------- */
59312 #define SWIGRUNTIME_DEBUG
59316 SWIG_InitializeModule(void *clientdata
) {
59318 swig_module_info
*module_head
;
59319 static int init_run
= 0;
59321 clientdata
= clientdata
;
59323 if (init_run
) return;
59326 /* Initialize the swig_module */
59327 swig_module
.type_initial
= swig_type_initial
;
59328 swig_module
.cast_initial
= swig_cast_initial
;
59330 /* Try and load any already created modules */
59331 module_head
= SWIG_GetModule(clientdata
);
59333 swig_module
.next
= module_head
->next
;
59334 module_head
->next
= &swig_module
;
59336 /* This is the first module loaded */
59337 swig_module
.next
= &swig_module
;
59338 SWIG_SetModule(clientdata
, &swig_module
);
59341 /* Now work on filling in swig_module.types */
59342 #ifdef SWIGRUNTIME_DEBUG
59343 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
59345 for (i
= 0; i
< swig_module
.size
; ++i
) {
59346 swig_type_info
*type
= 0;
59347 swig_type_info
*ret
;
59348 swig_cast_info
*cast
;
59350 #ifdef SWIGRUNTIME_DEBUG
59351 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
59354 /* if there is another module already loaded */
59355 if (swig_module
.next
!= &swig_module
) {
59356 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
59359 /* Overwrite clientdata field */
59360 #ifdef SWIGRUNTIME_DEBUG
59361 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
59363 if (swig_module
.type_initial
[i
]->clientdata
) {
59364 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
59365 #ifdef SWIGRUNTIME_DEBUG
59366 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
59370 type
= swig_module
.type_initial
[i
];
59373 /* Insert casting types */
59374 cast
= swig_module
.cast_initial
[i
];
59375 while (cast
->type
) {
59376 /* Don't need to add information already in the list */
59378 #ifdef SWIGRUNTIME_DEBUG
59379 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
59381 if (swig_module
.next
!= &swig_module
) {
59382 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
59383 #ifdef SWIGRUNTIME_DEBUG
59384 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
59388 if (type
== swig_module
.type_initial
[i
]) {
59389 #ifdef SWIGRUNTIME_DEBUG
59390 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
59395 /* Check for casting already in the list */
59396 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
59397 #ifdef SWIGRUNTIME_DEBUG
59398 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
59400 if (!ocast
) ret
= 0;
59405 #ifdef SWIGRUNTIME_DEBUG
59406 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
59409 type
->cast
->prev
= cast
;
59410 cast
->next
= type
->cast
;
59416 /* Set entry in modules->types array equal to the type */
59417 swig_module
.types
[i
] = type
;
59419 swig_module
.types
[i
] = 0;
59421 #ifdef SWIGRUNTIME_DEBUG
59422 printf("**** SWIG_InitializeModule: Cast List ******\n");
59423 for (i
= 0; i
< swig_module
.size
; ++i
) {
59425 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
59426 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
59427 while (cast
->type
) {
59428 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
59432 printf("---- Total casts: %d\n",j
);
59434 printf("**** SWIG_InitializeModule: Cast List ******\n");
59438 /* This function will propagate the clientdata field of type to
59439 * any new swig_type_info structures that have been added into the list
59440 * of equivalent types. It is like calling
59441 * SWIG_TypeClientData(type, clientdata) a second time.
59444 SWIG_PropagateClientData(void) {
59446 swig_cast_info
*equiv
;
59447 static int init_run
= 0;
59449 if (init_run
) return;
59452 for (i
= 0; i
< swig_module
.size
; i
++) {
59453 if (swig_module
.types
[i
]->clientdata
) {
59454 equiv
= swig_module
.types
[i
]->cast
;
59456 if (!equiv
->converter
) {
59457 if (equiv
->type
&& !equiv
->type
->clientdata
)
59458 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
59460 equiv
= equiv
->next
;
59480 /* Python-specific SWIG API */
59481 #define SWIG_newvarlink() SWIG_Python_newvarlink()
59482 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
59483 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
59485 /* -----------------------------------------------------------------------------
59486 * global variable support code.
59487 * ----------------------------------------------------------------------------- */
59489 typedef struct swig_globalvar
{
59490 char *name
; /* Name of global variable */
59491 PyObject
*(*get_attr
)(void); /* Return the current value */
59492 int (*set_attr
)(PyObject
*); /* Set the value */
59493 struct swig_globalvar
*next
;
59496 typedef struct swig_varlinkobject
{
59498 swig_globalvar
*vars
;
59499 } swig_varlinkobject
;
59501 SWIGINTERN PyObject
*
59502 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
59503 return PyString_FromString("<Swig global variables>");
59506 SWIGINTERN PyObject
*
59507 swig_varlink_str(swig_varlinkobject
*v
) {
59508 PyObject
*str
= PyString_FromString("(");
59509 swig_globalvar
*var
;
59510 for (var
= v
->vars
; var
; var
=var
->next
) {
59511 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
59512 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
59514 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
59519 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
59520 PyObject
*str
= swig_varlink_str(v
);
59521 fprintf(fp
,"Swig global variables ");
59522 fprintf(fp
,"%s\n", PyString_AsString(str
));
59528 swig_varlink_dealloc(swig_varlinkobject
*v
) {
59529 swig_globalvar
*var
= v
->vars
;
59531 swig_globalvar
*n
= var
->next
;
59538 SWIGINTERN PyObject
*
59539 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
59540 PyObject
*res
= NULL
;
59541 swig_globalvar
*var
= v
->vars
;
59543 if (strcmp(var
->name
,n
) == 0) {
59544 res
= (*var
->get_attr
)();
59549 if (res
== NULL
&& !PyErr_Occurred()) {
59550 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
59556 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
59558 swig_globalvar
*var
= v
->vars
;
59560 if (strcmp(var
->name
,n
) == 0) {
59561 res
= (*var
->set_attr
)(p
);
59566 if (res
== 1 && !PyErr_Occurred()) {
59567 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
59572 SWIGINTERN PyTypeObject
*
59573 swig_varlink_type(void) {
59574 static char varlink__doc__
[] = "Swig var link object";
59575 static PyTypeObject varlink_type
;
59576 static int type_init
= 0;
59578 const PyTypeObject tmp
59580 PyObject_HEAD_INIT(NULL
)
59581 0, /* Number of items in variable part (ob_size) */
59582 (char *)"swigvarlink", /* Type name (tp_name) */
59583 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
59584 0, /* Itemsize (tp_itemsize) */
59585 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
59586 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
59587 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
59588 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
59589 0, /* tp_compare */
59590 (reprfunc
) swig_varlink_repr
, /* tp_repr */
59591 0, /* tp_as_number */
59592 0, /* tp_as_sequence */
59593 0, /* tp_as_mapping */
59596 (reprfunc
)swig_varlink_str
, /* tp_str */
59597 0, /* tp_getattro */
59598 0, /* tp_setattro */
59599 0, /* tp_as_buffer */
59601 varlink__doc__
, /* tp_doc */
59602 0, /* tp_traverse */
59604 0, /* tp_richcompare */
59605 0, /* tp_weaklistoffset */
59606 #if PY_VERSION_HEX >= 0x02020000
59607 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
59609 #if PY_VERSION_HEX >= 0x02030000
59612 #ifdef COUNT_ALLOCS
59613 0,0,0,0 /* tp_alloc -> tp_next */
59616 varlink_type
= tmp
;
59617 varlink_type
.ob_type
= &PyType_Type
;
59620 return &varlink_type
;
59623 /* Create a variable linking object for use later */
59624 SWIGINTERN PyObject
*
59625 SWIG_Python_newvarlink(void) {
59626 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
59630 return ((PyObject
*) result
);
59634 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
59635 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
59636 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
59638 size_t size
= strlen(name
)+1;
59639 gv
->name
= (char *)malloc(size
);
59641 strncpy(gv
->name
,name
,size
);
59642 gv
->get_attr
= get_attr
;
59643 gv
->set_attr
= set_attr
;
59644 gv
->next
= v
->vars
;
59650 SWIGINTERN PyObject
*
59652 static PyObject
*_SWIG_globals
= 0;
59653 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
59654 return _SWIG_globals
;
59657 /* -----------------------------------------------------------------------------
59658 * constants/methods manipulation
59659 * ----------------------------------------------------------------------------- */
59661 /* Install Constants */
59663 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
59666 for (i
= 0; constants
[i
].type
; ++i
) {
59667 switch(constants
[i
].type
) {
59668 case SWIG_PY_POINTER
:
59669 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
59671 case SWIG_PY_BINARY
:
59672 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
59679 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
59685 /* -----------------------------------------------------------------------------*/
59686 /* Fix SwigMethods to carry the callback ptrs when needed */
59687 /* -----------------------------------------------------------------------------*/
59690 SWIG_Python_FixMethods(PyMethodDef
*methods
,
59691 swig_const_info
*const_table
,
59692 swig_type_info
**types
,
59693 swig_type_info
**types_initial
) {
59695 for (i
= 0; methods
[i
].ml_name
; ++i
) {
59696 const char *c
= methods
[i
].ml_doc
;
59697 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
59699 swig_const_info
*ci
= 0;
59700 const char *name
= c
+ 10;
59701 for (j
= 0; const_table
[j
].type
; ++j
) {
59702 if (strncmp(const_table
[j
].name
, name
,
59703 strlen(const_table
[j
].name
)) == 0) {
59704 ci
= &(const_table
[j
]);
59709 size_t shift
= (ci
->ptype
) - types
;
59710 swig_type_info
*ty
= types_initial
[shift
];
59711 size_t ldoc
= (c
- methods
[i
].ml_doc
);
59712 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
59713 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
59716 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
59718 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
59720 strncpy(buff
, "swig_ptr: ", 10);
59722 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
59723 methods
[i
].ml_doc
= ndoc
;
59735 /* -----------------------------------------------------------------------------*
59736 * Partial Init method
59737 * -----------------------------------------------------------------------------*/
59742 SWIGEXPORT
void SWIG_init(void) {
59745 /* Fix SwigMethods to carry the callback ptrs when needed */
59746 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
59748 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
59749 d
= PyModule_GetDict(m
);
59751 SWIG_InitializeModule(0);
59752 SWIG_InstallConstants(d
,swig_const_table
);
59756 #ifndef wxPyUSE_EXPORT
59757 // Make our API structure a CObject so other modules can import it
59758 // from this module.
59759 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
59760 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
59764 SWIG_Python_SetConstant(d
, "NOT_FOUND",SWIG_From_int(static_cast< int >(wxNOT_FOUND
)));
59765 SWIG_Python_SetConstant(d
, "VSCROLL",SWIG_From_int(static_cast< int >(wxVSCROLL
)));
59766 SWIG_Python_SetConstant(d
, "HSCROLL",SWIG_From_int(static_cast< int >(wxHSCROLL
)));
59767 SWIG_Python_SetConstant(d
, "CAPTION",SWIG_From_int(static_cast< int >(wxCAPTION
)));
59768 SWIG_Python_SetConstant(d
, "DOUBLE_BORDER",SWIG_From_int(static_cast< int >(wxDOUBLE_BORDER
)));
59769 SWIG_Python_SetConstant(d
, "SUNKEN_BORDER",SWIG_From_int(static_cast< int >(wxSUNKEN_BORDER
)));
59770 SWIG_Python_SetConstant(d
, "RAISED_BORDER",SWIG_From_int(static_cast< int >(wxRAISED_BORDER
)));
59771 SWIG_Python_SetConstant(d
, "BORDER",SWIG_From_int(static_cast< int >(wxBORDER
)));
59772 SWIG_Python_SetConstant(d
, "SIMPLE_BORDER",SWIG_From_int(static_cast< int >(wxSIMPLE_BORDER
)));
59773 SWIG_Python_SetConstant(d
, "STATIC_BORDER",SWIG_From_int(static_cast< int >(wxSTATIC_BORDER
)));
59774 SWIG_Python_SetConstant(d
, "TRANSPARENT_WINDOW",SWIG_From_int(static_cast< int >(wxTRANSPARENT_WINDOW
)));
59775 SWIG_Python_SetConstant(d
, "NO_BORDER",SWIG_From_int(static_cast< int >(wxNO_BORDER
)));
59776 SWIG_Python_SetConstant(d
, "DEFAULT_CONTROL_BORDER",SWIG_From_int(static_cast< int >(wxDEFAULT_CONTROL_BORDER
)));
59777 SWIG_Python_SetConstant(d
, "DEFAULT_STATUSBAR_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_STATUSBAR_STYLE
)));
59778 SWIG_Python_SetConstant(d
, "TAB_TRAVERSAL",SWIG_From_int(static_cast< int >(wxTAB_TRAVERSAL
)));
59779 SWIG_Python_SetConstant(d
, "WANTS_CHARS",SWIG_From_int(static_cast< int >(wxWANTS_CHARS
)));
59780 SWIG_Python_SetConstant(d
, "POPUP_WINDOW",SWIG_From_int(static_cast< int >(wxPOPUP_WINDOW
)));
59781 SWIG_Python_SetConstant(d
, "CENTER_FRAME",SWIG_From_int(static_cast< int >(wxCENTER_FRAME
)));
59782 SWIG_Python_SetConstant(d
, "CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxCENTRE_ON_SCREEN
)));
59783 SWIG_Python_SetConstant(d
, "CENTER_ON_SCREEN",SWIG_From_int(static_cast< int >(wxCENTER_ON_SCREEN
)));
59784 SWIG_Python_SetConstant(d
, "CLIP_CHILDREN",SWIG_From_int(static_cast< int >(wxCLIP_CHILDREN
)));
59785 SWIG_Python_SetConstant(d
, "CLIP_SIBLINGS",SWIG_From_int(static_cast< int >(wxCLIP_SIBLINGS
)));
59786 SWIG_Python_SetConstant(d
, "WINDOW_STYLE_MASK",SWIG_From_int(static_cast< int >(wxWINDOW_STYLE_MASK
)));
59787 SWIG_Python_SetConstant(d
, "ALWAYS_SHOW_SB",SWIG_From_int(static_cast< int >(wxALWAYS_SHOW_SB
)));
59788 SWIG_Python_SetConstant(d
, "RETAINED",SWIG_From_int(static_cast< int >(wxRETAINED
)));
59789 SWIG_Python_SetConstant(d
, "BACKINGSTORE",SWIG_From_int(static_cast< int >(wxBACKINGSTORE
)));
59790 SWIG_Python_SetConstant(d
, "COLOURED",SWIG_From_int(static_cast< int >(wxCOLOURED
)));
59791 SWIG_Python_SetConstant(d
, "FIXED_LENGTH",SWIG_From_int(static_cast< int >(wxFIXED_LENGTH
)));
59792 SWIG_Python_SetConstant(d
, "LB_NEEDED_SB",SWIG_From_int(static_cast< int >(wxLB_NEEDED_SB
)));
59793 SWIG_Python_SetConstant(d
, "LB_ALWAYS_SB",SWIG_From_int(static_cast< int >(wxLB_ALWAYS_SB
)));
59794 SWIG_Python_SetConstant(d
, "LB_SORT",SWIG_From_int(static_cast< int >(wxLB_SORT
)));
59795 SWIG_Python_SetConstant(d
, "LB_SINGLE",SWIG_From_int(static_cast< int >(wxLB_SINGLE
)));
59796 SWIG_Python_SetConstant(d
, "LB_MULTIPLE",SWIG_From_int(static_cast< int >(wxLB_MULTIPLE
)));
59797 SWIG_Python_SetConstant(d
, "LB_EXTENDED",SWIG_From_int(static_cast< int >(wxLB_EXTENDED
)));
59798 SWIG_Python_SetConstant(d
, "LB_OWNERDRAW",SWIG_From_int(static_cast< int >(wxLB_OWNERDRAW
)));
59799 SWIG_Python_SetConstant(d
, "LB_HSCROLL",SWIG_From_int(static_cast< int >(wxLB_HSCROLL
)));
59800 SWIG_Python_SetConstant(d
, "PROCESS_ENTER",SWIG_From_int(static_cast< int >(wxPROCESS_ENTER
)));
59801 SWIG_Python_SetConstant(d
, "PASSWORD",SWIG_From_int(static_cast< int >(wxPASSWORD
)));
59802 SWIG_Python_SetConstant(d
, "CB_SIMPLE",SWIG_From_int(static_cast< int >(wxCB_SIMPLE
)));
59803 SWIG_Python_SetConstant(d
, "CB_DROPDOWN",SWIG_From_int(static_cast< int >(wxCB_DROPDOWN
)));
59804 SWIG_Python_SetConstant(d
, "CB_SORT",SWIG_From_int(static_cast< int >(wxCB_SORT
)));
59805 SWIG_Python_SetConstant(d
, "CB_READONLY",SWIG_From_int(static_cast< int >(wxCB_READONLY
)));
59806 SWIG_Python_SetConstant(d
, "RA_HORIZONTAL",SWIG_From_int(static_cast< int >(wxRA_HORIZONTAL
)));
59807 SWIG_Python_SetConstant(d
, "RA_VERTICAL",SWIG_From_int(static_cast< int >(wxRA_VERTICAL
)));
59808 SWIG_Python_SetConstant(d
, "RA_SPECIFY_ROWS",SWIG_From_int(static_cast< int >(wxRA_SPECIFY_ROWS
)));
59809 SWIG_Python_SetConstant(d
, "RA_SPECIFY_COLS",SWIG_From_int(static_cast< int >(wxRA_SPECIFY_COLS
)));
59810 SWIG_Python_SetConstant(d
, "RA_USE_CHECKBOX",SWIG_From_int(static_cast< int >(wxRA_USE_CHECKBOX
)));
59811 SWIG_Python_SetConstant(d
, "RB_GROUP",SWIG_From_int(static_cast< int >(wxRB_GROUP
)));
59812 SWIG_Python_SetConstant(d
, "RB_SINGLE",SWIG_From_int(static_cast< int >(wxRB_SINGLE
)));
59813 SWIG_Python_SetConstant(d
, "SB_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSB_HORIZONTAL
)));
59814 SWIG_Python_SetConstant(d
, "SB_VERTICAL",SWIG_From_int(static_cast< int >(wxSB_VERTICAL
)));
59815 SWIG_Python_SetConstant(d
, "RB_USE_CHECKBOX",SWIG_From_int(static_cast< int >(wxRB_USE_CHECKBOX
)));
59816 SWIG_Python_SetConstant(d
, "ST_SIZEGRIP",SWIG_From_int(static_cast< int >(wxST_SIZEGRIP
)));
59817 SWIG_Python_SetConstant(d
, "ST_NO_AUTORESIZE",SWIG_From_int(static_cast< int >(wxST_NO_AUTORESIZE
)));
59818 SWIG_Python_SetConstant(d
, "ST_DOTS_MIDDLE",SWIG_From_int(static_cast< int >(wxST_DOTS_MIDDLE
)));
59819 SWIG_Python_SetConstant(d
, "ST_DOTS_END",SWIG_From_int(static_cast< int >(wxST_DOTS_END
)));
59820 SWIG_Python_SetConstant(d
, "FLOOD_SURFACE",SWIG_From_int(static_cast< int >(wxFLOOD_SURFACE
)));
59821 SWIG_Python_SetConstant(d
, "FLOOD_BORDER",SWIG_From_int(static_cast< int >(wxFLOOD_BORDER
)));
59822 SWIG_Python_SetConstant(d
, "ODDEVEN_RULE",SWIG_From_int(static_cast< int >(wxODDEVEN_RULE
)));
59823 SWIG_Python_SetConstant(d
, "WINDING_RULE",SWIG_From_int(static_cast< int >(wxWINDING_RULE
)));
59824 SWIG_Python_SetConstant(d
, "TOOL_TOP",SWIG_From_int(static_cast< int >(wxTOOL_TOP
)));
59825 SWIG_Python_SetConstant(d
, "TOOL_BOTTOM",SWIG_From_int(static_cast< int >(wxTOOL_BOTTOM
)));
59826 SWIG_Python_SetConstant(d
, "TOOL_LEFT",SWIG_From_int(static_cast< int >(wxTOOL_LEFT
)));
59827 SWIG_Python_SetConstant(d
, "TOOL_RIGHT",SWIG_From_int(static_cast< int >(wxTOOL_RIGHT
)));
59828 SWIG_Python_SetConstant(d
, "OK",SWIG_From_int(static_cast< int >(wxOK
)));
59829 SWIG_Python_SetConstant(d
, "YES_NO",SWIG_From_int(static_cast< int >(wxYES_NO
)));
59830 SWIG_Python_SetConstant(d
, "CANCEL",SWIG_From_int(static_cast< int >(wxCANCEL
)));
59831 SWIG_Python_SetConstant(d
, "YES",SWIG_From_int(static_cast< int >(wxYES
)));
59832 SWIG_Python_SetConstant(d
, "NO",SWIG_From_int(static_cast< int >(wxNO
)));
59833 SWIG_Python_SetConstant(d
, "NO_DEFAULT",SWIG_From_int(static_cast< int >(wxNO_DEFAULT
)));
59834 SWIG_Python_SetConstant(d
, "YES_DEFAULT",SWIG_From_int(static_cast< int >(wxYES_DEFAULT
)));
59835 SWIG_Python_SetConstant(d
, "ICON_EXCLAMATION",SWIG_From_int(static_cast< int >(wxICON_EXCLAMATION
)));
59836 SWIG_Python_SetConstant(d
, "ICON_HAND",SWIG_From_int(static_cast< int >(wxICON_HAND
)));
59837 SWIG_Python_SetConstant(d
, "ICON_QUESTION",SWIG_From_int(static_cast< int >(wxICON_QUESTION
)));
59838 SWIG_Python_SetConstant(d
, "ICON_INFORMATION",SWIG_From_int(static_cast< int >(wxICON_INFORMATION
)));
59839 SWIG_Python_SetConstant(d
, "ICON_STOP",SWIG_From_int(static_cast< int >(wxICON_STOP
)));
59840 SWIG_Python_SetConstant(d
, "ICON_ASTERISK",SWIG_From_int(static_cast< int >(wxICON_ASTERISK
)));
59841 SWIG_Python_SetConstant(d
, "ICON_MASK",SWIG_From_int(static_cast< int >(wxICON_MASK
)));
59842 SWIG_Python_SetConstant(d
, "ICON_WARNING",SWIG_From_int(static_cast< int >(wxICON_WARNING
)));
59843 SWIG_Python_SetConstant(d
, "ICON_ERROR",SWIG_From_int(static_cast< int >(wxICON_ERROR
)));
59844 SWIG_Python_SetConstant(d
, "FORWARD",SWIG_From_int(static_cast< int >(wxFORWARD
)));
59845 SWIG_Python_SetConstant(d
, "BACKWARD",SWIG_From_int(static_cast< int >(wxBACKWARD
)));
59846 SWIG_Python_SetConstant(d
, "RESET",SWIG_From_int(static_cast< int >(wxRESET
)));
59847 SWIG_Python_SetConstant(d
, "HELP",SWIG_From_int(static_cast< int >(wxHELP
)));
59848 SWIG_Python_SetConstant(d
, "MORE",SWIG_From_int(static_cast< int >(wxMORE
)));
59849 SWIG_Python_SetConstant(d
, "SETUP",SWIG_From_int(static_cast< int >(wxSETUP
)));
59850 SWIG_Python_SetConstant(d
, "SIZE_AUTO_WIDTH",SWIG_From_int(static_cast< int >(wxSIZE_AUTO_WIDTH
)));
59851 SWIG_Python_SetConstant(d
, "SIZE_AUTO_HEIGHT",SWIG_From_int(static_cast< int >(wxSIZE_AUTO_HEIGHT
)));
59852 SWIG_Python_SetConstant(d
, "SIZE_AUTO",SWIG_From_int(static_cast< int >(wxSIZE_AUTO
)));
59853 SWIG_Python_SetConstant(d
, "SIZE_USE_EXISTING",SWIG_From_int(static_cast< int >(wxSIZE_USE_EXISTING
)));
59854 SWIG_Python_SetConstant(d
, "SIZE_ALLOW_MINUS_ONE",SWIG_From_int(static_cast< int >(wxSIZE_ALLOW_MINUS_ONE
)));
59855 SWIG_Python_SetConstant(d
, "SIZE_FORCE",SWIG_From_int(static_cast< int >(wxSIZE_FORCE
)));
59856 SWIG_Python_SetConstant(d
, "PORTRAIT",SWIG_From_int(static_cast< int >(wxPORTRAIT
)));
59857 SWIG_Python_SetConstant(d
, "LANDSCAPE",SWIG_From_int(static_cast< int >(wxLANDSCAPE
)));
59858 SWIG_Python_SetConstant(d
, "PRINT_QUALITY_HIGH",SWIG_From_int(static_cast< int >(wxPRINT_QUALITY_HIGH
)));
59859 SWIG_Python_SetConstant(d
, "PRINT_QUALITY_MEDIUM",SWIG_From_int(static_cast< int >(wxPRINT_QUALITY_MEDIUM
)));
59860 SWIG_Python_SetConstant(d
, "PRINT_QUALITY_LOW",SWIG_From_int(static_cast< int >(wxPRINT_QUALITY_LOW
)));
59861 SWIG_Python_SetConstant(d
, "PRINT_QUALITY_DRAFT",SWIG_From_int(static_cast< int >(wxPRINT_QUALITY_DRAFT
)));
59862 SWIG_Python_SetConstant(d
, "ID_ANY",SWIG_From_int(static_cast< int >(wxID_ANY
)));
59863 SWIG_Python_SetConstant(d
, "ID_SEPARATOR",SWIG_From_int(static_cast< int >(wxID_SEPARATOR
)));
59864 SWIG_Python_SetConstant(d
, "ID_NONE",SWIG_From_int(static_cast< int >(wxID_NONE
)));
59865 SWIG_Python_SetConstant(d
, "ID_LOWEST",SWIG_From_int(static_cast< int >(wxID_LOWEST
)));
59866 SWIG_Python_SetConstant(d
, "ID_OPEN",SWIG_From_int(static_cast< int >(wxID_OPEN
)));
59867 SWIG_Python_SetConstant(d
, "ID_CLOSE",SWIG_From_int(static_cast< int >(wxID_CLOSE
)));
59868 SWIG_Python_SetConstant(d
, "ID_NEW",SWIG_From_int(static_cast< int >(wxID_NEW
)));
59869 SWIG_Python_SetConstant(d
, "ID_SAVE",SWIG_From_int(static_cast< int >(wxID_SAVE
)));
59870 SWIG_Python_SetConstant(d
, "ID_SAVEAS",SWIG_From_int(static_cast< int >(wxID_SAVEAS
)));
59871 SWIG_Python_SetConstant(d
, "ID_REVERT",SWIG_From_int(static_cast< int >(wxID_REVERT
)));
59872 SWIG_Python_SetConstant(d
, "ID_EXIT",SWIG_From_int(static_cast< int >(wxID_EXIT
)));
59873 SWIG_Python_SetConstant(d
, "ID_UNDO",SWIG_From_int(static_cast< int >(wxID_UNDO
)));
59874 SWIG_Python_SetConstant(d
, "ID_REDO",SWIG_From_int(static_cast< int >(wxID_REDO
)));
59875 SWIG_Python_SetConstant(d
, "ID_HELP",SWIG_From_int(static_cast< int >(wxID_HELP
)));
59876 SWIG_Python_SetConstant(d
, "ID_PRINT",SWIG_From_int(static_cast< int >(wxID_PRINT
)));
59877 SWIG_Python_SetConstant(d
, "ID_PRINT_SETUP",SWIG_From_int(static_cast< int >(wxID_PRINT_SETUP
)));
59878 SWIG_Python_SetConstant(d
, "ID_PAGE_SETUP",SWIG_From_int(static_cast< int >(wxID_PAGE_SETUP
)));
59879 SWIG_Python_SetConstant(d
, "ID_PREVIEW",SWIG_From_int(static_cast< int >(wxID_PREVIEW
)));
59880 SWIG_Python_SetConstant(d
, "ID_ABOUT",SWIG_From_int(static_cast< int >(wxID_ABOUT
)));
59881 SWIG_Python_SetConstant(d
, "ID_HELP_CONTENTS",SWIG_From_int(static_cast< int >(wxID_HELP_CONTENTS
)));
59882 SWIG_Python_SetConstant(d
, "ID_HELP_COMMANDS",SWIG_From_int(static_cast< int >(wxID_HELP_COMMANDS
)));
59883 SWIG_Python_SetConstant(d
, "ID_HELP_PROCEDURES",SWIG_From_int(static_cast< int >(wxID_HELP_PROCEDURES
)));
59884 SWIG_Python_SetConstant(d
, "ID_HELP_CONTEXT",SWIG_From_int(static_cast< int >(wxID_HELP_CONTEXT
)));
59885 SWIG_Python_SetConstant(d
, "ID_HELP_INDEX",SWIG_From_int(static_cast< int >(wxID_HELP_INDEX
)));
59886 SWIG_Python_SetConstant(d
, "ID_HELP_SEARCH",SWIG_From_int(static_cast< int >(wxID_HELP_SEARCH
)));
59887 SWIG_Python_SetConstant(d
, "ID_CLOSE_ALL",SWIG_From_int(static_cast< int >(wxID_CLOSE_ALL
)));
59888 SWIG_Python_SetConstant(d
, "ID_PREFERENCES",SWIG_From_int(static_cast< int >(wxID_PREFERENCES
)));
59889 SWIG_Python_SetConstant(d
, "ID_EDIT",SWIG_From_int(static_cast< int >(wxID_EDIT
)));
59890 SWIG_Python_SetConstant(d
, "ID_CUT",SWIG_From_int(static_cast< int >(wxID_CUT
)));
59891 SWIG_Python_SetConstant(d
, "ID_COPY",SWIG_From_int(static_cast< int >(wxID_COPY
)));
59892 SWIG_Python_SetConstant(d
, "ID_PASTE",SWIG_From_int(static_cast< int >(wxID_PASTE
)));
59893 SWIG_Python_SetConstant(d
, "ID_CLEAR",SWIG_From_int(static_cast< int >(wxID_CLEAR
)));
59894 SWIG_Python_SetConstant(d
, "ID_FIND",SWIG_From_int(static_cast< int >(wxID_FIND
)));
59895 SWIG_Python_SetConstant(d
, "ID_DUPLICATE",SWIG_From_int(static_cast< int >(wxID_DUPLICATE
)));
59896 SWIG_Python_SetConstant(d
, "ID_SELECTALL",SWIG_From_int(static_cast< int >(wxID_SELECTALL
)));
59897 SWIG_Python_SetConstant(d
, "ID_DELETE",SWIG_From_int(static_cast< int >(wxID_DELETE
)));
59898 SWIG_Python_SetConstant(d
, "ID_REPLACE",SWIG_From_int(static_cast< int >(wxID_REPLACE
)));
59899 SWIG_Python_SetConstant(d
, "ID_REPLACE_ALL",SWIG_From_int(static_cast< int >(wxID_REPLACE_ALL
)));
59900 SWIG_Python_SetConstant(d
, "ID_PROPERTIES",SWIG_From_int(static_cast< int >(wxID_PROPERTIES
)));
59901 SWIG_Python_SetConstant(d
, "ID_VIEW_DETAILS",SWIG_From_int(static_cast< int >(wxID_VIEW_DETAILS
)));
59902 SWIG_Python_SetConstant(d
, "ID_VIEW_LARGEICONS",SWIG_From_int(static_cast< int >(wxID_VIEW_LARGEICONS
)));
59903 SWIG_Python_SetConstant(d
, "ID_VIEW_SMALLICONS",SWIG_From_int(static_cast< int >(wxID_VIEW_SMALLICONS
)));
59904 SWIG_Python_SetConstant(d
, "ID_VIEW_LIST",SWIG_From_int(static_cast< int >(wxID_VIEW_LIST
)));
59905 SWIG_Python_SetConstant(d
, "ID_VIEW_SORTDATE",SWIG_From_int(static_cast< int >(wxID_VIEW_SORTDATE
)));
59906 SWIG_Python_SetConstant(d
, "ID_VIEW_SORTNAME",SWIG_From_int(static_cast< int >(wxID_VIEW_SORTNAME
)));
59907 SWIG_Python_SetConstant(d
, "ID_VIEW_SORTSIZE",SWIG_From_int(static_cast< int >(wxID_VIEW_SORTSIZE
)));
59908 SWIG_Python_SetConstant(d
, "ID_VIEW_SORTTYPE",SWIG_From_int(static_cast< int >(wxID_VIEW_SORTTYPE
)));
59909 SWIG_Python_SetConstant(d
, "ID_FILE",SWIG_From_int(static_cast< int >(wxID_FILE
)));
59910 SWIG_Python_SetConstant(d
, "ID_FILE1",SWIG_From_int(static_cast< int >(wxID_FILE1
)));
59911 SWIG_Python_SetConstant(d
, "ID_FILE2",SWIG_From_int(static_cast< int >(wxID_FILE2
)));
59912 SWIG_Python_SetConstant(d
, "ID_FILE3",SWIG_From_int(static_cast< int >(wxID_FILE3
)));
59913 SWIG_Python_SetConstant(d
, "ID_FILE4",SWIG_From_int(static_cast< int >(wxID_FILE4
)));
59914 SWIG_Python_SetConstant(d
, "ID_FILE5",SWIG_From_int(static_cast< int >(wxID_FILE5
)));
59915 SWIG_Python_SetConstant(d
, "ID_FILE6",SWIG_From_int(static_cast< int >(wxID_FILE6
)));
59916 SWIG_Python_SetConstant(d
, "ID_FILE7",SWIG_From_int(static_cast< int >(wxID_FILE7
)));
59917 SWIG_Python_SetConstant(d
, "ID_FILE8",SWIG_From_int(static_cast< int >(wxID_FILE8
)));
59918 SWIG_Python_SetConstant(d
, "ID_FILE9",SWIG_From_int(static_cast< int >(wxID_FILE9
)));
59919 SWIG_Python_SetConstant(d
, "ID_OK",SWIG_From_int(static_cast< int >(wxID_OK
)));
59920 SWIG_Python_SetConstant(d
, "ID_CANCEL",SWIG_From_int(static_cast< int >(wxID_CANCEL
)));
59921 SWIG_Python_SetConstant(d
, "ID_APPLY",SWIG_From_int(static_cast< int >(wxID_APPLY
)));
59922 SWIG_Python_SetConstant(d
, "ID_YES",SWIG_From_int(static_cast< int >(wxID_YES
)));
59923 SWIG_Python_SetConstant(d
, "ID_NO",SWIG_From_int(static_cast< int >(wxID_NO
)));
59924 SWIG_Python_SetConstant(d
, "ID_STATIC",SWIG_From_int(static_cast< int >(wxID_STATIC
)));
59925 SWIG_Python_SetConstant(d
, "ID_FORWARD",SWIG_From_int(static_cast< int >(wxID_FORWARD
)));
59926 SWIG_Python_SetConstant(d
, "ID_BACKWARD",SWIG_From_int(static_cast< int >(wxID_BACKWARD
)));
59927 SWIG_Python_SetConstant(d
, "ID_DEFAULT",SWIG_From_int(static_cast< int >(wxID_DEFAULT
)));
59928 SWIG_Python_SetConstant(d
, "ID_MORE",SWIG_From_int(static_cast< int >(wxID_MORE
)));
59929 SWIG_Python_SetConstant(d
, "ID_SETUP",SWIG_From_int(static_cast< int >(wxID_SETUP
)));
59930 SWIG_Python_SetConstant(d
, "ID_RESET",SWIG_From_int(static_cast< int >(wxID_RESET
)));
59931 SWIG_Python_SetConstant(d
, "ID_CONTEXT_HELP",SWIG_From_int(static_cast< int >(wxID_CONTEXT_HELP
)));
59932 SWIG_Python_SetConstant(d
, "ID_YESTOALL",SWIG_From_int(static_cast< int >(wxID_YESTOALL
)));
59933 SWIG_Python_SetConstant(d
, "ID_NOTOALL",SWIG_From_int(static_cast< int >(wxID_NOTOALL
)));
59934 SWIG_Python_SetConstant(d
, "ID_ABORT",SWIG_From_int(static_cast< int >(wxID_ABORT
)));
59935 SWIG_Python_SetConstant(d
, "ID_RETRY",SWIG_From_int(static_cast< int >(wxID_RETRY
)));
59936 SWIG_Python_SetConstant(d
, "ID_IGNORE",SWIG_From_int(static_cast< int >(wxID_IGNORE
)));
59937 SWIG_Python_SetConstant(d
, "ID_ADD",SWIG_From_int(static_cast< int >(wxID_ADD
)));
59938 SWIG_Python_SetConstant(d
, "ID_REMOVE",SWIG_From_int(static_cast< int >(wxID_REMOVE
)));
59939 SWIG_Python_SetConstant(d
, "ID_UP",SWIG_From_int(static_cast< int >(wxID_UP
)));
59940 SWIG_Python_SetConstant(d
, "ID_DOWN",SWIG_From_int(static_cast< int >(wxID_DOWN
)));
59941 SWIG_Python_SetConstant(d
, "ID_HOME",SWIG_From_int(static_cast< int >(wxID_HOME
)));
59942 SWIG_Python_SetConstant(d
, "ID_REFRESH",SWIG_From_int(static_cast< int >(wxID_REFRESH
)));
59943 SWIG_Python_SetConstant(d
, "ID_STOP",SWIG_From_int(static_cast< int >(wxID_STOP
)));
59944 SWIG_Python_SetConstant(d
, "ID_INDEX",SWIG_From_int(static_cast< int >(wxID_INDEX
)));
59945 SWIG_Python_SetConstant(d
, "ID_BOLD",SWIG_From_int(static_cast< int >(wxID_BOLD
)));
59946 SWIG_Python_SetConstant(d
, "ID_ITALIC",SWIG_From_int(static_cast< int >(wxID_ITALIC
)));
59947 SWIG_Python_SetConstant(d
, "ID_JUSTIFY_CENTER",SWIG_From_int(static_cast< int >(wxID_JUSTIFY_CENTER
)));
59948 SWIG_Python_SetConstant(d
, "ID_JUSTIFY_FILL",SWIG_From_int(static_cast< int >(wxID_JUSTIFY_FILL
)));
59949 SWIG_Python_SetConstant(d
, "ID_JUSTIFY_RIGHT",SWIG_From_int(static_cast< int >(wxID_JUSTIFY_RIGHT
)));
59950 SWIG_Python_SetConstant(d
, "ID_JUSTIFY_LEFT",SWIG_From_int(static_cast< int >(wxID_JUSTIFY_LEFT
)));
59951 SWIG_Python_SetConstant(d
, "ID_UNDERLINE",SWIG_From_int(static_cast< int >(wxID_UNDERLINE
)));
59952 SWIG_Python_SetConstant(d
, "ID_INDENT",SWIG_From_int(static_cast< int >(wxID_INDENT
)));
59953 SWIG_Python_SetConstant(d
, "ID_UNINDENT",SWIG_From_int(static_cast< int >(wxID_UNINDENT
)));
59954 SWIG_Python_SetConstant(d
, "ID_ZOOM_100",SWIG_From_int(static_cast< int >(wxID_ZOOM_100
)));
59955 SWIG_Python_SetConstant(d
, "ID_ZOOM_FIT",SWIG_From_int(static_cast< int >(wxID_ZOOM_FIT
)));
59956 SWIG_Python_SetConstant(d
, "ID_ZOOM_IN",SWIG_From_int(static_cast< int >(wxID_ZOOM_IN
)));
59957 SWIG_Python_SetConstant(d
, "ID_ZOOM_OUT",SWIG_From_int(static_cast< int >(wxID_ZOOM_OUT
)));
59958 SWIG_Python_SetConstant(d
, "ID_UNDELETE",SWIG_From_int(static_cast< int >(wxID_UNDELETE
)));
59959 SWIG_Python_SetConstant(d
, "ID_REVERT_TO_SAVED",SWIG_From_int(static_cast< int >(wxID_REVERT_TO_SAVED
)));
59960 SWIG_Python_SetConstant(d
, "ID_HIGHEST",SWIG_From_int(static_cast< int >(wxID_HIGHEST
)));
59961 SWIG_Python_SetConstant(d
, "MENU_TEAROFF",SWIG_From_int(static_cast< int >(wxMENU_TEAROFF
)));
59962 SWIG_Python_SetConstant(d
, "MB_DOCKABLE",SWIG_From_int(static_cast< int >(wxMB_DOCKABLE
)));
59963 SWIG_Python_SetConstant(d
, "NO_FULL_REPAINT_ON_RESIZE",SWIG_From_int(static_cast< int >(wxNO_FULL_REPAINT_ON_RESIZE
)));
59964 SWIG_Python_SetConstant(d
, "FULL_REPAINT_ON_RESIZE",SWIG_From_int(static_cast< int >(wxFULL_REPAINT_ON_RESIZE
)));
59965 SWIG_Python_SetConstant(d
, "LI_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLI_HORIZONTAL
)));
59966 SWIG_Python_SetConstant(d
, "LI_VERTICAL",SWIG_From_int(static_cast< int >(wxLI_VERTICAL
)));
59967 SWIG_Python_SetConstant(d
, "WS_EX_VALIDATE_RECURSIVELY",SWIG_From_int(static_cast< int >(wxWS_EX_VALIDATE_RECURSIVELY
)));
59968 SWIG_Python_SetConstant(d
, "WS_EX_BLOCK_EVENTS",SWIG_From_int(static_cast< int >(wxWS_EX_BLOCK_EVENTS
)));
59969 SWIG_Python_SetConstant(d
, "WS_EX_TRANSIENT",SWIG_From_int(static_cast< int >(wxWS_EX_TRANSIENT
)));
59970 SWIG_Python_SetConstant(d
, "WS_EX_THEMED_BACKGROUND",SWIG_From_int(static_cast< int >(wxWS_EX_THEMED_BACKGROUND
)));
59971 SWIG_Python_SetConstant(d
, "WS_EX_PROCESS_IDLE",SWIG_From_int(static_cast< int >(wxWS_EX_PROCESS_IDLE
)));
59972 SWIG_Python_SetConstant(d
, "WS_EX_PROCESS_UI_UPDATES",SWIG_From_int(static_cast< int >(wxWS_EX_PROCESS_UI_UPDATES
)));
59973 SWIG_Python_SetConstant(d
, "MM_TEXT",SWIG_From_int(static_cast< int >(wxMM_TEXT
)));
59974 SWIG_Python_SetConstant(d
, "MM_LOMETRIC",SWIG_From_int(static_cast< int >(wxMM_LOMETRIC
)));
59975 SWIG_Python_SetConstant(d
, "MM_HIMETRIC",SWIG_From_int(static_cast< int >(wxMM_HIMETRIC
)));
59976 SWIG_Python_SetConstant(d
, "MM_LOENGLISH",SWIG_From_int(static_cast< int >(wxMM_LOENGLISH
)));
59977 SWIG_Python_SetConstant(d
, "MM_HIENGLISH",SWIG_From_int(static_cast< int >(wxMM_HIENGLISH
)));
59978 SWIG_Python_SetConstant(d
, "MM_TWIPS",SWIG_From_int(static_cast< int >(wxMM_TWIPS
)));
59979 SWIG_Python_SetConstant(d
, "MM_ISOTROPIC",SWIG_From_int(static_cast< int >(wxMM_ISOTROPIC
)));
59980 SWIG_Python_SetConstant(d
, "MM_ANISOTROPIC",SWIG_From_int(static_cast< int >(wxMM_ANISOTROPIC
)));
59981 SWIG_Python_SetConstant(d
, "MM_POINTS",SWIG_From_int(static_cast< int >(wxMM_POINTS
)));
59982 SWIG_Python_SetConstant(d
, "MM_METRIC",SWIG_From_int(static_cast< int >(wxMM_METRIC
)));
59983 SWIG_Python_SetConstant(d
, "CENTRE",SWIG_From_int(static_cast< int >(wxCENTRE
)));
59984 SWIG_Python_SetConstant(d
, "CENTER",SWIG_From_int(static_cast< int >(wxCENTER
)));
59985 SWIG_Python_SetConstant(d
, "HORIZONTAL",SWIG_From_int(static_cast< int >(wxHORIZONTAL
)));
59986 SWIG_Python_SetConstant(d
, "VERTICAL",SWIG_From_int(static_cast< int >(wxVERTICAL
)));
59987 SWIG_Python_SetConstant(d
, "BOTH",SWIG_From_int(static_cast< int >(wxBOTH
)));
59988 SWIG_Python_SetConstant(d
, "LEFT",SWIG_From_int(static_cast< int >(wxLEFT
)));
59989 SWIG_Python_SetConstant(d
, "RIGHT",SWIG_From_int(static_cast< int >(wxRIGHT
)));
59990 SWIG_Python_SetConstant(d
, "UP",SWIG_From_int(static_cast< int >(wxUP
)));
59991 SWIG_Python_SetConstant(d
, "DOWN",SWIG_From_int(static_cast< int >(wxDOWN
)));
59992 SWIG_Python_SetConstant(d
, "TOP",SWIG_From_int(static_cast< int >(wxTOP
)));
59993 SWIG_Python_SetConstant(d
, "BOTTOM",SWIG_From_int(static_cast< int >(wxBOTTOM
)));
59994 SWIG_Python_SetConstant(d
, "NORTH",SWIG_From_int(static_cast< int >(wxNORTH
)));
59995 SWIG_Python_SetConstant(d
, "SOUTH",SWIG_From_int(static_cast< int >(wxSOUTH
)));
59996 SWIG_Python_SetConstant(d
, "WEST",SWIG_From_int(static_cast< int >(wxWEST
)));
59997 SWIG_Python_SetConstant(d
, "EAST",SWIG_From_int(static_cast< int >(wxEAST
)));
59998 SWIG_Python_SetConstant(d
, "ALL",SWIG_From_int(static_cast< int >(wxALL
)));
59999 SWIG_Python_SetConstant(d
, "ALIGN_NOT",SWIG_From_int(static_cast< int >(wxALIGN_NOT
)));
60000 SWIG_Python_SetConstant(d
, "ALIGN_CENTER_HORIZONTAL",SWIG_From_int(static_cast< int >(wxALIGN_CENTER_HORIZONTAL
)));
60001 SWIG_Python_SetConstant(d
, "ALIGN_CENTRE_HORIZONTAL",SWIG_From_int(static_cast< int >(wxALIGN_CENTRE_HORIZONTAL
)));
60002 SWIG_Python_SetConstant(d
, "ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxALIGN_LEFT
)));
60003 SWIG_Python_SetConstant(d
, "ALIGN_TOP",SWIG_From_int(static_cast< int >(wxALIGN_TOP
)));
60004 SWIG_Python_SetConstant(d
, "ALIGN_RIGHT",SWIG_From_int(static_cast< int >(wxALIGN_RIGHT
)));
60005 SWIG_Python_SetConstant(d
, "ALIGN_BOTTOM",SWIG_From_int(static_cast< int >(wxALIGN_BOTTOM
)));
60006 SWIG_Python_SetConstant(d
, "ALIGN_CENTER_VERTICAL",SWIG_From_int(static_cast< int >(wxALIGN_CENTER_VERTICAL
)));
60007 SWIG_Python_SetConstant(d
, "ALIGN_CENTRE_VERTICAL",SWIG_From_int(static_cast< int >(wxALIGN_CENTRE_VERTICAL
)));
60008 SWIG_Python_SetConstant(d
, "ALIGN_CENTER",SWIG_From_int(static_cast< int >(wxALIGN_CENTER
)));
60009 SWIG_Python_SetConstant(d
, "ALIGN_CENTRE",SWIG_From_int(static_cast< int >(wxALIGN_CENTRE
)));
60010 SWIG_Python_SetConstant(d
, "ALIGN_MASK",SWIG_From_int(static_cast< int >(wxALIGN_MASK
)));
60011 SWIG_Python_SetConstant(d
, "STRETCH_NOT",SWIG_From_int(static_cast< int >(wxSTRETCH_NOT
)));
60012 SWIG_Python_SetConstant(d
, "SHRINK",SWIG_From_int(static_cast< int >(wxSHRINK
)));
60013 SWIG_Python_SetConstant(d
, "GROW",SWIG_From_int(static_cast< int >(wxGROW
)));
60014 SWIG_Python_SetConstant(d
, "EXPAND",SWIG_From_int(static_cast< int >(wxEXPAND
)));
60015 SWIG_Python_SetConstant(d
, "SHAPED",SWIG_From_int(static_cast< int >(wxSHAPED
)));
60016 SWIG_Python_SetConstant(d
, "FIXED_MINSIZE",SWIG_From_int(static_cast< int >(wxFIXED_MINSIZE
)));
60017 SWIG_Python_SetConstant(d
, "TILE",SWIG_From_int(static_cast< int >(wxTILE
)));
60018 SWIG_Python_SetConstant(d
, "ADJUST_MINSIZE",SWIG_From_int(static_cast< int >(wxADJUST_MINSIZE
)));
60019 SWIG_Python_SetConstant(d
, "BORDER_DEFAULT",SWIG_From_int(static_cast< int >(wxBORDER_DEFAULT
)));
60020 SWIG_Python_SetConstant(d
, "BORDER_NONE",SWIG_From_int(static_cast< int >(wxBORDER_NONE
)));
60021 SWIG_Python_SetConstant(d
, "BORDER_STATIC",SWIG_From_int(static_cast< int >(wxBORDER_STATIC
)));
60022 SWIG_Python_SetConstant(d
, "BORDER_SIMPLE",SWIG_From_int(static_cast< int >(wxBORDER_SIMPLE
)));
60023 SWIG_Python_SetConstant(d
, "BORDER_RAISED",SWIG_From_int(static_cast< int >(wxBORDER_RAISED
)));
60024 SWIG_Python_SetConstant(d
, "BORDER_SUNKEN",SWIG_From_int(static_cast< int >(wxBORDER_SUNKEN
)));
60025 SWIG_Python_SetConstant(d
, "BORDER_DOUBLE",SWIG_From_int(static_cast< int >(wxBORDER_DOUBLE
)));
60026 SWIG_Python_SetConstant(d
, "BORDER_MASK",SWIG_From_int(static_cast< int >(wxBORDER_MASK
)));
60027 SWIG_Python_SetConstant(d
, "BG_STYLE_SYSTEM",SWIG_From_int(static_cast< int >(wxBG_STYLE_SYSTEM
)));
60028 SWIG_Python_SetConstant(d
, "BG_STYLE_COLOUR",SWIG_From_int(static_cast< int >(wxBG_STYLE_COLOUR
)));
60029 SWIG_Python_SetConstant(d
, "BG_STYLE_CUSTOM",SWIG_From_int(static_cast< int >(wxBG_STYLE_CUSTOM
)));
60030 SWIG_Python_SetConstant(d
, "DEFAULT",SWIG_From_int(static_cast< int >(wxDEFAULT
)));
60031 SWIG_Python_SetConstant(d
, "DECORATIVE",SWIG_From_int(static_cast< int >(wxDECORATIVE
)));
60032 SWIG_Python_SetConstant(d
, "ROMAN",SWIG_From_int(static_cast< int >(wxROMAN
)));
60033 SWIG_Python_SetConstant(d
, "SCRIPT",SWIG_From_int(static_cast< int >(wxSCRIPT
)));
60034 SWIG_Python_SetConstant(d
, "SWISS",SWIG_From_int(static_cast< int >(wxSWISS
)));
60035 SWIG_Python_SetConstant(d
, "MODERN",SWIG_From_int(static_cast< int >(wxMODERN
)));
60036 SWIG_Python_SetConstant(d
, "TELETYPE",SWIG_From_int(static_cast< int >(wxTELETYPE
)));
60037 SWIG_Python_SetConstant(d
, "VARIABLE",SWIG_From_int(static_cast< int >(wxVARIABLE
)));
60038 SWIG_Python_SetConstant(d
, "FIXED",SWIG_From_int(static_cast< int >(wxFIXED
)));
60039 SWIG_Python_SetConstant(d
, "NORMAL",SWIG_From_int(static_cast< int >(wxNORMAL
)));
60040 SWIG_Python_SetConstant(d
, "LIGHT",SWIG_From_int(static_cast< int >(wxLIGHT
)));
60041 SWIG_Python_SetConstant(d
, "BOLD",SWIG_From_int(static_cast< int >(wxBOLD
)));
60042 SWIG_Python_SetConstant(d
, "ITALIC",SWIG_From_int(static_cast< int >(wxITALIC
)));
60043 SWIG_Python_SetConstant(d
, "SLANT",SWIG_From_int(static_cast< int >(wxSLANT
)));
60044 SWIG_Python_SetConstant(d
, "SOLID",SWIG_From_int(static_cast< int >(wxSOLID
)));
60045 SWIG_Python_SetConstant(d
, "DOT",SWIG_From_int(static_cast< int >(wxDOT
)));
60046 SWIG_Python_SetConstant(d
, "LONG_DASH",SWIG_From_int(static_cast< int >(wxLONG_DASH
)));
60047 SWIG_Python_SetConstant(d
, "SHORT_DASH",SWIG_From_int(static_cast< int >(wxSHORT_DASH
)));
60048 SWIG_Python_SetConstant(d
, "DOT_DASH",SWIG_From_int(static_cast< int >(wxDOT_DASH
)));
60049 SWIG_Python_SetConstant(d
, "USER_DASH",SWIG_From_int(static_cast< int >(wxUSER_DASH
)));
60050 SWIG_Python_SetConstant(d
, "TRANSPARENT",SWIG_From_int(static_cast< int >(wxTRANSPARENT
)));
60051 SWIG_Python_SetConstant(d
, "STIPPLE",SWIG_From_int(static_cast< int >(wxSTIPPLE
)));
60052 SWIG_Python_SetConstant(d
, "STIPPLE_MASK",SWIG_From_int(static_cast< int >(wxSTIPPLE_MASK
)));
60053 SWIG_Python_SetConstant(d
, "STIPPLE_MASK_OPAQUE",SWIG_From_int(static_cast< int >(wxSTIPPLE_MASK_OPAQUE
)));
60054 SWIG_Python_SetConstant(d
, "BDIAGONAL_HATCH",SWIG_From_int(static_cast< int >(wxBDIAGONAL_HATCH
)));
60055 SWIG_Python_SetConstant(d
, "CROSSDIAG_HATCH",SWIG_From_int(static_cast< int >(wxCROSSDIAG_HATCH
)));
60056 SWIG_Python_SetConstant(d
, "FDIAGONAL_HATCH",SWIG_From_int(static_cast< int >(wxFDIAGONAL_HATCH
)));
60057 SWIG_Python_SetConstant(d
, "CROSS_HATCH",SWIG_From_int(static_cast< int >(wxCROSS_HATCH
)));
60058 SWIG_Python_SetConstant(d
, "HORIZONTAL_HATCH",SWIG_From_int(static_cast< int >(wxHORIZONTAL_HATCH
)));
60059 SWIG_Python_SetConstant(d
, "VERTICAL_HATCH",SWIG_From_int(static_cast< int >(wxVERTICAL_HATCH
)));
60060 SWIG_Python_SetConstant(d
, "JOIN_BEVEL",SWIG_From_int(static_cast< int >(wxJOIN_BEVEL
)));
60061 SWIG_Python_SetConstant(d
, "JOIN_MITER",SWIG_From_int(static_cast< int >(wxJOIN_MITER
)));
60062 SWIG_Python_SetConstant(d
, "JOIN_ROUND",SWIG_From_int(static_cast< int >(wxJOIN_ROUND
)));
60063 SWIG_Python_SetConstant(d
, "CAP_ROUND",SWIG_From_int(static_cast< int >(wxCAP_ROUND
)));
60064 SWIG_Python_SetConstant(d
, "CAP_PROJECTING",SWIG_From_int(static_cast< int >(wxCAP_PROJECTING
)));
60065 SWIG_Python_SetConstant(d
, "CAP_BUTT",SWIG_From_int(static_cast< int >(wxCAP_BUTT
)));
60066 SWIG_Python_SetConstant(d
, "CLEAR",SWIG_From_int(static_cast< int >(wxCLEAR
)));
60067 SWIG_Python_SetConstant(d
, "XOR",SWIG_From_int(static_cast< int >(wxXOR
)));
60068 SWIG_Python_SetConstant(d
, "INVERT",SWIG_From_int(static_cast< int >(wxINVERT
)));
60069 SWIG_Python_SetConstant(d
, "OR_REVERSE",SWIG_From_int(static_cast< int >(wxOR_REVERSE
)));
60070 SWIG_Python_SetConstant(d
, "AND_REVERSE",SWIG_From_int(static_cast< int >(wxAND_REVERSE
)));
60071 SWIG_Python_SetConstant(d
, "COPY",SWIG_From_int(static_cast< int >(wxCOPY
)));
60072 SWIG_Python_SetConstant(d
, "AND",SWIG_From_int(static_cast< int >(wxAND
)));
60073 SWIG_Python_SetConstant(d
, "AND_INVERT",SWIG_From_int(static_cast< int >(wxAND_INVERT
)));
60074 SWIG_Python_SetConstant(d
, "NO_OP",SWIG_From_int(static_cast< int >(wxNO_OP
)));
60075 SWIG_Python_SetConstant(d
, "NOR",SWIG_From_int(static_cast< int >(wxNOR
)));
60076 SWIG_Python_SetConstant(d
, "EQUIV",SWIG_From_int(static_cast< int >(wxEQUIV
)));
60077 SWIG_Python_SetConstant(d
, "SRC_INVERT",SWIG_From_int(static_cast< int >(wxSRC_INVERT
)));
60078 SWIG_Python_SetConstant(d
, "OR_INVERT",SWIG_From_int(static_cast< int >(wxOR_INVERT
)));
60079 SWIG_Python_SetConstant(d
, "NAND",SWIG_From_int(static_cast< int >(wxNAND
)));
60080 SWIG_Python_SetConstant(d
, "OR",SWIG_From_int(static_cast< int >(wxOR
)));
60081 SWIG_Python_SetConstant(d
, "SET",SWIG_From_int(static_cast< int >(wxSET
)));
60082 SWIG_Python_SetConstant(d
, "WXK_BACK",SWIG_From_int(static_cast< int >(WXK_BACK
)));
60083 SWIG_Python_SetConstant(d
, "WXK_TAB",SWIG_From_int(static_cast< int >(WXK_TAB
)));
60084 SWIG_Python_SetConstant(d
, "WXK_RETURN",SWIG_From_int(static_cast< int >(WXK_RETURN
)));
60085 SWIG_Python_SetConstant(d
, "WXK_ESCAPE",SWIG_From_int(static_cast< int >(WXK_ESCAPE
)));
60086 SWIG_Python_SetConstant(d
, "WXK_SPACE",SWIG_From_int(static_cast< int >(WXK_SPACE
)));
60087 SWIG_Python_SetConstant(d
, "WXK_DELETE",SWIG_From_int(static_cast< int >(WXK_DELETE
)));
60088 SWIG_Python_SetConstant(d
, "WXK_START",SWIG_From_int(static_cast< int >(WXK_START
)));
60089 SWIG_Python_SetConstant(d
, "WXK_LBUTTON",SWIG_From_int(static_cast< int >(WXK_LBUTTON
)));
60090 SWIG_Python_SetConstant(d
, "WXK_RBUTTON",SWIG_From_int(static_cast< int >(WXK_RBUTTON
)));
60091 SWIG_Python_SetConstant(d
, "WXK_CANCEL",SWIG_From_int(static_cast< int >(WXK_CANCEL
)));
60092 SWIG_Python_SetConstant(d
, "WXK_MBUTTON",SWIG_From_int(static_cast< int >(WXK_MBUTTON
)));
60093 SWIG_Python_SetConstant(d
, "WXK_CLEAR",SWIG_From_int(static_cast< int >(WXK_CLEAR
)));
60094 SWIG_Python_SetConstant(d
, "WXK_SHIFT",SWIG_From_int(static_cast< int >(WXK_SHIFT
)));
60095 SWIG_Python_SetConstant(d
, "WXK_ALT",SWIG_From_int(static_cast< int >(WXK_ALT
)));
60096 SWIG_Python_SetConstant(d
, "WXK_CONTROL",SWIG_From_int(static_cast< int >(WXK_CONTROL
)));
60097 SWIG_Python_SetConstant(d
, "WXK_MENU",SWIG_From_int(static_cast< int >(WXK_MENU
)));
60098 SWIG_Python_SetConstant(d
, "WXK_PAUSE",SWIG_From_int(static_cast< int >(WXK_PAUSE
)));
60099 SWIG_Python_SetConstant(d
, "WXK_CAPITAL",SWIG_From_int(static_cast< int >(WXK_CAPITAL
)));
60100 SWIG_Python_SetConstant(d
, "WXK_PRIOR",SWIG_From_int(static_cast< int >(WXK_PRIOR
)));
60101 SWIG_Python_SetConstant(d
, "WXK_NEXT",SWIG_From_int(static_cast< int >(WXK_NEXT
)));
60102 SWIG_Python_SetConstant(d
, "WXK_END",SWIG_From_int(static_cast< int >(WXK_END
)));
60103 SWIG_Python_SetConstant(d
, "WXK_HOME",SWIG_From_int(static_cast< int >(WXK_HOME
)));
60104 SWIG_Python_SetConstant(d
, "WXK_LEFT",SWIG_From_int(static_cast< int >(WXK_LEFT
)));
60105 SWIG_Python_SetConstant(d
, "WXK_UP",SWIG_From_int(static_cast< int >(WXK_UP
)));
60106 SWIG_Python_SetConstant(d
, "WXK_RIGHT",SWIG_From_int(static_cast< int >(WXK_RIGHT
)));
60107 SWIG_Python_SetConstant(d
, "WXK_DOWN",SWIG_From_int(static_cast< int >(WXK_DOWN
)));
60108 SWIG_Python_SetConstant(d
, "WXK_SELECT",SWIG_From_int(static_cast< int >(WXK_SELECT
)));
60109 SWIG_Python_SetConstant(d
, "WXK_PRINT",SWIG_From_int(static_cast< int >(WXK_PRINT
)));
60110 SWIG_Python_SetConstant(d
, "WXK_EXECUTE",SWIG_From_int(static_cast< int >(WXK_EXECUTE
)));
60111 SWIG_Python_SetConstant(d
, "WXK_SNAPSHOT",SWIG_From_int(static_cast< int >(WXK_SNAPSHOT
)));
60112 SWIG_Python_SetConstant(d
, "WXK_INSERT",SWIG_From_int(static_cast< int >(WXK_INSERT
)));
60113 SWIG_Python_SetConstant(d
, "WXK_HELP",SWIG_From_int(static_cast< int >(WXK_HELP
)));
60114 SWIG_Python_SetConstant(d
, "WXK_NUMPAD0",SWIG_From_int(static_cast< int >(WXK_NUMPAD0
)));
60115 SWIG_Python_SetConstant(d
, "WXK_NUMPAD1",SWIG_From_int(static_cast< int >(WXK_NUMPAD1
)));
60116 SWIG_Python_SetConstant(d
, "WXK_NUMPAD2",SWIG_From_int(static_cast< int >(WXK_NUMPAD2
)));
60117 SWIG_Python_SetConstant(d
, "WXK_NUMPAD3",SWIG_From_int(static_cast< int >(WXK_NUMPAD3
)));
60118 SWIG_Python_SetConstant(d
, "WXK_NUMPAD4",SWIG_From_int(static_cast< int >(WXK_NUMPAD4
)));
60119 SWIG_Python_SetConstant(d
, "WXK_NUMPAD5",SWIG_From_int(static_cast< int >(WXK_NUMPAD5
)));
60120 SWIG_Python_SetConstant(d
, "WXK_NUMPAD6",SWIG_From_int(static_cast< int >(WXK_NUMPAD6
)));
60121 SWIG_Python_SetConstant(d
, "WXK_NUMPAD7",SWIG_From_int(static_cast< int >(WXK_NUMPAD7
)));
60122 SWIG_Python_SetConstant(d
, "WXK_NUMPAD8",SWIG_From_int(static_cast< int >(WXK_NUMPAD8
)));
60123 SWIG_Python_SetConstant(d
, "WXK_NUMPAD9",SWIG_From_int(static_cast< int >(WXK_NUMPAD9
)));
60124 SWIG_Python_SetConstant(d
, "WXK_MULTIPLY",SWIG_From_int(static_cast< int >(WXK_MULTIPLY
)));
60125 SWIG_Python_SetConstant(d
, "WXK_ADD",SWIG_From_int(static_cast< int >(WXK_ADD
)));
60126 SWIG_Python_SetConstant(d
, "WXK_SEPARATOR",SWIG_From_int(static_cast< int >(WXK_SEPARATOR
)));
60127 SWIG_Python_SetConstant(d
, "WXK_SUBTRACT",SWIG_From_int(static_cast< int >(WXK_SUBTRACT
)));
60128 SWIG_Python_SetConstant(d
, "WXK_DECIMAL",SWIG_From_int(static_cast< int >(WXK_DECIMAL
)));
60129 SWIG_Python_SetConstant(d
, "WXK_DIVIDE",SWIG_From_int(static_cast< int >(WXK_DIVIDE
)));
60130 SWIG_Python_SetConstant(d
, "WXK_F1",SWIG_From_int(static_cast< int >(WXK_F1
)));
60131 SWIG_Python_SetConstant(d
, "WXK_F2",SWIG_From_int(static_cast< int >(WXK_F2
)));
60132 SWIG_Python_SetConstant(d
, "WXK_F3",SWIG_From_int(static_cast< int >(WXK_F3
)));
60133 SWIG_Python_SetConstant(d
, "WXK_F4",SWIG_From_int(static_cast< int >(WXK_F4
)));
60134 SWIG_Python_SetConstant(d
, "WXK_F5",SWIG_From_int(static_cast< int >(WXK_F5
)));
60135 SWIG_Python_SetConstant(d
, "WXK_F6",SWIG_From_int(static_cast< int >(WXK_F6
)));
60136 SWIG_Python_SetConstant(d
, "WXK_F7",SWIG_From_int(static_cast< int >(WXK_F7
)));
60137 SWIG_Python_SetConstant(d
, "WXK_F8",SWIG_From_int(static_cast< int >(WXK_F8
)));
60138 SWIG_Python_SetConstant(d
, "WXK_F9",SWIG_From_int(static_cast< int >(WXK_F9
)));
60139 SWIG_Python_SetConstant(d
, "WXK_F10",SWIG_From_int(static_cast< int >(WXK_F10
)));
60140 SWIG_Python_SetConstant(d
, "WXK_F11",SWIG_From_int(static_cast< int >(WXK_F11
)));
60141 SWIG_Python_SetConstant(d
, "WXK_F12",SWIG_From_int(static_cast< int >(WXK_F12
)));
60142 SWIG_Python_SetConstant(d
, "WXK_F13",SWIG_From_int(static_cast< int >(WXK_F13
)));
60143 SWIG_Python_SetConstant(d
, "WXK_F14",SWIG_From_int(static_cast< int >(WXK_F14
)));
60144 SWIG_Python_SetConstant(d
, "WXK_F15",SWIG_From_int(static_cast< int >(WXK_F15
)));
60145 SWIG_Python_SetConstant(d
, "WXK_F16",SWIG_From_int(static_cast< int >(WXK_F16
)));
60146 SWIG_Python_SetConstant(d
, "WXK_F17",SWIG_From_int(static_cast< int >(WXK_F17
)));
60147 SWIG_Python_SetConstant(d
, "WXK_F18",SWIG_From_int(static_cast< int >(WXK_F18
)));
60148 SWIG_Python_SetConstant(d
, "WXK_F19",SWIG_From_int(static_cast< int >(WXK_F19
)));
60149 SWIG_Python_SetConstant(d
, "WXK_F20",SWIG_From_int(static_cast< int >(WXK_F20
)));
60150 SWIG_Python_SetConstant(d
, "WXK_F21",SWIG_From_int(static_cast< int >(WXK_F21
)));
60151 SWIG_Python_SetConstant(d
, "WXK_F22",SWIG_From_int(static_cast< int >(WXK_F22
)));
60152 SWIG_Python_SetConstant(d
, "WXK_F23",SWIG_From_int(static_cast< int >(WXK_F23
)));
60153 SWIG_Python_SetConstant(d
, "WXK_F24",SWIG_From_int(static_cast< int >(WXK_F24
)));
60154 SWIG_Python_SetConstant(d
, "WXK_NUMLOCK",SWIG_From_int(static_cast< int >(WXK_NUMLOCK
)));
60155 SWIG_Python_SetConstant(d
, "WXK_SCROLL",SWIG_From_int(static_cast< int >(WXK_SCROLL
)));
60156 SWIG_Python_SetConstant(d
, "WXK_PAGEUP",SWIG_From_int(static_cast< int >(WXK_PAGEUP
)));
60157 SWIG_Python_SetConstant(d
, "WXK_PAGEDOWN",SWIG_From_int(static_cast< int >(WXK_PAGEDOWN
)));
60158 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_SPACE",SWIG_From_int(static_cast< int >(WXK_NUMPAD_SPACE
)));
60159 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_TAB",SWIG_From_int(static_cast< int >(WXK_NUMPAD_TAB
)));
60160 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_ENTER",SWIG_From_int(static_cast< int >(WXK_NUMPAD_ENTER
)));
60161 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_F1",SWIG_From_int(static_cast< int >(WXK_NUMPAD_F1
)));
60162 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_F2",SWIG_From_int(static_cast< int >(WXK_NUMPAD_F2
)));
60163 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_F3",SWIG_From_int(static_cast< int >(WXK_NUMPAD_F3
)));
60164 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_F4",SWIG_From_int(static_cast< int >(WXK_NUMPAD_F4
)));
60165 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_HOME",SWIG_From_int(static_cast< int >(WXK_NUMPAD_HOME
)));
60166 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_LEFT",SWIG_From_int(static_cast< int >(WXK_NUMPAD_LEFT
)));
60167 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_UP",SWIG_From_int(static_cast< int >(WXK_NUMPAD_UP
)));
60168 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_RIGHT",SWIG_From_int(static_cast< int >(WXK_NUMPAD_RIGHT
)));
60169 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_DOWN",SWIG_From_int(static_cast< int >(WXK_NUMPAD_DOWN
)));
60170 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_PRIOR",SWIG_From_int(static_cast< int >(WXK_NUMPAD_PRIOR
)));
60171 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_PAGEUP",SWIG_From_int(static_cast< int >(WXK_NUMPAD_PAGEUP
)));
60172 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_NEXT",SWIG_From_int(static_cast< int >(WXK_NUMPAD_NEXT
)));
60173 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_PAGEDOWN",SWIG_From_int(static_cast< int >(WXK_NUMPAD_PAGEDOWN
)));
60174 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_END",SWIG_From_int(static_cast< int >(WXK_NUMPAD_END
)));
60175 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_BEGIN",SWIG_From_int(static_cast< int >(WXK_NUMPAD_BEGIN
)));
60176 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_INSERT",SWIG_From_int(static_cast< int >(WXK_NUMPAD_INSERT
)));
60177 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_DELETE",SWIG_From_int(static_cast< int >(WXK_NUMPAD_DELETE
)));
60178 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_EQUAL",SWIG_From_int(static_cast< int >(WXK_NUMPAD_EQUAL
)));
60179 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_MULTIPLY",SWIG_From_int(static_cast< int >(WXK_NUMPAD_MULTIPLY
)));
60180 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_ADD",SWIG_From_int(static_cast< int >(WXK_NUMPAD_ADD
)));
60181 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_SEPARATOR",SWIG_From_int(static_cast< int >(WXK_NUMPAD_SEPARATOR
)));
60182 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_SUBTRACT",SWIG_From_int(static_cast< int >(WXK_NUMPAD_SUBTRACT
)));
60183 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_DECIMAL",SWIG_From_int(static_cast< int >(WXK_NUMPAD_DECIMAL
)));
60184 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_DIVIDE",SWIG_From_int(static_cast< int >(WXK_NUMPAD_DIVIDE
)));
60185 SWIG_Python_SetConstant(d
, "WXK_WINDOWS_LEFT",SWIG_From_int(static_cast< int >(WXK_WINDOWS_LEFT
)));
60186 SWIG_Python_SetConstant(d
, "WXK_WINDOWS_RIGHT",SWIG_From_int(static_cast< int >(WXK_WINDOWS_RIGHT
)));
60187 SWIG_Python_SetConstant(d
, "WXK_WINDOWS_MENU",SWIG_From_int(static_cast< int >(WXK_WINDOWS_MENU
)));
60188 SWIG_Python_SetConstant(d
, "WXK_COMMAND",SWIG_From_int(static_cast< int >(WXK_COMMAND
)));
60189 SWIG_Python_SetConstant(d
, "WXK_SPECIAL1",SWIG_From_int(static_cast< int >(WXK_SPECIAL1
)));
60190 SWIG_Python_SetConstant(d
, "WXK_SPECIAL2",SWIG_From_int(static_cast< int >(WXK_SPECIAL2
)));
60191 SWIG_Python_SetConstant(d
, "WXK_SPECIAL3",SWIG_From_int(static_cast< int >(WXK_SPECIAL3
)));
60192 SWIG_Python_SetConstant(d
, "WXK_SPECIAL4",SWIG_From_int(static_cast< int >(WXK_SPECIAL4
)));
60193 SWIG_Python_SetConstant(d
, "WXK_SPECIAL5",SWIG_From_int(static_cast< int >(WXK_SPECIAL5
)));
60194 SWIG_Python_SetConstant(d
, "WXK_SPECIAL6",SWIG_From_int(static_cast< int >(WXK_SPECIAL6
)));
60195 SWIG_Python_SetConstant(d
, "WXK_SPECIAL7",SWIG_From_int(static_cast< int >(WXK_SPECIAL7
)));
60196 SWIG_Python_SetConstant(d
, "WXK_SPECIAL8",SWIG_From_int(static_cast< int >(WXK_SPECIAL8
)));
60197 SWIG_Python_SetConstant(d
, "WXK_SPECIAL9",SWIG_From_int(static_cast< int >(WXK_SPECIAL9
)));
60198 SWIG_Python_SetConstant(d
, "WXK_SPECIAL10",SWIG_From_int(static_cast< int >(WXK_SPECIAL10
)));
60199 SWIG_Python_SetConstant(d
, "WXK_SPECIAL11",SWIG_From_int(static_cast< int >(WXK_SPECIAL11
)));
60200 SWIG_Python_SetConstant(d
, "WXK_SPECIAL12",SWIG_From_int(static_cast< int >(WXK_SPECIAL12
)));
60201 SWIG_Python_SetConstant(d
, "WXK_SPECIAL13",SWIG_From_int(static_cast< int >(WXK_SPECIAL13
)));
60202 SWIG_Python_SetConstant(d
, "WXK_SPECIAL14",SWIG_From_int(static_cast< int >(WXK_SPECIAL14
)));
60203 SWIG_Python_SetConstant(d
, "WXK_SPECIAL15",SWIG_From_int(static_cast< int >(WXK_SPECIAL15
)));
60204 SWIG_Python_SetConstant(d
, "WXK_SPECIAL16",SWIG_From_int(static_cast< int >(WXK_SPECIAL16
)));
60205 SWIG_Python_SetConstant(d
, "WXK_SPECIAL17",SWIG_From_int(static_cast< int >(WXK_SPECIAL17
)));
60206 SWIG_Python_SetConstant(d
, "WXK_SPECIAL18",SWIG_From_int(static_cast< int >(WXK_SPECIAL18
)));
60207 SWIG_Python_SetConstant(d
, "WXK_SPECIAL19",SWIG_From_int(static_cast< int >(WXK_SPECIAL19
)));
60208 SWIG_Python_SetConstant(d
, "WXK_SPECIAL20",SWIG_From_int(static_cast< int >(WXK_SPECIAL20
)));
60209 SWIG_Python_SetConstant(d
, "PAPER_NONE",SWIG_From_int(static_cast< int >(wxPAPER_NONE
)));
60210 SWIG_Python_SetConstant(d
, "PAPER_LETTER",SWIG_From_int(static_cast< int >(wxPAPER_LETTER
)));
60211 SWIG_Python_SetConstant(d
, "PAPER_LEGAL",SWIG_From_int(static_cast< int >(wxPAPER_LEGAL
)));
60212 SWIG_Python_SetConstant(d
, "PAPER_A4",SWIG_From_int(static_cast< int >(wxPAPER_A4
)));
60213 SWIG_Python_SetConstant(d
, "PAPER_CSHEET",SWIG_From_int(static_cast< int >(wxPAPER_CSHEET
)));
60214 SWIG_Python_SetConstant(d
, "PAPER_DSHEET",SWIG_From_int(static_cast< int >(wxPAPER_DSHEET
)));
60215 SWIG_Python_SetConstant(d
, "PAPER_ESHEET",SWIG_From_int(static_cast< int >(wxPAPER_ESHEET
)));
60216 SWIG_Python_SetConstant(d
, "PAPER_LETTERSMALL",SWIG_From_int(static_cast< int >(wxPAPER_LETTERSMALL
)));
60217 SWIG_Python_SetConstant(d
, "PAPER_TABLOID",SWIG_From_int(static_cast< int >(wxPAPER_TABLOID
)));
60218 SWIG_Python_SetConstant(d
, "PAPER_LEDGER",SWIG_From_int(static_cast< int >(wxPAPER_LEDGER
)));
60219 SWIG_Python_SetConstant(d
, "PAPER_STATEMENT",SWIG_From_int(static_cast< int >(wxPAPER_STATEMENT
)));
60220 SWIG_Python_SetConstant(d
, "PAPER_EXECUTIVE",SWIG_From_int(static_cast< int >(wxPAPER_EXECUTIVE
)));
60221 SWIG_Python_SetConstant(d
, "PAPER_A3",SWIG_From_int(static_cast< int >(wxPAPER_A3
)));
60222 SWIG_Python_SetConstant(d
, "PAPER_A4SMALL",SWIG_From_int(static_cast< int >(wxPAPER_A4SMALL
)));
60223 SWIG_Python_SetConstant(d
, "PAPER_A5",SWIG_From_int(static_cast< int >(wxPAPER_A5
)));
60224 SWIG_Python_SetConstant(d
, "PAPER_B4",SWIG_From_int(static_cast< int >(wxPAPER_B4
)));
60225 SWIG_Python_SetConstant(d
, "PAPER_B5",SWIG_From_int(static_cast< int >(wxPAPER_B5
)));
60226 SWIG_Python_SetConstant(d
, "PAPER_FOLIO",SWIG_From_int(static_cast< int >(wxPAPER_FOLIO
)));
60227 SWIG_Python_SetConstant(d
, "PAPER_QUARTO",SWIG_From_int(static_cast< int >(wxPAPER_QUARTO
)));
60228 SWIG_Python_SetConstant(d
, "PAPER_10X14",SWIG_From_int(static_cast< int >(wxPAPER_10X14
)));
60229 SWIG_Python_SetConstant(d
, "PAPER_11X17",SWIG_From_int(static_cast< int >(wxPAPER_11X17
)));
60230 SWIG_Python_SetConstant(d
, "PAPER_NOTE",SWIG_From_int(static_cast< int >(wxPAPER_NOTE
)));
60231 SWIG_Python_SetConstant(d
, "PAPER_ENV_9",SWIG_From_int(static_cast< int >(wxPAPER_ENV_9
)));
60232 SWIG_Python_SetConstant(d
, "PAPER_ENV_10",SWIG_From_int(static_cast< int >(wxPAPER_ENV_10
)));
60233 SWIG_Python_SetConstant(d
, "PAPER_ENV_11",SWIG_From_int(static_cast< int >(wxPAPER_ENV_11
)));
60234 SWIG_Python_SetConstant(d
, "PAPER_ENV_12",SWIG_From_int(static_cast< int >(wxPAPER_ENV_12
)));
60235 SWIG_Python_SetConstant(d
, "PAPER_ENV_14",SWIG_From_int(static_cast< int >(wxPAPER_ENV_14
)));
60236 SWIG_Python_SetConstant(d
, "PAPER_ENV_DL",SWIG_From_int(static_cast< int >(wxPAPER_ENV_DL
)));
60237 SWIG_Python_SetConstant(d
, "PAPER_ENV_C5",SWIG_From_int(static_cast< int >(wxPAPER_ENV_C5
)));
60238 SWIG_Python_SetConstant(d
, "PAPER_ENV_C3",SWIG_From_int(static_cast< int >(wxPAPER_ENV_C3
)));
60239 SWIG_Python_SetConstant(d
, "PAPER_ENV_C4",SWIG_From_int(static_cast< int >(wxPAPER_ENV_C4
)));
60240 SWIG_Python_SetConstant(d
, "PAPER_ENV_C6",SWIG_From_int(static_cast< int >(wxPAPER_ENV_C6
)));
60241 SWIG_Python_SetConstant(d
, "PAPER_ENV_C65",SWIG_From_int(static_cast< int >(wxPAPER_ENV_C65
)));
60242 SWIG_Python_SetConstant(d
, "PAPER_ENV_B4",SWIG_From_int(static_cast< int >(wxPAPER_ENV_B4
)));
60243 SWIG_Python_SetConstant(d
, "PAPER_ENV_B5",SWIG_From_int(static_cast< int >(wxPAPER_ENV_B5
)));
60244 SWIG_Python_SetConstant(d
, "PAPER_ENV_B6",SWIG_From_int(static_cast< int >(wxPAPER_ENV_B6
)));
60245 SWIG_Python_SetConstant(d
, "PAPER_ENV_ITALY",SWIG_From_int(static_cast< int >(wxPAPER_ENV_ITALY
)));
60246 SWIG_Python_SetConstant(d
, "PAPER_ENV_MONARCH",SWIG_From_int(static_cast< int >(wxPAPER_ENV_MONARCH
)));
60247 SWIG_Python_SetConstant(d
, "PAPER_ENV_PERSONAL",SWIG_From_int(static_cast< int >(wxPAPER_ENV_PERSONAL
)));
60248 SWIG_Python_SetConstant(d
, "PAPER_FANFOLD_US",SWIG_From_int(static_cast< int >(wxPAPER_FANFOLD_US
)));
60249 SWIG_Python_SetConstant(d
, "PAPER_FANFOLD_STD_GERMAN",SWIG_From_int(static_cast< int >(wxPAPER_FANFOLD_STD_GERMAN
)));
60250 SWIG_Python_SetConstant(d
, "PAPER_FANFOLD_LGL_GERMAN",SWIG_From_int(static_cast< int >(wxPAPER_FANFOLD_LGL_GERMAN
)));
60251 SWIG_Python_SetConstant(d
, "PAPER_ISO_B4",SWIG_From_int(static_cast< int >(wxPAPER_ISO_B4
)));
60252 SWIG_Python_SetConstant(d
, "PAPER_JAPANESE_POSTCARD",SWIG_From_int(static_cast< int >(wxPAPER_JAPANESE_POSTCARD
)));
60253 SWIG_Python_SetConstant(d
, "PAPER_9X11",SWIG_From_int(static_cast< int >(wxPAPER_9X11
)));
60254 SWIG_Python_SetConstant(d
, "PAPER_10X11",SWIG_From_int(static_cast< int >(wxPAPER_10X11
)));
60255 SWIG_Python_SetConstant(d
, "PAPER_15X11",SWIG_From_int(static_cast< int >(wxPAPER_15X11
)));
60256 SWIG_Python_SetConstant(d
, "PAPER_ENV_INVITE",SWIG_From_int(static_cast< int >(wxPAPER_ENV_INVITE
)));
60257 SWIG_Python_SetConstant(d
, "PAPER_LETTER_EXTRA",SWIG_From_int(static_cast< int >(wxPAPER_LETTER_EXTRA
)));
60258 SWIG_Python_SetConstant(d
, "PAPER_LEGAL_EXTRA",SWIG_From_int(static_cast< int >(wxPAPER_LEGAL_EXTRA
)));
60259 SWIG_Python_SetConstant(d
, "PAPER_TABLOID_EXTRA",SWIG_From_int(static_cast< int >(wxPAPER_TABLOID_EXTRA
)));
60260 SWIG_Python_SetConstant(d
, "PAPER_A4_EXTRA",SWIG_From_int(static_cast< int >(wxPAPER_A4_EXTRA
)));
60261 SWIG_Python_SetConstant(d
, "PAPER_LETTER_TRANSVERSE",SWIG_From_int(static_cast< int >(wxPAPER_LETTER_TRANSVERSE
)));
60262 SWIG_Python_SetConstant(d
, "PAPER_A4_TRANSVERSE",SWIG_From_int(static_cast< int >(wxPAPER_A4_TRANSVERSE
)));
60263 SWIG_Python_SetConstant(d
, "PAPER_LETTER_EXTRA_TRANSVERSE",SWIG_From_int(static_cast< int >(wxPAPER_LETTER_EXTRA_TRANSVERSE
)));
60264 SWIG_Python_SetConstant(d
, "PAPER_A_PLUS",SWIG_From_int(static_cast< int >(wxPAPER_A_PLUS
)));
60265 SWIG_Python_SetConstant(d
, "PAPER_B_PLUS",SWIG_From_int(static_cast< int >(wxPAPER_B_PLUS
)));
60266 SWIG_Python_SetConstant(d
, "PAPER_LETTER_PLUS",SWIG_From_int(static_cast< int >(wxPAPER_LETTER_PLUS
)));
60267 SWIG_Python_SetConstant(d
, "PAPER_A4_PLUS",SWIG_From_int(static_cast< int >(wxPAPER_A4_PLUS
)));
60268 SWIG_Python_SetConstant(d
, "PAPER_A5_TRANSVERSE",SWIG_From_int(static_cast< int >(wxPAPER_A5_TRANSVERSE
)));
60269 SWIG_Python_SetConstant(d
, "PAPER_B5_TRANSVERSE",SWIG_From_int(static_cast< int >(wxPAPER_B5_TRANSVERSE
)));
60270 SWIG_Python_SetConstant(d
, "PAPER_A3_EXTRA",SWIG_From_int(static_cast< int >(wxPAPER_A3_EXTRA
)));
60271 SWIG_Python_SetConstant(d
, "PAPER_A5_EXTRA",SWIG_From_int(static_cast< int >(wxPAPER_A5_EXTRA
)));
60272 SWIG_Python_SetConstant(d
, "PAPER_B5_EXTRA",SWIG_From_int(static_cast< int >(wxPAPER_B5_EXTRA
)));
60273 SWIG_Python_SetConstant(d
, "PAPER_A2",SWIG_From_int(static_cast< int >(wxPAPER_A2
)));
60274 SWIG_Python_SetConstant(d
, "PAPER_A3_TRANSVERSE",SWIG_From_int(static_cast< int >(wxPAPER_A3_TRANSVERSE
)));
60275 SWIG_Python_SetConstant(d
, "PAPER_A3_EXTRA_TRANSVERSE",SWIG_From_int(static_cast< int >(wxPAPER_A3_EXTRA_TRANSVERSE
)));
60276 SWIG_Python_SetConstant(d
, "PAPER_DBL_JAPANESE_POSTCARD",SWIG_From_int(static_cast< int >(wxPAPER_DBL_JAPANESE_POSTCARD
)));
60277 SWIG_Python_SetConstant(d
, "PAPER_A6",SWIG_From_int(static_cast< int >(wxPAPER_A6
)));
60278 SWIG_Python_SetConstant(d
, "PAPER_JENV_KAKU2",SWIG_From_int(static_cast< int >(wxPAPER_JENV_KAKU2
)));
60279 SWIG_Python_SetConstant(d
, "PAPER_JENV_KAKU3",SWIG_From_int(static_cast< int >(wxPAPER_JENV_KAKU3
)));
60280 SWIG_Python_SetConstant(d
, "PAPER_JENV_CHOU3",SWIG_From_int(static_cast< int >(wxPAPER_JENV_CHOU3
)));
60281 SWIG_Python_SetConstant(d
, "PAPER_JENV_CHOU4",SWIG_From_int(static_cast< int >(wxPAPER_JENV_CHOU4
)));
60282 SWIG_Python_SetConstant(d
, "PAPER_LETTER_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_LETTER_ROTATED
)));
60283 SWIG_Python_SetConstant(d
, "PAPER_A3_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_A3_ROTATED
)));
60284 SWIG_Python_SetConstant(d
, "PAPER_A4_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_A4_ROTATED
)));
60285 SWIG_Python_SetConstant(d
, "PAPER_A5_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_A5_ROTATED
)));
60286 SWIG_Python_SetConstant(d
, "PAPER_B4_JIS_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_B4_JIS_ROTATED
)));
60287 SWIG_Python_SetConstant(d
, "PAPER_B5_JIS_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_B5_JIS_ROTATED
)));
60288 SWIG_Python_SetConstant(d
, "PAPER_JAPANESE_POSTCARD_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_JAPANESE_POSTCARD_ROTATED
)));
60289 SWIG_Python_SetConstant(d
, "PAPER_DBL_JAPANESE_POSTCARD_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_DBL_JAPANESE_POSTCARD_ROTATED
)));
60290 SWIG_Python_SetConstant(d
, "PAPER_A6_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_A6_ROTATED
)));
60291 SWIG_Python_SetConstant(d
, "PAPER_JENV_KAKU2_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_JENV_KAKU2_ROTATED
)));
60292 SWIG_Python_SetConstant(d
, "PAPER_JENV_KAKU3_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_JENV_KAKU3_ROTATED
)));
60293 SWIG_Python_SetConstant(d
, "PAPER_JENV_CHOU3_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_JENV_CHOU3_ROTATED
)));
60294 SWIG_Python_SetConstant(d
, "PAPER_JENV_CHOU4_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_JENV_CHOU4_ROTATED
)));
60295 SWIG_Python_SetConstant(d
, "PAPER_B6_JIS",SWIG_From_int(static_cast< int >(wxPAPER_B6_JIS
)));
60296 SWIG_Python_SetConstant(d
, "PAPER_B6_JIS_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_B6_JIS_ROTATED
)));
60297 SWIG_Python_SetConstant(d
, "PAPER_12X11",SWIG_From_int(static_cast< int >(wxPAPER_12X11
)));
60298 SWIG_Python_SetConstant(d
, "PAPER_JENV_YOU4",SWIG_From_int(static_cast< int >(wxPAPER_JENV_YOU4
)));
60299 SWIG_Python_SetConstant(d
, "PAPER_JENV_YOU4_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_JENV_YOU4_ROTATED
)));
60300 SWIG_Python_SetConstant(d
, "PAPER_P16K",SWIG_From_int(static_cast< int >(wxPAPER_P16K
)));
60301 SWIG_Python_SetConstant(d
, "PAPER_P32K",SWIG_From_int(static_cast< int >(wxPAPER_P32K
)));
60302 SWIG_Python_SetConstant(d
, "PAPER_P32KBIG",SWIG_From_int(static_cast< int >(wxPAPER_P32KBIG
)));
60303 SWIG_Python_SetConstant(d
, "PAPER_PENV_1",SWIG_From_int(static_cast< int >(wxPAPER_PENV_1
)));
60304 SWIG_Python_SetConstant(d
, "PAPER_PENV_2",SWIG_From_int(static_cast< int >(wxPAPER_PENV_2
)));
60305 SWIG_Python_SetConstant(d
, "PAPER_PENV_3",SWIG_From_int(static_cast< int >(wxPAPER_PENV_3
)));
60306 SWIG_Python_SetConstant(d
, "PAPER_PENV_4",SWIG_From_int(static_cast< int >(wxPAPER_PENV_4
)));
60307 SWIG_Python_SetConstant(d
, "PAPER_PENV_5",SWIG_From_int(static_cast< int >(wxPAPER_PENV_5
)));
60308 SWIG_Python_SetConstant(d
, "PAPER_PENV_6",SWIG_From_int(static_cast< int >(wxPAPER_PENV_6
)));
60309 SWIG_Python_SetConstant(d
, "PAPER_PENV_7",SWIG_From_int(static_cast< int >(wxPAPER_PENV_7
)));
60310 SWIG_Python_SetConstant(d
, "PAPER_PENV_8",SWIG_From_int(static_cast< int >(wxPAPER_PENV_8
)));
60311 SWIG_Python_SetConstant(d
, "PAPER_PENV_9",SWIG_From_int(static_cast< int >(wxPAPER_PENV_9
)));
60312 SWIG_Python_SetConstant(d
, "PAPER_PENV_10",SWIG_From_int(static_cast< int >(wxPAPER_PENV_10
)));
60313 SWIG_Python_SetConstant(d
, "PAPER_P16K_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_P16K_ROTATED
)));
60314 SWIG_Python_SetConstant(d
, "PAPER_P32K_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_P32K_ROTATED
)));
60315 SWIG_Python_SetConstant(d
, "PAPER_P32KBIG_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_P32KBIG_ROTATED
)));
60316 SWIG_Python_SetConstant(d
, "PAPER_PENV_1_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_PENV_1_ROTATED
)));
60317 SWIG_Python_SetConstant(d
, "PAPER_PENV_2_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_PENV_2_ROTATED
)));
60318 SWIG_Python_SetConstant(d
, "PAPER_PENV_3_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_PENV_3_ROTATED
)));
60319 SWIG_Python_SetConstant(d
, "PAPER_PENV_4_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_PENV_4_ROTATED
)));
60320 SWIG_Python_SetConstant(d
, "PAPER_PENV_5_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_PENV_5_ROTATED
)));
60321 SWIG_Python_SetConstant(d
, "PAPER_PENV_6_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_PENV_6_ROTATED
)));
60322 SWIG_Python_SetConstant(d
, "PAPER_PENV_7_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_PENV_7_ROTATED
)));
60323 SWIG_Python_SetConstant(d
, "PAPER_PENV_8_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_PENV_8_ROTATED
)));
60324 SWIG_Python_SetConstant(d
, "PAPER_PENV_9_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_PENV_9_ROTATED
)));
60325 SWIG_Python_SetConstant(d
, "PAPER_PENV_10_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_PENV_10_ROTATED
)));
60326 SWIG_Python_SetConstant(d
, "DUPLEX_SIMPLEX",SWIG_From_int(static_cast< int >(wxDUPLEX_SIMPLEX
)));
60327 SWIG_Python_SetConstant(d
, "DUPLEX_HORIZONTAL",SWIG_From_int(static_cast< int >(wxDUPLEX_HORIZONTAL
)));
60328 SWIG_Python_SetConstant(d
, "DUPLEX_VERTICAL",SWIG_From_int(static_cast< int >(wxDUPLEX_VERTICAL
)));
60329 SWIG_Python_SetConstant(d
, "ITEM_SEPARATOR",SWIG_From_int(static_cast< int >(wxITEM_SEPARATOR
)));
60330 SWIG_Python_SetConstant(d
, "ITEM_NORMAL",SWIG_From_int(static_cast< int >(wxITEM_NORMAL
)));
60331 SWIG_Python_SetConstant(d
, "ITEM_CHECK",SWIG_From_int(static_cast< int >(wxITEM_CHECK
)));
60332 SWIG_Python_SetConstant(d
, "ITEM_RADIO",SWIG_From_int(static_cast< int >(wxITEM_RADIO
)));
60333 SWIG_Python_SetConstant(d
, "ITEM_MAX",SWIG_From_int(static_cast< int >(wxITEM_MAX
)));
60334 SWIG_Python_SetConstant(d
, "HT_NOWHERE",SWIG_From_int(static_cast< int >(wxHT_NOWHERE
)));
60335 SWIG_Python_SetConstant(d
, "HT_SCROLLBAR_FIRST",SWIG_From_int(static_cast< int >(wxHT_SCROLLBAR_FIRST
)));
60336 SWIG_Python_SetConstant(d
, "HT_SCROLLBAR_ARROW_LINE_1",SWIG_From_int(static_cast< int >(wxHT_SCROLLBAR_ARROW_LINE_1
)));
60337 SWIG_Python_SetConstant(d
, "HT_SCROLLBAR_ARROW_LINE_2",SWIG_From_int(static_cast< int >(wxHT_SCROLLBAR_ARROW_LINE_2
)));
60338 SWIG_Python_SetConstant(d
, "HT_SCROLLBAR_ARROW_PAGE_1",SWIG_From_int(static_cast< int >(wxHT_SCROLLBAR_ARROW_PAGE_1
)));
60339 SWIG_Python_SetConstant(d
, "HT_SCROLLBAR_ARROW_PAGE_2",SWIG_From_int(static_cast< int >(wxHT_SCROLLBAR_ARROW_PAGE_2
)));
60340 SWIG_Python_SetConstant(d
, "HT_SCROLLBAR_THUMB",SWIG_From_int(static_cast< int >(wxHT_SCROLLBAR_THUMB
)));
60341 SWIG_Python_SetConstant(d
, "HT_SCROLLBAR_BAR_1",SWIG_From_int(static_cast< int >(wxHT_SCROLLBAR_BAR_1
)));
60342 SWIG_Python_SetConstant(d
, "HT_SCROLLBAR_BAR_2",SWIG_From_int(static_cast< int >(wxHT_SCROLLBAR_BAR_2
)));
60343 SWIG_Python_SetConstant(d
, "HT_SCROLLBAR_LAST",SWIG_From_int(static_cast< int >(wxHT_SCROLLBAR_LAST
)));
60344 SWIG_Python_SetConstant(d
, "HT_WINDOW_OUTSIDE",SWIG_From_int(static_cast< int >(wxHT_WINDOW_OUTSIDE
)));
60345 SWIG_Python_SetConstant(d
, "HT_WINDOW_INSIDE",SWIG_From_int(static_cast< int >(wxHT_WINDOW_INSIDE
)));
60346 SWIG_Python_SetConstant(d
, "HT_WINDOW_VERT_SCROLLBAR",SWIG_From_int(static_cast< int >(wxHT_WINDOW_VERT_SCROLLBAR
)));
60347 SWIG_Python_SetConstant(d
, "HT_WINDOW_HORZ_SCROLLBAR",SWIG_From_int(static_cast< int >(wxHT_WINDOW_HORZ_SCROLLBAR
)));
60348 SWIG_Python_SetConstant(d
, "HT_WINDOW_CORNER",SWIG_From_int(static_cast< int >(wxHT_WINDOW_CORNER
)));
60349 SWIG_Python_SetConstant(d
, "HT_MAX",SWIG_From_int(static_cast< int >(wxHT_MAX
)));
60350 SWIG_Python_SetConstant(d
, "MOD_NONE",SWIG_From_int(static_cast< int >(wxMOD_NONE
)));
60351 SWIG_Python_SetConstant(d
, "MOD_ALT",SWIG_From_int(static_cast< int >(wxMOD_ALT
)));
60352 SWIG_Python_SetConstant(d
, "MOD_CONTROL",SWIG_From_int(static_cast< int >(wxMOD_CONTROL
)));
60353 SWIG_Python_SetConstant(d
, "MOD_ALTGR",SWIG_From_int(static_cast< int >(wxMOD_ALTGR
)));
60354 SWIG_Python_SetConstant(d
, "MOD_SHIFT",SWIG_From_int(static_cast< int >(wxMOD_SHIFT
)));
60355 SWIG_Python_SetConstant(d
, "MOD_META",SWIG_From_int(static_cast< int >(wxMOD_META
)));
60356 SWIG_Python_SetConstant(d
, "MOD_WIN",SWIG_From_int(static_cast< int >(wxMOD_WIN
)));
60357 SWIG_Python_SetConstant(d
, "MOD_CMD",SWIG_From_int(static_cast< int >(wxMOD_CMD
)));
60358 SWIG_Python_SetConstant(d
, "MOD_ALL",SWIG_From_int(static_cast< int >(wxMOD_ALL
)));
60359 SWIG_Python_SetConstant(d
, "UPDATE_UI_NONE",SWIG_From_int(static_cast< int >(wxUPDATE_UI_NONE
)));
60360 SWIG_Python_SetConstant(d
, "UPDATE_UI_RECURSE",SWIG_From_int(static_cast< int >(wxUPDATE_UI_RECURSE
)));
60361 SWIG_Python_SetConstant(d
, "UPDATE_UI_FROMIDLE",SWIG_From_int(static_cast< int >(wxUPDATE_UI_FROMIDLE
)));
60362 SWIG_Python_SetConstant(d
, "Layout_Default",SWIG_From_int(static_cast< int >(wxLayout_Default
)));
60363 SWIG_Python_SetConstant(d
, "Layout_LeftToRight",SWIG_From_int(static_cast< int >(wxLayout_LeftToRight
)));
60364 SWIG_Python_SetConstant(d
, "Layout_RightToLeft",SWIG_From_int(static_cast< int >(wxLayout_RightToLeft
)));
60365 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
60366 SWIG_addvarlink(SWIG_globals(),(char*)"EmptyString",EmptyString_get
, EmptyString_set
);
60367 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_INVALID",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_INVALID
)));
60368 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_BMP",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_BMP
)));
60369 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_ICO",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_ICO
)));
60370 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_CUR",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_CUR
)));
60371 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_XBM",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_XBM
)));
60372 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_XBM_DATA",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_XBM_DATA
)));
60373 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_XPM",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_XPM
)));
60374 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_XPM_DATA",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_XPM_DATA
)));
60375 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_TIF",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_TIF
)));
60376 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_GIF",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_GIF
)));
60377 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_PNG",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_PNG
)));
60378 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_JPEG",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_JPEG
)));
60379 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_PNM",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_PNM
)));
60380 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_PCX",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_PCX
)));
60381 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_PICT",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_PICT
)));
60382 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_ICON",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_ICON
)));
60383 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_ANI",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_ANI
)));
60384 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_IFF",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_IFF
)));
60385 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_TGA",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_TGA
)));
60386 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_MACCURSOR",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_MACCURSOR
)));
60387 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_ANY",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_ANY
)));
60388 SWIG_Python_SetConstant(d
, "CURSOR_NONE",SWIG_From_int(static_cast< int >(wxCURSOR_NONE
)));
60389 SWIG_Python_SetConstant(d
, "CURSOR_ARROW",SWIG_From_int(static_cast< int >(wxCURSOR_ARROW
)));
60390 SWIG_Python_SetConstant(d
, "CURSOR_RIGHT_ARROW",SWIG_From_int(static_cast< int >(wxCURSOR_RIGHT_ARROW
)));
60391 SWIG_Python_SetConstant(d
, "CURSOR_BULLSEYE",SWIG_From_int(static_cast< int >(wxCURSOR_BULLSEYE
)));
60392 SWIG_Python_SetConstant(d
, "CURSOR_CHAR",SWIG_From_int(static_cast< int >(wxCURSOR_CHAR
)));
60393 SWIG_Python_SetConstant(d
, "CURSOR_CROSS",SWIG_From_int(static_cast< int >(wxCURSOR_CROSS
)));
60394 SWIG_Python_SetConstant(d
, "CURSOR_HAND",SWIG_From_int(static_cast< int >(wxCURSOR_HAND
)));
60395 SWIG_Python_SetConstant(d
, "CURSOR_IBEAM",SWIG_From_int(static_cast< int >(wxCURSOR_IBEAM
)));
60396 SWIG_Python_SetConstant(d
, "CURSOR_LEFT_BUTTON",SWIG_From_int(static_cast< int >(wxCURSOR_LEFT_BUTTON
)));
60397 SWIG_Python_SetConstant(d
, "CURSOR_MAGNIFIER",SWIG_From_int(static_cast< int >(wxCURSOR_MAGNIFIER
)));
60398 SWIG_Python_SetConstant(d
, "CURSOR_MIDDLE_BUTTON",SWIG_From_int(static_cast< int >(wxCURSOR_MIDDLE_BUTTON
)));
60399 SWIG_Python_SetConstant(d
, "CURSOR_NO_ENTRY",SWIG_From_int(static_cast< int >(wxCURSOR_NO_ENTRY
)));
60400 SWIG_Python_SetConstant(d
, "CURSOR_PAINT_BRUSH",SWIG_From_int(static_cast< int >(wxCURSOR_PAINT_BRUSH
)));
60401 SWIG_Python_SetConstant(d
, "CURSOR_PENCIL",SWIG_From_int(static_cast< int >(wxCURSOR_PENCIL
)));
60402 SWIG_Python_SetConstant(d
, "CURSOR_POINT_LEFT",SWIG_From_int(static_cast< int >(wxCURSOR_POINT_LEFT
)));
60403 SWIG_Python_SetConstant(d
, "CURSOR_POINT_RIGHT",SWIG_From_int(static_cast< int >(wxCURSOR_POINT_RIGHT
)));
60404 SWIG_Python_SetConstant(d
, "CURSOR_QUESTION_ARROW",SWIG_From_int(static_cast< int >(wxCURSOR_QUESTION_ARROW
)));
60405 SWIG_Python_SetConstant(d
, "CURSOR_RIGHT_BUTTON",SWIG_From_int(static_cast< int >(wxCURSOR_RIGHT_BUTTON
)));
60406 SWIG_Python_SetConstant(d
, "CURSOR_SIZENESW",SWIG_From_int(static_cast< int >(wxCURSOR_SIZENESW
)));
60407 SWIG_Python_SetConstant(d
, "CURSOR_SIZENS",SWIG_From_int(static_cast< int >(wxCURSOR_SIZENS
)));
60408 SWIG_Python_SetConstant(d
, "CURSOR_SIZENWSE",SWIG_From_int(static_cast< int >(wxCURSOR_SIZENWSE
)));
60409 SWIG_Python_SetConstant(d
, "CURSOR_SIZEWE",SWIG_From_int(static_cast< int >(wxCURSOR_SIZEWE
)));
60410 SWIG_Python_SetConstant(d
, "CURSOR_SIZING",SWIG_From_int(static_cast< int >(wxCURSOR_SIZING
)));
60411 SWIG_Python_SetConstant(d
, "CURSOR_SPRAYCAN",SWIG_From_int(static_cast< int >(wxCURSOR_SPRAYCAN
)));
60412 SWIG_Python_SetConstant(d
, "CURSOR_WAIT",SWIG_From_int(static_cast< int >(wxCURSOR_WAIT
)));
60413 SWIG_Python_SetConstant(d
, "CURSOR_WATCH",SWIG_From_int(static_cast< int >(wxCURSOR_WATCH
)));
60414 SWIG_Python_SetConstant(d
, "CURSOR_BLANK",SWIG_From_int(static_cast< int >(wxCURSOR_BLANK
)));
60415 SWIG_Python_SetConstant(d
, "CURSOR_DEFAULT",SWIG_From_int(static_cast< int >(wxCURSOR_DEFAULT
)));
60416 SWIG_Python_SetConstant(d
, "CURSOR_COPY_ARROW",SWIG_From_int(static_cast< int >(wxCURSOR_COPY_ARROW
)));
60417 SWIG_Python_SetConstant(d
, "CURSOR_ARROWWAIT",SWIG_From_int(static_cast< int >(wxCURSOR_ARROWWAIT
)));
60418 SWIG_Python_SetConstant(d
, "CURSOR_MAX",SWIG_From_int(static_cast< int >(wxCURSOR_MAX
)));
60419 SWIG_Python_SetConstant(d
, "Inside",SWIG_From_int(static_cast< int >(wxInside
)));
60420 SWIG_Python_SetConstant(d
, "OutLeft",SWIG_From_int(static_cast< int >(wxOutLeft
)));
60421 SWIG_Python_SetConstant(d
, "OutRight",SWIG_From_int(static_cast< int >(wxOutRight
)));
60422 SWIG_Python_SetConstant(d
, "OutTop",SWIG_From_int(static_cast< int >(wxOutTop
)));
60423 SWIG_Python_SetConstant(d
, "OutBottom",SWIG_From_int(static_cast< int >(wxOutBottom
)));
60424 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultPosition",DefaultPosition_get
, DefaultPosition_set
);
60425 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultSize",DefaultSize_get
, DefaultSize_set
);
60426 SWIG_Python_SetConstant(d
, "FromStart",SWIG_From_int(static_cast< int >(wxFromStart
)));
60427 SWIG_Python_SetConstant(d
, "FromCurrent",SWIG_From_int(static_cast< int >(wxFromCurrent
)));
60428 SWIG_Python_SetConstant(d
, "FromEnd",SWIG_From_int(static_cast< int >(wxFromEnd
)));
60430 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
60433 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
60435 SWIG_Python_SetConstant(d
, "IMAGE_ALPHA_TRANSPARENT",SWIG_From_int(static_cast< int >(wxIMAGE_ALPHA_TRANSPARENT
)));
60436 SWIG_Python_SetConstant(d
, "IMAGE_ALPHA_THRESHOLD",SWIG_From_int(static_cast< int >(wxIMAGE_ALPHA_THRESHOLD
)));
60437 SWIG_Python_SetConstant(d
, "IMAGE_ALPHA_OPAQUE",SWIG_From_int(static_cast< int >(wxIMAGE_ALPHA_OPAQUE
)));
60438 SWIG_Python_SetConstant(d
, "IMAGE_QUALITY_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGE_QUALITY_NORMAL
)));
60439 SWIG_Python_SetConstant(d
, "IMAGE_QUALITY_HIGH",SWIG_From_int(static_cast< int >(wxIMAGE_QUALITY_HIGH
)));
60440 SWIG_addvarlink(SWIG_globals(),(char*)"NullImage",NullImage_get
, NullImage_set
);
60441 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_FILENAME",IMAGE_OPTION_FILENAME_get
, IMAGE_OPTION_FILENAME_set
);
60442 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_BMP_FORMAT",IMAGE_OPTION_BMP_FORMAT_get
, IMAGE_OPTION_BMP_FORMAT_set
);
60443 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",IMAGE_OPTION_CUR_HOTSPOT_X_get
, IMAGE_OPTION_CUR_HOTSPOT_X_set
);
60444 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",IMAGE_OPTION_CUR_HOTSPOT_Y_get
, IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
60445 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_RESOLUTION",IMAGE_OPTION_RESOLUTION_get
, IMAGE_OPTION_RESOLUTION_set
);
60446 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_RESOLUTIONX",IMAGE_OPTION_RESOLUTIONX_get
, IMAGE_OPTION_RESOLUTIONX_set
);
60447 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_RESOLUTIONY",IMAGE_OPTION_RESOLUTIONY_get
, IMAGE_OPTION_RESOLUTIONY_set
);
60448 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_RESOLUTIONUNIT",IMAGE_OPTION_RESOLUTIONUNIT_get
, IMAGE_OPTION_RESOLUTIONUNIT_set
);
60449 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_QUALITY",IMAGE_OPTION_QUALITY_get
, IMAGE_OPTION_QUALITY_set
);
60450 SWIG_Python_SetConstant(d
, "IMAGE_RESOLUTION_INCHES",SWIG_From_int(static_cast< int >(wxIMAGE_RESOLUTION_INCHES
)));
60451 SWIG_Python_SetConstant(d
, "IMAGE_RESOLUTION_CM",SWIG_From_int(static_cast< int >(wxIMAGE_RESOLUTION_CM
)));
60452 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_BITSPERSAMPLE",IMAGE_OPTION_BITSPERSAMPLE_get
, IMAGE_OPTION_BITSPERSAMPLE_set
);
60453 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_SAMPLESPERPIXEL",IMAGE_OPTION_SAMPLESPERPIXEL_get
, IMAGE_OPTION_SAMPLESPERPIXEL_set
);
60454 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_COMPRESSION",IMAGE_OPTION_COMPRESSION_get
, IMAGE_OPTION_COMPRESSION_set
);
60455 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_IMAGEDESCRIPTOR",IMAGE_OPTION_IMAGEDESCRIPTOR_get
, IMAGE_OPTION_IMAGEDESCRIPTOR_set
);
60456 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_PNG_FORMAT",IMAGE_OPTION_PNG_FORMAT_get
, IMAGE_OPTION_PNG_FORMAT_set
);
60457 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_PNG_BITDEPTH",IMAGE_OPTION_PNG_BITDEPTH_get
, IMAGE_OPTION_PNG_BITDEPTH_set
);
60458 SWIG_Python_SetConstant(d
, "PNG_TYPE_COLOUR",SWIG_From_int(static_cast< int >(wxPNG_TYPE_COLOUR
)));
60459 SWIG_Python_SetConstant(d
, "PNG_TYPE_GREY",SWIG_From_int(static_cast< int >(wxPNG_TYPE_GREY
)));
60460 SWIG_Python_SetConstant(d
, "PNG_TYPE_GREY_RED",SWIG_From_int(static_cast< int >(wxPNG_TYPE_GREY_RED
)));
60461 SWIG_Python_SetConstant(d
, "BMP_24BPP",SWIG_From_int(static_cast< int >(wxBMP_24BPP
)));
60462 SWIG_Python_SetConstant(d
, "BMP_8BPP",SWIG_From_int(static_cast< int >(wxBMP_8BPP
)));
60463 SWIG_Python_SetConstant(d
, "BMP_8BPP_GREY",SWIG_From_int(static_cast< int >(wxBMP_8BPP_GREY
)));
60464 SWIG_Python_SetConstant(d
, "BMP_8BPP_GRAY",SWIG_From_int(static_cast< int >(wxBMP_8BPP_GRAY
)));
60465 SWIG_Python_SetConstant(d
, "BMP_8BPP_RED",SWIG_From_int(static_cast< int >(wxBMP_8BPP_RED
)));
60466 SWIG_Python_SetConstant(d
, "BMP_8BPP_PALETTE",SWIG_From_int(static_cast< int >(wxBMP_8BPP_PALETTE
)));
60467 SWIG_Python_SetConstant(d
, "BMP_4BPP",SWIG_From_int(static_cast< int >(wxBMP_4BPP
)));
60468 SWIG_Python_SetConstant(d
, "BMP_1BPP",SWIG_From_int(static_cast< int >(wxBMP_1BPP
)));
60469 SWIG_Python_SetConstant(d
, "BMP_1BPP_BW",SWIG_From_int(static_cast< int >(wxBMP_1BPP_BW
)));
60470 SWIG_Python_SetConstant(d
, "QUANTIZE_INCLUDE_WINDOWS_COLOURS",SWIG_From_int(static_cast< int >(wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
)));
60471 SWIG_Python_SetConstant(d
, "QUANTIZE_FILL_DESTINATION_IMAGE",SWIG_From_int(static_cast< int >(wxQUANTIZE_FILL_DESTINATION_IMAGE
)));
60472 SWIG_Python_SetConstant(d
, "EVENT_PROPAGATE_NONE",SWIG_From_int(static_cast< int >(wxEVENT_PROPAGATE_NONE
)));
60473 SWIG_Python_SetConstant(d
, "EVENT_PROPAGATE_MAX",SWIG_From_int(static_cast< int >(wxEVENT_PROPAGATE_MAX
)));
60474 PyDict_SetItemString(d
, "wxEVT_ANY", PyInt_FromLong(wxEVT_ANY
));
60475 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
60476 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
60477 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
60478 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
60479 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
60480 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
60481 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
60482 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
60483 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
60484 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
60485 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
60486 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
60487 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
60488 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
60489 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
60490 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
60491 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
60492 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
60493 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
60494 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
60495 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
60496 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
60497 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
60498 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
60499 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
60500 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
60501 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
60502 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
60503 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
60504 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
60505 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
60506 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
60507 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
60508 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
60509 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
60510 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
60511 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
60512 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
60513 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
60514 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
60515 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
60516 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
60517 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
60518 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
60519 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
60520 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
60521 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
60522 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
60523 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
60524 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
60525 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
60526 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
60527 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
60528 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
60529 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
60530 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
60531 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
60532 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
60533 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
60534 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
60535 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
60536 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
60537 PyDict_SetItemString(d
, "wxEVT_SCROLL_CHANGED", PyInt_FromLong(wxEVT_SCROLL_CHANGED
));
60538 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
60539 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
60540 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
60541 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
60542 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
60543 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
60544 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
60545 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
60546 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
60547 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
60548 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
60549 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
60550 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
60551 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
60552 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
60553 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
60554 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
60555 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
60556 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
60557 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
60558 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
60559 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_LOST", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_LOST
));
60560 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
60561 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
60562 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
60563 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
60564 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
60565 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
60566 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
60567 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
60568 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
60569 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
60570 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
60571 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
60572 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
60573 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
60574 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
60575 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
60576 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
60577 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
60578 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
60579 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
60580 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
60581 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
60582 PyDict_SetItemString(d
, "wxEVT_HIBERNATE", PyInt_FromLong(wxEVT_HIBERNATE
));
60583 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_COPY", PyInt_FromLong(wxEVT_COMMAND_TEXT_COPY
));
60584 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_CUT", PyInt_FromLong(wxEVT_COMMAND_TEXT_CUT
));
60585 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_PASTE", PyInt_FromLong(wxEVT_COMMAND_TEXT_PASTE
));
60586 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
60587 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
60588 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
60589 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
60590 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
60591 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
60592 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
60593 SWIG_Python_SetConstant(d
, "MOUSE_BTN_ANY",SWIG_From_int(static_cast< int >(wxMOUSE_BTN_ANY
)));
60594 SWIG_Python_SetConstant(d
, "MOUSE_BTN_NONE",SWIG_From_int(static_cast< int >(wxMOUSE_BTN_NONE
)));
60595 SWIG_Python_SetConstant(d
, "MOUSE_BTN_LEFT",SWIG_From_int(static_cast< int >(wxMOUSE_BTN_LEFT
)));
60596 SWIG_Python_SetConstant(d
, "MOUSE_BTN_MIDDLE",SWIG_From_int(static_cast< int >(wxMOUSE_BTN_MIDDLE
)));
60597 SWIG_Python_SetConstant(d
, "MOUSE_BTN_RIGHT",SWIG_From_int(static_cast< int >(wxMOUSE_BTN_RIGHT
)));
60598 SWIG_Python_SetConstant(d
, "UPDATE_UI_PROCESS_ALL",SWIG_From_int(static_cast< int >(wxUPDATE_UI_PROCESS_ALL
)));
60599 SWIG_Python_SetConstant(d
, "UPDATE_UI_PROCESS_SPECIFIED",SWIG_From_int(static_cast< int >(wxUPDATE_UI_PROCESS_SPECIFIED
)));
60600 SWIG_Python_SetConstant(d
, "NavigationKeyEvent_IsBackward",SWIG_From_int(static_cast< int >(wxNavigationKeyEvent::IsBackward
)));
60601 SWIG_Python_SetConstant(d
, "NavigationKeyEvent_IsForward",SWIG_From_int(static_cast< int >(wxNavigationKeyEvent::IsForward
)));
60602 SWIG_Python_SetConstant(d
, "NavigationKeyEvent_WinChange",SWIG_From_int(static_cast< int >(wxNavigationKeyEvent::WinChange
)));
60603 SWIG_Python_SetConstant(d
, "NavigationKeyEvent_FromTab",SWIG_From_int(static_cast< int >(wxNavigationKeyEvent::FromTab
)));
60604 SWIG_Python_SetConstant(d
, "IDLE_PROCESS_ALL",SWIG_From_int(static_cast< int >(wxIDLE_PROCESS_ALL
)));
60605 SWIG_Python_SetConstant(d
, "IDLE_PROCESS_SPECIFIED",SWIG_From_int(static_cast< int >(wxIDLE_PROCESS_SPECIFIED
)));
60606 PyDict_SetItemString(d
, "wxEVT_DATE_CHANGED", PyInt_FromLong(wxEVT_DATE_CHANGED
));
60607 SWIG_Python_SetConstant(d
, "PYAPP_ASSERT_SUPPRESS",SWIG_From_int(static_cast< int >(wxPYAPP_ASSERT_SUPPRESS
)));
60608 SWIG_Python_SetConstant(d
, "PYAPP_ASSERT_EXCEPTION",SWIG_From_int(static_cast< int >(wxPYAPP_ASSERT_EXCEPTION
)));
60609 SWIG_Python_SetConstant(d
, "PYAPP_ASSERT_DIALOG",SWIG_From_int(static_cast< int >(wxPYAPP_ASSERT_DIALOG
)));
60610 SWIG_Python_SetConstant(d
, "PYAPP_ASSERT_LOG",SWIG_From_int(static_cast< int >(wxPYAPP_ASSERT_LOG
)));
60611 SWIG_Python_SetConstant(d
, "PRINT_WINDOWS",SWIG_From_int(static_cast< int >(wxPRINT_WINDOWS
)));
60612 SWIG_Python_SetConstant(d
, "PRINT_POSTSCRIPT",SWIG_From_int(static_cast< int >(wxPRINT_POSTSCRIPT
)));
60613 SWIG_Python_SetConstant(d
, "ACCEL_ALT",SWIG_From_int(static_cast< int >(wxACCEL_ALT
)));
60614 SWIG_Python_SetConstant(d
, "ACCEL_CTRL",SWIG_From_int(static_cast< int >(wxACCEL_CTRL
)));
60615 SWIG_Python_SetConstant(d
, "ACCEL_SHIFT",SWIG_From_int(static_cast< int >(wxACCEL_SHIFT
)));
60616 SWIG_Python_SetConstant(d
, "ACCEL_NORMAL",SWIG_From_int(static_cast< int >(wxACCEL_NORMAL
)));
60617 SWIG_Python_SetConstant(d
, "ACCEL_CMD",SWIG_From_int(static_cast< int >(wxACCEL_CMD
)));
60618 SWIG_addvarlink(SWIG_globals(),(char*)"NullAcceleratorTable",NullAcceleratorTable_get
, NullAcceleratorTable_set
);
60619 SWIG_addvarlink(SWIG_globals(),(char*)"PanelNameStr",PanelNameStr_get
, PanelNameStr_set
);
60620 SWIG_Python_SetConstant(d
, "WINDOW_VARIANT_NORMAL",SWIG_From_int(static_cast< int >(wxWINDOW_VARIANT_NORMAL
)));
60621 SWIG_Python_SetConstant(d
, "WINDOW_VARIANT_SMALL",SWIG_From_int(static_cast< int >(wxWINDOW_VARIANT_SMALL
)));
60622 SWIG_Python_SetConstant(d
, "WINDOW_VARIANT_MINI",SWIG_From_int(static_cast< int >(wxWINDOW_VARIANT_MINI
)));
60623 SWIG_Python_SetConstant(d
, "WINDOW_VARIANT_LARGE",SWIG_From_int(static_cast< int >(wxWINDOW_VARIANT_LARGE
)));
60624 SWIG_Python_SetConstant(d
, "WINDOW_VARIANT_MAX",SWIG_From_int(static_cast< int >(wxWINDOW_VARIANT_MAX
)));
60625 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultValidator",DefaultValidator_get
, DefaultValidator_set
);
60626 SWIG_addvarlink(SWIG_globals(),(char*)"ControlNameStr",ControlNameStr_get
, ControlNameStr_set
);
60627 SWIG_Python_SetConstant(d
, "FLEX_GROWMODE_NONE",SWIG_From_int(static_cast< int >(wxFLEX_GROWMODE_NONE
)));
60628 SWIG_Python_SetConstant(d
, "FLEX_GROWMODE_SPECIFIED",SWIG_From_int(static_cast< int >(wxFLEX_GROWMODE_SPECIFIED
)));
60629 SWIG_Python_SetConstant(d
, "FLEX_GROWMODE_ALL",SWIG_From_int(static_cast< int >(wxFLEX_GROWMODE_ALL
)));
60630 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultSpan",DefaultSpan_get
, DefaultSpan_set
);
60631 SWIG_Python_SetConstant(d
, "Left",SWIG_From_int(static_cast< int >(wxLeft
)));
60632 SWIG_Python_SetConstant(d
, "Top",SWIG_From_int(static_cast< int >(wxTop
)));
60633 SWIG_Python_SetConstant(d
, "Right",SWIG_From_int(static_cast< int >(wxRight
)));
60634 SWIG_Python_SetConstant(d
, "Bottom",SWIG_From_int(static_cast< int >(wxBottom
)));
60635 SWIG_Python_SetConstant(d
, "Width",SWIG_From_int(static_cast< int >(wxWidth
)));
60636 SWIG_Python_SetConstant(d
, "Height",SWIG_From_int(static_cast< int >(wxHeight
)));
60637 SWIG_Python_SetConstant(d
, "Centre",SWIG_From_int(static_cast< int >(wxCentre
)));
60638 SWIG_Python_SetConstant(d
, "Center",SWIG_From_int(static_cast< int >(wxCenter
)));
60639 SWIG_Python_SetConstant(d
, "CentreX",SWIG_From_int(static_cast< int >(wxCentreX
)));
60640 SWIG_Python_SetConstant(d
, "CentreY",SWIG_From_int(static_cast< int >(wxCentreY
)));
60641 SWIG_Python_SetConstant(d
, "Unconstrained",SWIG_From_int(static_cast< int >(wxUnconstrained
)));
60642 SWIG_Python_SetConstant(d
, "AsIs",SWIG_From_int(static_cast< int >(wxAsIs
)));
60643 SWIG_Python_SetConstant(d
, "PercentOf",SWIG_From_int(static_cast< int >(wxPercentOf
)));
60644 SWIG_Python_SetConstant(d
, "Above",SWIG_From_int(static_cast< int >(wxAbove
)));
60645 SWIG_Python_SetConstant(d
, "Below",SWIG_From_int(static_cast< int >(wxBelow
)));
60646 SWIG_Python_SetConstant(d
, "LeftOf",SWIG_From_int(static_cast< int >(wxLeftOf
)));
60647 SWIG_Python_SetConstant(d
, "RightOf",SWIG_From_int(static_cast< int >(wxRightOf
)));
60648 SWIG_Python_SetConstant(d
, "SameAs",SWIG_From_int(static_cast< int >(wxSameAs
)));
60649 SWIG_Python_SetConstant(d
, "Absolute",SWIG_From_int(static_cast< int >(wxAbsolute
)));
60651 // Initialize threading, some globals and such
60655 // Although these are defined in __version__ they need to be here too so
60656 // that an assert can be done to ensure that the wxPython and the wxWindows
60658 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
60659 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
60660 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));